Linux 软件免费装
Banner图

Plugin Name

开发者 justinticktock
keycapability
更新时间 2022年5月26日 23:19
PHP版本: 4.7 及以上
WordPress版本: 6.0
版权: GPLv2 or later
版权网址: 版权信息

标签

login network multisite mu signup user register user registration multi-network

下载

3.8 3.5 3.6 3.7 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.9 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 3.0 3.1 3.2 3.3 3.4 3.5beta 1.0 1.8 2.9

详情介绍:

The 'Network Subsite User Registration' (NSUR) plugin removes the WordPress Multisite restriction that registration is on the Network main site, subsite Administrators can now allow user registration for their site only. WordPress Network (Multisite) installations by default only allow user registration for the whole Network, e.g. users can only register for the main site and not the other sites on the network. The ‘Network Subsite User Registration’ plugin allows local admins of sub-sites within the Network/Multisite the ability to enable user registration themselves for their site. The role by default that a new user receives is 'subscriber', however, there is a setting which allows you to define a different initial role (per sub-site) that a user receives after registration. @Developers - If you want to use your own template you can override the template used for the ../local-signup page by creating a template with the file 'page-signup.php' and add this to either the parent or child theme. Plugin site https://justinandco.com/plugins/network-subsite-user-registration/ GitHub - Development https://github.com/justinticktock/network-subsite-user-registration

安装:

  1. Go to site dashboard ‘My Sites’ > ‘Network Admin’ > ‘Plugins’
  2. Click on the ‘Add New’ button
  3. search for ‘Network Subsite User Registration’ and install
  4. Network Activate the plugin
To Manually install follow these steps..
  1. Download the plugin.zip file
  2. Go to site dashboard ‘My Sites’ > ‘Network Admin’ > ‘Plugins’
  3. Click on the ‘Add New’ button
  4. Click on the ‘Upload Plugin’ button
  5. follow instructions to upload the zip file and install
  6. Network Activate the plugin
Once installed to allow the public to register with a site within the Network..
  1. Set Network wide user registration within the Dashboard goto [Network Admin] > Settings > under 'Registration Settings' configure to allow User accounts to be registered.
  2. Within the Dashboard/Admin of each site that you wish to enable user registration to [Site Admin] > [Users] > Registration and enable the setting.
  3. The Public will now be able to register and login with only the sites that you set within the step (2) above.

屏幕截图:

  • The Settings Screen for user registration.
  • An example of Network Settings allowing users to be registered
  • An example of Network Settings allowing both sites and users to be registered.

常见问题:

I just can't seem to find a way to get SMTP working with this plugin, what can I do?

Q1) In sub site user registration, I have found that users get redirected the registration page of main site to register, will this happen with this plugin? A1) This plugin will give the user the experience of remaining on the subsite that they are registering on. The activation of the new user does continue to be on the Network but this happens behind the scenes all they will see is they belong to the subsite. If you register on the site at justinandco.com/demo/ you'll see it in action you will be given access as subscriber to the demo subsite only and not to the Network Main site "justinandco.com. If you wish to see it in action for a second sub-site on the same Network (optionally logout first and..) register also on the site at justinandco.com/demo2/ Q2) Currently standard multisite functionality when a user attempts to register an account on a second subsite they get a message saying that the username and email already exists even though in their minds they have never been to this site before. Can the plugin handle registration on a second, third... subsite? A2) Yes the plugin handles registration on more than one sub-site within the same network. So for the case where a user has already registered on subsite1 of the Network and they register on subsite2 with the same username and a different email address they will see the message "Sorry, that username already exists!". This is since the plugin uses the email address as the uniqueness and proof that it's the same user. However, if they register on subsite2 using the same email address for registration then they are automatically given an account on subsite2. Also once registered all subsites that they belong to on the Network are then listed on the screen (e.g. subsite1, subsite2 ...etc) as confirmation that they are now also a registered user on subsite2. Note: If the username given for subsite2 registration is different from their subsite1 username then the username provided is ignored so that subsite1 and subsite2 have the same original username (which is associated with the email address already). This has been seen a few times in the forum, one proven solution is:

  • use plugin wp-mail-smtp
  • Do NOT network activate SMTP and you don't need to add anything extra to the wp-config file

更新日志:

Change log is maintained on the plugin website