Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to fetch list of join group

Viewing 4 replies - 1 through 4 (of 4 total)

  • shanebp
    Moderator

    @shanebp

    Untested, try this:
    http://pastebin.com/khFMNsKP

    If on a member page, you can change bp_loggedin_user_id() to bp_displayed_user_id()


    Pravin Makvana
    Participant

    @ashvin03

    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.


    shanebp
    Moderator

    @shanebp

    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.


    Pravin Makvana
    Participant

    @ashvin03

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to fetch list of join group’ is closed to new replies.
Skip to toolbar