Plugin: BP Group Hierarchy

Join this plugin group to follow comments, support topics and reviews.

Unable to show group mods, with this plugin activated. (3 posts)

Started 8 months, 4 weeks ago by: ajayver

  • Profile picture of ajayver ajayver said 8 months, 4 weeks ago:

    In a group header, there is a function:

    <h3><?php _e( 'Group Mods' , 'buddypress' ) ?></h3>
    			<?php bp_group_list_mods() ?>

    It shows group moderators.
    Without group hierarchy plugin it lists moderators by using BP_Groups_Template Object which has [mods] section in it.
    But after activating Group Hierarchy plugin, this function starts to use BP_Groups_Hierarchy_Template Object, and it doesn’t have mods list in it.
    So even if there are some moderators in this group, You will see “no moderators” text.

  • Profile picture of David Dean David Dean said 8 months, 3 weeks ago:

    This is a bug in BuddyPress 1.2.x. $mods is supposed to be a property of the BP_Groups_Group object, not the BP_Groups_Template object, but it isn’t declared.

    http://buddypress.trac.wordpress.org/ticket/3097

    Here’s a thread on this topic from a while back with a workaround.

  • Profile picture of mrjarbenne mrjarbenne said 8 months, 3 weeks ago:

    I noticed that this IS fixed in 1.5, but you’ll need to add the line as indicated above in the 1.2.9 and below.