Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Help] User can be close topics

  • @janfeng

    Participant

    I want user can be close and open their’s topics , How to do that ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • @robin-w

    Moderator

    see

    https://codex.bbpress.org/bbpress-user-roles-and-capabilities/

    and you’ll see a capability for a user to close their own topics.

    you need to either amend the participant role, or create a new role with this capability

    see https://codex.bbpress.org/custom-capabilities/

    @janfeng

    Participant

    @robin-w Thank you , Can i easy to changle “subscriber” can be close their’s topics.

    @robin-w

    Moderator

    you won’t be changing subscriber – that is a wordpress role – bbpress has it’s own roles, and probably that is participant.

    I’m sure you can , but haven’t tried so don’t have code offhand.

    Suggest you just create a new custom role, and then set your bbpress user to it.

    @janfeng

    Participant

    There codes looks complicated. Can u tell me which capabilities is allow user close their’s topics. @_@

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