Untested, try this:
http://pastebin.com/khFMNsKP
If on a member page, you can change bp_loggedin_user_id() to bp_displayed_user_id()
Hello,
Thanks for reply.But this code does not helpful for me.I want to create new tab on group home page join group next to suggested tab.
Group Home Page have three tab.
1) My Group
2) Suggested Groups
3) Join Group.
First two tab is worked but third tab is not work.Please help How to fetch only join group not created by me.
Thanks.
You’ll probably have to write a custom mysql query.
Take at look at functions like get_group_ids() in bp-groups -> bp-groups-classes.php to get hints on writing your query.
Since you have ‘Suggested Groups’, take at look at that code too.
Hello,
http://pastebin.com/khFMNsKP
sorry, Your solution is working properly for join community but pagination is not work so i am confuse.
Please help how to manage pagination for join community and how to pass value from ajaxquery string.
thanks.