Limit Blogs per User plugin for wpmu Updated

Well, 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

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

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.
  • Go to SiteAdmin->Options, scroll to the bottom, as shown below
  • You will see something like this

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.

104 Responses to Limit Blogs per User plugin for wpmu Updated

  • Pingback:Limit Number of Blogs per User for wordpress Mu and buddypress website/blog network | Thinking In Wordpress:-Delving deep into wordpress

  • Thank you for an update! I'm using this plugin.

    • Thanks for the comment Slaffik
      I am glad to know you are using it πŸ™‚

  • Pingback:Limitar blogs por usuario en WPMU y Buddypress. « buddypress blog

  • 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 a lot for that. I just tested it and it works beautifully.

  • 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,

    • 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?


        • 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, 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.

      • Hi, if you can integrate this feature, that would be great πŸ™‚

  • getting error when pointing mouse on my blog menu at top of site

  • 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.

    • AMS #

      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.


  • 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.


  • 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?



  • Hi brajesh !
    sorry to disturb you again ….

    I was testing this plug for a month now , on the localhost with wp 3.0.1 and bp and the bp default theme …. it was working fine ……

    now I'm trying to use it in live site …. but with same version of wp and bp but with the blogs-mu theme ….. but this plugin is not working …

    as the previous person made the comment .. its same happening in my case …. configure to 1 …. but yet people can create blogs …..

    can it be theme issue ? ….

    Please have a look …. this one is very great plugin , and it would be fantastic to have it in my live site …….

    Thank a Lot Brajesh , for your great work ….

  • I also use WP 3.0.1 + BP + the latest version of your plugin and I have the same problem as the two buddies over me.

    I can still create blogs using the BP admin bar.

    Any ideas?


  • Ben #


    I've discovered a Bug, using WordPress 3 – network/buddypress – if I limit the blogs to "1" per user, then the "create a blog" option goes from the top menu, which is great, but if you visit that persons actual blog page e.g.

    someusername.somewebsite.com – then the "Create a Blog" is back, it only happens on the individual blog pages…

    Any ideas?


    • Hi Ben,
      You will need to activate it sitewide/network activate.

  • hello, like the comments above, I am having problems with the plugin as well. I've installed it, and EVERYTHING is upgraded to the latest version, but when I put in the limit for 1, even a test user with regular permissions can have as many blogs as they want.

    Any solution yet on this issue?

    • Hi Keenan,
      I can confirm that it's working on my dev blog with bp and wordpress 3.0.1 with Network enabled.

      I am unable to produce this issue that's why I could not post a solution.

      Can any of you please point me to the the site. There must be something wrong, but The problem is I am unable to reproduce the bug.

    • Ok, I tried it on a new install again to make sure it works.
      have a look here please

      I have opened the registration on test install to make sure you can check it.

      The install should allow you to create 1 blog.

      • It must be a plugin then… let me go deactivate them all except for the limit blogs per user and see if that works…

        huh… it's still not working. I deactivated everything except for the buddypress, BuddyPress Template Pack 1.0.2, Simple:Press 4.3.4 and it's still not working. I network activated it, and a bunch of other things, but still didn't work.

        I guess i'll setup another test server with just buddypress and see if it works then. Could it possibly be my theme? I don't think it would but I don't know…

        • Hi Keenan
          I am not sure about theme. until and unless the theme is an advance one and manipulates registration, It should not mess with that.

          Please do let me know the results of your test on fresh bp.

          One more thing I will do today, let me see if we lower the priority, that may help.

  • Hi Brajesh !

    I have tested it with bp default theme , and it works ok ,
    But I use the theme Blogs-mu , and this plugin doesn't work with this theme ?
    can these be a theme issue ?
    I don't know as many are telling that they are facing the problem , and according to their report , it seems all reporting people are facing mostly the same issue ….

    πŸ˜€ this plugin as is and awesome one and all (buddypress) social network super admins think this plugin is a must πŸ˜€

    Thanks Brajesh for this NICE & CUTE plugin πŸ˜€

    • Hi Anindya
      Thanks for the comment.

      I will try to lower the priority of the hook today and update plugin. Will need you all to test it again, the priority may be causing issues on some installation, that's what I guess now.


      • Thank Brajesh ! we will be looking for the upgrade , thanks for helping πŸ™‚

  • Alright man sounds good, I'm looking forward to the upgrade to see if that alleviates the problems.

  • Lee #

    I have the latest and greatest of wordpress and buddypress but the plugin is not working. I have enabled wpmu and I have option set to 1 blog per user. But test user can create as many as it likes. any thoughts?

  • I have installed the plugin in the latest version of worpress and have activated multisite.
    the plugin is not working.
    user can create as many site as they wish

  • if any user create multiple accounts then user able to create multiple blogs without stooping, can you tell me it will possible or not

    if it's possible then it's plugin not useful

    user can create multiple accounts and then create blogs

    • Nothing can stop a user from creating multiple account if they wish to do so. Is not that beyond a plugin/wordpress's control unless you disable account creation completely ? It is your responsibly as a site admin to make sure a user does not create multiple account. this plugin has a very specific scope and applies to number of blogs per user account, so that issue is beyond the scope of this plugin. yes, the plugin will be of no use in your case if your users believe in creating multiple account just to have new blogs.

  • Hello..
    I wish to start a blogging website, and I wish to limit the number of blogs a user creates. Like in your website, I wish to have a payment option using "cart", like, if a user pays 5$, he will have access to create unlimited blogs, if he pays $10, he can use his own domain, etc. How is this possible. Is this possible with this plugin?

    • Hi Roshan,
      No this plugin will not help in that case. Please look for "wordpress Premium network plugin manager" by Ron, That plugin should help you.

  • Doesn't work in my Multisite Installation (WP v3.0.5)
    Test user can create as many blog as he likes

    Any suggestion?
    thanks in advance

    • Hi KaiTou,
      I have not tested it with wp3.0.5 multisite. will test and let you know in 1-2 days.


  • Hello!

    I was having some problems too. Finally I realized that "bpdev_is_user_blog_admin" function was trying to retrieve
    "wp_".$blog_id."_capabilities" value.

    My wordpress installation uses another different table prefix than "wp_" so I changed the script to use the more generic

    $wpdb->base_prefix.$blog_id."_capabilities" instead.

    That worked for me.

    • Thank you javi for the heads up. Updating the plugin today.

  • Pingback:the users primary blog in a wordpress multisite « Wordpress dev logs

  • Working on my subdomain installs but not on subdirectory installs. I set the limit blogs per user to 1 and it still allows blog creation.

  • DHS #

    Wondering if there is a way to display a message other than "Registration has been disabled." to include a more user friendly message. It looks like it is just pulling the generic WP message. Please advise.

    • Hi DHS,
      Thanks for the comment.
      Completely agreed with you about the message. It should be customizable. Please check back on Friday, I will have the update πŸ™‚

      • geo #

        was this ever solved?

        • Hi Geo,
          No, wordpress does not allows to customize the message at the moment.

  • Joe #

    I tested this plugin last week and it did a great job, but when I just tried it again (now with 3.2), it doesn't resrtict the number of blogs.

    Do you know if there is a problem with using v3.2 of WP?

    Great plugin when it was working, nice and simple, which is just6 how I like it πŸ™‚

    • Hi Joe,
      Thanks for the comment. Checking now. will update in an hour here if it has any issues.

      • Joe #

        Thanks Brajesh,

        If it helps, I have the latest versions of WordPress & BuddyPress, and have the blogs set up for 1 blog per user.

        • Hi Joe,
          Just checked it on My multisite setup with wordpress 3.2 and BuddyPress 1.2.9.
          It is working fine. I set the limit to 1 and normal users are only able to create 1 blog. Are you testing it from site admin's account, It will not restrict site admin from creating blog.

        • Joe #

          You know what, I'm sensing a "Doh!" moment coming on.

          I think it may have been a test on an admin account.

          Apologies for getting you of fof whatever you were doing, and big thanks for making me realise that my site is closer to completion than first thought πŸ™‚

  • Hi, and thank you for a very special plugin.
    I want to try it on my subfolders-multisite. It makes me wonder though.
    The instructions on wordpress say install on either mu-plugins or plugins folder. Does it make any difference?
    But what really worries me is that on July 7, 2011 you say you upgraded the plugin.
    Still the downloaded files (v1.3.1) were both last modified on August 02, 2010 9:07
    Am I missing something?
    Thank you in advance

    • Hi,
      Thanks for the comment. No, I did not upgrade it. I said, I tested it with the wordpress multisite 3.2 and It worked. Please try and it will work.

      And yes, with wp3+, you don't need to put it in mu-plugins folder, just activate "Network wide".

      Hope that helps.

  • So… I was missing something. πŸ™‚
    Thank you for the reply.
    So that means the comments left by javi: On March 22, 2011 and DHS: On June 20, 2011 are redundant.
    It would be nice though if they were "included". After all, the notes on wordpress say compatible up to: 3.0.5

    And just a final clarification. After activation the super-admin is the only one who can create unlimited blogs for any user. Correct?
    Thanks again

    • Agreed about that. this plugin needs a way to allow siteadmins to set their own message like "you need to upgrade membership" or something they want. Sorry i could not look into that. Will check and update in a couple of day.I will make sure to upgrade the description too in next release to remove the discrepancies.

      About limiting, yes that is right, but you will need to set a limit for use in Network Admin->setting page.

      • Brilliant. Thank you so much.
        I will keep an eye for your update with localization as well (maybe)? i have also noticed that quite a few things have changed in the latest wordpress versions and few of long to be updated plugins have deprecated calls. This update could be the chance (if there are any).

        Once again. Excellent work

  • thank u
    its not work for me
    i have wordpress 3.2.1

    • Hi Matrix,
      Are you sure you are using wordpress multisite. It is supposed to be used with wordpress multisite. Please let me know.


      • work perfect
        thank you very much
        Thank you for your effort

  • i am sorry but i am wrong ,
    I active the plugins on network and limit the blog to 1

    I active the register
    then I go to other browser and register new blog
    then I go to my site->add new site , the register page is shown

    how it work !

    • Hi Matrixboy,
      as a network admin, you won't have any restriction.Please try it with normal user accounts.

      • Hi
        That's what i do
        I used other browser with other email like a normal member but the same !

        I will active the register for new user and blog
        This is test account on a test blog if that help :
        – user: brajesh
        – pass: cS6OypBB91Of

        Excuse me for non-English language

        • hello matrixboy.
          Do you still have the plugin installed and activated?
          Because I just managed to make 3 blogs in a row. WordpPress 321, macintosh, safari 5.0.6
          It is definitely not working. You are right. I will later test it on my site as well

        • Hi
          Yes i active and limit to 1 blog !
          Thank u
          Let me know if work in your site

        • Hi Brajesh and matrixboy,
          Unfortunately the plugin does NOT work on my site as well.
          Can we please fix it?
          Thank you in advance

        • Hi All,
          I am sorry I could not pay attention to it earlier. I am going to test it today thoroughly and will report back with my findings.

        • Thank you for everything πŸ™‚

        • Just updated the Plugin. The version 1.4 is a complete rewrite of the code base(using singleton pattern and dropping the old procedural style) and It works with BuddyPress 1.5+WordPress 3.2.1.

          I have committed it to wp repo and It should be available in a couple of minutes there. Please do let me know if it works for you or not.

        • Work perfect
          Thank you very much bro

  • Works sooooo well now…
    Thank you

  • Hello,

    Thanks for the plugin. In order to keep a lot of functionality under wraps, I'm defaulting new users to the editor level when they create their first blog. This seems to be preventing this plugin from working correctly. Any ideas on a way around this?

    Thanks, Gabe

    • Nevermind… I've changed




      on line 117… this seems to work for now.

  • Just tried this on WP v.3.51.

    1. Installed the plugin on a MU installation.
    2. Network activated the plugin.
    3. Went to Settings > Network Settings
    4. Set the Number of blogs allowed per User to 1

    When I test, sign up and create a site as a new user, then login to my new site and go to Dashboard > My Sites, the Create a New Site link is visible.

    When I click the link, I see 'Registration has been disabled'.

    Is this behaviour expected?

    Should the Create a New Site link NOT be showing at all since a site has been created already and the limit has been reached?

  • Hi Bill,
    sorry for a little bit delayed reply.

    That behavior is expected. The link is not filterable at the moment. I hope that it becomes filterable in future.