Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • leandrorm
    Participant

    @leandrorm

    i am trying to get a list of all the groups so that i can check if it exist already but i dont understand wy the groop loop comes back empty my groups are not hidden and they are public to i use them on a map with the group locator
    my question remain how do i get all the groups in my db ?
    why are calls like bp_has_groups( ‘user_id=NULL’ ) not working.


    leandrorm
    Participant

    @leandrorm

    i tried alredy the `$vgroups = $groups = BP_Groups_Group::get(array(
    ‘type’=>’alphabetical’,
    ‘per_page’=>999
    ));
    print_r($vgroups);`
    and

    groups_get_groups() Ive tried numerous example, with or without id with the order with the type, but just keeps coming empty
    and i tried the :
    groop 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 it comes back empty to
    I would like to know from my function.php how do I display all the groups on my site?


    leandrorm
    Participant

    @leandrorm

    sorry if i replay now had some problems to solve i dont need that the user selects the group but if exist the group to add him i am openig a new topic thx for the help and sorry again for the late replay

Viewing 3 replies - 1 through 3 (of 3 total)
Skip to toolbar