Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of hnla

Kick (but not ban) a user from a a group? (19 posts)

Started 1 year, 5 months ago by: PJ

  • Profile picture of PJ PJ said 1 year, 5 months ago:

    There are some users that are “collecting dust” in a couple groups and I can’t find out how to kick them out but not ban them. Any thoughts on how I can just remove them from the group? Thanks.

  • Profile picture of r-a-y r-a-y said 1 year, 5 months ago:

    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.

  • Profile picture of justbishop justbishop said 1 year, 5 months ago:

    just adding my vote for a much needed remove but not ban feature ;)

  • Profile picture of r-a-y r-a-y said 1 year, 5 months ago:

    Alright, I’ll look into creating a patch for this in the next few days (hopefully for inclusion in BP 1.2.6).

  • Profile picture of intimez intimez said 1 year, 5 months ago:

    Yes me too

  • Profile picture of r-a-y r-a-y said 1 year, 5 months ago:

    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.

  • Profile picture of Pisanojm Pisanojm said 1 year, 5 months ago:

    Killer Ray, I ran into this problem last month, but just let it go…. I’ll test this tonight as well.

  • Profile picture of John James Jacoby John James Jacoby said 1 year, 5 months ago:

    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.

  • Profile picture of PJ PJ said 1 year, 5 months ago:

    All,

    Thank you for your support! @johnjamesjacoby thank you for your prompt response and adding it to the future release :)

  • Profile picture of paulhastings0 paulhastings0 said 1 year, 5 months ago:

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

  • Profile picture of intimez intimez said 1 year, 5 months ago:

    @johnjamesjacoby Thanks! Looking forward to 1.2.6 … hurry up already!!! ;-)

  • Profile picture of r-a-y r-a-y said 1 year, 5 months ago:

    JJJ is the man! Didn’t expect the fast turnover as well! :)

  • Profile picture of techguy techguy said 1 year, 5 months ago:

    Nice work. It felt like something was missing from that moderation screen. Good work.

  • Profile picture of justbishop justbishop said 1 year, 5 months ago:

    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)

  • Profile picture of John James Jacoby John James Jacoby said 1 year, 5 months ago:

    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.