The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello,
I'm working on integrating another script to use the same user table as vb. I also need the user table in the other script to have the same usernames as vb. So, when editing a username from the vb admin, I need to also update my other table. I tried this in the userdata_update_username hook location but it didn't work and resulted in a blank page: PHP Code:
Please put me in the right direction.... Thanks, Tim |
#2
|
||||
|
||||
![]()
You need the old username or the userid, and the new name in order to get this to work. What does $username hold? The new name or the old one? Your query needs to contain two different values. It can either be the userid, or the old username. Something like this.
PHP Code:
PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|