I actually brought this up a long time ago when I was a BP noob
Seems like BP is missing a “Remove from group” option in the manage members screen.
This functionality could be added using the groups_leave_group() function.
Needs some investigating.
just adding my vote for a much needed remove but not ban feature
Alright, I’ll look into creating a patch for this in the next few days (hopefully for inclusion in BP 1.2.6).
Done
I’ll probably refactor this as a core patch in the next week or so, but here’s something to play around with:
http://pastebin.com/MpmneujE
Add this to your functions.php.
Killer Ray, I ran into this problem last month, but just let it go…. I’ll test this tonight as well.
Liked it so much, I added it to core for 1.2.6. Props r-a-y.
It’s active now on testbp.org. Give it a try. Report bugs on trac please.
All,
Thank you for your support! @johnjamesjacoby thank you for your prompt response and adding it to the future release
Awesome. It’s one of those things that’s so obvious but that we just overlooked. Must be because everyone who uses BP is soooo nice that no one ever has conflict.
@johnjamesjacoby Thanks! Looking forward to 1.2.6 … hurry up already!!!
JJJ is the man! Didn’t expect the fast turnover as well!
Nice work. It felt like something was missing from that moderation screen. Good work.
Awesome! Just tested it out on my live site (I live on the edge, lol) and it worked perfectly! I do have a request for future versions maybe, though…checkboxes next to each member for bulk admin (promote/ban/remove)
Don’t thank me, thank @r-a-y!
Bulk member moderation is on the roadmap somewhere, at least it used to be and would be very useful.
But alas, you should be patting @johnjamesjacoby on the back for cleaning up my code and adding it to BP core
Is this in the BP core already? I have the latest version of BP, but still cannot do this. I can only kick & ban as before, not remove members from group.
Also, if I add the code mentioned above to my function.php, my whole site goes blank.
I am using the Custom Community 1.5.1 theme for WP.
Anybody an idea what I am doing wrong?
You need to upgrade your Custom Community theme to take advantage of this.
Bug the theme author!
Or you can manually do this by mirroring the changes made to /groups/single/admin.php.
There is a plugin “buddypress group moderation” or something like that adds the “eject user from group” function. I tested it on my site, but no real use for it.