Opened 14 years ago
Closed 14 years ago
#2624 closed defect (bug) (no action required)
Forum slug
Reported by: | chouf1 | Owned by: | |
---|---|---|---|
Milestone: | 1.5 | Priority: | critical |
Severity: | Version: | ||
Component: | Groups | Keywords: | reporter-feedback |
Cc: |
Description
on wp 3.0.1 and bp 1.2.5.2....
in the subnav menu bar, i have a forum item who links to a blank page.
the uri is http://mysite.net/groups/johndoe/forum/
the same slug is also in the my account list under "groups".
The correct path should be http://mysite.net/groups/johndoe/
I solved the problem by commenting the if statement on line 206 in buddypress/bp-groups.php
i think this "if" is not absolutely necessary, because when on the group "johndoe" page, i don't need to have a submenu item who link to THIS group. Anyway, some people may have the need for this button, so it is better to debug correctly, perhaps at another place :-)
Would you mind testing this on the latest trunk to see if it's still happening?
The conditional if ( $bp->groups->current_group->enable_forum && function_exists('bp_forums_setup') ) is important because the forum link shouldn't show up in groups where the forum isn't enabled, or on installations where forums aren't running.