Community Support Forums — WordPress® ( Users Helping Users ) — 2010-07-22T18:18:37-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=83 2010-07-22T18:18:37-05:00 http://www.primothemes.com/forums/viewtopic.php?t=83&p=1732#p1732 <![CDATA[Re: Special Redirection URL]]> ~ This will be corrected in v3.1.5+ ( to be released later this evening ).

Statistics: Posted by Jason Caldwell — July 22nd, 2010, 6:18 pm


]]>
2010-07-22T12:38:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=83&p=1723#p1723 <![CDATA[Re: Special Redirection URL]]>
The variable %%current_user_level%% returns a -1 no matter what the user level is. So this function isn't working.

Thanks

Tim Carter

Statistics: Posted by Guest — July 22nd, 2010, 12:38 pm


]]>
2010-07-22T11:39:57-05:00 http://www.primothemes.com/forums/viewtopic.php?t=83&p=1722#p1722 <![CDATA[Re: Special Redirection URL]]> Statistics: Posted by Guest — July 22nd, 2010, 11:39 am


]]>
2010-07-22T08:15:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=83&p=1717#p1717 <![CDATA[Re: Special Redirection URL]]> Hi Tim. Thanks for the great question.

In your WP Dashboard, under: s2Member -> General Options -> Login Welcome Page
you will find a link that says "replacement codes", that is the only documentation on this feature.

Here is an example that should help you.

1. Create Pages inside WordPress for each Level, giving each Page a slug that contains a Level number.
Code:
http://mysite.com/login-welcome-page-level-0
http://mysite.com/login-welcome-page-level-1
http://mysite.com/login-welcome-page-level-2
http://mysite.com/login-welcome-page-level-3
http://mysite.com/login-welcome-page-level-4


2. Set your Login Welcome Page option to a Special Redirection URL:
Code:
http://mysite.com/login-welcome-page-level-%%current_user_level%%

Understanding Replacement Codes:

%%current_user_login%% = The current User's login ( their Username, lowercase ).
%%current_user_ID%% = The current User's ID.
%%current_user_level%% = The current User's s2Member Level.

For example, if you're using BuddyPress, and you want to redirect Members to their BuddyPress Profile page after logging in, you would setup a Special Redirection URL, like this:
Code:
http://www.s2member.com/members/%%current_user_login%%/profile/

Or ... using %%current_user_level%%, you could have a separate Login Welcome Page for each Membership Level that you plan to offer. BuddyPress not required.

Additional Replacement Codes can be added through custom programming. Use:
Code:
add_filter('s2member_fill_login_redirect_rc_vars', 'my_filter');

Statistics: Posted by Jason Caldwell — July 22nd, 2010, 8:15 am


]]>
2010-07-21T18:07:04-05:00 http://www.primothemes.com/forums/viewtopic.php?t=83&p=1687#p1687 <![CDATA[Re: Special Redirection URL]]>
Can you give an example?

Thanks

Tim Carter

Statistics: Posted by Guest — July 21st, 2010, 6:07 pm


]]>
2010-06-23T22:53:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=83&p=1151#p1151 <![CDATA[Re: Special Redirection URL]]> ~Thanks for your input on this topic.

Statistics: Posted by Jason Caldwell — June 23rd, 2010, 10:53 pm


]]>
2010-05-27T23:54:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=83&p=613#p613 <![CDATA[Re: Special Redirection URL]]> Statistics: Posted by nodrugads — May 27th, 2010, 11:54 pm


]]>
2010-05-19T06:46:40-05:00 http://www.primothemes.com/forums/viewtopic.php?t=83&p=468#p468 <![CDATA[Re: Special Redirection URL]]> Page, that will be used as the Login Welcome Page ( the first page a Members hits after logging in ). However, s2Member also makes it possible for you to enter a Special Redirection URL, which will be used instead of the standard Login Welcome Page.

In either case, when a Member logs into your site, they will always be directed immediately to your Login Welcome Page ( and/or Special Redirection URL ) if you provided a Special Redirection URL. The Special Redirection URL takes precedence over the Login Welcome Page.

Depending on where you are redirecting Members after logging in, you will want to embed the Stand-Alone Profile Editing panel into the Page that a Member lands on. So that will either be your Login Welcome Page, or the Page you are redirecting them to, using a Special Redirection URL.

Statistics: Posted by Jason Caldwell — May 19th, 2010, 6:46 am


]]>
2010-05-14T18:21:01-05:00 http://www.primothemes.com/forums/viewtopic.php?t=83&p=348#p348 <![CDATA[Special Redirection URL]]>
So I would Like to create a new page, Iframe in their profile and some other data specific to that user and every time a person logs into their account they go directly to that page (their profile page).

I see information about "Special Redirection URL" and a "Stand Along Page" both of which seem to incorporate feature that I am trying to us, I just cannot figure out how to get them to work together.

Thank You

S

Statistics: Posted by entourage — May 14th, 2010, 6:21 pm


]]>