Page 1 of 1

No Roles show with WP shared user tables

PostPosted: August 26th, 2011, 3:19 pm
by eliZZZa
I would highly appreciate your help!

I run a "mastersite" and a "membership-site" with two separate WP installations (both 3.2.1). For the membership site I use the wp_user and wp_usermeta tables from the mastersite.
The problem: User roles (while assigned properly as shows a single profile) are neither shown in user-listing of WP nor in user listing of s2m (well, practically the same listing).

While I can live with roles not showing for subscribers, I can't work with roles not showing at all.

I read a lot about sharing user tables in wordpress forums and user sites, and I learnt, that the capabilities have to be written to the wp_usermeta for BOTH site-prefixes. But this does not help me to solve the problem.

Any idea or hint?

Thank you in advance and kind regards,
eliZZZa

Re: No Roles show with WP shared user tables

PostPosted: August 31st, 2011, 11:08 pm
by Cristián Lávaque
Hi Eliza.

This is not an s2Member problem, rather a very custom WordPress one. The users list link in s2Member's navigation is just a duplicate of the one in the Users menu. s2Member uses the standard WordPress tables and functions for users and usermeta (like capabilities).

The key here will be that you get the users sharing working properly. I'm afraid that I don't know how to help you with that, though. Maybe another user has some experience with this, find this thread and share his experience.

I think you should ask for help in the forums where you found information on how to do it, they seem to have experience with the users sharing between installations. That's what I'd do if I had to do it.

I hope that helps. :)

Re: No Roles show with WP shared user tables

PostPosted: September 1st, 2011, 5:20 am
by eliZZZa
Thank you, Cristián,

yes, this is a WP specific problem with sharing user tables and therefore I place my question in WP forums first. As I didn't get an answer to date, I thought, maybe I had a chance, that you already stumbled about a similar question...

Anyway, thank you for your kind answer!
eliZZZa

Re: No Roles show with WP shared user tables

PostPosted: September 1st, 2011, 2:13 pm
by Cristián Lávaque
No problem! I hope you sort it out soon! I thought it'd be easier to do that kind of thing with WordPress, but it seems not to be the case from what you say. Good luck! :)

Re: No Roles show with WP shared user tables

PostPosted: September 1st, 2011, 6:12 pm
by eliZZZa
Hi Cristián,

unfortunately I am very short of time at the moment, so I can't wait for a decent solution. Despite my preference for your plugin, for the moment I use the "Membership" plugin, as this does not hook onto the WP member administration and allows to assign memberships independently. But I will keep looking of course to solve the question PROPERLY ;)

Kind regards from Austria,
eliZZZa

BTW - this is the site in question: http://www.nadelspiel.com/clubneu/

Re: No Roles show with WP shared user tables

PostPosted: September 1st, 2011, 11:07 pm
by Cristián Lávaque
Cool. I hope you manage to integrate the users between the blogs soon. I'm glad you found a temporary solution in the meantime. :)