Community Support Forums — WordPress® ( Users Helping Users ) — 2010-07-18T01:59:40-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=400 2010-07-18T01:59:40-05:00 http://www.primothemes.com/forums/viewtopic.php?t=400&p=1640#p1640 <![CDATA[Re: Any way to not forward logged in members to new page?]]> you can add this line to the functions.php file for your WordPress theme.

Code:
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.

Statistics: Posted by Jason Caldwell — July 18th, 2010, 1:59 am


]]>
2010-07-17T19:12:37-05:00 http://www.primothemes.com/forums/viewtopic.php?t=400&p=1632#p1632 <![CDATA[Any way to not forward logged in members to new page?]]>
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

Statistics: Posted by agloop — July 17th, 2010, 7:12 pm


]]>