• Resolved kraigg

    (@kraigg)


    Hi there,

    I’m using the bc_group shortcode (ie, [bc_group slug=”my-group-name”]) to list individual groups, and show the group avatar and description.

    Using this shortcode, is it possible to show the group type (ie “This group is public/private/hidden”) and also the number of members of this group (ie, “This group has xx members”)?

    Thank you

    http://wordpress.org/extend/plugins/bowe-codes/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    At line 84 of main plugin file (bows-codes.php), just add this code :
    $group_html .= '<p>'. bp_get_group_type( $group ) .' / '. bp_get_group_total_members( $group ) .' member(s)</p>';

    Thread Starter kraigg

    (@kraigg)

    Hi imath, that worked really well, thank you!

    Is there a chance this functionality could become part of the next update? I’m sure there would be other people who would find it very useful also

    I’m using version 2.1 of the plugin. Perhaps the widget/builder can include checkboxes to show or hide the description and the total members. That would be a “nice to have” option.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Possible to display group type and member count?’ is closed to new replies.