Community Support Forums — WordPress® ( Users Helping Users ) — 2011-04-04T22:36:32-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=2947 2011-04-04T22:36:32-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2947&p=9085#p9085 <![CDATA[Re: Login page and ... login page]]>

I watched the Advanced Conditionals video again, but didn't see what you mention. Could you give me the URL to the video you mean and, if possible, tell me around what time of the video is what you want?

Thank you! :)

Statistics: Posted by Cristián Lávaque — April 4th, 2011, 10:36 pm


]]>
2011-04-04T20:15:20-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2947&p=9081#p9081 <![CDATA[Re: Login page and ... login page]]>
And the question about the "member", it is in this URL:
http://yoursite.com/members/welcome-%%current_user_level%%
which was taken from the documentation on how to use the replacement code.

Statistics: Posted by cassel — April 4th, 2011, 8:15 pm


]]>
2011-04-04T20:07:03-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2947&p=9080#p9080 <![CDATA[Re: Login page and ... login page]]>
http://yoursite.com/welcome-0
http://yoursite.com/welcome-1
http://yoursite.com/welcome-2


You can also use something else instead of "welcome-1", like "level1-home" or whatever you planned to use.

I just used those URLs as an example to show that you can use the level number to change the welcome page for each level.

cassel wrote:
Now, *IF* i sell some custom packages, as explained in the video (which i WILL have to re-study), what replacement code would be used?


Which video are you referring to? What do you mean by custom packages? I just want to make sure I understand your question properly before answering it. :)

Statistics: Posted by Cristián Lávaque — April 4th, 2011, 8:07 pm


]]>
2011-04-04T18:35:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2947&p=9076#p9076 <![CDATA[Re: Login page and ... login page]]>
So if the membership level determines the landing page for the Welcome page, i have to add:
... /members/welcome-%%current_user_level%% ? (is the "member" part necessary or just an example?)

So yeah, i can see to create the different Welcome pages.

Now, *IF* i sell some custom packages, as explained in the video (which i WILL have to re-study), what replacement code would be used?

Statistics: Posted by cassel — April 4th, 2011, 6:35 pm


]]>
2011-04-04T16:01:08-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2947&p=9070#p9070 <![CDATA[Re: Login page and ... login page]]>
If it's based on level, the your Special Redirection URL could be, for example:

http://yoursite.com/members/welcome-%%current_user_level%%


Then you'd create these pages, one for each member level you're using in your membership:

http://yoursite.com/members/welcome-0
http://yoursite.com/members/welcome-1
http://yoursite.com/members/welcome-2


And protect each with the corresponding access level, using s2Member's meta box in the edit form when you create the pages.

Statistics: Posted by Cristián Lávaque — April 4th, 2011, 4:01 pm


]]>
2011-04-04T05:03:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2947&p=9033#p9033 <![CDATA[Re: Login page and ... login page]]> http://yoursite.com/members/%%current_user_login%%/profile/

i am just not sure how to incorporate the replacement code into a URL i have. For example, if i have a Welcome Login Page that is:
http://my site/first_protected_section/welcome_loging_page where do i insert the replacement code?

Statistics: Posted by cassel — April 4th, 2011, 5:03 am


]]>
2011-04-03T22:51:39-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2947&p=8989#p8989 <![CDATA[Re: Login page and ... login page]]>
Go to WP Admin -> s2Member -> General Options -> Login Welcome Page -> Special Redirection URL -> Replacement Codes.

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.
%%current_user_role%% = The current User's WordPress® Role.
%%current_user_ccaps%% = The current User's Custom Capabilities.

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: http://yoursite.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.

Statistics: Posted by Cristián Lávaque — April 3rd, 2011, 10:51 pm


]]>
2011-04-03T20:40:03-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2947&p=8982#p8982 <![CDATA[Re: Login page and ... login page]]> Statistics: Posted by cassel — April 3rd, 2011, 8:40 pm


]]>
2011-04-03T20:29:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2947&p=8979#p8979 <![CDATA[Re: Login page and ... login page]]>

The Login Page is the one which has the form to login to the account, although there may be other login forms in different places of the website using widgets and such.

The Login Welcome Page is the one the person is shown right after a successful login. This page can be modified with variables that are available to you in the optional Special Redirection URL for this. The variables would allow you to use different pages depending on the level of the member that logged in, for example.

The page can be anything you consider a good thing to welcome the member that just came back. :)

Statistics: Posted by Cristián Lávaque — April 3rd, 2011, 8:29 pm


]]>
2011-04-03T16:58:44-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2947&p=8972#p8972 <![CDATA[Login page and ... login page]]>
Following the instructions, i created a login page (as in the video) to set as the Login Welcome Page, and then there is a Login page to enter the username and password. Now, i figured that the Login Welcome Page is only a landing page, like an intro to the protected content (took me a while to figure it out, duh!).

Now, my question is this: if i have different pages sold in different packages, or different membership levels, do they all share the same Login Welcome Page? Then, (as stupid as it may sound), what is the Login Welcome Page supposed to look like? any sample anyone can show me (even if only in screenshots, obviously)?

Statistics: Posted by cassel — April 3rd, 2011, 4:58 pm


]]>