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 ..

MaxBentum13 08-16-2007 04:46 AM

Nice addon, was looking for this. Thanks a lot.
Is it possible to show the results of the poll on forumhome after someone voted?
I tried both:
Code:

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

and
Code:

$poll
but both didn't show the poll results on forumhome after someone voted.

Greets

rayphua 08-16-2007 08:30 AM

I have the following problems.

I have 3 polls currently selected. But...

1. I have used Random, Voters Number, Last Vote Date, but all 3 polls do not show up at the same time even when voter has not voted on any of the 3 polls. I only see one showing up.

2. As per the above post, I would like to see all selected polls showing up even after voter has voted.

Adam21 08-16-2007 10:20 AM

how do we change the dimensions to display it in a sidebar?

erdiyilmaz 08-16-2007 09:34 PM

i'm using vbSEO and my threads have no id, they have names.
for ex.
Code:

www.forum.com/poll.html
how can i show polls? or how can i find its id number?

ABDALWAHID 08-25-2007 12:13 AM

Quote:

Originally Posted by erdiyilmaz (Post 1319232)
i'm using vbSEO and my threads have no id, they have names.
for ex.
Code:

www.forum.com/poll.html
how can i show polls? or how can i find its id number?

Edit your pool and see this number :)

rb290 08-25-2007 05:39 AM

Can I get it to stay even after you voted?

SuperTaz 08-25-2007 06:13 AM

Very nice. Installed.

vspro 08-27-2007 05:38 AM

why it only show result 0% ( i hav voted ) n that's not right??
can it vote for that poll??

Pvtiste 10-03-2007 05:07 PM

Hi,

I have a problem: I don't vote the poll but I see the result instead of the poll...
Any idea ?

thx

The Fathom 11-16-2007 12:02 PM

How can you change the width of this poll?

wii 11-16-2007 12:43 PM

What the difference from the old version ? I´m using the old code on my vBulletin 3.6.8 - works just fine.

tirol07 11-19-2007 02:18 PM

Installed,Thank you

max8028 11-19-2007 02:54 PM

Is there a way to put in side columns?

ChurchMedia 12-08-2007 05:31 AM

Clarification:
Looking at the code I don't see how this mod could show more than one poll at a time.
????

A modification you can make:
People may not know what the poll is about, so I added a small piece of code that will add a link to the thread for the poll.

You need to make the same change in TWO TEMPLATES -- the polloptions_table template and the pollresults_table template.

FIND:
Code:

$pollinfo[question]
ADD AFTER:
Code:

<if condition="(THIS_SCRIPT == 'index')"> (<a href="showthread.php?t=$pollinfo[threadid]">Go To Thread</a>)</if>

Sarcoth 02-13-2008 07:12 PM

I occasionally do like to get some attention to important polls, but I'm not a big fan of posting the polls at the top of the forums like that. I much would rather there be a popup; similiar to new private messages; that tell the users there is a new poll requiring their attention.

Good job though.

CLF 02-14-2008 05:33 AM

Is there a way to put in side columns?

snowlion 04-14-2008 08:58 AM

how do i make more than 1 poll show on forumhome ?

Baldilocks 04-16-2008 07:32 PM

Can i put this code anywhere in a side column?

Chadi 05-17-2008 01:18 AM

This does not seem to work in 3.7

Astrof 05-26-2008 03:56 PM

Quote:

Originally Posted by chadi (Post 1522222)
This does not seem to work in 3.7

It works, it's just disabled by default.

You need to go to AdminCP -> vBulletin Options -> Show Polls in Forumhome.

F0xy 06-04-2008 06:20 PM

Quote:

Originally Posted by Astrof (Post 1531978)
It works, it's just disabled by default.

You need to go to AdminCP -> vBulletin Options -> Show Polls in Forumhome.

i follow your options but i can't find 'Show Polls in Forumhome' in 3.7.1 in the location you said

EDIT: its ok, i was being an idiot!

want3ed 06-09-2008 10:02 AM

in 3.7.1 my any users saying this,

When i use poll in forumhome that time i saw this error :

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

futureye 07-06-2008 06:09 AM

i wish the poll to be showen always
to show the result

futureye 07-06-2008 06:10 AM

works fine in 3.7.2

xtrung 08-18-2008 09:23 AM

Quote:

Originally Posted by futureye (Post 1567915)
works fine in 3.7.2

work in 3.7.2 ???
i use 3.7.1 don't work

edytwinky 09-06-2008 01:07 AM

Does anybody have a link to their forum using this I can take a look at?

Amaresh 09-10-2008 10:08 AM

not working in 3.7.3

gatorenvy 09-10-2008 06:32 PM

I'm getting this:

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.


any fixes?

SIINSI 10-15-2008 12:58 AM

This works but, like others said, how do I put this in a sidebar on forumhome?

crkgb 12-02-2008 11:07 AM

Quote:

Originally Posted by gatorenvy (Post 1619281)
I'm getting this:

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.


any fixes?

Will this ever be addressed? The mod adds a useful feature, but is worthless till the issue is fixed. Or at least let us know please where the magic line needs to be added.


All times are GMT. The time now is 06:05 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.01685 seconds
  • Memory Usage 1,813KB
  • 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
  • (9)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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