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)
-   -   Show Thread Enhancements - Sakera's Hide Poll Results (https://vborg.vbsupport.ru/showthread.php?t=146115)

Sakera 04-29-2007 10:00 PM

Sakera's Hide Poll Results
 
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.





tanyeri24 04-30-2007 06:28 PM

you are the king! best work ever in the last days..

FreshFroot 04-30-2007 06:31 PM

nice hack.. there is a hide poll hack.. but it doesn't have the extra features like yours. Good work on the hack :) Keep it up! :D

Sofia 04-30-2007 07:47 PM

Thanks a lot for this hack :)

lovelypk 04-30-2007 09:17 PM

looks good.

zeroxphilez 04-30-2007 09:28 PM

will install it.:)

talenak 05-07-2007 07:32 PM

Yay, Thanks!

henners 05-10-2007 08:16 AM

installed, great idea!

ra7al 05-10-2007 08:31 AM

i liked it

great job

** INSTALL **

Sakera 05-23-2007 04:47 PM

Confirmed working with 3.6.7


All times are GMT. The time now is 09:58 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.01080 seconds
  • Memory Usage 1,728KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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