 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
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.
|
| |
August 9th, 2011, 03:45 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
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
|
| |
August 9th, 2011, 04:00 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Sep 2006 Location: Bonn - Germany
Posts: 94
|
Great, thanks.
|
| |
August 9th, 2011, 05:46 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
No problem will post in a bit
|
| |
August 11th, 2011, 08:56 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Sep 2006 Location: Bonn - Germany
Posts: 94
|
Any updates? |
| |
August 11th, 2011, 11:52 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
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
|
| |
August 11th, 2011, 03:13 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Sep 2006 Location: Bonn - Germany
Posts: 94
|
ok, will do soon.
|
| |
August 11th, 2011, 03:22 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
not a problem
|
| |
August 11th, 2011, 03:56 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Sep 2006 Location: Bonn - Germany
Posts: 94
|
Infos sent |
| |
August 11th, 2011, 04:17 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
I will respond via email
|
| |
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.
|
| |
August 12th, 2011, 02:26 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
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
|
| |
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.
|
| |
August 12th, 2011, 03:07 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
yeah thats the issue wordpress does not appear to have a usergroups table. I can not import usergroups if there is group to import. |
| |
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.
|
| |
August 12th, 2011, 05:17 PM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
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
|
| |
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* |
| |
August 12th, 2011, 08:41 PM
|
#18 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
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.
|
| |
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.
|
| |
August 13th, 2011, 07:14 AM
|
#20 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
Exactly there software while is popular is so outdated
|
| | |
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 02:24 PM. | |