Sign up |
In response to: [url "http://www.interactivetools.com/forum/forum-posts.php?postNum=2234865#post2234865"]facebook login with additional data[/url], ...
It is a really late reply.
I found that i can add static parameters to the signup data in the facebookLogin.php from line 250, like:
$columnsToValues['data1'] = "12345";
$columnsToValues['data2'] = "qwerty";
$columnsToValues['data3'] = 'ABC';
but i need to transfer to the plugin other dynamic fields from the signup.php, like:
language (that i store in the front in $_SESSION['language']),
user type: student or teacher (that users select due to the signup with radio input),
I already modified (with jquery) the Facebook login/signup button and make active only after users select the above required fields, so like this i ensure the requested data is completed.
How can i transfer / post to the plugin the parameters?
Also i using custom multi-language email templates for the signup, but i can choose this, after the above parameters is posted to the plugin.