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.

s2member insert custom fields in usermeta

Home Forums Community Forum s2member insert custom fields in usermeta

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

Topic Author Topic
Posted: Saturday Apr 13th, 2013 at 10:42 pm #47440

I’ve been looking around the files and even use NotePad++ to search all files for “usermeta” and “custom_reg_fields” hoping to come up with some hits that could better lead me to where s2member inserts the custom fields data into the usermeta table when a new user uses the payment form to pay and sign up.

I have two columns, business name and contractor number in the user table, I need to insert the custom fields generated by s2member data into the users table as well as the usermeta table where it’s currently only going. I have over 100,000 users with these column values filled as well as script that pulls data from here. It would be a lot easier for me to find where s2member inserts this data in the script rather then change my script to pull data from usermeta and accommodate s2member.

I keep looking over the includes/classes/custom-reg-fields.inc.php file assuming it’s in there but… any help is appreciated. Thanks!

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Monday Apr 15th, 2013 at 8:04 am #47487

They’re under [hilite mono]s2member_custom_fields[/hilite].

[hilite pre_code]
$s2member_custom_fields = get_user_option("s2member_custom_fields"); # Associative array of all Custom Registration/Profile Fields.
[/hilite]
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.