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
Related posts:
- CB Group Blog: A child theme of Cosmic Buddy for group Blogs
- BuddyPress Group Suggest Widget: Help your members to find new groups
- 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
- Disable Blog Posts and new Blog Comments recording/tracking In the activity by BuddyPress
- Playing With buddypress and WordPress, some codes for the site admins
Thanks Brajesh. Good tip indeed
Thank you Mercime. Appreciate your comment
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?