PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old September 27th, 2012, 10:21 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 46
Usergroup Permissions

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
rcarroll59 is offline   Reply With Quote
Old September 27th, 2012, 10:30 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
Well then something about your groups are off. I do not use phpBB 3 but I did write the integration so I know it works. I would need to actually see your site.

Like I show in our phpbb3 integration file the guest group is usergroup 1.

I know in our application the permissions work fine because they are handled the same way in every last integration we just pass the users usergroup to a function and then apply the permissions.

I would need ftp access admin login and url so I can debug your usergroup and category permissions. I need to know exactly what info is being passed from phpBB3.

You can send this data through the contact us link.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 27th, 2012, 11:51 AM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
Your usergroups where not the default phpbb3 groups from a fresh install. Your groups where like 4860 and above which was a little strange.

I deleted all your groups and refreshed them to make sure all the right groups are right. You will have to reset usergroup permissions.

You can reset your category permissions and then give things a try as I modified your integration file to look for your guest usergroup of 4860 not 1 which is a fresh phpbb install.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 27th, 2012, 02:19 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 46
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.
rcarroll59 is offline   Reply With Quote
Old September 27th, 2012, 03:04 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
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?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 28th, 2012, 09:07 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 28th, 2012, 01:55 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 46
Sounds good. Hope you find something, but it's kinda looking like I might have to do some work on my old phpbb installation to try to get back in-line with a new install.
rcarroll59 is offline   Reply With Quote
Old September 28th, 2012, 02:11 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
Yeah no idea I am just gonna check out a clean install as I can but it seems kinda weird that your groups are that high in number.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 7th, 2012, 09:39 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 46
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?

Thanks
rcarroll59 is offline   Reply With Quote
Old October 7th, 2012, 09:54 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 7th, 2012, 11:25 AM   #11 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 46
Contact info sent...thanks Chuck.
rcarroll59 is offline   Reply With Quote
Old October 7th, 2012, 11:36 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
Ah well will send you the file I did and I updated the build as well.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 7th, 2012, 12:58 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 46
That seems to have did it Chuck. I edited the default usergroup id's to match my old existing forum and it works there also. This is really gonna be a great help in our old site's new setup.

Also learned a little about setting up & testing upgrades before going live with them. I think that's gonna help me in the future.

Thanks again.
rcarroll59 is offline   Reply With Quote
Old October 7th, 2012, 01:32 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
Yep if your old install has those whacky huge non standard usergroup numbers editing that is a must.

Glad to help.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 8th, 2012, 10:32 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
I did update the build with any fixes I did to the phpbb3.php file to allow additional usergroup permissions to be added to the main group we already pull.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Usergroup - Permissions? InterFX ReviewPost How do I...? 3 March 28th, 2012 03:22 PM
Usergroup Permissions?? hIBEES Photopost Pro How Do I...? 11 June 6th, 2010 09:31 PM
Usergroup Permissions hgudapati ReviewPost How do I...? 1 July 7th, 2007 03:36 PM
Usergroup permissions cgmojoco Installs and Upgrade - vBulletin 3.0.X 1 June 22nd, 2005 05:44 AM
usergroup/ permissions Itworx4me Installs and Upgrade - vBulletin 3.0.X 3 March 9th, 2005 03:28 PM


All times are GMT -5. The time now is 12:15 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0