Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Sakera's Hide Poll Results Details »»
Sakera's Hide Poll Results
Version: 1.2, by Sakera Sakera is offline
Developer Last Online: Jan 2015 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.7 Rating:
Released: 04-29-2007 Last Update: 11-01-2008 Installs: 236
DB Changes Uses Plugins Template Edits
 
No support by the author.

What is this?

I looked around for a hack to hide poll results, but didn't find any hack that suited my needs, and let users hide results for specific polls.

This Modification lets your users hide poll results for everyone but Moderators and Administrators, and the thread owner himself. They can choose to hide the results forever, or to show them automatically when the thread is closed or hit timeout.

Please see attached screenshots to get an idea on how it works.


Features
- Hide poll results forever
- Hide poll results until poll is closed or poll hits timeout.
- Shows a notice to Users that see the results (Moderators, Admin and thread starter) that the results are hidden.
- Moderators and Admin's can change settings via 'Edit Poll'


Template Edits
All template edits are done automaticly when needed. Hopefully this doesn't break in situations with hacked templates, if so happens please notify me what hack caused the problem.


Version History:[/size]
  • 1.0 BETA - First beta release
  • 1.1 - Fixed bug: "The results are hidden for everyone but ..." text showed for owner and moderators even if the results where not hidden.
  • 1.2 - Fixed bug: Bug showing voters when it was a public poll. Bug with clear.gif revealing poll status.




Please click INSTALL if you use this hack.




Show Your Support

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

Comments
  #92  
Old 11-26-2009, 10:25 AM
maximutt maximutt is offline
 
Join Date: Nov 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome to hear, Sakera!

I love this mod!
Reply With Quote
  #93  
Old 11-30-2009, 08:55 AM
Veer Veer is offline
 
Join Date: Feb 2006
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will wait for vb4 version.
Reply With Quote
  #94  
Old 12-20-2009, 10:10 PM
taylorpiano taylorpiano is offline
 
Join Date: Nov 2009
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need this mod too for photo contests.
Does this allow you to put code inside the text block?

I asked this same question over on Vbulletin.com and was directed to this thread.

Here is my problem, when I run the weekly photo contests since March on an older version of VB, think 2.3, I use the polls in VB to create them.
The poll post shows a thumbnail of each of the 6 finalists and users can click on the thumb to see a larger version before they choose to vote.

Thing is now that we have moved to a new server, upgraded all the software, the thumbnails in all the previous polls or any current polls I try to create do not show up.
Here is a link
http://www.bytephoto.com/forums/showthread.php?t=6976


Here is the code I have have always used in the past just by pasting it in the text box of each poll choice.

<a href="#" onclick="window.open ('/photopost/data/947/11221POTW-Finalist-2009-10-41.jpg','','width=624, height=946')"><img src="/photopost/data/947/11221POTW-Finalist-2009-10-41-thumb.jpg"></a>

How can I get this code to work or what do I need to change to have it work.

Also, when we reveal the results at the end of the week, I only need the counts per picture and the total votes. I don't want the users to see who voted for who.
Although this could expose those voting for themselves LOL, I still dont think its a good idea to reveal all the users choices. It could really create some hard feelings amongst the photographers.
Reply With Quote
  #95  
Old 12-21-2009, 06:16 AM
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Location: Worthing, UK
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just use normal BB code to show images in my polls,
HTML Code:
[img]http://www.marineaquariumsa.com/calendar/1a.jpg[/img]
Works fine, see here http://www.marineaquariumsa.com/showthread.php?t=13605
Reply With Quote
  #96  
Old 12-21-2009, 02:04 PM
Sakera Sakera is offline
 
Join Date: May 2002
Location: Trondheim, Norway
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by taylorpiano View Post
Also, when we reveal the results at the end of the week, I only need the counts per picture and the total votes. I don't want the users to see who voted for who.
Although this could expose those voting for themselves LOL, I still dont think its a good idea to reveal all the users choices. It could really create some hard feelings amongst the photographers.
No problem to use bbcode img as stated in previous post.

Make sure to uncheck "public poll" ten the voters woun't be revealed.
Reply With Quote
  #97  
Old 12-21-2009, 08:52 PM
taylorpiano taylorpiano is offline
 
Join Date: Nov 2009
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But I need the thumbnail to show next to the voting and only the large version once someone clicks on the thumbnail.
The code above [ img ]http://www.marineaquariumsa.com/calendar/1a.jpg[ /img ] will only show a large version or the thumbnail.
This is what I have used in the past onclick="window.open

I added spaces above to the code so the code would show and not the thumbnail
What happens when I reveal the poll? I only need them to see the count, not the people who voted.
Reply With Quote
  #98  
Old 01-02-2010, 09:51 PM
Sakera Sakera is offline
 
Join Date: May 2002
Location: Trondheim, Norway
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

VB4 version released

https://vborg.vbsupport.ru/showthread.php?t=231976
Reply With Quote
  #99  
Old 10-02-2010, 06:31 PM
otto otto is offline
 
Join Date: Jan 2006
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

great Hack - and works fine with vb 3.8.4 and vbadvanced. Thanks!
Reply With Quote
  #100  
Old 10-01-2012, 08:47 PM
testerv testerv is offline
 
Join Date: Jan 2012
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hope this works for 3.8.7.
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 11:52 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05972 seconds
  • Memory Usage 2,299KB
  • Queries Executed 24 (?)
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_html
  • (1)bbcode_quote
  • (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_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