Prejsť na obsah
WordPress.org

Slovensko

  • Témy
  • Pluginy
  • News
  • Podpora
  • O nás
  • Meetupy
  • Slack
  • Preklad
  • Komunita
  • Kontakt
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

Force User Login

  • Nahrať plugin
  • Moje obľúbené
  • Prihlásiť sa
  • Nahrať plugin
  • Moje obľúbené
  • Prihlásiť sa

Tento plugin nebol testovaný s najnovšími 3 hlavnými vydaniami WordPress. Už nemusí byť udržiavaný alebo podporovaný a môže mať problémy s kompatibilitou pri použití s novšími verziami WordPress.

Force User Login

Od smatric
Stiahnuť
  • Podrobnosti
  • Recenzie
  • Inštalácia
  • Vývoj
Podpora

Popis

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.

Inštalácia

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

Časté otázky

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.

Recenzie

Pre tento plugin nie sú žiadne recenzie.

Prispievatelia a vývojári

“Force User Login” je softvér s otvoreným zdrojovým kódom. Do tohto pluginu prispeli nasledujúci ľudia.

Prispievatelia
  • smatric

Preložiť „Force User Login“ do vašho jazyka.

Máte záujem o vývoj?

Prehľadávajte zdrojový kód, preskúmajte SVN repozitár, alebo sa prihláste na odber vývojárskeho logu cez RSS.

Zoznam zmien

1.0.2

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

Meta

  • Verzia 1.0
  • Posledná aktualizácia Pred 11 rokov
  • Aktívne inštalácie 40+
  • Verzia WordPress 2.0.2 alebo novšia
  • Testované do verzie 4.3.34
  • Jazyk
    English (US)
  • Značky
    force user loginloginpasswordprivacy
  • Rozšírené zobrazenie

Hodnotenia

No reviews have been submitted yet.

Your review

See all reviews

Prispievatelia

  • smatric

Podpora

Máte čo povedať? Potrebujete pomoc?

Zobraziť fórum podpory

Podporiť

Chceli by ste podporiť pokrok tohto pluginu?

Prispieť na plugin

  • 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

Slovensko

  • 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
Kód je poézia.
The WordPress® trademark is the intellectual property of the WordPress Foundation.