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™

Any way to not forward logged in members to new page?

s2Member Plugin. A Membership plugin for WordPress®.

Any way to not forward logged in members to new page?

Postby agloop » July 17th, 2010, 7:12 pm

Hello,

I am having problems with a chat plugin I have integrated with WP because of the s2Member redirect after login. Is there a way to disable this?

Currently, when you log in to the chat, the app freezes and it begins the redirect to my 'Welcome to Your Profile' page. I know this is the problem, because when I disable s2Member everything works like it should.

Also, Admin accounts work even when s2member is enabled because their accounts don't have the redirect attached.

Thanks for your help.

Zach
User avatar
agloop
Registered User
Registered User
 
Posts: 1
Joined: July 17, 2010

Re: Any way to not forward logged in members to new page?

Postby Jason Caldwell » July 18th, 2010, 1:59 am

Hi Zach. If you'd like to disable the login redirection,
you can add this line to the functions.php file for your WordPress theme.

Code: Select all
function ws_plugin__s2member_login_redirect($username = FALSE){}

* I don't recommend this however. Login redirection is designed to prevent unauthorized access to your WP Dashboard, and also to customize the landing page for Members, after they log in. This redirection is one of the core functions of s2Member. It utilizes the Login Welcome Page configured under:
s2Member -> General Options -> Login Welcome Page.
~ 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: Google [Bot], Yahoo [Bot] and 2 guests

cron