Page 1 of 1

Two Login Welcome Pages

PostPosted: September 9th, 2011, 11:42 pm
by Maneiroxxi
Hi,

I like two differents pages for “Login Welcome Page” setup (http://img713.imageshack.us/img713/51/loginwelcomepage.jpg).

For level = 0 I like this page:
http://www.abctrader.net/recepcion/

For level >=1 I like this page
http://www.abctrader.net/bienvenido/

I have to write exactly in the line indicated in the diagram below?

Thxs

Re: Two Login Welcome Pages

PostPosted: September 10th, 2011, 3:07 am
by Cristián Lávaque
You could use the redirection URL, or you can just have a conditional in a single Login Welcome Page to show the "Recepción" content to Level 0 users and the "Bienvenido" content to Level 1 or higher users. WP Admin -> s2Member -> API / Scripting -> Simple/Shortcode Conditionals

Code: Select all
[s2If current_user_is(s2member_level0)]
    Recepción
[/s2If]

[s2If !current_user_can(access_s2member_level1)]
    Bienvenido
[/s2If]


I hope this helps. :)

Re: Two Login Welcome Pages

PostPosted: September 11th, 2011, 8:01 am
by Maneiroxxi
Hi,

Its a solution create a new page "http://www.abctrader.net/swich/" and paste only your code EXACTLY ?


[s2If current_user_is(s2member_level0)]
Recepción
[/s2If]

[s2If !current_user_can(access_s2member_level1)]
Bienvenido
[/s2If]



Thxs

Re: Two Login Welcome Pages

PostPosted: September 14th, 2011, 2:27 am
by Cristián Lávaque
Not exactly, because you have to add the content for each kind of user. The conditions should do what you wanted, yes. Just add them to the page you want to use as your Login Welcome Page. :)