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.

Upgrading between free levels – Pro Forms

Home Forums Community Forum Upgrading between free levels – Pro Forms

This topic contains 3 replies, has 2 voices. Last updated by  Cristián Lávaque 3 years, 10 months ago.

Topic Author Topic
Posted: Monday Mar 11th, 2013 at 7:12 am #44247

Hi,

Is there an upgrade form available in Pro Forms? Current ones only appear to support new registrations.

I have two free membership levels (0 and 1) and want to be able to display a form in the level 0 member area page that they can upgrade (for free) to level 1. This form will just capture their postal address details.
i.e. level 0’s register with name and email address for access, they can then upgrade for free to level 1 by providing their home address in the members area.

I have tried using the pro forms shortcode for free registration and changing level to be 1 in the shortcode but this asks for a new user name, email etc. – it appears to support new registrations only.

Is there a way of prepopulating the name, username, email etc and hiding them from the form completely for example?

List Of Topic Replies

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Tuesday Mar 12th, 2013 at 12:22 pm #44396

Hi Lee.

No, there isn’t a free upgrade pro-form yet, the free registration one is for registrations only.

If you want to give free upgrades, you’d have to create a customization where loading a certain URL would upgrade their account.

These should help:
Knowledge Base » Changing Roles/Capabilities via PHP
Knowledge Base » Hacking s2Member® Via Hooks/Filters

To edit their profiles you could show them to a profile form. [hilite path]Dashboard -› s2Member® -› API / Scripting -› Member Profile Modifications[/hilite]

Maybe you could have your hack check if the person edited the profile and filled out the field you want to require for the upgrade.

You can check the custom profile fields with [hilite mono]get_user_field[/hilite]. http://www.s2member.com/codex/stable/s2member/api_functions/package-functions/#src_doc_get_user_field%28%29

I hope that helps. :)

Posted: Tuesday Mar 12th, 2013 at 12:50 pm #44400

Thanks Cristián,

I’ll do this via a web form ‘thank you’ page then.

When I’m performing the upgrade/role change via php, is there a function I can access at the same time that would initiate the list server transitions as defined in the Mailchimp integration setup?
i.e. take them off a Mail Chimp list A and put them onto List B.

Regards

Lee

Posted: Tuesday Mar 12th, 2013 at 1:20 pm #44403

Well, first enable the transitions here: [hilite path]Dashboard -› s2Member® -› API / List Servers -› Automate Unsubscribes/Opt-Outs[/hilite]

Then you’d use [hilite mono]process_list_servers[/hilite]. http://www.s2member.com/codex/stable/s2member/list_servers/c_ws_plugin__s2member_list_servers/#src_doc_process_list_servers%28%29

See this too: http://www.s2member.com/forums/topic/s2member-mailchimp-and-ccaps/#post-17078

Viewing 3 replies - 1 through 3 (of 3 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.