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 March 7th, 2007, 11:58 AM   #1 (permalink)
Member
 
Join Date: Jan 2007
Posts: 86
Not able to assign any moderators to any categories - Photopost + Vbulletin Install

I am having a peculiar problem. I am using PP Pro with Vbulletin. I have a registered user which i want to add as a moderator of a category.

When I go to Photopost Admin > Edit Categories > Moderator and add that user as its moderator, it does show as the moderator of that category in the admin area, but once I go to the "User Index" i.e. the main page of the gallery, it does not show that user as the mod for that category.

When I logged in as that user, it did not have any "Admin/Mod" link at the top to login to the Admin/Mod area. So it seems that the permissions are not working or is there something I am missing.

To provide more info, I went to Admin > Edit Usergroups - under the usergroup name "Moderators", the permissions to Mod access is yes and so on.
mihirp is offline   Reply With Quote
Old March 7th, 2007, 12:08 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
As long as the specific person IN WHATEVER USERGROUP has mod access under their usergroup they will have an ADMIN link on the Photopost menubar and when they click it they go to the mod panel. There is a switch whether to show or not show mod names under categories on the index but where we can start here is by you posting a url here to your site
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 7th, 2007, 02:13 PM   #3 (permalink)
Member
 
Join Date: Jan 2007
Posts: 86
Hi Chuck,

Thanks I will setup a demo area where we can test this functionality. But that would take another day. In the meanwhile, i could provide you with some info which might help you diagnose why this could be happening.

As I understand, PP when integrated with VB borrowes only the pp_users > userid column information from VB user table and accesses the rest from VB user table.

Similarly, the pp_usergroups table is updated with values from VB usergroup table.

With respect to my example:
I am trying to set the user with the userid = 3 as the moderator. So the usergroupid of the row which has userid = 3 should be 7 as Moderator = 7, just like Administrator = 6 when integrated with VB. But it is showing as below in VB user table:

Quote:
userid: 3
usergroupid: 2
So is it that I have to make the userid: 3 as the moderator in Vb first and only then it will reflect in PP? So it should change to reflect:

Quote:
userid: 3
usergroupid: 7
PhotoPost Tables:

pp_users table - userid is derived from Vb and usergroupid is always "0" when integrated with VB. If it's a standalone version, then the usergroupid is either 1-7 based on the usergroup value set. If it is integrated with VB, then the values are fetched from VB user table.


2. Another thing that I noticed was in case of a standalone version, the "views" column in pp_users table is updated i.e. the views are incremented when any photo contributed by this user is viewed. But it is not being done in case of integration with VB because in the pp_users table, the views column shows 0. However, lastphoto column is properly being updated.

Is this feature not available when integrated with VB?

I believe that without the views updating, the total photo views for any user would not be possible to display when integrated with VB.

Thanks and looking forward to hearing from you.
mihirp is offline   Reply With Quote
Old March 7th, 2007, 02:19 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
You can not compare a standalone to a forum integrated photopost as things do not operate the same.

Quote:
As I understand, PP when integrated with VB borrowes only the pp_users > userid column information from VB user table and accesses the rest from VB user table.
Incorrect. Basically in a forum integration you dont use the pp users table for nothing except in showmembers script to update the lastphoto field per user for that script. All info on users comes from the vb tables. we grab the users info based on their vb cookie. usergroupid is never 0 when integrated with vb.

Here is the login query

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 online now   Reply With Quote
Old March 7th, 2007, 02:42 PM   #5 (permalink)
Member
 
Join Date: Jan 2007
Posts: 86
Hi Chuck,

Thanks. So basically I have to change the Usergroup of the user to Moderator in VB. I did that and now it works perfect.

Quote:
usergroupid is never 0 when integrated with vb.
In my case, it is. I have attached a screenshot
Attached Images
File Type: gif pp_users.GIF (62.3 KB, 2 views)
mihirp is offline   Reply With Quote
Old March 7th, 2007, 03:17 PM   #6 (permalink)
Member
 
Join Date: Jan 2007
Posts: 86
Another issue:

Now the Moderator thing is working, but I am facing another issue.

I have assigned that user as a moderator for a certain category. However he is able to move the photos to any categories globally, outside of his assigned categories.

I have also disabled the option - "Do you want moderators to have global rights? I have set it to "NO"

For eg: Assuming cat stucture as

City A
City B

I have assigned him as mod of City A, so that he can move, edit and whatever with the photos under the cat City A and its sub-cats. However the user is also able to move the photo from City A to City B cat. The user is not a moderator of City B cat. However when the photo is moved to City B, then it cannot be moderated.

Any guesses why?
mihirp is offline   Reply With Quote
Old March 7th, 2007, 03:22 PM   #7 (permalink)
Member
 
Join Date: Jan 2007
Posts: 86
Ok, never mind! I had selected all the possible checkboxes under the section "Usergroup Access Permissions*" for the City B category and that is the reason why it happened.
mihirp is offline   Reply With Quote
Old March 7th, 2007, 05:33 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Your getting things
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 8th, 2007, 08:50 AM   #9 (permalink)
Member
 
Join Date: Jan 2007
Posts: 86
You bet
mihirp 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
Install Photopost using vBulletin database Sweden Photopost Pro How Do I...? 1 December 18th, 2006 03:59 PM
Error upon Photopost Install [VBulletin Integration] sinjix Photopost Pro Installation & Upgrades 5 November 30th, 2006 10:39 AM
Assign to Multiple Categories fdwilk1 Photopost Pro How Do I...? 1 August 2nd, 2006 03:54 PM
Categories only for Moderators? alecholl Photopost Pro How Do I...? 4 December 26th, 2005 04:51 PM
How to assign photo to two different categories? charm Photopost Pro How Do I...? 26 December 12th, 2005 01:35 PM


All times are GMT -5. The time now is 12:27 PM.

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