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 Classifieds Support > Classifieds Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old September 4th, 2008, 07:54 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2008
Posts: 42
Problems with users permissions

I have a couple of categories that I would like hide from the guests and members; however the permissions I enter are ignored.

For example; I have un-ticked 'guests' and 'members' from viewing selected classified categories. However when I'm logged in as a guest I can still view the selected categories but when logged in as a member I cannot view them.

It could be something simple that I’ve overlooked but I cannot see where I’ve gone wrong.

I'm using the user group database of phpbb3 forum.

Any help would be appreciated.
Attached Images
File Type: gif usergroup.gif (30.4 KB, 4 views)
File Type: gif usergroup_permission.gif (6.8 KB, 3 views)
glr2008 is offline   Reply With Quote
Old September 4th, 2008, 06:09 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 45,173
can you tell me what the usergroup number for guests is in the database?

I show its group 1

Code:
Content visible to verified customers only.
__________________
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 5th, 2008, 01:09 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Feb 2008
Posts: 42
I'm not too sure where to look for this!
glr2008 is offline   Reply With Quote
Old September 5th, 2008, 06:08 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 45,173
In your usergroups table in the database using a database viewer check the groupid number of the guests entry
__________________
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 7th, 2008, 06:06 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Feb 2008
Posts: 42
I opened the group id table and all I could see was the following:

Rows group_id
1 9010
13390 9011
5 9012
8 9013
2 9014
50 9015

I would guess that guests are row 1
glr2008 is offline   Reply With Quote
Old September 7th, 2008, 10:22 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 45,173
I am not following what all those numbers are here if you look in your forum usergroups table what is the guests usergroup id?

I know when I wrote the integration guests are groupid 1 but your photopost usergroups are not following the correct order as we order by groupid desc so why would moderators be at the top of your list.

You could try emptying your photopost usergroups table except the admin entry that has cpaccess set to 1 and then in edit usergroups do a resync to reimport all groups and assign permissions.
__________________
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 8th, 2008, 06:16 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Feb 2008
Posts: 42
I looked in the forum usergroup table but could not find the words guest, moderators etc. only numbers.

I'm guessing that 9010 = Guests, 9011 = members, 9012 = Registered COPPA users, 9013 = global moderators, 9014 = administrators and 9015 = Bots.

I have deleted the user defined usergroups that were carried over from the old forum and refreshed the usergroups in the photopost admin panel. Now guests are listed at the top and Bots at the bottom.

The problem still exists.
Attached Images
File Type: gif usergroup.gif (31.3 KB, 1 views)
glr2008 is offline   Reply With Quote
Old September 8th, 2008, 06:19 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Feb 2008
Posts: 42
Quote:
Originally Posted by Chuck S View Post
table what is the guests usergroup id?
The guests usergroup id is: 9010
glr2008 is offline   Reply With Quote
Old September 8th, 2008, 06:30 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Feb 2008
Posts: 42
I dropped the usergroup tables in the database, re-synced and re-imported but still guests can view the hidden category. ???
glr2008 is offline   Reply With Quote
Old September 8th, 2008, 10:16 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 45,173
Correct your install does not appear to be a normal phpbb3 for some reason. If I install a default phpbb3 forum the usergroups table entry for guests is 1

Feel free to edit our phpbb3.php file and the lines I posted above feel free to change 1 to 9010

Code:
Content visible to verified customers only.
We write our integrations to default forum install parameters so anything outside that one needs to modify the integration.
__________________
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 8th, 2008, 10:53 AM   #11 (permalink)
Member
Verified Customer
 
Join Date: Feb 2008
Posts: 42
This is a clean install of phpbb3 forum downloaded direct from their website. I have only done minor adjustments i.e. a quick reply box, advert block and SEO mod. I have not changed any user ID groups or altered any database data. ???
glr2008 is offline   Reply With Quote
Old September 8th, 2008, 10:56 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 45,173
Interesting indeed but dont know what else to say as it is usergroup 1 on my test site
__________________
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 8th, 2008, 10:57 AM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 45,173
Try asking phpbb3 about this have they change their forum only 6 months after it was released.
__________________
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 9th, 2008, 01:09 AM   #14 (permalink)
Member
Verified Customer
 
Join Date: Feb 2008
Posts: 42
Mmmm, very bizarre. Anyway I have changed the phpbb3.php users id to 9010 and it now works correctly.

I will ask phpbb3 if they changed user id's and report here what I find.

Thanks for your help.
glr2008 is offline   Reply With Quote
Old September 9th, 2008, 06:32 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 45,173
Not a problem very bizarre indeed as why would your usergroups all begin with 9000 prefixes etc. Definately not what I saw writing the integration and I spent about 6 months going back and forth with it as they changed alot all the time through the beta but usergroups remained constant.
__________________
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

vB 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
Problems with permissions and vba-integration Steelbelted Photopost Pro How Do I...? 9 April 18th, 2007 09:48 AM
Cant change permissions using VB forum db for users. LordVngr Photopost Pro Installation & Upgrades 14 February 8th, 2007 03:33 PM
Weird permissions problems vonedaddy Photopost Pro How Do I...? 3 November 16th, 2006 04:13 PM
Users Having problems uploading. harbormaster Photopost Pro Installation & Upgrades 9 July 25th, 2006 11:29 AM
Problems with permissions, login + more finn snor Photopost Pro How Do I...? 9 May 26th, 2006 01:23 PM


All times are GMT -5. The time now is 06:09 AM.

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