The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
(Easy enough) What is the right code, to get username in plugin
i have a custom plugin, here is below the content
Quote:
i want code in bold above to get member username i had try put these code there $username $bbuserinfo[username] $userinfo[username] $userinfo['username'] $vbulletin->userinfo[username] $vbulletin->userinfo['username'] but no one works, please help guys what is the right code to get member username in plugin |
#2
|
||||
|
||||
And the plugin is hooked at?
|
#3
|
||||
|
||||
the Hook is register_start
how is it guys, who know the right code to get member username in that plugin? |
#4
|
||||
|
||||
Quote:
What exactly are you trying to do maybe we can help another way. |
#5
|
||||
|
||||
Quote:
and this plugin almost working like that, just how to change username to each member real username Quote:
btw when people registering in domain.com/register.php and they wrong to type captcha, the username field is still already filled with they username (the registering proccess is not finishing yet), so maybe i can get that username in email field like that if you know please let me know what is the code to get member username in plugin |
#6
|
||||
|
||||
Code:
$_POST['emailconfirm'] = $_POST['email'] = '$_POST['username']@mydomain.com'; |
#7
|
||||
|
||||
PHP Code:
|
#8
|
||||
|
||||
Quote:
thank you for BBR-APBT too regrads for both of you, GBU |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|