Skip to:
Content
Pages
Categories
Search
Top
Bottom

Allow user to post same post in different forums


  • brandi22
    Participant

    @brandi22

    We have bbPress used on a website that has different groups. We need instructors to be able to post the same message in more than one forum, for each group. Right now, they’re prevented from doing that. Is there any way we can reduce the restrictions on duplicate content? This is all on a password protected site, so we don’t worry about spam.

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

  • Robin W
    Moderator

    @robin-w

    so if only instructors to be able to do this, then you need to add ‘thottle’ to their WordPress permission for their role.

    what role do instructors have ?

    if custom, what creates this role?


    brandi22
    Participant

    @brandi22

    The instructors have the “Subscriber” role. I’ve just given them the forum role of “Moderator”.

    They shouldn’t have any restrictions in timing between posts and they should be allowed to post the same post twice (or more) if needed.

    Thanks!


    Robin W
    Moderator

    @robin-w

    thanks,

    this will add throttle to the participant role

    Put this in your child theme’s function file – or use

    Code Snippets

    add_filter( 'bbp_get_caps_for_role', 'brandi_role_caps_filter', 10, 2 );
    
    function brandi_role_caps_filter( $caps, $role )
    {
        /* Only filter for roles we are interested in! */
        if( $role == 'bbp_participant' )
            $caps['throttle'] = true ;
         return $caps;
    }

    brandi22
    Participant

    @brandi22

    Thank you, Robin.

    To be clear, if this code adds throttle to the participant role, does it allow moderators to have less posting restrictions on the site?


    Robin W
    Moderator

    @robin-w

    moderators already have this ability

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar