The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Double thread views count
I was wondering what part of the software code if changed will produce a double thread views count?
is it the $noshutdownfunc? if so, in this case the value should be set to 1 or 0? It sounds a little awkward, but we need to do this for a while for publicity reasons. We used to have this as an error, and now when we want it I can't figure it out! |
#2
|
||||
|
||||
in showthread.php find:
PHP Code:
|
#3
|
|||
|
|||
Thanks JulianD
so Code:
if ($noshutdownfunc) { $DB_site->query("UPDATE thread SET views=views+2 WHERE threadid='$threadid'"); } else { $shutdownqueries[]="UPDATE LOW_PRIORITY thread SET views=views+2 WHERE threadid='$threadid'"; } |
#4
|
||||
|
||||
Yeap.... It should do the job!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|