The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
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:
|