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
  #42  
Old 01-03-2008, 09:00 AM
Sakera Sakera is offline
 
Join Date: May 2002
Location: Trondheim, Norway
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This addon doesn't add any queries, it only utilises vBulletin's own functions to add and withdraw info from the database together with the rest of the poll data.. Not a single extra query.

It does use one extra str_replace for each loading of a poll, but this is not very significant, and is not the reason why you get shut down.

Get the reason from your host why you got shutdown before thinking this addon is the reason.

thanks,

Thomas
Reply With Quote
  #43  
Old 01-12-2008, 02:52 AM
chinch chinch is offline
 
Join Date: Dec 2004
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

excellent mod.

any way to hide the line counting voters to all but mod/admins?

Voters: 2. You have already voted on this poll
Reply With Quote
  #44  
Old 01-13-2008, 04:53 AM
rwoscott rwoscott is offline
 
Join Date: Jan 2007
Location: Melbourne
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*Installed.
Reply With Quote
  #45  
Old 01-14-2008, 05:37 PM
joeycano joeycano is offline
 
Join Date: Dec 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work with 3.6.8???
Reply With Quote
  #46  
Old 01-14-2008, 08:17 PM
Sakera Sakera is offline
 
Join Date: May 2002
Location: Trondheim, Norway
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, i see no reason it shouldn't. I havent installed 3.6.8 myself thought. Waiting for 3.7...
Reply With Quote
  #47  
Old 02-21-2008, 11:52 AM
HaCaoChien HaCaoChien is offline
 
Join Date: Jun 2005
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for a very good hack.
Reply With Quote
  #48  
Old 02-23-2008, 04:02 PM
Veer Veer is offline
 
Join Date: Feb 2006
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, working fine on 3.7.0 beta 5
Reply With Quote
  #49  
Old 03-03-2008, 05:47 PM
MMChrisS MMChrisS is offline
 
Join Date: Feb 2005
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

100th install and it works like a charm.

Running 3.6.8 as well...
Reply With Quote
  #50  
Old 03-06-2008, 12:14 PM
Gemilang Gemilang is offline
 
Join Date: Mar 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed this hack, works most excellently.

I have a very small request: if would be great if this can be restricted for admins' and mods' use only. Is this workable?
Reply With Quote
  #51  
Old 03-07-2008, 04:57 AM
richTV richTV is offline
 
Join Date: Aug 2006
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gemilang View Post
Just installed this hack, works most excellently.

I have a very small request: if would be great if this can be restricted for admins' and mods' use only. Is this workable?
hi !

i'd request this option too please.

or at least an option for certain Usergroups.

tnx!

*clicked installed for later use*
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 09:03 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.05188 seconds
  • Memory Usage 2,304KB
  • 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_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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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