The Arcive of vBulletin Modifications Site. |
|
Closed Poll thread title Details »»
|
|||||||||||||||||||||||||
A user requested that if a poll is closed the thread be preceeded by Closed Poll: instead of just Poll:.
Here's a few lines of code that did it for us. (see attachment ) All you have to do is insert a few lines of code to forumdisplay.php. Good luck, hope it helps. History:
Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Here's a preview.
|
|
#3
|
||||
|
||||
|
Nice
|
|
#4
|
||||
|
||||
|
Good idea - i'm going to use this
![]() - miSt |
|
#5
|
|||
|
|||
|
nice idea
|
|
#6
|
||||
|
||||
|
Nice
|
|
#7
|
||||
|
||||
|
good idea
|
|
#8
|
|||
|
|||
|
...doesn't seem to do anything....strange.....
EDIT: Nevermind. It doesn't work when locking a poll (locking the entire thread, that is). |
|
#9
|
||||
|
||||
|
Does this add a query for every poll in the forum? Or just the closed ones?
|
|
#10
|
|||
|
|||
|
Quote:
The guys that wrote vB are sharp, we're not dealing with "ALL" the posts in the forum when we do a display. We get the number of threads that is set in the admin panel displayed. So, if I'm reading this code correctly, a forum display of 15 threads occuring would yield - worst case senario if all 15 threads have polls - 15 additional queries per forumdisplay. This is usually about 3 or 4 from what I've seen. Boards with more polls may want to be aware of the over head though. Thanks. That help? Regards |
![]() |
|
|