This is a plugin for wpmu/wpmu+byddypress powered websites, where network administrators can limit the number of blogs a user can signup.
It is pretty simple and adds an option to NetworkAdmin->Dashboard->network settings page, where you can limit the number of blogs. No additional frills required.
What It does
It adds an option to the Network settings page when you are logged in as site admin of the wpmu site(or wpmu+buddyppress site),Look at the bottom of options page,and You will see a text box like this asking for number of blogs allowed per user.If you set it to zero(which is the default),It will not restrict the blog registration then.
For any support or any questions,please leave a comment at my blog
And yeh did I mention Steph has been very kind in reporting bugs and suggesting fixes.Many Thanks to Steph.
- Download the plugin Limit Blogs Per Users
- Unzip the plugin and upload the file “limit-bogs-per-user.php” to your wp-content/plugins folder
3 Please login to the WordPress backend as Network Administrator(site owner)
4.Go to NetworkAdmin-> Dashboard->Plugins->Installed page and network activate “Limit Blogs Pre User”.
5.Go to Network Admin->Dashboard->network settings and navigate to the bottom,you will see an option to enter the number of blogs allowed,per
user.Enter some limit and click update.
5.You are done!. Now it’s time to for action.Enjoy the life.
Please leave a comment on my plugin page for support
here for any questions.
“Limit Blogs Per User” 是开源软件。 以下人员对此插件做出了贡献。贡献者
*updated to work with wordpress 3.2.1 multisite and BuddyPress 1.5
* rewritten code to use a singleton class
*updated to work with wordpress 3.0 multisite
*Fixed a bug with Buddypress 1.2.3 compatibility
*Siteadmin restriction fixed,now site admin sees only the site policy
*Subscribers can creates new blog,the blog of which they are subscriber/contributor/author/editor is not counted.
* Only the blogs for which a user is admin is counted in user blogs
*If value is set Zero,It does not change site policies
Some Breaking and then reverting back
*A silly mistake in version 1.1($wpdb was not declared global) resolved.Many thanks to Steph for pointing the issue.