Page 1 of 1

Multiple Login Welcome Pages

PostPosted: October 24th, 2010, 9:22 am
by snelson2678
Is it Possible to creat different Login Welcome Pages for different Member Level Access. Level 1 goes to page 1, level 2 goes to Page 2 etc...???

Thanks

Re: Multiple Login Welcome Pages

PostPosted: October 24th, 2010, 6:58 pm
by KirkWard
I'd like this also ... is it possible? How?

Re: Multiple Login Welcome Pages

PostPosted: October 24th, 2010, 8:12 pm
by Jason Caldwell
Thanks for the great question.

Yes, this is very possible. In your Dashboard, under: s2Member -> General Options -> Login Welcome Page, you will find a secondary option that allows you to use a "Special Redirection URL". You will also find a link there with information pertaining to "Replacement Codes". Using Replacement Codes in your Special Redirection URL, allows you to configure a Login Welcome Page like so:
Code: Select all
http://example.com/login-welcome-page-%%current_user_level%%/
So now you will just need to create a separate Login Welcome Page for each of these Levels:
Code: Select all
http://example.com/login-welcome-page-0/
http://example.com/login-welcome-page-1/
http://example.com/login-welcome-page-2/
http://example.com/login-welcome-page-3/
http://example.com/login-welcome-page-4/

Re: Multiple Login Welcome Pages

PostPosted: November 14th, 2010, 1:28 pm
by snelson2678
I tried to set this up but when a level 4 user tries to login it sends them here:

http://members.socialmediaschools.com/welcome-1/

This is what i have stored:

http://members.socialmediaschools.com/welcome%%current_user_level%%/

This is the permalink for the page I want them to be sent to:

http://members.socialmediaschools.com/welcome-4/

I have verified that the user logging in is definitely level 4 but he gets a 404 error page.

Re: Multiple Login Welcome Pages

PostPosted: December 13th, 2010, 12:11 pm
by marketbizpro
You missed the dash "-" after /welcome in the url...

Re: Multiple Login Welcome Pages

PostPosted: December 10th, 2011, 2:56 pm
by interlinkusa1
I will be selling different products on my site. Is it possible to create different login pages for each product in S2 membership plugin. All will be level 1 memberships. If yes are there any tutorial videos?

Thanks
LA

Re: Multiple Login Welcome Pages

PostPosted: December 10th, 2011, 3:12 pm
by Bruce C
Are they based on custom capabilities?

Re: Multiple Login Welcome Pages

PostPosted: December 10th, 2011, 4:22 pm
by interlinkusa1
This is what I am trying to do...e.g. I will have, let's say, 10 different educational digital products.

So each product will need to have it's own login page.

Once logged in - for the product they have purchased - they will be directed to the product page.

So, in a nutshell - there will be (1) 10 different login pages (2) 10 different product pages to download
(3) 10 different sales pages to buy the product.

How can this be achieved.

Thanks for the help.
LA

Re: Multiple Login Welcome Pages

PostPosted: December 10th, 2011, 6:45 pm
by Bruce C
The only way to do this would be to use Custom Capabilities with s2Member, then use Dashboard->s2Member->API/Scripting->Simple/Shortcode Conditionals to show the correct content.

Re: Multiple Login Welcome Pages

PostPosted: December 11th, 2011, 2:26 am
by Cristián Lávaque
The thing is that if the same user purchases more than one product, you'd need to show the option to choose which one to open.

You could, in the Login Welcome page, have conditionals that check the products the user has (custom capabilities) and show links to each product's page. If he only has one page, he could be redirected straight to it.

I hope that helps.

Re: Multiple Login Welcome Pages

PostPosted: December 12th, 2011, 9:09 am
by interlinkusa1
I am totally new with the S2 plugin. May I request you to please send me the steps to set up the following.

"In the Login Welcome page, have conditionals that check the products the user has (custom capabilities) and show links to each product's page. If he only has one page, he could be redirected straight to it. "

I do appreciate the help from all who replied to my post.

Re: Multiple Login Welcome Pages

PostPosted: December 12th, 2011, 11:34 am
by Bruce C
[s2If current_user_can(access_s2member_ccap_numberone)]
If you can access s2Member custom capability 'numberone', you can see this (also, if you are an administrator)
[/s2If]