WordPress.org

Indonesia

  • Tema
  • Plugin
  • Berita
  • Bantuan
  • Tentang
  • Komunitas
  • Poliglot
  • Gunakan WordPress
Gunakan WordPress
WordPress.org

Plugin Directory

Force User Login

  • Kirim plugin
  • Favorit saya
  • Login
  • Kirim plugin
  • Favorit saya
  • Login

Plugin ini belum teruji dangan 3 rilis besar WordPress. Kemungkinan tidak lagi dipelihara atau didukung, dan mungkin menghadapi masalah kompatibilitas bila digunakan dengan versi WordPress yang lebih baru.

Force User Login

Oleh smatric
Unduh
  • Detail
  • Ulasan
  • Instalasi
  • Pengembangan
Bantuan

Deskripsi

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.

Instalasi

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

Tanya Jawab

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.

Ulasan

Belum ada ulasan untuk plugin ini.

Kontributor & Pengembang

“Force User Login” adalah perangkat lunak open source. Berikut ini mereka yang sudah berkontribusi pada plugin ini.

Kontributor
  • smatric

Terjemahkan “Force User Login” dalam bahasa Anda.

Tertarik mengembangkan?

Lihat kode, periksa repositori SVN , atau mendaftar ke log pengembangan melalui RSS.

Log Perubahan

1.0.2

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

Meta

  • Versi 1.0
  • Diperbarui 10 tahun yang lalu
  • Instalasi Aktif 50+
  • Versi WordPress 2.0.2 atau yang terbaru
  • Diuji hingga 4.3.34
  • Bahasa
    English (US)
  • Tag
    force user loginloginpasswordprivacy
  • Tampilan lanjut

Rating

No reviews have been submitted yet.

Tambahkan ulasan saya

Lihat semua ulasan

Kontributor

  • smatric

Bantuan

Ada yang ingin dikatakan? Butuh bantuan?

Lihat forum bantuan

Donasi

Apakah Anda ingin mendukung pengembangan plugin ini?

Donasi untuk plugin ini

  • Tentang
  • Berita
  • Hosting
  • Privasi
  • Tampilan
  • Tema
  • Plugin
  • Pola
  • Belajar
  • Bantuan
  • Developer
  • WordPress.tv ↗
  • Terlibat
  • Kegiatan
  • Donasi ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Indonesia

  • Kunjungi akun X (sebelumnya Twitter) kami
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Kunjungi halaman Facebook kami
  • Kunjungi akun Instagram kami
  • Kunjungi akun LinkedIn kami
  • Visit our TikTok account
  • Kunjungi channel YouTube kami
  • Visit our Tumblr account
Kode adalah Puisi.