The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
MySQL Query
Recently I merged a moderator account so they lost all their mod stats. I am trying to run this MySQL query:
PHP Code:
That is my error! Any help? |
#2
|
|||
|
|||
It looks like you've used some backticks in there when they should be single quotes. Although I haven't tried it at all, replace() is a string function while userid is an int field, so you might want this instead:
Code:
update moderatorlog set userid = 4 WHERE userid = 90 In fact, if the replace() query works at all, it would replace any 90 with 4, so if you had a moderator 190 or above 900 for instance, it would cause problems.. |
#3
|
||||
|
||||
Why are you running queries ? Why cant you just promote them back to moderator ?
|
#4
|
|||
|
|||
Their moderator stats don't carry over to another user id.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|