Linux 软件免费装
Banner图

LH Assign Role On Logon

开发者 shawfactor
更新时间 2016年6月26日 16:44
捐献地址: 去捐款
PHP版本: 3.0 及以上
WordPress版本: 4.4
版权: GPLv2 or later
版权网址: 版权信息

标签

login buddypress multisite multiuser roles users

下载

详情介绍:

Are you running a WordPress network? You no longer need to manually add new users to each of your sites. With this plugin, users are assigned a default role on a new site when they log in for the first time (they authenticate against the network username and password). You set the default role for each site and this plugin applies it. If the user already has a higher role assigned they keep their role on logon You can assign different roles for each site or keep a site private by assigning no role.

安装:

  1. Upload the entire /lh-assign-role-on-login/ folder to the /wp-content/plugins/ directory.
  2. Activate the plugin.
  3. Navigate to the User Management section of the Network Admin > Settings > Network Settings page. At example.com this page would be found at http://example.com/wp-admin/network/settings.php.
  4. Set default roles for each of your sites.

常见问题:

Does the plugin require a multisite installation?

Yes, WordPress takes care of the default role on non-multisite installations.

Where do I find the settings section

The User Management section is near the bottom of the the Network Admin > Settings > Network Settings page. For example.com this page would be found at http://example.com/wp-admin/network/settings.php.

Why aren't all my sites listed on the options page?

Any sites archived or deleted will not appear. All others sites will appear. If you do not see your sites, be sure you are looking at the Network Settings Page found at /wp-admin/network/settings.php not a single site settings, found at /wp-admin/settings.php.

Does this plugin assign the default role to existing users?

No, a role is only assigned to new users or if the user who is logging in has no role on the site currently or if the default role is higher than the users currently assigned role

Will these roles be allocated to new users registering with a new site?

Yes, users registering with a site will receive the existing default roles. The new site will not have a default role until it is manually set. Once set, all existing users will receive that role for the new site.

更新日志:

1.00 July 13, 2015\ Initial release. == Changelog == 1.01 December 2015\ Initial release. == Changelog == 1.04 June 25 2016\ Code Improvment.