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™

Welcome Page based on a user field

s2Member Plugin. A Membership plugin for WordPress®.

Welcome Page based on a user field

Postby artbutcher » June 17th, 2011, 2:18 pm

I'm an new user of s2m.

I have created a field called group in user registration. I've added values and it works fine.

Now I would like to have a user welcome page based on the value in the group field the member selected at registration.

Any ideas?

Thank you
Art
User avatar
artbutcher
Registered User
Registered User
 
Posts: 8
Joined: June 17, 2011

Re: Welcome Page based on a user field

Postby Cristián Lávaque » June 17th, 2011, 7:51 pm

Hi Art.

You could use a series of if conditions or a switch to decide what to show to them in the Login Welcome Page depending on the group they picked.

http://mx.php.net/manual/en/control-str ... switch.php
viewtopic.php?f=40&t=9015&src_doc_v=110605#src_doc_get_user_field%28%29

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


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 0 guests

cron