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™

Multiple Login Welcome Pages

s2Member Plugin. A Membership plugin for WordPress®.

Multiple Login Welcome Pages

Postby snelson2678 » October 24th, 2010, 9:22 am

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
User avatar
snelson2678
Registered User
Registered User
 
Posts: 8
Joined: July 2, 2010

Re: Multiple Login Welcome Pages

Postby KirkWard » October 24th, 2010, 6:58 pm

I'd like this also ... is it possible? How?
User avatar
KirkWard
Experienced User
Experienced User
 
Posts: 61
Joined: October 22, 2010

Re: Multiple Login Welcome Pages

Postby Jason Caldwell » October 24th, 2010, 8:12 pm

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/
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Multiple Login Welcome Pages

Postby snelson2678 » November 14th, 2010, 1:28 pm

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.
User avatar
snelson2678
Registered User
Registered User
 
Posts: 8
Joined: July 2, 2010

Re: Multiple Login Welcome Pages

Postby marketbizpro » December 13th, 2010, 12:11 pm

You missed the dash "-" after /welcome in the url...
User avatar
marketbizpro
Registered User
Registered User
 
Posts: 15
Joined: September 7, 2010

Re: Multiple Login Welcome Pages

Postby interlinkusa1 » December 10th, 2011, 2:56 pm

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
User avatar
interlinkusa1
Registered User
Registered User
 
Posts: 3
Joined: December 10, 2011

Re: Multiple Login Welcome Pages

Postby Bruce C » December 10th, 2011, 3:12 pm

Are they based on custom capabilities?
~Bruce ( a.k.a. Ace )

If you're interested in a Professional Installation, or Custom Coding Job, you can send your request here.

Proud Supporter of:
The Zeitgeist Movement
and Occupy Everything
User avatar
Bruce C
Experienced User
Experienced User
 
Posts: 337
Joined: July 20, 2011

Re: Multiple Login Welcome Pages

Postby interlinkusa1 » December 10th, 2011, 4:22 pm

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
User avatar
interlinkusa1
Registered User
Registered User
 
Posts: 3
Joined: December 10, 2011

Re: Multiple Login Welcome Pages

Postby Bruce C » December 10th, 2011, 6:45 pm

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.
~Bruce ( a.k.a. Ace )

If you're interested in a Professional Installation, or Custom Coding Job, you can send your request here.

Proud Supporter of:
The Zeitgeist Movement
and Occupy Everything
User avatar
Bruce C
Experienced User
Experienced User
 
Posts: 337
Joined: July 20, 2011

Re: Multiple Login Welcome Pages

Postby Cristián Lávaque » December 11th, 2011, 2:26 am

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.
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: Multiple Login Welcome Pages

Postby interlinkusa1 » December 12th, 2011, 9:09 am

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.
User avatar
interlinkusa1
Registered User
Registered User
 
Posts: 3
Joined: December 10, 2011

Re: Multiple Login Welcome Pages

Postby Bruce C » December 12th, 2011, 11:34 am

[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]
~Bruce ( a.k.a. Ace )

If you're interested in a Professional Installation, or Custom Coding Job, you can send your request here.

Proud Supporter of:
The Zeitgeist Movement
and Occupy Everything
User avatar
Bruce C
Experienced User
Experienced User
 
Posts: 337
Joined: July 20, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 3 guests

cron