Skoči do sadržaja
WordPress.org

Hrvatski

  • Teme
  • Dodaci
  • Vijesti
  • Podrška
  • Info
  • Openverse
  • Hrvatski prijevod
  • Codex
  • Kontakt
  • Nabavite WordPress
Nabavite WordPress
WordPress.org

Plugin Directory

Force User Login

  • Submit a plugin
  • My favorites
  • Prijavi se
  • Submit a plugin
  • My favorites
  • Prijavi se

Dodatak nije testiran s zadnje 3 glavna izdanja WordPressa. Možda ga se više ne održava ili pruža podršku i možda ima probleme sa kompatibilnošću s novijim inačicama WordPressa.

Force User Login

Od smatric
Preuzmi
  • Detalji
  • Recenzije
  • Instalacija
  • Razvoj
Podrška

Opis

This is a very small plugin that forces users to login before viewing any content. This is done by checking if the user is logged in, and if not, redirecting them to the login page. Users attempting to view blog content via RSS are also authenticated via HTTP Auth.

Modification: use get_site_url() to redirect to the login page properly when WordPress is located in a subdirectory.

Instalacija

  1. Upload force-login.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

ČPP

Can I change where the user is redirected after logging in?

Yes! A variable called $redirect_to (line 33) is currently set to redirect the user to the page they were trying to access. If you changed that line from

$redirect_to = $_SERVER['REQUEST_URI'];

to

$redirect_to = '/';

it would redirect the user to the home page.

Recenzije

Nema recenzija za ovaj dodatak.

Suradnici i Programeri

“Force User Login” je softver otvorenog koda. Sljedeće osobe su doprinijele ovom dodatku.

Suradnici
  • smatric

Prevedite “Force User Login” na svoj jezik.

Zainteresirani ste za razvoj?

Pregledajte kôd, pogledajte SVN spremišteili se pretplatite na dnevnik razvoja od RSS.

Dnevnik promjena

1.0.2

  • Tested with WordPress 4.3
  • Updated meta description
  • A screenshot added

Meta

  • Version 1.0
  • Zadnje ažuriranje prije 11 godina
  • Aktivnih instalacija 40+
  • WordPress inačica 2.0.2 ili viša
  • Testirano do 4.3.34
  • Language
    English (US)
  • Oznake
    force user loginloginpasswordprivacy
  • Napredni pogled

Ocjena

No reviews have been submitted yet.

Your review

See all reviews

Suradnici

  • smatric

Podrška

Želite nešto reći? Potrebna vam je pomoć?

Pregledaj forum za podršku

Doniraj

Želite li podržati napredak ovog dodatka?

Donirajte ovom dodatku

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Support
  • Developers
  • WordPress.tv ↗
  • Uključite se
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Hrvatski

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Kod je poezija.
The WordPress® trademark is the intellectual property of the WordPress Foundation.