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™

Two Login Welcome Pages

s2Member Plugin. A Membership plugin for WordPress®.

Two Login Welcome Pages

Postby Maneiroxxi » September 9th, 2011, 11:42 pm

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
User avatar
Maneiroxxi
Registered User
Registered User
 
Posts: 8
Joined: August 8, 2011

Re: Two Login Welcome Pages

Postby Cristián Lávaque » September 10th, 2011, 3:07 am

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. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Two Login Welcome Pages

Postby Maneiroxxi » September 11th, 2011, 8:01 am

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
User avatar
Maneiroxxi
Registered User
Registered User
 
Posts: 8
Joined: August 8, 2011

Re: Two Login Welcome Pages

Postby Cristián Lávaque » September 14th, 2011, 2:27 am

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. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron