Helping you Build Your Own Social Network!

Faster, better and easier!

Disable Auto Group joining In BuddyPress

Jotted by Brajesh Singh in Buddypress, Buddypress Tricks on July 14, 2011
We are Hiring new WordPress/buddyPress developers

This is a small tip to help you disable auto group joining for BuddyPress public groups. Yes, It will allow your users to post to public group forums without joining the group.

If you are using BuddyPress 1.2.9, you can put this line in bp-custom.php


define('BP_DISABLE_AUTO_GROUP_JOIN',true);

Isn’t it easy and cool.

Oh yes, and if you don’t want to do it manually, you can use my plugin Rescue me from groups.

Hope you will like it. Since I am busy working on a couple of plugins, I won’t be able to publish any new plugin till Monday. So, Here I promise to provide one tip a day till then :)

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

Related posts:

  1. CB Group Blog: A child theme of Cosmic Buddy for group Blogs
  2. BuddyPress Group Suggest Widget: Help your members to find new groups
  3. Plugin BP Auto activate Auto Login-redirect to profile, automatically activate your new user signup, log them in and redirect to their buddypress profile on signup
  4. Disable Blog Posts and new Blog Comments recording/tracking In the activity by BuddyPress
  5. Playing With buddypress and WordPress, some codes for the site admins

8 Responses to Disable Auto Group joining In BuddyPress

  • Thanks Brajesh. Good tip indeed :-)

  • Looking Good. I know where to exactly use this.. :)

    Thanks for tips always.

  • Hi Brajesh, im having some trouble with mine. It disables the autojoin when creating a new topic, but it still autojoins the member when replying to the post.

  • the plugin doesn’t work for me. alternatively, adding the code in bp-custom only disables the autojoin for starting a new topic. the autojoin for replying to a post is still active. any help?

    • Hi Tommy,
      are you using it from the github trunk?

      With bp 1.2.8, you don’t even need this, just put this line in bp-custom.php

      define('BP_DISABLE_AUTO_GROUP_JOIN',true);
      

      That should do it.

      • I did try it that way too. However, it only disables the autojoin on the “post new topic” page. the autojoin on the “reply to post” page still works.

        any suggestions for that?

        • Oh nevermind. I figured it out, there needs to be a space between the opening AWESOME! Thanks for the great simple code Brajesh!!! Will this still work with bp 1.5?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Get Adobe Flash playerPlugin by wpburn.com wordpress themes