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™

Is it possible to have 2 different login welcome pages

s2Member Plugin. A Membership plugin for WordPress®.

Is it possible to have 2 different login welcome pages

Postby rainbowsurfer » June 5th, 2011, 7:03 pm

I doubt that this is possible but I thought I'd ask. I'm going to have 2 different types of members. Consumer members and supplier members. What I need is a different login welcome page for the 2 different groups. Is that possible?

Thanks
User avatar
rainbowsurfer
Registered User
Registered User
 
Posts: 42
Joined: May 25, 2011

Re: Is it possible to have 2 different login welcome pages

Postby cclambie » June 6th, 2011, 1:46 am

I think it is possible, you can create your login form on two different pages.

The thing I don't know would be with S2Member, you have to set 1 page as the default login page, ie. when someone requests a page they need to login for, they will be sent to this page.

I haven't investigated Multisite to much, but have you considered it for the two areas?
You could use a Sub Domain for each of the types.
ie. consumer.yourdomain.com and supplier.yourdomain.com

Then you would have separate Sites for each, but it would be easy to configure and keep up to date, as multi site uses the same files and database.
Worth taking a look at.
User avatar
cclambie
Registered User
Registered User
 
Posts: 57
Joined: April 8, 2011

Re: Is it possible to have 2 different login welcome pages

Postby Cristián Lávaque » June 6th, 2011, 4:30 am

You can create different Login Welcome Pages for your groups:

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

Protect welcome-1 at Level 1 and welcome-0 at Level 0. WP Admin -> s2Member -> Restriction Options -> Page Access Restrictions

Remove both from the navigation. http://wordpress.org/extend/plugins/exclude-pages/

And set the the URL for the Login Welcome Page using the Level replacement code. WP Admin -> s2Member -> General Option -> Login Welcome Page -> Special Redirection URL

Code: Select all
http://yoursite.com/welcome-%%current_user_level%%


The above is just an example, you can create other setups using the replacement codes available for the welcome page URL.

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: Is it possible to have 2 different login welcome pages

Postby rainbowsurfer » June 6th, 2011, 6:14 am

Thanks for that, I'll see if I can get it working.

You and s2 Member just keep on impressing me
Thanks again
User avatar
rainbowsurfer
Registered User
Registered User
 
Posts: 42
Joined: May 25, 2011

Re: Is it possible to have 2 different login welcome pages

Postby Cristián Lávaque » June 6th, 2011, 1:25 pm

My pleasure. :)
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: No registered users and 1 guest

cron