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)

CodeRed 01-08-2007 04:29 AM

Quote:

Originally Posted by Grae (Post 938996)
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

Raptor 01-11-2007 01:31 AM

works 100% perfect with 3.6.4

Eq4bits 02-24-2007 09:07 PM

Quote:

Originally Posted by Hurricane (Post 915021)
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'])

Milad 02-27-2007 10:24 PM

This hides the forever opened polls too!!!

carlosacgj 03-20-2007 03:17 PM

Quote:

Originally Posted by Milad (Post 1192243)
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

rwoscott 03-27-2007 02:01 AM

Quote:

Originally Posted by Hurricane (Post 915021)
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.

:confused:

rwoscott 04-19-2007 12:17 AM

Quote:

Originally Posted by rwoscott (Post 1213306)
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.

:confused:

Can anyone answer this, please :D ?

FiX 04-29-2007 10:49 AM

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.

Sergioh 05-06-2007 08:02 PM

*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.

teamelusive 06-07-2007 04:37 PM

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

thx!


All times are GMT. The time now is 03:12 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.01273 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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