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.

Setting User "Role" using Custom Registration

Home Forums Community Forum Setting User "Role" using Custom Registration

This topic contains 0 replies, has 1 voice. Last updated by  Colin Kells 4 years ago.

Topic Author Topic
Posted: Tuesday Dec 18th, 2012 at 5:14 pm #34969
Colin Kells
Username: cpufix

I have a custom field that I have added to the Registration form and this does function ok.

However I also want the form to update the wp-admin user “Role” field to what is selected in the drop down box.
Data coming back is correct ie If the user selects “Basic” from the drop down list, it returns “s2Member Level 1” (which is what I want.

Problem I have is what do I call the “Unique ID” field in the custom field so that it applies this data to the wp-admin “Role” field.

The custom field is adding a second field also named “Role” in the wp-admin user info.

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.