Limit Blogs per User plugin for wpmu Updated

Jotted by Brajesh Singh in Buddypress, Buddypress Free Plugins, Plugins, WpMu Free Plugins on February 28, 2010

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

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.
:)

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Add to favorites
  • BlinkList
  • DZone
  • FriendFeed
  • IndianPad
  • MySpace
  • Netvouz
  • Reddit
  • SphereIt
  • StumbleUpon
  • Technorati

Related posts:

  1. Limit Groups Per User Plugin For Buddypress
  2. Recently Updated Blogs Widget for Wordpress Mu
  3. Remove /blog slug from the default blog of wpmu subdirectory installation
  4. Sitewide Footer Content Plugin for wpmu/buddypress
  5. Buddypress Profile Widget For Blogs

45 Comments Already!

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

  • slaffik says:

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

  • navo says:

    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…

  • caretaker says:

    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

  • navo says:

    Works! Thanks Brajesh

  • Richard says:

    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.

  • Jesse says:

    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.

      • jesse says:

        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

        • Jesse says:

          Well it looks like everything is ok. I dont know what happened, I just checked my site today and it is working ok. Thanks…

  • mrjarbenne says:

    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?

  • Matt Lewis says:

    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.

    • mrjarbenne says:

      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.

  • charlie says:

    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?

  • akooby says:

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

  • Mike says:

    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? :D

  • Eric says:

    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.

      • Eric says:

        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 ?

        • Eric Koch says:

          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 says:

      I am encountering this same issue.

  • Eric Koch says:

    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.

    • Eric Koch says:

      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

  • charlie says:

    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 ! : )

  • footybible says:

    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

Leave a Reply

Name [*]

Email [*]

Website Optional

Comment [*]

Please Note,The fields marked as * are required fields*


Get Adobe Flash playerPlugin by wpburn.com wordpress themes