Skip to:
Content
Pages
Categories
Search
Top
Bottom

Unable to show group mods, with this plugin activated.

  • Avatar of ajayver
    ajayver
    Member

    @ajayver

    In a group header, there is a function:
    `

    `
    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of David Dean
    David Dean
    Participant

    @ddean

    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.

    Avatar of mrjarbenne
    mrjarbenne
    Participant

    @mrjarbenne

    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.

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

The topic ‘Unable to show group mods, with this plugin activated.’ is closed to new replies.