vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Home Enhancements - Show poll in forumhome (https://vborg.vbsupport.ru/showthread.php?t=155170)

Developer 08-13-2007 10:00 PM

Show poll in forumhome
 
Show poll in forumhome
V. 1.0.0
Description::.

This is a ported version from my hack for vB3.5.4
This hack shows poll of ur choice in forumhome with some conditions
Hack Features::.
1-easy yo install
2-on/off
3-display order for polls/options
4-if user voted, poll disappear

Installation::.
1-Import The product.
2-open template forumhome
find:
Code:

$navbar
below it add:
Code:

<if condition="$show[devel_poll]">
$poll
</if>

or just use
Code:

$poll
if you want to display results
History::.
1.0.0 On 14. Aug 2007 Initial Version.
Hack Languages::.
  • English
Details::.
2 plugins, 9 phrases, 0 templates, 4 options, 2 queries(for any option uses additonally query)[reading]

Hornstar 08-14-2007 08:34 AM

Maybe show a picture of what it looks like on the forumhome?

Developer 08-14-2007 09:00 AM

just let it go with your imagination :D
it is the same as in the pic displayed at the bottom of the navbar ...

Deepdog009 08-14-2007 03:04 PM

alrighty then...

rayphua 08-14-2007 03:29 PM

Interesting idea. Tried installing it, but ran into some problems.

1. I have 3 polls running currently, but only 1 is showing at forumhome. I did place all 3 threadids as per your instructions in the settings but it doesn't show.
2. You left 2 options in your instructions for $poll, can you please elaborate what the difference is for the two of them.
3. Wouldn't the use of pollid be more suitable than threadid?

Please advice, thanks.

Zaiaku 08-14-2007 06:50 PM

This can be pretty useful but I give it time to develop more.

Techno05 08-15-2007 04:00 AM

well no image no download but thanks anyway. I like to know what I am getting.

Triky 08-15-2007 11:18 AM

Installed. Thank you, Developer.
This could be helpfull on the future of Web City. :)

Developer 08-15-2007 02:38 PM

Quote:

Originally Posted by rayphua (Post 1317420)
Interesting idea. Tried installing it, but ran into some problems.

1. I have 3 polls running currently, but only 1 is showing at forumhome. I did place all 3 threadids as per your instructions in the settings but it doesn't show.
2. You left 2 options in your instructions for $poll, can you please elaborate what the difference is for the two of them.
3. Wouldn't the use of pollid be more suitable than threadid?

Please advice, thanks.

1- this will work if you choose to order by randomly, voters number, last vote date
and ofcourse when the condition becomes true ..
2- if someone voted on the poll it will not shows the results in the forumhome .. so you have to choose what to put as u like ..
3- i doesn't really matter, it is the same thing ..

Developer 08-15-2007 02:40 PM

Quote:

Originally Posted by Techno05 (Post 1317849)
well no image no download but thanks anyway. I like to know what I am getting.

as i said nothing different from the original poll after the navbar the poll appears before forums list .. btw: those screen shots was taked from the mod in the forumhome ..


All times are GMT. The time now is 10:01 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
  • Page Generation 0.01090 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete