Linux 软件免费装

Force User Login Multisite

开发者 jamesdlow
更新时间 2016年11月24日 18:29
捐献地址: 去捐款
PHP版本: 3.0.0 及以上
WordPress版本: 3.2.1

标签

privacy login private password force user login user level

下载

1.2.1

详情介绍:

Makes your wordpress blog private unless the user is logged in, optionally setting a minium user level. Modified from http://wordpress.org/extend/plugins/force-user-login/

安装:

  1. Upload force-login-multisite.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Enable the minium user level required to view content on the settings menu
  4. This is set per site for a Wordpress multisite set up.

常见问题:

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.