Community Support Forums — WordPress® ( Users Helping Users ) — 2011-06-23T18:24:06-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=10266 2011-06-23T18:24:06-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10266&p=21534#p21534 <![CDATA[Re: Trouble configuring login and member options pages]]> Statistics: Posted by Cristián Lávaque — June 23rd, 2011, 6:24 pm


]]>
2011-06-23T14:55:46-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10266&p=21520#p21520 <![CDATA[Re: Trouble configuring login and member options pages]]>
Ultimately, this isn't critical, I can just send everyone to the home page and tell admins/etc to click the login link, but as I said my preference would be that only the s2members got redirected on logout to the home page.

Statistics: Posted by jb510 — June 23rd, 2011, 2:55 pm


]]>
2011-06-23T13:40:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10266&p=21515#p21515 <![CDATA[Re: Trouble configuring login and member options pages]]> https://wordpress.org/extend/plugins/login-with-ajax/


# Redirect users to custom URLs on Login and Logout


Haven't tried it, though, so I don't know how well it works with s2Member.

Statistics: Posted by Cristián Lávaque — June 23rd, 2011, 1:40 pm


]]>
2011-06-23T12:56:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10266&p=21513#p21513 <![CDATA[Re: Trouble configuring login and member options pages]]> wp_logout_url in the link to logout. https://codex.wordpress.org/Function_Re ... logout_url

Or you could have a redirection in .htaccess that takes those who landon /wp-login.php?loggedout=true to the page you want.

Or search in Google how others solved it http://www.google.com/search?q=wordpres ... ter+logout

I hope that helps. :)

Statistics: Posted by Cristián Lávaque — June 23rd, 2011, 12:56 pm


]]>
2011-06-23T04:39:40-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10266&p=21498#p21498 <![CDATA[Trouble configuring login and member options pages]]>
So.. I created a page called "Login" which is nothing but a standard page with a shortcode the calls the sidebar login plugin's template tag, this makes it easy to customize what shows up before/after the login widget.

In s2Member > General Options > Membership Options Page I set the "Membership Options Page" to this login page. This works fine, when someone tries to access the restricted area the are prompted to login.

In s2Member > General Options > Login Welcome Page I set the "Login Welcome Page" to the protected "Gallery" page, this wasn't working until I figured out that the sidebar login plugin was controlling the redirect here, once I set the redirect in the plugin nearly everything is working great...

Now I just have one remaining problem. When a guest logs out (via the WP3.1 admin menu) they get redirected to the WordPress standard login window… yuk, this is what I'm trying to hide. Does s2m have an option I'm missing to set a page to redirect s2member defined user to? I want logged out guests to go back to the custom login page, not the default wordpress login page.

Statistics: Posted by jb510 — June 23rd, 2011, 4:39 am


]]>