Support Forum
I'm trying to problem solve yet another issue, this one preventing my users from posting. I need to make sure I have the User Group permissions set up in a way that works for Simple Press, so if someone could verify for me that would be great.
Specifically, I need to know if I can have someone in several User Groups at the same time that each have different permissions for a forum. I've read the pages here on this, and they don't get into how permissions work when a user is in multiple groups.
So for example:
Member A is in two User Groups: Members and News Team
Member B is in three User Groups: Members, News Team and Moderator
Member C is in two Groups: Members and Moderator
The News Team forum is private, and I do not want Member C (a member in the Moderator User Group) to see the forum, so the News Team forum has permissions set so that Members and Moderators have No Access, and the News Team User Group has Standard Access. <<The Moderator that is on the News Team is only in that forum as a regular member, not a mod.
Is this correct, or is this causing an issue?
Because now, if my members are not in the Moderator group, they are getting this error if they try to post in ANY of the forums, even in the forums that are open to guest posting:
Access denied – you do not have permission
Warning: Cannot modify header information – headers already sent by (output started at /******/wp-content/plugins/simple-press/sp-api/sp-api-primitives.php:59) in /******/wp-includes/pluggable.php on line 1173
Not sure if this is helpful or not, but people were posting fine five days ago, and since then I had installed four plugins and changed some css on the editor.
Two of the WordPress plugins I installed I uninstalled and deleted to test, and the issue was still there. The other two plugins are the Simple Press Post Ratings and the Simple Press Subscriptions. I deactivated both of those, but haven't deleted them.
All the editor css I've done so far is just change colors in the default SP editor css file, so it's basically the same.
As far as permissions go, it's as simple as yes or no. Basically a user can be in as many usergroups as you want and forum permissions dictate which usergroup has access. So in answer to your question - I can't see a reason why this setup would cause issues. However it is always worth double checking to make sure permissions and usergroups are setup correctly, especially as you have been making a lot of changes recently.
I'd say if it was working before you added plugins and changed CSS, it's far more likely to be something one of the plugins has done. What did you install? I take it all the rest is up to date - SP, WP, SP plugins?
Has this been working OK since the editor changes?
Well the editor skin is looking good, just a tip - Had a look on your forum to see if you were getting any errors (which I couldn't find) and you might want to view it as a guest as the math question on guest posting puts a button up that doesn't match the rest
Ike said
So in answer to your question - I can't see a reason why this setup would cause issues. However it is always worth double checking to make sure permissions and usergroups are setup correctly, especially as you have been making a lot of changes recently.
I guess the question is, how could they be set up wrong, that would cause a conflict? With phpBB3 if you have someone in Membership and a forum is set where Membership can't see the forum, even if they're in a group that can see the forum, they can't see it, because they're also in a group that can't. Membership has to be in a "maybe can see the forum" category. So Simple Press is new to me, and if you could, please check my list above and make sure it's compatible?
Ike said
I'd say if it was working before you added plugins and changed CSS, it's far more likely to be something one of the plugins has done. What did you install? I take it all the rest is up to date - SP, WP, SP plugins?
These are the SP Plugins I have installed, but as I said, the only new ones before the issue I listed in the above post, everything was working fine (two stars =activated, one star=has been activated and deactivated, no stars=never been activated yet):
Achievements Integration
**BuddyPress
Captcha
Custom Profile Fields
**Editor TinyMCE Rich Text
**Fiile Uploader with Plupload
**Mentions
**Post Preview
*Post Ratings
**Post Thanks
**Ranks Information
*Template Tags and Widgets
Ike said
Has this been working OK since the editor changes?
Not necessarily, and good thinking, so I went and copied over the default skin.min.css but the problem persists
So no idea what that error means? The file the error points to doesn't help us pinpoint what's going on here?
Edit: I just went and renamed the SP plugin folder, and it still happens.
Edit x2: Something I'm not sure I mentioned is another change that occurred right before this started happening is I turned off math question for Standard Permissions.
Turns out this was a conflict of having two buttons chosen at the same time in Standard Permissions under Creating; "Can reply to existing topics in a forum" and "Can only reply to own topics".
I did not see "Can only reply to own topics", and again, coming from phpBB3 where "Standard" is the equivalent to SP's Full Access, and SP's Full Access is the equilvalent to phpBB3's special priveleges, I only wanted my members to be "Standard" but thought it weird that Standard Permissions didn't have the radio checked for "Can reply to existing topics in a forum" so I'd checked it.
It wasn't until hours of problem solving later that I finally saw that SP's Full Access says "Can bypass the math question" which is when I went back to see exactly what Standard was, and then saw the conflict.
So it's working now and that error is gone. Is there a way you guys can make it so only one or the other of the buttons can be selected but not both? Because I see a lot of other buttons that appear to be conflicts but work just fine, such as "Can edit own posts forever" and "Can edit own posts until there has been a reply" in Full Access.
good to hear! thanks for the update...
re: button limits, many problems with your idea... first, if we disable some based on others, then there is not way to change it... at least not for good uic... we have considered for some using a radio group - only one of a set can be chosen, but its a bit late for that as it would require a complete overhaul of the permission system as a permission currently can only have true/false setting... a radio group would require some other allowed value.. any system we come up with thus far, has serious backwards compat issues... and it seems any time we make a significant change to permissions, it causes upgrade issues for folks for some reason... that said, we still occasionally kick around ideas along these lines... so could happen, just not on roadmap currently...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)