 | |  | | | Classifieds Bug Reports Post any problems you may be having with Classifieds here. |
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. |
| |
September 4th, 2008, 06:09 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
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. |
| |
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!  |
| |
September 5th, 2008, 06:08 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
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 |
| |
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 |
| |
September 7th, 2008, 10:22 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
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. |
| |
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.  |
| |
September 8th, 2008, 06:19 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Feb 2008
Posts: 42
| Quote:
Originally Posted by Chuck S table what is the guests usergroup id? | The guests usergroup id is: 9010 |
| |
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. ??? |
| |
September 8th, 2008, 10:16 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
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. |
| |
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. ??? |
| |
September 8th, 2008, 10:56 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
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 |
| |
September 8th, 2008, 10:57 AM
|
#13 (permalink)
| | Photopost Developer Verified Customer
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. |
| |
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. |
| |
September 9th, 2008, 06:32 AM
|
#15 (permalink)
| | Photopost Developer Verified Customer
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. |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 06:09 AM. | |