Limit Blogs per User plugin for wpmu Updated
Jotted by Brajesh Singh in Buddypress, Buddypress Free Plugins, Plugins, WpMu Free Plugins on February 28, 2010Well, I just updated my old plugin Limit Blogs per user and fixed some of the glitches. Yes, Now it is updated for BuddyPress 1.2.3.
Update[2nd August 2010]: Updated to make it work with WordPress 3.0 MultiSite and BuddyPress 1.2.5.2
Here goes the post about this. If you are wondering about this plugin, you may like to check it on my other blog here
What It does
This is a wpmu plugin which allows site administrator to restrict the number of blogs created per user. So, A site Admin can limit the number to 2, and Then the maximum number of blog, a user can create will be 2. The best case use that I have seen is using this plugin to restrict the number of blogs per user to 1.
Where to Download
- Wordpress.org repository here : http://wordpress.org/extend/plugins/limit-blogs-per-user/
- Direct Link:http://downloads.wordpress.org/plugin/limit-blogs-per-user.1.3.1.zip
How to Install
- Download the plugin
- Unzip it
- Upload limit-blogs-per-user folder to wp-content
- Login to wordpress Mu backend as Site administrator
- Go to Plugins->Installed and activate “Limit Blogs per User”
- That’s it
- Alternatively, use the Plugins->Add new and either upload/search and install.
How to Use
- Login to wp-admin.
Enter the Number you want to restrict, If you leave it empty or put zero, no restrictions are applied.
What changed in v 1.3.1
- Updated to make it work with wp 3.0 MultiSite by hooking on registration option.
What changed in v 1.3
- Fixed a bug with buddypress 1.2.3 compatibility causing no limitation.
What changed in v 1.2
- No restrictions on Site Admins: It was the most demanded feature(Suggested by: dgodfather, Ray, mercime)
- Only the blogs of which a user is admin, is counted as User blogs( suggestions by :madLyfe, Steph ).
* Please note, with version 1.2+ if you want to limit 1 blog per user, set the number to 1(In previous version setting it 2 was required )
Looking forward to hear your experience/suggestions about the further improvement.
Related posts:


[...] If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!Update 28th Feb, 2010: This plugin is updated, Please read more here http://buddydev.com/buddypress/limit-blogs-per-user-plugin-for-wpmu [...]
Thank you for an update! I’m using this plugin.
Thanks for the comment Slaffik
I am glad to know you are using it
[...] Autores del plugin [...]
was working before 1.2, now it doesn’t seem to work, I have it set to 1. any known conflicts with other plugins? i’ll have to start testing…
hi Navo
seems like bp 1.2.3 is messing with user levels. I will need to check that and put an update this weekend. I need to confirm whether buddypress is doing something wrong with user level or not and will report to bp trac if needed.
Hi, any update on the 1.2.3 bp version bug?
(it would be nice the option to limit the number of groups, not just blogs)
Tonight, you will have both the options. Going to make it use role rather than the wp_level which is causing issue.
updated. Please upgrade to the limit blogs per user v 1.3
I just tried this plugin for the first time today and when I tried creating new blogs with a test member I found the limitation wasnt working. I did a search and found this blog post and saw that you were working on an update, can’t wait to try it out
hi Just updated the plugin. Should appear in the repository in 5-10 minutes. It fixes the issue with bp 1.2.3 compatibility. let me know if it works or not.
Thanks
Brajesh
Thanks a lot for that. I just tested it and it works beautifully.
Great! Thanks for the reply and confirming
Works! Thanks Brajesh
Is it possible to make it work in wordpress 2.9.2 (not wordpress MU)?
I was looking everywhere for these feature and this is the only plugin I found, but it works only with MU.
hi Richard
I am puzzled by your comment. why would you want limit blogs plugin for a Wordpress. On wordpress you have a single blog, Isn’t it ?
I want to limit the number of posts each user can post.
That is not possible by this plugin. It is supposed to be used with multisite.
May be That deserves to be a separate plugin.
I am using WPMU 2.2.2 BP 1.2.3 limit-blogs-per-user 1.3
I am having an issue with the plugin. Now that it is installed new users can not create a new blog at all.
I have blogs per user set to 2. I set this to allow each user to be part of the main blog (which I auto assign on account creation) and 1 for their own blog. But when a new user tries to sign up the blog is not created on verification and if they attempt to create the blog after account creation it just stays on the create blog page and the blog is never created.
Can you help me with this? Thank You,
Jesse
hi Jesse
are you using wpmu 2.9.2?
I tested it with wpmu 2.9.2+bp 1.2.3 and it works for me.
Is there any other plugin causing the signup options to be changed ?
Please provide a little more detail to make me able to help you.
Ya I meant WPMU 2.9.2 and it is BP 1.2.3.
I dont have any other plugins controlling the signup. Do you have any ideas for things I could test?
Jesse
Well it looks like everything is ok. I dont know what happened, I just checked my site today and it is working ok. Thanks…
I’m not sure if this is possible, but I’m using your plugin in tandem with Boone’s Groupblog plugin (not sure if you are aware of it, but it allows a group to have a community blog). I want to limit the number of blogs my members can have to one or two, but then allow a group admin to still “add” them to a groupblog that may/may not exceed the Limit Blogs per User #. Does this make sense?
hi mrjarbenne
Yes, that makes perfect sense. I will test it with Boone’s plugin in the coming week, will be posting a possible solution by the end of week.
That’s great. Having other issues with the Groupblog plugin, which I posted here http://buddypress.org/community/groups/third-party-components-plugins/forum/topic/groupblog-v13-adding-members-instantly-thanks-boone/?topic_page=2&num=15#post-56567 (I share this link only to perhaps aid in your experiment. The fact that groupblogs are not appearing in the buddybar keeps the Create A Blog option available for personal blogs up to the current 2 I have allowable via your plugin). I’m going to keep experimenting and I’ll let you know what I find. I have also incorrectly attributed the plugin to Boone. He contributed some code to it, but Marius Ooms and Rodney Blevins are the artists at the helm.
Hi, I’ve ben trying this in WP 3 beta and it seems that when I’m logged in as a user I am able to override limit by deactivating the plugin. Any way of changing this?
Edit the header of plugin where you see author etc in comments and add a line
Network: true
That should hopefully make it invisible to normal admins though I have not tested it.
The best way is to hide the plugins. In Site Admin (perhaps super admin if you are using the 3.0 beta) under Options, uncheck the plugins menu, then your users can’t mess around with the plugins.
You are then the keeper of the plugins, and have to either activate “site wide” a swiss army knife of options that they can then choose to active (on my site intense debate is activated site wide, but only takes effect if and when individual site owners go through the steps to sign up. Same with Poll daddy).
There is a WPMUDev plugin that manages which plugins are available and which are hidden. That’s another option.
If I use this plugin to limit the number of blogs a user sets up, is it possible to manually allow certain bloggers the ability to make more than one blog?
hi Charlie
Thanks for the comment.
It is not possible in the current plugin but I am making a note of this and will make it available in next update.
getting error when pointing mouse on my blog menu at top of site
What is the error ?
Hi! Thanks for the plugin, it’s great!
I have a feature request, let me know how it sounds:
- Only Admins can approve Blogs
Let’s say we have a website that wants to keep a high standard. And only allows blogs to be setup by admin.
Might be worth exploring?
Hi Brajesh,
I’ve installed a test site using the multisite functionality of WordPress 3.0 and installed your plugin.
After setting the limit of blogs a user can create to 1 and creating a test user, I noticed that there were no limitations at all.
My test user can create an unlimited number of sites just like without your plugin.
Have you already heard of something like this?
What can I do?
Hi Eric,
Is the test user a normal user. The plugin will not stop admin users(siteadmins) from creating the blog.
Yes, the test user is a normal user who has just signed up and created a blog. When that user login his account, he can create a new blog by clicking on Create a new Site, just like if there was no plugin (the plugin number of sites was set to 1).
Hi Eric,
Just updated it for wordpress 3.0 multisite. It should be available from the wordpress repo in about 15 minutes. Please do let me know if it works for you or not ?
HI Brajesh,
Unfortunately, it didn’t do the trick, I’m still having my test user making as many sites as he wants…
Hi Eric,
Then there may be something else wrong with the installation.
1. Version 1.3.1 of this plugin will disable the “Create new site” link in the Dashboard->My Sites page, Is that happening for your test user ?
2. Even if the user tries to create a new blog by vising wp-signup.php, it will show that theblog option is disabled
3. Are you sure your test user has got admin rights for the new sites, To stop a user from creating a new blog, we need to make sure(in your case), he is admin of atleast one blog, is he so ?
4. Are you still on wp ms 3.0 or 3.0.1 ?
Please let me know, I will do my best to help.
I am encountering this same issue.
Hi AMS,
Please try version 1.3.1 from wordpress repo. I have just updated it. It should work with wordpress 3.0 multisite.
Thanks
Brajesh
1) my test user still has the “Create new site link” in the dashboard->My Sites page
2) the blog option is not disabled by visiting wp-signup.php
3) the test user has admin rights to create a blog
4) I’ve upgraded to 3.0.1
I tried installing the plugin into the mu-plugins directory instead of the “normal” install but I’m getting exactly the same problem.
I’ll try it later on another blank test site and let you know about the results.
Thanks for the support.
I’ve installed another test site with your plugin and this time thinks look like working my test user could only create one blog (value set in options…). Regarding what you stated above I’m confused about some differences with your working install:
1) Version 1.3.1 of this plugin will disable the “Create new site” link in the Dashboard->My Sites page, Is that happening for your test user ?
–> I still have the link in the Dashboard->My Sites page?!
The link works for the first blog than points to a page that shows that the blog option is disabled (just like in the following case).
2. Even if the user tries to create a new blog by vising wp-signup.php, it will show that the blog option is disabled
–> That’s finaly working!
So it looks like it’s working, I’ll have a closer look at my other install and try to find out where the problem comes from, I think it’s probably a plugin conflict.
Thanks again for your support.
Eric
Hi there,
any news on the functionality that I requested ?
“If I use this plugin to limit the number of blogs a user sets up, is it possible to manually allow certain bloggers the ability to make more than one blog?”
Thanks for not giving up on us Brajesh Singh ! : )
Hi Brajesh,
I have the latest plugin with wp 3.0.1 multisite and the latest BP. My test user can still create a new blog, through a link in the adminbar, even though I have set the limit to 1. Is this a theme issue?
Thanks
Matt