Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by Konqueror Konqueror is offline
Developer Last Online: Dec 2002 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 12-17-2001 Last Update: Never Installs: 17
 
No support by the author.

Who voted? v1.1b

1.1b:
-----
Important bugfix thanks to kypdurron:
Votes did show up even when the voter chose not to make it public.
Added seperate instructions if you want all votes to be public.

1.1:
----
The hack now also works with multiple choice polls.
Displays a message when no public votes are found.

1.0a:
-----
Important bugfix. Somehow I forgot to include the database changes in the instructions.
If you've already installed version 1.0 please just run this MySQL query:
ALTER TABLE pollvote ADD showvote TINYINT(1) DEFAULT "0" NOT NULL;

1.0:
----
Initial release

This hack was requested at https://vborg.vbsupport.ru/showthrea...threadid=33239
Basically what this hack does is that it gives voters the option to select if their vote is to be made public. If they select yes, everyone can see what they voted for.
I'm not good at writing descriptions, so just go and have a look here:







Have fun!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 12-18-2001, 07:48 PM
LanciaStratos's Avatar
LanciaStratos LanciaStratos is offline
 
Join Date: Oct 2001
Location: somewhere you're not
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Both me and my members thank you very much! Great hack!
Reply With Quote
  #3  
Old 12-18-2001, 08:00 PM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the great hack Konqueror.
Reply With Quote
  #4  
Old 12-18-2001, 08:04 PM
Tommy Boy Tommy Boy is offline
 
Join Date: Nov 2001
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent!
Reply With Quote
  #5  
Old 12-18-2001, 11:00 PM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it's great!!

thankz~
Reply With Quote
  #6  
Old 12-19-2001, 08:09 AM
Konqueror Konqueror is offline
 
Join Date: Dec 2001
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated! Please everyone download the new instructions...
Reply With Quote
  #7  
Old 12-19-2001, 05:11 PM
phase1 phase1 is offline
 
Join Date: Dec 2001
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I install this script and try to use it I get this error:
Fatal error: Call to undefined function: updateuserforum() in /hsphere/local/home/phase1/networking.phase1design.com/forums/poll.php on line 43

Anyone have a suggestion on how to fix, or does this script not work with old polls????
Reply With Quote
  #8  
Old 12-20-2001, 08:09 AM
Konqueror Konqueror is offline
 
Join Date: Dec 2001
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated version posted. This should also work for you now, phase1.
Reply With Quote
  #9  
Old 12-28-2001, 06:57 PM
kypdurron's Avatar
kypdurron kypdurron is offline
 
Join Date: Dec 2001
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack! one problem, however is that it doesn't work correctly.
It is displaying all votes, regardless of whether they are public or not.
I made the following additions to poll.php

PHP Code:
if ($votes $DB_site->query_first("SELECT pollid FROM pollvote
WHERE pollid='
$pollid' AND voteoption='$tmp'AND SHOWVOTE=1")) {
                     
$votes $DB_site->query("SELECT * FROM pollvote WHERE poll
id='
$pollid' AND voteoption='$tmp' AND SHOWVOTE=1 ORDER BY userid ASC"); 
Reply With Quote
  #10  
Old 12-29-2001, 12:57 AM
atrl's Avatar
atrl atrl is offline
 
Join Date: Oct 2001
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cant get the My SQL DB change right can anyone help by showing me a pic of what it should look like, im not sure of all the values? Please Help?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:45 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.07148 seconds
  • Memory Usage 2,291KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete