• Resolved orlando2go1

    (@orlando2go1)


    Is there a way to echo/display the Types assigned to a Group or apply conditions ?.

    I see that the types are listed on the Group view page but I would like to do a conditional statement to only echo if Group is specific type. See example below.

    <?php

    if ($bp_grp_type=’music’) {
    echo ‘NICE MUSIC TIME’;
    }
    else {
    echo ‘No MUSIC HERE’;
    }
    ?>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to Display/Echo Group Names’ is closed to new replies.