Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Hide Poll Results Details »»
Hide Poll Results
Version: 1.0.3, by Chris M Chris M is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-20-2005 Last Update: 10-21-2005 Installs: 126
Uses Plugins Template Edits
 
No support by the author.

[high]Installation Instructions[/high]

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

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
1.0.3: Fixed bug that unregistered users can see poll results

Chris

Show Your Support

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

Comments
  #102  
Old 01-08-2007, 04:29 AM
CodeRed CodeRed is offline
 
Join Date: Aug 2005
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Grae View Post
It would also be convenient to be able to hide an existing poll... maybe an option in the edit poll display.
I agree... I have a bunch of polls right now that have some votes on there already and id love to be able to go and hide those existing ones...

thanks
Reply With Quote
  #103  
Old 01-11-2007, 01:31 AM
Raptor Raptor is offline
 
Join Date: Nov 2001
Posts: 499
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works 100% perfect with 3.6.4
Reply With Quote
  #104  
Old 02-24-2007, 09:07 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hurricane View Post
I know this is not the proper way of doing this, but here is a modification of the modified version of the regular hack.

This one is for admins. Only the admins can hide results to polls and admins can always see the results.

THIS IS NOT AN UPGRADE! Do not install with the other one! This is named differently so you can not overwrite the other one. You will have to uninstall the other one first and install this one.
Will the fix for hiding on vbadvanced work with this as well? I think the post is a page before where this admin version is originally posted.
the fix was to open currentpoll.php in vbadvanced module folder and changing
Code:
SELECT thread.pollid, open, threadid, replycount, forumid, question, poll.dateline, options, votes, active, numberoptions, timeout, multiple, voters, public $query[pollfields]
to
Code:
SELECT thread.pollid, hidepoll, open, threadid, replycount, forumid, question, poll.dateline, options, votes, active, numberoptions, timeout, multiple, voters, public $query[pollfields]
and
Code:
if ($pollinfo['showresults'])
to
Code:
if ($pollinfo['showresults'] && !$pollinfo['hidepoll'])
Reply With Quote
  #105  
Old 02-27-2007, 10:24 PM
Milad's Avatar
Milad Milad is offline
 
Join Date: Apr 2005
Location: Syro
Posts: 663
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hides the forever opened polls too!!!
Reply With Quote
  #106  
Old 03-20-2007, 03:17 PM
carlosacgj carlosacgj is offline
 
Join Date: Apr 2006
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Milad View Post
This hides the forever opened polls too!!!
me too, i can't seen the options for hides or show, the creator speak about to many options and i can't seen, any one please upload screan shots? :S:S:S:S:S:S:S
Reply With Quote
  #107  
Old 03-27-2007, 02:01 AM
rwoscott rwoscott is offline
 
Join Date: Jan 2007
Location: Melbourne
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hurricane View Post
I know this is not the proper way of doing this, but here is a modification of the modified version of the regular hack.

This one is for admins. Only the admins can hide results to polls and admins can always see the results.

THIS IS NOT AN UPGRADE! Do not install with the other one! This is named differently so you can not overwrite the other one. You will have to uninstall the other one first and install this one.
I installed this option.

Is it supposed to show the results to non admin users, after the poll has closed?

Seems most can't see the results, but 1 or 2 can.

Reply With Quote
  #108  
Old 04-19-2007, 12:17 AM
rwoscott rwoscott is offline
 
Join Date: Jan 2007
Location: Melbourne
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rwoscott View Post
I installed this option.

Is it supposed to show the results to non admin users, after the poll has closed?

Seems most can't see the results, but 1 or 2 can.

Can anyone answer this, please ?
Reply With Quote
  #109  
Old 04-29-2007, 10:49 AM
FiX FiX is offline
 
Join Date: Sep 2004
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, would be great if you could select if a specific poll should be hidden or not. Hiding ALL polls is not what I'm really looking for.
Reply With Quote
  #110  
Old 05-06-2007, 08:02 PM
Sergioh Sergioh is offline
 
Join Date: Dec 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*installed.

I'm using it for www.theblackparade.net and we're having "awards", this is great because the winners will be surprised instead of seeing their progress/failure in real time.
Reply With Quote
  #111  
Old 06-07-2007, 04:37 PM
teamelusive teamelusive is offline
 
Join Date: Dec 2004
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed. =) exactly what i was lookin' for. I do wish you could select which polls u could hide and not hide though...

thx!
Reply With Quote
Reply

Thread Tools

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 03:36 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.06920 seconds
  • Memory Usage 2,303KB
  • 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
  • (4)bbcode_code
  • (5)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
  • (3)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