The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
make threads have no post count
i think this is neeeded for any forum
u get threads like "post ur desktop" or just a spam thread, and i would love to be able to disable post count for that thread ya know not the whole forum, just a certain thread possible? thanks |
#2
|
||||
|
||||
no one thinks this would be helpful?
we make forums have no post count, why not threads |
#3
|
||||
|
||||
UPDATE thread SET replycount=0 WHERE threadid IN (...)
|
#4
|
||||
|
||||
well i ment more of a hack i dont want to do a query for each thread, just a "flip the switch" ya know
anyone? thanks in advance |
#5
|
||||
|
||||
NOT TESTED - NOT TESTED - NOT TESTED!!!
This should work. Requires 1 file modification and 1 template mod. In postings.php Find PHP Code:
PHP Code:
PHP Code:
PHP Code:
HTML Code:
################################################################### # Template modifications in SHOWTHREAD ################################################################### ------------------------------------------------------------------- search for this: ------------------------------------------------------------------- <option value="removeredirect">$vbphrase[remove_redirects]</option> ------------------------------------------------------------------- Put this directly underneath it ------------------------------------------------------------------- <option value="nopostcount">Turn off Post Count</option> ------------------------------------------------------------------- search for this: ------------------------------------------------------------------- <div><label for="ao_rrd"><input type="radio" name="do" id="ao_rrd" value="removeredirect" />$vbphrase[remove_redirects]</label></div> ------------------------------------------------------------------- Put this directly underneath it ------------------------------------------------------------------- <div><label for="ao_dbump"><input type="radio" name="do" id="ao_archive" value="nopostcount" />Turn Off Post Count</label></div> What it does is create a radio button in your admin tools for the thread that, if you select it, will turn the post count for that thread off. NOTE: I didn't provide a means to turn it back on with this hack. |
#6
|
||||
|
||||
installed but when i go to turn off the post count i get a white screen
any ideas? |
#7
|
||||
|
||||
that is because no actual template or some type of redirect is called so nothing is printed
|
#8
|
||||
|
||||
still doesnt work tho, i did it to one thread then noted my post count and replied and my post count went up by one
|
#9
|
||||
|
||||
i could really use this hack if anyone could do it, it would be so appreciated
really thanks |
#10
|
|||
|
|||
if you want to disable post-count on a spesific forum (for all posts in this forum) you can do this in forum options...
go to the forum manager --> edit forum --> go to bottom and you have there "Count Posts Made in this Forum Towards User Post Counts" just check the 'no' box. hope this helped ya Dekel |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|