wizardsolutions
03-13-2007, 11:56 PM
Instead of merging two databases, I'm going to have one signup page (the vbulletin register.php) and insert into the other database from there.
Right now I have my insert code under the following code at the end:
// ############################### start add member ###############################
if ($_POST['do'] == 'addmember')
{
It seems to be working for the most part, but I can't seem to get the password and email. I thought I could use the following, but it's not working. The username is fine.
$emailid = $vbulletin->GPC['email'];
$userpwd = $vbulletin->GPC['password'];
$username = $vbulletin->GPC['username'];
Another problem: Where should I put my extra database code so that it only gets submitted when the initial form information is inputed correctly?
Thanks.
*bump
I've tried everything and cannot get the password of the user currently signing up. I see $vbulletin->GPC['password'] being used by vbulletin, but why is it not working for me?
Right now I have my insert code under the following code at the end:
// ############################### start add member ###############################
if ($_POST['do'] == 'addmember')
{
It seems to be working for the most part, but I can't seem to get the password and email. I thought I could use the following, but it's not working. The username is fine.
$emailid = $vbulletin->GPC['email'];
$userpwd = $vbulletin->GPC['password'];
$username = $vbulletin->GPC['username'];
Another problem: Where should I put my extra database code so that it only gets submitted when the initial form information is inputed correctly?
Thanks.
*bump
I've tried everything and cannot get the password of the user currently signing up. I see $vbulletin->GPC['password'] being used by vbulletin, but why is it not working for me?