I'm searching frantically, but I'm hoping someone can tell which vB variables I can use within the register_activate_process plugin hook
I'm looking to include the registration email address, userID, and username within the XML post below :|
$email, $userid, $username, etc...
I'm really new to this so please bare with me if this makes no sense...
PHP Code:
<xmlrequest>
<username>hide</username>
<usertoken>hide</usertoken>
<requesttype>hide</requesttype>
<requestmethod>hide</requestmethod>
<details>
// I would like the vBEmail below
<emailaddress>$email</emailaddress>
<mailinglist>1</mailinglist>
<format>html</format>
<confirmed>yes</confirmed>
<customfields>
<item>
<fieldid>1</fieldid>
//I would like the vB Username below
<value>$username</value>
</item>
</customfields>
</details>
</xmlrequest>
--------------- Added [DATE]1215399537[/DATE] at [TIME]1215399537[/TIME] ---------------
Figured it out, sorry for the wasted thread...
$vbulletin->userinfo['username'];