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.