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)
-   -   Miscellaneous Hacks - Poll Write-In & Change Vote Hack (https://vborg.vbsupport.ru/showthread.php?t=142964)

Dennis B 06-20-2007 09:39 PM

Excellent hack, thanks!

georgeshaner 07-13-2007 12:04 PM

hi,
this looks great.
i'm new to this, so please forgive the basic question:
when you say to download/install the xml file, what location/path do i use?
thanks so much for your efforts.

gmattox 10-05-2007 01:42 PM

I see this hasn't been posted on in awhile, but I need to reiterate the request of Shana. Is their a way to make it so only the admins see who added the write in? I am conducting some serious polls, and don't want the other users seeing who added it. That, or is their a way to just remove the username after it altogether?

gmattox 10-05-2007 03:57 PM

OK, I think I figure out how to remove it on my own. In the xml file that you download, look for this line
Code:

$optionvalue = $optionvalue . " (" .$vbulletin->userinfo[username]. ")";
                                $poll->set_option($optionvalue, $counter - 1,

And put // in front of the first $optionvalue. It comments out the username part and doesnt show it when the poll options are added.

If anyone has any idea how to make it so that only admins can see the name of who added it, please let me know...

fb-guy 10-09-2007 10:15 PM

Hello all,

I am looking for a way of creating a year end "awards" for our members. Our community builds brick ovens, and we want to set up categories, let members nominate ovens, and them we all get to vote. At the end, we will count the votes, and send out physical awards (things we will send to the winners).

Can I do this with the Poll Write-in Hack?

What do you think?
FB

zetetic 10-12-2007 04:08 AM

I've installed this on 3.6.8 and I'm having a problem with votes disappearing on write-in polls.

I haven't narrowed down exactly when it happens, but it's definitely happening.

meissenation 10-14-2007 12:02 AM

Very, very cool! Awesome mod!

gable74 11-07-2007 09:52 PM

Can someone explain how and where to install the .XML file please? I try to upload it in the upload/download styles section and it give me an invalid file error. Can i just upload the .xml to a directory someplace? Thanks

gable74 11-07-2007 10:19 PM

never mind, i figured it out. Had to goto "plug-ins and products"-> product manager-> upload the .xml

TomasDR 11-25-2007 01:53 PM

Quote:

Originally Posted by fb-guy (Post 1356517)
Hello all,

I am looking for a way of creating a year end "awards" for our members. Our community builds brick ovens, and we want to set up categories, let members nominate ovens, and them we all get to vote. At the end, we will count the votes, and send out physical awards (things we will send to the winners).

Can I do this with the Poll Write-in Hack?

What do you think?
FB

I have had personal family issues so sorry for the delay. Yes this will work since it allows users to add write-in votes to a poll. You would need to setup an initial poll with a couple choices first of course.


All times are GMT. The time now is 06:20 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
  • Page Generation 0.01285 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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