The Arcive of vBulletin Modifications Site. |
|
Embedded Poll (like UBB.Threads) Details »»
|
|||||||||||||||||||||||||
Embedded Poll Hack v1.1 by Ianomed, a request from TheAdminZone
It's a simple addition to showthread.php, and two template mods (showthread + postbit[legacy]) What it does is embed a poll in the first post, rather than show it at the top of the thread. On pages 2+ of course it'll show it at the top of the thread, since post 1 won't be displayed there. See attached screenshot for an example, or check out this poll Works with and tested on vB 3.0.6 Changelog: v1.1 - 30 January 2005 - Added support for hybrid+threaded mode v1.0 - 24 January 2005 - Initial release --- Install instructions --- in showthread.php, find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
open template SHOWTHREAD, find (near the top): PHP Code:
PHP Code:
PHP Code:
PHP Code:
![]() Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
cool idea! I will check it out later! Thanks for sharing.
|
|
#3
|
||||
|
||||
|
My pleasure
|
|
#4
|
|||
|
|||
|
/me check and please!!
|
|
#5
|
||||
|
||||
|
Hey Nexy, good to see you around
![]() And nice to see you're pleased with the hack. |
|
#6
|
|||
|
|||
|
Quote:
![]() yeah, i just applyed the hack, and it's good... i thought to recode it a bit, but it's useless, you worked it out well. btw, in showthread.php there is 3 "$postbits .= construct_postbit($post, $template);" ... specify what is the one to edit... -- or guys, edit the three, you will have the same setting for all kind of displays (threaded as well)
|
|
#7
|
||||
|
||||
|
lol, indeed. I've been rather busy with work, enjoying a short breather now. As such not been around here much.
About the 3 sequences, I've never used threaded/hybrid mode on any board whatsoever, so it kinda escaped my attention to make it tick for those as well. *whistles* I'll post an update to include instructions for it shortly, thanks for pointing it out
|
|
#8
|
|||
|
|||
|
Thats fantasitc.
Doing it now for sure. |
|
#9
|
||||
|
||||
|
thanks
![]() keep in mind it doesn't work for threaded and hybrid mode, yet. I'm posting up a revised version that includes instructions for getting that to work too. Thusfar all admins I asked never use those modes, but you never know
|
|
#10
|
|||
|
|||
|
nice hack... Might install it later.
Thanks. |
![]() |
|
|