Quote:
Originally Posted by kh99
A couple of things: unless your db has no password for the 'root' user, then you probably want to change this line to have the right info:
Code:
$game = @mysqli_connect('localhost', 'root', '', vbulletin');
(or maybe you just chnaged it so you wouldn't be posting your info).
The other thing is that if your db has a table prefix you need to add it to the user table name in the query.
Where are you putting that code?
|
I have the info like that so I'm not posting the info :P
I'm executing this hook at useradmin_update_save.
The execution order is 1 as well.
I'll be sure to try out that table prefix as well later on, thanks!