vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Hide Poll Results (https://vborg.vbsupport.ru/showthread.php?t=98957)

Chris M 10-20-2005 10:00 PM

Hide Poll Results
 
[high]Installation Instructions[/high]

Step 1: Upload the .xml file to the Product Manager
Step 2: Click [high]INSTALL[/high]:D

Requested by: https://vborg.vbsupport.ru/showthread.php?t=95019 (mrsbuzzy, 68 Z-28 & 1996 328ti)

[high]What does this Plugin do?[/high]

Basically, this will disable poll results from showing from everyone :devious:

[high]Are there any screenshots?[/high]

See my next post :)

[high]Version History:[/high]

1.0.0: First release
1.0.1: Added more functionality (Results shown when poll is closed, hidden while open); Corrected 3 bugs (2 phrases in the added template, pollresult_voted now cached in cache_templates) ; 1 template edit / overwrite required (pollresult_voted) to add new phrases;
1.0.2: Fixed another bug - Should allow you to vote on unvoted polls now :p
1.0.3: Fixed bug that unregistered users can see poll results

Chris

Chris M 10-21-2005 04:24 PM

[high]Screenshot[/high]

See attached :)

Chris

nexialys 10-21-2005 04:50 PM

kinda like something that will be used for HotM here.. lol

EDIT: would be good to add the TEXT in a <phrase> so we don't have any problem with translations.. :)

trancetopia 10-21-2005 05:01 PM

If a poll has been selected to close after x days, is there an option to to hide the results until the poll has been closed? If not, would this be easy to do?

Chris M 10-21-2005 05:10 PM

This is simply to hide polls - I plan to expand the functionality to perform more detailed instructions at a later date;

These will include:

- Hide poll until closing date
- Hide poll from specific usergroups
- Hide poll in specific forums

:)

Chris

trancetopia 10-21-2005 05:21 PM

Cheers Chris, sounds like exactly what I'm after - I'll wait until the later release.

Can I make a request - I'm not sure if this plugin is the right place for this but do you think it would be possible to add the ability to put a check in to close the thread if the poll has closed.

This may be out of scope of what this plugin does but thought I'd ask :)

Chris M 10-21-2005 05:32 PM

I'll consider adding it since it is to do with poll functionality :)

Chris

trancetopia 10-21-2005 05:55 PM

You are da man Chris... Really looking forward to this plugin now :)

Bad Bunny 10-21-2005 06:07 PM

Quote:

Originally Posted by Chris M
This is simply to hide polls - I plan to expand the functionality to perform more detailed instructions at a later date;

These will include:

- Hide poll until closing date
- Hide poll from specific usergroups
- Hide poll in specific forums

:)

Chris

That sounds great. It's a unique idea, and with the added functionality it will be great.

Chris M 10-21-2005 06:32 PM

I've already completed the first request - Now when the poll is closed, it will display the results and all the information previously forced into submission :)

My next update will be to add forum-specific and usergroup-specific controls and the ability to enable/disable all 3 new functionalities if you do not need them; I will then look into auto-closing threads after polls have closed :)

Chris


All times are GMT. The time now is 12:21 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.01015 seconds
  • Memory Usage 1,734KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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