Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Forum create only available to certain members


@mercime
Participant

@mercime

Hi Anton, no you didn’t miss something, I did … missed the limit “topic” in post because of title “Forum create only available to certain members” :-)
Change line 38 in https://trac.buddypress.org/browser/tags/1.2.5.2/bp-themes/bp-default/groups/single/group-header.php from
if ( bp_is_group_forum() && is_user_logged_in() && !bp_is_group_forum_topic() ) :
to
if ( bp_is_group_forum() && current_user_can(‘level_7’) && !bp_is_group_forum_topic() ) :

I was thinking that with @nuprn1‘s plugin activated, one can also use a conditional to target group admin and group mod specifically

Skip to toolbar