This topic has 7 replies, 3 voices, and was last updated 7 years by Radu.

  • Author
  • #212225
     leandrorm
    Participant

    hi i hope you can help me im tryng to get via code the group informations  i have been tryng varius  things with the bbpress documnetation but it comes always 0 groups

    even with the https://codex.buddypress.org/developer/loops-reference/the-groups-loop/

     

    were it says

     If you want to show all groups, regardless of whether the the logged-in or displayed member belongs to them, use this:  

    bp_has_groups( ‘user_id=NULL’ )

     

    but i get always 0 is there a different call that i have to do since sweetdate has a custumized buddypress ?

    or am i dum and im getting somthing wrong ?

    i need an array with all the buddypress groups exist in my db i tried even  : ($vgroups = $groups = BP_Groups_Group::get(array(

    ‘type’=>’alphabetical’,
    ‘per_page’=>999
    ));
    print_r($vgroups);`) in reference of https://buddypress.org/support/topic/getting-array-of-all-groups/

    but nothing ive tried many more solution but comes back always 0

    can you please help me out im going crazy how do i do it ?

     

    thx a lot in advance and please help 😀

    #212249
     Laura
    Moderator
    Not marked as solution
    #212264
     leandrorm
    Participant
    Not marked as solution
    #212366
     Radu
    Moderator
    Not marked as solution
    #212591
     leandrorm
    Participant
    Not marked as solution
    #212635
     Radu
    Moderator
    Not marked as solution
    #212933
     leandrorm
    Participant
    Not marked as solution
    #212974
     Radu
    Moderator
    Not marked as solution
Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?