latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Conditional Free Upgrade From Level 0 to 1

Home Forums Community Forum Conditional Free Upgrade From Level 0 to 1

This topic contains 1 reply, has 2 voices. Last updated by  Bruce 4 years ago.

Topic Author Topic
Posted: Friday Dec 28th, 2012 at 11:38 am #35623

I do not want to charge for advanced levels on my local community site, I do however want to distinguish between different types of users. http://ourislandsvoice.com

Some of the membership levels I will manually upgrade users to because these will be small in number and manageable.

Upgrading from level 0 to level 1 will not be easy to manage manually.

I have set up the WP site to accept registration requests and successfully registered using a Formidable PRO registration form.

I have two pages ‘Projects’ and ‘Forums’ that I only want Level 1 members to be able to access. When a user selects these pages I would like to test to see if the user a) logged in and b) has suitable membership rights. If they are not logged in they need to be redirected to my themes login page and if they are logged in but do not have Level 1 or above they need to be redirected to another page which will hold an extended profile page that must be filled in to get Level 1 access.

On submitting this extended profile form I need to automatically update s2member to show that the member now has Level 1.

I have Formidable Pro and would prefer to use this because it is so easy to have conditional hidden fields based upon user input, something that is important for the design.

Could you please point me in the right direction.

Kind regards

Andrew

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Saturday Dec 29th, 2012 at 5:37 am #35703
Bruce
Username: Bruce
Staff Member

Hi Andrew,

To upgrade users, you can use the info in this post to hook into Formidable Pro:

Knowledge Base » Changing Roles/Capabilities via PHP

I’m not familiar with Formidable, but the plugin should have a way to hook into the processes of saving the info from the forms. If not, you can also install a PHP Execution plugin, and add some PHP code to check if certain forms have been filled out. You’ll want to use something like Firebug for Firefox to find the HTML form’s name attribute.

Viewing 1 replies (of 1 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.