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™

Existing members double login

s2Member Plugin. A Membership plugin for WordPress®.

Existing members double login

Postby scott74 » October 2nd, 2011, 7:27 am

I created a login button on my main page on a multisite network when a new member signs up, they can login on my main page (so they dont have to remember a long url with the wp-ect...) and from there in the upper left they can see all there sites and visit the dashboard of each with no problem...


Any existing members when they go to visit there dashboard of there sites , it redirects them to the default wordpress login , making them login again?? Its not even the custom login that it redirects them to with the custom logo .. its just the default WP login

Any advice on why this is occuring only for existing members

Thanks
User avatar
scott74
Registered User
Registered User
 
Posts: 38
Joined: September 23, 2011
Location: St Louis

Re: Existing members double login

Postby Cristián Lávaque » October 2nd, 2011, 3:29 pm

Scott, could you post the URL to the custom login page? And what is the URL of the login page the user is redirected to when he wants to login to his dashboard?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Existing members double login

Postby scott74 » October 2nd, 2011, 3:44 pm

thanks Cristian ..... I think this has somehow corrected itself... i reset setting under multisite... thanks

Ps... does s2 member use my themes settings for the signup page... I am trying to streamline the look but it keeps using my homepage

http://fanpage4me.com/wp-signup.php
User avatar
scott74
Registered User
Registered User
 
Posts: 38
Joined: September 23, 2011
Location: St Louis

Re: Existing members double login

Postby Cristián Lávaque » October 2nd, 2011, 4:07 pm

What do you mean by your theme's settings?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Existing members double login

Postby scott74 » October 2nd, 2011, 4:12 pm

it is using my home page settings.... i dont need all that across the top
Attachments
signupage.jpg
User avatar
scott74
Registered User
Registered User
 
Posts: 38
Joined: September 23, 2011
Location: St Louis

Re: Existing members double login

Postby Cristián Lávaque » October 2nd, 2011, 4:17 pm

Ah, thanks, that make it clear. I don't know, but I'll email Jason asking him.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Existing members double login

Postby scott74 » October 3rd, 2011, 6:28 am

existing member double login seems to be back... see screen cast here

http://screenr.com/ejRs
User avatar
scott74
Registered User
Registered User
 
Posts: 38
Joined: September 23, 2011
Location: St Louis

Re: Existing members double login

Postby Jason Caldwell » October 3rd, 2011, 10:52 pm

Thanks for reporting this important issue.
scott74 wrote:it is using my home page settings.... i dont need all that across the top
That's actually attributed to the way your theme handles this special page within WordPress. You might try contacting your theme developer and ask them if it's possible to change the template display dynamically for your /wp-signup.php file.
~ 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: Existing members double login

Postby Jason Caldwell » October 3rd, 2011, 10:57 pm

Regarding your video.
scott74 wrote:existing member double login seems to be back... see screen cast here
http://screenr.com/ejRs
Can you please post the COOKIE_DOMAIN and COOKIEPATH constants from your /wp-config.php file? I'd like to see what your configuration says please. There is also SITECOOKIEPATH available. Are any of these defined in your /wp-config.php file?
~ 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: Existing members double login

Postby scott74 » October 4th, 2011, 5:28 am

Jason Caldwell wrote:Thanks for reporting this important issue.
scott74 wrote:it is using my home page settings.... i dont need all that across the top
That's actually attributed to the way your theme handles this special page within WordPress. You might try contacting your theme developer and ask them if it's possible to change the template display dynamically for your /wp-signup.php file.



I managed to fix this , thanks
User avatar
scott74
Registered User
Registered User
 
Posts: 38
Joined: September 23, 2011
Location: St Louis

Re: Existing members double login

Postby scott74 » October 4th, 2011, 5:31 am

Jason Caldwell wrote:Regarding your video.
scott74 wrote:existing member double login seems to be back... see screen cast here
http://screenr.com/ejRs
Can you please post the COOKIE_DOMAIN and COOKIEPATH constants from your /wp-config.php file? I'd like to see what your configuration says please. There is also SITECOOKIEPATH available. Are any of these defined in your /wp-config.php file?


I dont see anything regarding cookie keys in the wp config file.. I have logged_in_key, Logged_in_salt and stuff like that??
User avatar
scott74
Registered User
Registered User
 
Posts: 38
Joined: September 23, 2011
Location: St Louis

Re: Existing members double login

Postby Jason Caldwell » October 8th, 2011, 7:35 pm

Gotchya. Thanks for the follow-up.
OK, well by default, WordPress expects each site in the Network to have separate login session cookies, because the COOKIEPATH constant is set to the path of the current site ( i.e. $current_site->path ) by default. The way to prevent this on a Blog using sub-directories, is to set this PHP Constant inside your /wp-config.php file. This way a User logs in on one site in the Network, and will not need to log in again on another site in the same Network, so long as sub-directories are being used and not sub-domains.
Code: Select all
define("COOKIEPATH", "/"); 
~ 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: Existing members double login

Postby scott74 » October 8th, 2011, 8:24 pm

ok, thanks... i put define("COOKIEPATH", "/"); in the wp config file just now.. will test what happens
User avatar
scott74
Registered User
Registered User
 
Posts: 38
Joined: September 23, 2011
Location: St Louis


Return to s2Member Plugin

Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests

cron