This topic contains 1 reply, has 2 voices. Last updated by Jason (Lead Developer) 4 years, 10 months ago.
Topic Author | Topic |
---|---|
Posted: Tuesday Feb 28th, 2012 at 1:18 am #6638 | |
Hello expert, Here is my code snippets that I put in s2-hacks.php. Please lend me a hand if I’m wrong. Thank you very much in advance!!! add_action (“signup_hidden_fields”,”ml_member_verify” ); function ml_member_verify() { $first_name=$_POST[“ws_plugin__s2member_custom_reg_field_last_name”]; $sql = “SELECT DISTINCT wp_dbt_sponsor.wp_user_id FROM wp_dbt_sponsor_receiver WHERE TRIM( wp_dbt_sponsor_receiver.first_name ) = ‘”.$first_name.”‘ AND TRIM( wp_dbt_sponsor_receiver.last_name ) = ‘”.$last_name.”‘ AND TRIM(wp_dbt_sponsor_receiver.birthday) = ‘”.$birthday.”‘”; |