PDA

View Full Version : regiester_adduser_complete hook ...


redneck1
06-22-2008, 03:05 AM
As soon as a user completes their registration, I want to call an other function passing their username and password to it.

I am guessing that this needs to go in the register_adduser_complete hook.

I have been playing around with it and cant seem to fetch the password.

i.e. I don't know which object and/or variable it will be found in.

I have tried ...

$vbulletin->GPC['password']
and
$password

Gary

King Kovifor
06-22-2008, 03:31 AM
It is best to read through the files for this type of thing rather than by guessing.

Dismounted
06-22-2008, 06:39 AM
$userinfo['username']
$userinfo['password']

Marco van Herwaarden
06-23-2008, 09:32 AM
The password will not be in plain text though.