PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

URGENT: Can't add Users or edit User role (not in User list)

s2Member Plugin. A Membership plugin for WordPress®.

URGENT: Can't add Users or edit User role (not in User list)

Postby SiteSubscribe » March 21st, 2011, 4:00 pm

PLEASE HELP! I NEED TO DELIVER A WORKING MEMBERSHIP SITE THIS WEEK! PROJECT IS AT RISK.

I'm running a simple 2 blog WP 3.1 with multisite and adding Users manually via backend admin of blog ID #2 so I can do some testing, but the Users don't show up in the User list for that blog, so I can't manage their User roles.

Under the main blog/site (blog ID #1) the User shows, but the "Sites" column is empty in the listing, yet the "Originating Blog ID#" shows the User as registered with blog ID #2. (The Admin and Super Admin of the main blog show something under the "Sites" column, but no one else.)

If I go to the public website of blog #2 I can log in as a User I added. They just aren't showing in the User list for blog #2.

So I'm not able to add users to a blog, or test login roles or protected content, and I can't assign Users or roles within the blog. This is critical functionality!

I'm pretty sure this is NOT normal. Any way to fix it?

I thought perhaps if I upgraded the User to a Level2 then they would show up, but I don't see any way to upgrade them from the main blog User screen (that's probably the wrong track to go down anyway). As a work-around I may be able to "Add Existing User", pulling them in from the main blog, and assigning the desired roll, but I wouldn't want to do this manual process each time. UPDATE: I'm unable to add an 'Existing User' from the main blog to the sub-blog. Can't add existing users.

Another thing that might help me get going on my testing (though it won't solve my problem) would be if I could somehow assign Level2 to new Users by default on the specific blog that I'm adding them to (registering them via admin), but not require payment, just assign that level. UPDATE: I added some code to functions.php to assign Level2 as default (based on this thread: viewtopic.php?f=4&t=398&p=1650&hilit=add+user#p1650 ). Not tested it yet.


CONFIGURATION:
Website: http://busproplus.com

WP 3.1 with multisite.

This is a simple WP multisite install with only 1 sub-blog at this point. I'm using subdomains and Domain Mapping.

S2 is NETWORK ACTIVATED and configured on the main site (to allow MS patch, and set to not allow open registration on my main blog), and configured on blog ID 2 (to allow blog user registration).

I have Gravity Forms User Registration (gravityformsuserregistration) activated. It seems to register users correctly for the sub blog, but I'm still testing it out. UPDATE: I tried de-activating the gravityformsuserregistration plugin. Same result. I still haven't fully tested using Gravity Forms to register users, but need to focus on getting the normal registration working via adding users through the dashboard.

There is no payment involved whatsoever...currently registered users are free at Subscriber level and once approved are manually assigned Level2 (free) for access to protected content. UPDATE: Added code to functions.php to assign Level2 by default. Have not tested yet.

Oddly I have S2Member working properly on a similar but different WP install.


Remains urgent! I still need help badly on the main issue of registered users not showing in the User list of a blog (so I can't manage their User role). My customer is getting impatient to why this isn't working and I am at risk of losing the project.

If I purchase S2Member PRO Multisite with Theme would that expedite a response??
Last edited by SiteSubscribe on March 22nd, 2011, 12:11 pm, edited 3 times in total.
User avatar
SiteSubscribe
Experienced User
Experienced User
 
Posts: 31
Joined: December 30, 2010

Re: users being added only show in main blog/site

Postby SiteSubscribe » March 21st, 2011, 11:26 pm

(consolidated into post above)
Last edited by SiteSubscribe on March 22nd, 2011, 5:54 pm, edited 7 times in total.
User avatar
SiteSubscribe
Experienced User
Experienced User
 
Posts: 31
Joined: December 30, 2010

Re: users being added only show in main blog/site

Postby SiteSubscribe » March 22nd, 2011, 10:29 am

Update: Being blocked from protected pages even though I had proper page level access was related to cookies getting messed up somehow. I deleted all cookies and that part seems to be working now. Still can't register users.
User avatar
SiteSubscribe
Experienced User
Experienced User
 
Posts: 31
Joined: December 30, 2010

Re: URGENT: Can't add Users or edit User role (not in User l

Postby Jason Caldwell » March 22nd, 2011, 7:53 pm

Investigating now.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: URGENT: Can't add Users or edit User role (not in User l

Postby SiteSubscribe » March 22nd, 2011, 8:05 pm

Due to urgency I recreated the whole blog today on a new WP install (no multisite).

Everything there works fine. So it seems it is somehow related to multisite.

The original problematic blog is still active under:
http://sitespiration.com/busproplus
Last edited by Cristián Lávaque on March 22nd, 2011, 11:57 pm, edited 2 times in total.
Reason: To remove the comment on the access to the installation. Please use the form at http://s2member.com/contact/
User avatar
SiteSubscribe
Experienced User
Experienced User
 
Posts: 31
Joined: December 30, 2010

Re: URGENT: Can't add Users or edit User role (not in User l

Postby Jason Caldwell » March 23rd, 2011, 12:34 am

Thanks for your patience.
OK. I've been unable to reproduce this on my end with standard installations on a Multisite Network. So what I'd like to do next, is have a look at this, as it exists in your environment ( if that's possible ). If it is, please email me through this form with a Dashboard login and FTP access. I'll be happy to take a much closer look and offer you a resolution to this problem.

For the benefit of other readers.
Once this issue is resolved, we'll post a general update to this thread detailing the source of the issue.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: URGENT: Can't add Users or edit User role (not in User l

Postby SiteSubscribe » March 23rd, 2011, 12:58 am

Form was submitted with credentials, thanks. Let me know if I can help any further.

I was able to recreate a working site under busproplus.com using similar themes/plugins without using multisite.

FYI, I used the 'Enable Multi-Site' plugin for the 1st time to set up multisite on the problematic install (sitespiration.com). Might be worth checking wp-config or others to be sure settings are correct. I have S2Member working properly under a different multisite install (sitesubscribe.com).
User avatar
SiteSubscribe
Experienced User
Experienced User
 
Posts: 31
Joined: December 30, 2010

Re: URGENT: Can't add Users or edit User role (not in User l

Postby Jason Caldwell » March 23rd, 2011, 3:20 am

Thank you. I just took a quick look at the Dashboard access you provided.
I confirmed that you did install the Multisite Patches required by s2Member. ( looks good )
  • I went to: Dashboard -> Users -> Add New.
  • Created an account for myself on Blog: /busproplus.
  • I received the activation email confirmation.
  • Clicked the activation link, everything went well.
I checked the Dashboard for /busproplus, and my account appears in the list of Users.
[ screen shot attached ] ( please click to enlarge )
s2-ms-user-new.jpg

So this looks like everything is working as expected from my end. But I DO understand that you're having trouble though, so let's try to back track a bit. Where are the Users signing up at that do not end up belonging to any site? Can you also post a screen shot of that form, and also of your configuration on the Main Site, under: s2Member -> ( Multisite Config)?

Regarding your comments here:
so I can't manage their User roles.

This thread may be of interest to you. It sounds like you need to define("MULTISITE_FARM", true); in your /wp-config.php file. Doing that will enable s2Member's security mechanisms on a Multisite Network, and it will also enable Profile Edits for non-Super Admin accounts across multiple instances of s2Member on a Multisite Network. viewtopic.php?f=4&t=2751&p=8158#p8158

If you are allowing your Members to access a Dashboard of their own. In other words, if you're offering Blogs to your Members, then you will want to purchase our Network Support Package, which includes a license for Multisite Blog Farms, along with a PDF file discussing various issues related to the use of MULTISITE_FARM on a Network installation. Please see: http://www.s2member.com/prices/

Thanks for your patience.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: URGENT: Can't add Users or edit User role (not in User l

Postby SiteSubscribe » March 26th, 2011, 7:33 pm

Hi. Firstly thanks for the detailed response.

I still can't get it to work on my end. I've tried adding users to a couple of different sub-blogs, and they still don't show in the sub-blog user list, and although they do show in the main-blog user list the 'Sites' column is empty for them.


"Where are the Users signing up at that do not end up belonging to any site? "

I created user 'testmesaview' here:
subblog Dashboard -> Users -> Add New

Image
[add-new-user-to-subblog]

I received the invitation email (as a user):
Image
[new-user-invitation-email]

I clicked the activation link within the invitation email and was sent to the blog showing my credentials:
Image
[account-now-active]

I refreshed my browser while logged in as SuperAdmin, looking at the SUBBLOG user list, the new user does NOT show:
Image
[new-user-not-shown-in-subblog-user-list]

I refreshed my browser while logged in as SuperAdmin, looking at the network MAINBLOG user list, the new user DOES show, but unlike when you added a user, for the user I added the 'sites' column is empty:
Image
[no-site-for-user-under-mainblog-user-list]

I received the new user credential email (as a user):
Image
[new-user-under-blank]

Oddly, the user email invitation says "Your new website under is set up."
The key parts being:
1) "Your new website" That seems to me to be the email sent to users who are creating a blog ("Your new website"), not to users added to a blog.

2) "under is" The site name is blank.


I received the new user notification email (as network superadmin):
Image
[new-user-notification-to-network-superadmin]


Mainblog S2Member config:
OLD config:
Image
[old-mainblog-s2-config]

NEW config:
Image
[new-mainblog-s2-config]

Subblog S2Member config:
Image
[subblog-s2-config]

I don't really plan to offer blogs at this time (at least on this install), so I changed S2 option on mainblog to 'no blogs offered' (I added a user after changing the settings, and the result was the same).

In the future I may add that option on this install or another install, but the S2Member Blog Farm option is a bit pricey for me, so not sure I will for some time (I am however, considering stepping up to S2Member Pro version).

The 'sell additional features to Administrators on a Blog Farm' aspect of blog farm sounds interesting, and may be something to do later.

Mainly I use multisite to build sites for my clients (easier for me to manage), then I add them as user for administration of their site typically at Editor level (sometimes with some modifications to Editor role using User Role Editor plugin). My clients aren't adding their own blogs (no Dashboard of their own).

So unless I'm not understanding correctly, the thread you recommended (viewtopic.php?f=4&t=2751&p=8158#p8158) doesn't apply at this time...at least I don't think it does (unless I need to lock down S2 using
Code: Select all
define("MULTISITE_FARM", true);
for some reason, or if I misunderstand the reasons for a blog farm config).

Do I need a blog farm config since I'm offering membership on several subblogs, each with their own membership settings?

I would like to add users to each blog separately, and have a few users (namely the site owners or 'Editors') to also be members of my main blog...but I don't intend to allow them to create their own blogs. Is this blurring the lines? If so, I can forgo having site owners also be members of my main blog. It would suffice to just let them have their own members and they themselves not be members of my mainblog (but that wouldn't be ideal).

I use S2 on a few sites, and the list is growing. The mainblog has S2 configured and is being used to some degree (currently I'm using S2 to protect pages, but I'm using a shopping cart plugin 'eStore' http://www.tipsandtricks-hq.com/?p=768 for 'buy now' items AND currently also my membership subscriptions, but I hope to change that to have S2 handle the membership subscriptions...but at this point I'm not sure how to do that while still offering the shopping cart unless the customer pays once for subscription and another separate transaction for 'buy now' 'addon services'...or perhaps the 2 plugins can be integrated somehow with the API hooks...that may be a topic for a different thread unless you can advise on that issue here as well). Some subblogs are configured for use with their own membership rules, including the blog I'm trying to add users for and showing screen shots for.

Please advise on possible blog farm requirement as it pertains to my intent.

Thanks so much!
User avatar
SiteSubscribe
Experienced User
Experienced User
 
Posts: 31
Joined: December 30, 2010

Re: URGENT: Can't add Users or edit User role (not in User l

Postby Jason Caldwell » March 27th, 2011, 3:42 am

Thanks for the follow-up and detailed explanation.
~ investigating now. Please look for an email from me.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: URGENT: Can't add Users or edit User role (not in User l

Postby SiteSubscribe » March 31st, 2011, 10:50 am

Thanks for all of your help! If it is a plugin problem, at least that's within the realm of something I know how to troubleshoot...although it takes time, so I'll try to work it in and get back to you.

I'll let you know if and when I find out anything.

++++++++++++++

I would like to try to clarify my question regarding blog farm posted above in this thread (excerpt below):

"I would like to add users to each blog separately, and have a few users (namely the site owners or 'Editors') to also be members of my main blog...but I don't intend to allow them to create their own blogs."

Here is what I'm trying to do...

Clarification Example:
-Joe Smith signs up for membership under main site (he is User of main site with some level of membership capabilities for membership management purposes regarding the main site, managed by S2 and User Role Capabilities plugin).

-I create a subblog for Joe (under multisite) as mainsite.com/joesblog (Joe does not create his own subblog, or have his own dashboard other than as normal User at some level under his subblog)

-I add Joe as User under 'joesblog' subblog using same credentials (Add Existing User feature) so he can administer his subblog.

Desired result:
Joe can then have capabilities as User under his subblog, and also as User of main site with some level of membership capabilities (where he would have access [based on capabilities] to protected areas on the main site, where membership protection is not related to his subblog). So S2 is managing membership on main site only (but I still need to be able to add 'same' Users to their own subblogs without conflict).

Is that something possible without blog farm?

Thanks again.

Regards,
Jeff
User avatar
SiteSubscribe
Experienced User
Experienced User
 
Posts: 31
Joined: December 30, 2010

Re: URGENT: Can't add Users or edit User role (not in User l

Postby Jason Caldwell » April 2nd, 2011, 12:30 pm

Thanks for the follow-up Jeff.
Desired result:
Joe can then have capabilities as User under his subblog, and also as User of main site with some level of membership capabilities (where he would have access [based on capabilities] to protected areas on the main site, where membership protection is not related to his subblog). So S2 is managing membership on main site only (but I still need to be able to add 'same' Users to their own subblogs without conflict).

Is that something possible without blog farm?

Yes, what you're describing is exactly what s2Member makes possible on a Multisite Network operating on a Blog Farm. In addition to what you've described, it is also possible with s2Member, to allow Joe to operate a Membership system on his blog, using the s2Member plugin made available on your Network. So although you don't need that specific functionality in your example, I just thought I should let you know that it is possible.

Please see this thread for further details:
viewtopic.php?f=4&t=2751&p=8158&hilit=multisite_farm#p8158
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: URGENT: Can't add Users or edit User role (not in User l

Postby SiteSubscribe » April 2nd, 2011, 1:01 pm

Ok, please forgive my density...I require just a little more clarification.

If I am only looking to support what you quoted from me above, since I am only using part of Blog Farm capabilities (not utilizing blog creation by users), do I need S2 Blog Farm mode engaged?

Also, can I get away without S2 Blog Farm premium addon for now?

Thanks.
User avatar
SiteSubscribe
Experienced User
Experienced User
 
Posts: 31
Joined: December 30, 2010

Re: URGENT: Can't add Users or edit User role (not in User l

Postby Jason Caldwell » April 2nd, 2011, 1:16 pm

I'm sorry about that Jeff. Let me clarify just a bit.

What you're describing IS what we consider a "Blog Farm".

s2Member comes with all functionality required to run a Blog Farm.
Purchasing our Network Support Package is NOT required for functionality. However, given the complexities associated with this type of installation, we only provide support to Blog Farms who purchase our Network Support Package.

Our Network Support Package includes an additional PDF guide to running s2Member in a Blog Farm environment, which is highly recommended; as this guide covers best practices, and it documents some additional security considerations that should be taken into account when running s2Member in this way. It also covers specifics about the MULTISITE_FARM switch that is discussed here.

For the benefit of other readers.
If you need support with matters related to Blog Farming, or if you need professional installation, we ask that you purchase our Network Support Package, listed here: http://www.s2member.com/prices/


MS Network Support License
+ s2Clean Theme ( all inclusive )

s2Member Plugin
s2Member Pro Module ( unlimited domains )
s2Member Multisite Network ( Blog Farm support package )
~ ( full documentation, config options, best-practices )
+ s2Clean Theme ( 10 color variations, unlimited domains )
+ Professional installation ( included free, upon request )
Free lifetime upgrades via s2Member.com

See: http://www.s2member.com/prices/
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: URGENT: Can't add Users or edit User role (not in User l

Postby SiteSubscribe » April 2nd, 2011, 1:22 pm

Ok, thank you very much. That makes it clear.
User avatar
SiteSubscribe
Experienced User
Experienced User
 
Posts: 31
Joined: December 30, 2010

Re: URGENT: Can't add Users or edit User role (not in User l

Postby Jason Caldwell » April 2nd, 2011, 1:49 pm

You're VERY welcome. Also, please feel free to email our support dept. with your questions about Networking. Generally speaking, we don't discuss Blog Farming in the open forum, but our email support dept. will answer questions for you.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron