Skip to:
Content
Pages
Categories
Search
Top
Bottom

Spectator Role Not Working – allowing posts

  • @davellan

    Participant

    So I am new to bbPress. I am on the Kleo theme along with BuddyPress and iMember360.

    I have automatically set all my users to spectator when registered, and I am going to setup a script to switch them to participant later.

    But right now, I notice spectators can post! From what I have read, spectators should only be able to spectate.

    I haven’t messed around with bbPress except for adding the visual editor, and styling the attach link modal.

    What’s the deal?

Viewing 9 replies - 1 through 9 (of 9 total)
  • @robkk

    Moderator

    Works when I tested it on my test site.

    Try some troubleshooting to see what could be causing the issue.

    Troubleshooting

    @davellan

    Participant

    Did that and nothing found. Used different themes, deactivated all my plugins and still nothing.

    @davellan

    Participant

    I got a role and capability manager, and I see that the WP subscriber role (by default is selected) gives users both “spectate” and “participant” roles (even though I have it set to only form role specatator by default).

    I edited this and left the subscriber role only with specatate capability. It would then not allow spectators to post (yay) but also blocked participants (boo). I switched roles to moderator to see if it would allow posting and it did. When I switched back to participant, it worked (yay) but then when I went to spectator it also worked (boo).

    So I went back to the roles and capability manager, and also the capabilities I toggled off were toggled back on! How does this happen?

    @davellan

    Participant

    Still having an issue, although it seems to have evolved.

    So now using the roles and capability manager, the changes I make stick.

    Even so, bbPress roles don’t seem to work. So I made a new WP role I called member, and assigned it participant capabilities. I then changed subscriber (the default) and assigned it spectator capabilities. These roles new allow users to function as I wanted. A hack but it works reliably.

    But now, as the WP admin and keymaster, I cannot moderate the forums through the dashboard or inside the forum. Since none of the bbPress roles actually work, I can’t do anything with them. I suppose I will have to make yet another role and call it moderator, and give it all the keymaster capabilities.

    But this shouldnt have to be like this. Really lost on why this is broken.

    @robkk

    Moderator

    Did the default bbPress roles ever work fine?? Or did it break recently after installing a plugin??

    Can you link to this user role and capability plugin you are using??

    @davellan

    Participant

    Sorry didn’t see this earlier.

    It was working at one point, because as the Keymaster I was able to edit the forums, where now I cannot.

    Plugins I have used for roles:

    Change WordPress user roles and capabilities

    Cannot find a website for this one, but it is called User Roles and Capabilities.

    @johnjamesjacoby

    Keymaster

    Almost all role editing plugins cause accidental breakage. There’s only one, in my experience, that’s worth using, and it’s called Members by Justin Tadlock.

    You may need to install my bbp-capabilities plugin to get the broken user accounts back to normal:

    https://github.com/johnjamesjacoby/bbp-capabilities

    @davellan

    Participant

    Deactivating and activating these plugins definitely causes issues, such as stripping all the capabilities from all the role types. Crap.

    Skimming through the internet reveals people with similar problems, but no clear resolution that I can follow. It seems like these role plugins can write into the database and mess with bbPress settings (at least from my understanding of it).

    I need a way of reversing the damage this has done, but without losing my forums if possible. Fortunately, the site is new so the forum is not active, but I would rather not have to build up the structure from scratch.

    @davellan

    Participant

    John James Jacoby – thank you for mentioning Members by Justin Tadlock.

    Deactivating the previous plugins and just activating that fixed a lot of problems, even without touching anything. Keymaster now functions properly, which is a relief.

    I still have some work to do, as the spectator and participant roles don’t seem to be functioning quite right, but this definitely shines some light on what was wrong.

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