The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
![]()
I'm a little bit confused here. In my first post in this thread, I told you to use the $bbuserinfo[] array, but you told me that it didn't work. And now, you say it's working?
The fields displayed by $bbuserinfo are correct? If so, you don't need to hack register.php, leave the file unchanged. |
#12
|
||||
|
||||
![]()
That's correct. Before I inserted the php code you gave me, into the register.php file, the $bbuserinfo[] array didn't work! See my post # 4 above, to see that the variables didn't display any data.
After I inserted the php code you gave me, the $bbuserinfo[] array works. Doesn't this count as a "hack" to the register.php file? Or is this called something else? |
#13
|
||||
|
||||
![]()
Strange... The modifications I told you doesn't modify the $bbuserinfo array...
Try to undo the changes I told you, and see if it still works. |
#14
|
||||
|
||||
![]()
Okay... on my way to revert the register.php file.
![]() |
#15
|
||||
|
||||
![]()
Okay, I deleted that one line of php code, from the register.php file.
I kept the error_moderateuser template code the way it was. PHP Code:
[color=sky blue]field 5 = field 6 = username = Unregistered email = ================== field 5 = field 6 = email = ================== field 5 = field 6 = email = my-email-address@my-domain.com ================== Thank you for registering, test.[/color] The only variables that work now, are these... - email = $userinfo[email] - username = $username |
#16
|
||||
|
||||
![]()
Julian, you're not giving up, are you? :cry:
|
#17
|
||||
|
||||
![]()
No, I'm not giving up... hehe..
![]() Well... I did some modifications to my register.php and it should work now. I had to add an extra query to the database to get the user information from the database... I hope you don't mind ![]() In register.php find: PHP Code:
PHP Code:
In the same file, find: PHP Code:
PHP Code:
And now, in error_moderateuser you can use: $userdata[username] to get the user name $userdata[email] to get the email $userdata[field5] to get userfield 5, etc... Tell me if it works. |
#18
|
||||
|
||||
![]()
BTW, nice avatar
![]() |
#19
|
||||
|
||||
![]()
Thank you for sticking with me. I really appreciate your help.
![]() Okay, should I also put the code back in, that you gave me in post # 9? I have to get off the computer now, but I'll try all your suggestions tomorrow! I'll let you know right away how it goes. And thanks for the compliment on my avatar. Yours is great too. It looks like it should be in a museum! ![]() |
#20
|
||||
|
||||
![]()
No, don't use the old code I gave you. You only have to follow the instructions in my last post
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|