BP Group Management

This plugin creates an admin panel at Dashboard > BuddyPress > Group Management. On this panel, site admins can manage BP group membership by banning, unbanning, promoting and demoting current members of any group, adding new members to any group, and deleting groups.

Requires BP 1.2 or higher. If you’re running a 1.1.x version of BP, a mostly functional version of the plugin can be downloaded by clicking here. Tested fairly thoroughly on BP 1.1.3; please test before running in a production environment.

I consider this version to be something of a beta release. If you find problems with the plugin, please let me know by leaving a comment below.

Download the plugin here.

BP Group Management has been downloaded 24,961 times. Are you using this plugin? Consider a donation.

Translation credits

  • Italian – Luca Camellini
  • Turkish – gk
  • German – Tom

Version history

0.1 – March 4, 2010
Initial release
0.2 – March 7, 2010
Fully localizable
Avatar bug fixed (thanks for pointing it out, anointed!)
Hooks added for additional group actions
0.3 – March 8, 2010
Pagination on group list allows you to see all groups (thanks, Andy!)
Group avatars added (thanks, Andy!)
Italian translation included (thanks, Luca!)
0.3.1 – March 16, 2010
Turkish translation added (thanks, gk!)
German translation added (thanks, Tom!)
Sitewide roster altered to include all members, not just members active on BP
0.4 – March 21, 2010
Added plugin settings page
Member list is now paginated (defaults to 50 per page)
Admin can now specify how many groups or members to show per page
Group Actions menu added to Members and Delete pages
Links to Group Admin page added throughout

76 thoughts on “BP Group Management

  1. Pingback: 授業SNS « 田中浩朗の教育研究日誌2.0

  2. Betty Donelly

    Hello Boone,

    I just installed the plugin and in Buddypress –>Group Management, i only find a listing of my groups with some additional data such as the Group name, number of members (currently just 1, myself, because i’m just starting out with buddypress) ..

    I cannot find the ‘Manage Members’ button or link, on the listings page i just have a link to ‘Plugin Settings’ where i am asked to fill in the number of members per page and such.

    I’m not in a hurry since no one signed up as a member yet, but i think if i could really manage my members it would be a great asset so it’s worthwhile to wait on your reply to this question!

    Thanks

    Betty

    Reply
  3. HansRuedi Keller

    Hello Boone

    Would it be possible for you to include a switch in your Group Management Settings of BP Group Management to disable the «Leave Group» button/functionality for Members?!?

    I’ve set up a Site with BuddyPress for a regional group doing
    «Crisis Management Emergency Planning and Civil Protection».

    Makes sense: it’s important that nobody will leave a group…
    …only an Admin should be able to do that – if needed.

    Reply
    1. Boone Gorges

      Hi HansRuedi,

      I’m wary of introducing this feature into BP Group Management itself, because the only way to remove the button systematically (in a theme-independent way) is with kind of a crummy hack. But, in any case, here’s how you would do it in a functions.php or bp-custom.php file:

      
      function bbg_remove_leave_group_button( $button ) {
      	$cant_leave_these_groups = array( 1, 15, 83 );
      
      if ( 'leave_group' == $button['id'] ) {
      		// Hack to get the group id in any context
      		$group_id = (int) array_pop( explode( '-', $button['wrapper_id'] ) );
      
      if ( in_array( $group_id, $cant_leave_these_groups ) ) {
      			return false;
      		}
      	}
      
      return $button;
      }
      add_filter( 'bp_get_group_join_button', 'bbg_remove_leave_group_button' );
      

      Make sure to replace the group IDs in $cant_leave_these_groups (at the beginning of the function) with the proper group IDs that you want to remove the ‘Leave Group’ button from.

      Reply
  4. Brian White

    In a multisite installation, in the Members section, to add a member we are presented with a paginated list of all users in the multisite system – and they are not in alphabetical order, making it quite a slog to find and add a particular user to a group. What would be needed to either add an AJAX search function for the list (ideal) or at least render the list in alphabetical order based on last name?

    Reply
  5. Ben DeLoach

    Plugin worked great on MultiSite until I installed BP Multi Network. Multi Network works fine but BP Group Management doesn’t show up in the BuddyPress menu anymore. Any ideas on a fix or do I need to go another route? Thanks.

    Reply
    1. Eric Langley

      I have the same issue. The plugin only appears to run on the Network Admin page so Multisite control is unavailable.

      This is a great plugin and really needed functionality.

      Any chance of getting this plugin updated to work with WP MS, BP MN. By the way I am running Brajesh Singh’s BP MultiNetwork.

      ~eric

      Reply
  6. HansRuedi Keller

    You show the Display Name in your Group Management. And if you have two (or more!) users called – let’s say «John» – one John Miller and one John Gorges – and both decided to display «John»… It’s a must to do a mouse over and search in the URL for the real one. Possible but… Why not having more info in the backend GUI itself? Like «John (John Miller)» or something like that.

    Reply
  7. Grant Swaim

    Nice. However, I did get an error code when I went to Group Settings – made no changes – and returned to the plugins admin panel:

    Warning: Division by zero in /home/digitall/public_html/wp2/wp-content/plugins/bp-group-management/bp-group-management-aux.php on line 136

    The plug-in still seemed to work OK

    Thanks.

    Reply
  8. CB Bowman

    Hello,
    I am so confused, I was hoping that your plugin would allow me to close certain sections/pages of my website to non members. But after I downloaded the plugin on my Word Press site I did not see any changes; no place to input information as to which pages to identify as those that will be password protected.
    I would appreciate some help. BTW I am a novice so please keep all advice really simple.
    Thank you in advance for your help

    Reply
    1. HansRuedi Keller

      First of all: it’s a plugin for BuddyPress, and only for BP. And it has absolutely nothing to do with passwd protection. It allows you as admin to manage members of BP groups in the backend of your WP/BP installation.

      Reply
      1. CB

        Thank you so much for replying, I’m a novice so I don’t know anything about BuddyPress. But it sounds like it is not the plugin I’m looking for. I need a plugin that will only allow members to view certain pages i.e. samples of contracts

    2. Quint Rahaman

      Try http://www.s2member.com

      They have a few introductory videos which will help you to better define your use case models and to ask targeted questions. Those folks should be able to provide you with clarification.

      Reply
  9. CB

    HANS thank you so much this is hard stuff to learn on your own but I’m getting there I’ll deactivate the other and install your suggestion. I’ll let you know how I do -:)!

    Reply
  10. cryptoniko

    Is there any possibility to add a sorting (ordering) functionality on a members pages? For example order by login or last name. I have a few hundreds of users in some of my groups and I need to delete some of users. Finding specific user in that list is a quite complicated task.

    Reply
  11. akismet-a54c3da06c525f5e4f3e4a661744dd66

    If you’d add Group approval Process to your Group management plug in. I would Definitely donate

    Reply
    1. HansRuedi

      Subscriber is a WP role and not a BP role – give that particular user “Member” status and you are fine… (BP standard roles are “Member”, “Moderator” and “Group Admin”)

      Reply
  12. investoreports

    Thanks for getting back to me so quickly – but plse a little more help – in the user profile “Member” is not on of the options – I can only see the typical WP roles?

    Reply
  13. investoreports

    Not winning with this at all – add user to hidden group – logged in as that user – cant see the hidden group…can only see it if admin…

    Reply
  14. fafs

    Hi, I’m having the same exact issue that Betty Donnelly had in 2010 – so I’m posting her issue again, as I didn’t see an answer here. I need to launch our site soon and I would appreciate a prompt reply if you can – thanks so much!

    Hello Boone,

    I just installed the plugin and in Buddypress –>Group Management, i only find a listing of my groups with some additional data such as the Group name, number of members (currently just 1, myself, because i’m just starting out with buddypress) ..

    I cannot find the ‘Manage Members’ button or link, on the listings page i just have a link to ‘Plugin Settings’ where i am asked to fill in the number of members per page and such.

    Thanks

    Betty

    Reply
  15. Pingback: Links – Buddypress Plugins | TechNotes

Leave a Reply