I can't seem to get my usergroup permissions setup correctly to control view privileges for the "GUESTS" usergroup.
Here's an example for a new category that I've created:
1.) Usergroup permissions are refreshed from forum software and the "GUEST" usergroup permissions are set to "no" across the board.
2.) The "GUEST" usergroup is set to have no permissions in the new category's "Usergroup Access Permissions".
The result is that guests can still see the new category.
To make matters even more confusing, If I remove permissions for all usergroups in the new category, only guests can see it. When a member logs in, the new category is not viewable...not even to members of the "ADMINISTRATORS" group.
Photopost version 8.03
phpBB version 3.0.10
We have an almost identical setup (different versions) on another site that works fine, but just can't get it figured out on this one.
Thanks Chuck, that took care of the guest problem. Have one more problem though.
In order for a usergroup member to receive the category permissions I have set for that particular usergroup, the usergroup has to be set as the member's default group in phpBB. Any ideas to get around that?
This not a new problem. It's just something that never mattered before because our permission requirements were pretty simple and as I stated above, our other site has no problems with what we're trying to do with this one.
Sorry, it's a 9 year old forum that's been upgraded & modified over the years. That might explain the non typical usergroup numbers.
I do not use phpbb3 and not every forum has additional usergroups. I know I wrote this phpbb3 thing when it was brand new. where in the database are those additional fields stored? what is field name in what table?
Since phpBB3 is free I am going to download it and do a clean install just to see they did not change anything but if there is no standard for group id's anymore that makes it kinda hard to align things as we need to set a default guest group in the application and a default registered group if no group entry exists for a regular user.
Chuck, I've done some testing with a fresh install (photopost & phpbb3) and I still can't get category permissions to work properly. Photopost v.8.22 seems to only apply category permissions to a particular usergroup if that usergroup is set as the user's "default" usergroup which is a phpbb3 setting (['group_id']).
I'm no programmer, but I have found a code difference in Photopost's integration file (phpbb3.php) between v.8.22 and v.7.1 when it comes to that ['group_id'] variable. Not sure if that's creating my problem or not, but I do know that I can replace the newer phpbb3.php file (v.8.22) with the older one (v.7.1) and get permissions to work the way that I need them to work. I just don't know if I'm creating other problems by using the older phpbb3.php file.
Could you please verify whether or not the latest integration file is working properly and if you say it is, can I just use the older or is it creating problems somewhere else?
Yes I can add in the other part in the newer file.
You can send me an email through the contact us link and I can send you an updated file
$mgroups is we also query additional usergroups the user might belong to. In the newer file it looks like the only group we follow is the group_id group so adding in the $mgroups and $vbgroups lines should work fine.