Skip to:
Content
Pages
Categories
Search
Top
Bottom

FYI: Changed name of groups

  • Avatar of mutualdesigns
    MutualDesigns
    Member

    @mutualdesigns

    Love the plugin. Just a note to those out there developing custom buddypress themes. On our site, we changed the name of groups to communities. In the URL, we have http://sitename.com/communities instead of groups. The group tree in this plugin will not work unless you change line 544 in extension.php.

    if ( $bp->current_component != ‘communities’ )

    Just thought I would share this for anyone who experiences the same issue.

    David, any way of setting this dynamically so it doesn’t necessarily have to be ‘groups’ as the current component. I couldn’t think of a way to this this otherwise, but it may be something to think about for future updates. Probably a rare issue.

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

    @ddean

    D’oh! That was a quick fix that I forgot to go back over and correct. Users of BP 1.2 can use the `BP_GROUPS_SLUG` constant.

    I’ll incorporate a fix into the next release.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.