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™

s2Member function for upgrading users?

s2Member Plugin. A Membership plugin for WordPress®.

s2Member function for upgrading users?

Postby Infuscu » January 25th, 2012, 6:42 pm

Hello, been using s2Member for a few weeks now are we are really taken back by all the functionality! We do have one question thought which we haven't been able to find an answer for:

Is there any s2Member function to upgrade users within a php script?

Why?
We plan on launching a lottery and we would like automate the process of upgrading users to the next rank on "the ladder".

Thank you!
User avatar
Infuscu
Registered User
Registered User
 
Posts: 1
Joined: January 22, 2012

Re: s2Member function for upgrading users?

Postby Raam Dev » January 26th, 2012, 1:09 pm

Hello,

"Upgrading" a user within s2Member is simply a matter of changing the User Role. See this thread for more information about how to change the user's role from PHP: viewtopic.php?f=36&t=2599&p=7409&#p7409
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 0 guests

cron