Change WordPress user roles and capabilities Forums How to or FAQ How to assign forum capabilities based on bbpress forum role?


Viewing 1 post (of 1 total)
  • Author
  • #6005

    I’ve created some custom bbpress forum roles using URE Pro. They’re all participants but they have different names.

    I’d like to restrict their capabilities based on their bbpress forum role and the forum they are viewing.

    I’m guessing this should be a simple if() statement that checks if they’re logged in, checks their forum role, checks the forum ID and then assigns the relevant capabilties. When logged out all forums are viewable but read-only.

    Something like:

    If forum-role is 'captain', allow topic and reply creation in forum1, read-only of topics and replies in forum2, and so on.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.