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 Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old August 9th, 2011, 02:48 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Sep 2006
Location: Bonn - Germany
Posts: 94
Wordpress integration: usergroup sync

I have a brand new installation of PP and try to integrate it with wordpress 3.2.1. The installation went fine ( I am used to PP for 5 years with a VB integration) so far, and logging in with WP user information works.

BUT: I only see the usergroups "unregistered", "registered" and "administrator". Refreshing usergroups didn't help either.

What I need is to have at least a moderators group (which is a WP basic). Can that be achieved somehow?

Last edited by CeBra; August 9th, 2011 at 04:10 PM.
CeBra is offline   Reply With Quote
Old August 9th, 2011, 03:45 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
When I get into the office I will take a look at my test site I used to create the integration. To my knowledge we pull the wordpress groups although we may have to add a specific unregistered group since I seem to remember they do not have a specific group for that
__________________
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 August 9th, 2011, 04:00 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Sep 2006
Location: Bonn - Germany
Posts: 94
Great, thanks.
CeBra is offline   Reply With Quote
Old August 9th, 2011, 05:46 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
No problem will post in a bit
__________________
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 August 11th, 2011, 08:56 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Sep 2006
Location: Bonn - Germany
Posts: 94
Any updates?
CeBra is offline   Reply With Quote
Old August 11th, 2011, 11:52 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
I do not see ant issues feel free to send all relevant data through our contact us link in the header and I will look
__________________
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 August 11th, 2011, 03:13 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Sep 2006
Location: Bonn - Germany
Posts: 94
ok, will do soon.
CeBra is offline   Reply With Quote
Old August 11th, 2011, 03:22 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
not a problem
__________________
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 August 11th, 2011, 03:56 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Sep 2006
Location: Bonn - Germany
Posts: 94
Infos sent
CeBra is offline   Reply With Quote
Old August 11th, 2011, 04:17 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
I will respond via email
__________________
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 August 12th, 2011, 01:46 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Sep 2006
Location: Bonn - Germany
Posts: 94
you didn't sent an email regarding that issue, did you? Actually that's my only problem preventing me to go live for now, because I'm not able to assign moderators to categories.

From what I have found is that in wp-php the refresh usergroups cannot work, as the function is empty in line 275:
Code:
Content visible to verified customers only.
whereas init_usergroups creates just the 3 usergroups I do see:
Code:
Content visible to verified customers only.

Last edited by CeBra; August 12th, 2011 at 02:12 PM.
CeBra is offline   Reply With Quote
Old August 12th, 2011, 02:26 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
Right because on my wordpress install there is no groups table

You have any idea what table name it is? I wrote an integration based on what I saw in wordpress which has no usergroup table like most software so we have three groups we install to make it work with ours
__________________
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 August 12th, 2011, 02:45 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Sep 2006
Location: Bonn - Germany
Posts: 94
mmh, no. have to search myself.
CeBra is offline   Reply With Quote
Old August 12th, 2011, 03:07 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
yeah thats the issue wordpress does not appear to have a usergroups table. I can not import usergroups if there is group to import.
__________________
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 August 12th, 2011, 04:19 PM   #15 (permalink)
Member
Verified Customer
 
Join Date: Sep 2006
Location: Bonn - Germany
Posts: 94
so if I add a usergroup moderators manually you think that would do the trick? I mean thats all I need, not necessarily a sync.
CeBra is offline   Reply With Quote
Old August 12th, 2011, 05:17 PM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
Right but how is a moderator defined that's what I would need to add a check to push them where they need to be. I will try and look into it
__________________
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 August 12th, 2011, 05:30 PM   #17 (permalink)
Member
Verified Customer
 
Join Date: Sep 2006
Location: Bonn - Germany
Posts: 94
ok, i have added an entry "moderator" to the database and it also shows up in the edit usergroups panel, but it doesn't seem to have an effect, i.e. the users assigned to that usergroup still don't have moderator rights. I also tried with other WP roles such as editor, author etc., as I think it doesn't matter (?) if a user is a moderator in WP but can be assigned moderator rights in PP (basically). Moderators global rights are turned on.

Seems as if WP doesn't come with a dedicated "moderator" role, but with "editor". I have defined a moderator role though through a membership plugin (s2member) which is accepted by WP.

What would also help is if I was able to manually assign users as moderators to a category, but that also doesn't work.

*CHALLENGE*
CeBra is offline   Reply With Quote
Old August 12th, 2011, 08:41 PM   #18 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
Correct it would have no effect because usergroups are not part of wordpress. I have written the integration to support what I see in the default wordpress. I know noting about the plugin your using.

Now you can try placing this in bold in your wp.php file to see if it bumps your editor into a mod group in photopost you made.

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 August 13th, 2011, 02:37 AM   #19 (permalink)
Member
Verified Customer
 
Join Date: Sep 2006
Location: Bonn - Germany
Posts: 94
Ha! First I got a parse error, but it's fixed now an it is *WORKING*

Still have to figure out a few things but that did the trick.

wp_user_level - why can't the guys at WP just not work with a *normal* usergroup table ...

Thanks Chuck, good work!

Last edited by CeBra; August 13th, 2011 at 02:46 AM.
CeBra is offline   Reply With Quote
Old August 13th, 2011, 07:14 AM   #20 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
Exactly there software while is popular is so outdated
__________________
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wordpress Login Integration Chuck S PhotoPost Announcements 0 September 15th, 2010 08:43 PM
Integration with WordPress mel13 Photopost Pro How Do I...? 1 December 24th, 2006 08:51 AM
Usergroup Integration Not Working Acido ReviewPost Installation & Upgrades 3 May 29th, 2006 07:45 AM
Classifieds and PP 5.3 integration - usergroup subscriptions snoopy5 Classifieds Installation & Upgrades 3 May 2nd, 2006 03:34 PM


All times are GMT -5. The time now is 05:58 PM.

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