![]() |
Embedded Poll (like UBB.Threads)
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:
|
cool idea! I will check it out later! Thanks for sharing.
|
My pleasure :)
|
/me check and please!!
|
Hey Nexy, good to see you around :)
And nice to see you're pleased with the hack. |
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) |
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 :D |
Thats fantasitc.
Doing it now for sure. |
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 ;) |
nice hack... Might install it later.
Thanks. |
All times are GMT. The time now is 11:02 PM. |
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:
|