Idi na sadržaj
WordPress.org

Bosanski

  • Teme
  • Plugini
  • News
  • Podrška
  • O nama
  • Projekti
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

Force User Login

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

Ovaj dodatak nije testiran s najnovija 3 glavna izdanja WordPress-a. Možda se više ne održava ili se ne podržava i može imati problema sa kompatibilnošću kada se koristi sa novijim verzijama WordPress-a.

Force User Login

Od smatric
Skini
  • 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.

Saradnici i programeri

“Force User Login” is open source software. The following people have contributed to this plugin.

Doprinositelji
  • smatric

Prevedi “Force User Login” na vaš jezik.

Zainteresirani za razvoj?

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

Zapis promijena

1.0.2

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

Meta

  • Version 1.0
  • Last updated prije 11 godina
  • Active installations 40+
  • WordPress version 2.0.2 ili viša
  • Tested up to 4.3.34
  • Language
    English (US)
  • Tags
    force user loginloginpasswordprivacy
  • Napredni pogled

Ocjene

No reviews have been submitted yet.

Your review

See all reviews

Doprinositelji

  • smatric

Podrška

Imate nešto za reći? Trebate pomoć?

Pogledaj forum podrške

Pokloni

Da li bi ste željeli da podržite napredovanje ovog proširenja?

Pokloni ovom proširenju

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

Bosanski

  • 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.