![]() |
Closed Poll thread title
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:
|
Here's a preview.
|
Nice
|
Good idea - i'm going to use this :)
- miSt |
nice idea
|
Nice :D
|
good idea
|
...doesn't seem to do anything....strange.....
EDIT: Nevermind. It doesn't work when locking a poll (locking the entire thread, that is). |
Does this add a query for every poll in the forum? Or just the closed ones?
|
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 |
All times are GMT. The time now is 11:17 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|