PDA

View Full Version : registration.php


wizardsolutions
14 Mar 2007, 01:56
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:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

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.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


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?

Flexserve
18 Mar 2007, 22:11
looking for this too.

TheRed
19 Mar 2007, 03:58
Try using $userdata->vars['password'].

But your code must be located below:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Anyways he got sorted this out already.

Flexserve
19 Mar 2007, 04:46
Try using $userdata->vars['password'].

But your code must be located below:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Anyways he got sorted this out already.

I'm trying to send to this:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Just need login, pass, e-mail..the rest is defualt values. Please help this php noob out.