The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Changing a thread's rating via SQL execution
How would I reset a thread's rating to 0 executing a sql query?
any help would be really appreciated thanks |
#2
|
|||
|
|||
[sql]
UPDATE threadrate SET vote=0 WHERE threadid=x; [/sql] Not entirely sure, wait for some more replies. |
#3
|
||||
|
||||
ok I will thanks
|
#4
|
||||
|
||||
tried it say it affected 40 rows but the rating still in the thread any tips?
|
#5
|
||||
|
||||
should be this query:
Code:
UPDATE thread SET votetotal = '0' WHERE threadid = 'X'; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|