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™

Redirect author role to login welcome page?

s2Member Plugin. A Membership plugin for WordPress®.

Redirect author role to login welcome page?

Postby rcherry » May 13th, 2011, 10:53 pm

Is there a way to redirect author logins to the s2member login welcome page? Subscribers are redirected to the login welcome, but anything above is sent to the back end. S2member levels are sent to the login welcome page.
User avatar
rcherry
Registered User
Registered User
 
Posts: 6
Joined: May 11, 2011

Re: Redirect author role to login welcome page?

Postby Cristián Lávaque » May 13th, 2011, 11:56 pm

Yeah, authors are pretty much treated as admins in some regards... What I have found to work to solve this is adding ?redirect_to=/your-welcome-page-URI after the URL to wp-login.php. E.g.

http://example.com/wp-login.php?redirect_to=/

Let me know if that helps. :)
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: Redirect author role to login welcome page?

Postby rcherry » May 15th, 2011, 6:44 pm

Thanks, I used the S2-hacks.php and a login redirection plugin to get it working the way I want. Where exactly in which file would I put the ?redirect_to=/welcome-login-page ?
User avatar
rcherry
Registered User
Registered User
 
Posts: 6
Joined: May 11, 2011

Re: Redirect author role to login welcome page?

Postby Cristián Lávaque » May 16th, 2011, 12:00 am

Just add it at the end of any link to wp-login.php. :)
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


Return to s2Member Plugin

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 0 guests

cron