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

simple_john 06-09-2007 08:59 PM

great addition...

thanks

Skedoozy 06-12-2007 11:33 PM

So I have this installed and no matter what settings I use it still has the "The results are hidden for everyone but Administrators, Moderators and thread starter." at the top of any poll I post, even if I have it set Always show results. I don't see it at the top of any one else's posted polls though.

o0Hubba0o 06-13-2007 02:25 AM

This sounds like a mod I could use for sure. There was a mod put out in an older version of vB that made a user post in the thread before they could vote, if that could be added to this it would be even better.

As it is I'll have to install this one this weekend.

Sakera 06-13-2007 02:33 PM

Quote:

Originally Posted by Skedoozy (Post 1267245)
So I have this installed and no matter what settings I use it still has the "The results are hidden for everyone but Administrators, Moderators and thread starter." at the top of any poll I post, even if I have it set Always show results. I don't see it at the top of any one else's posted polls though.


Thanks. There was a small error in the script that now should be corrected. Please re-download the script, and update.

CMGU 06-13-2007 02:35 PM

Thanks excellent hack

Shana 06-15-2007 03:31 AM

Unable to add cookies, header already sent.
File: /hermes/web09/b2488/pow.djmessiah12/htdocs/knightsofmaple/forum/showthread.php(636) : eval()'d code
Line: 6

FuzzyWuzzy22 06-25-2007 05:50 AM

I see a "1" or "2" depending on the hide option i picked.

Its above the forum logo when viewing hidden forum results

ahmednadir 06-25-2007 05:55 AM

great kack.....installed

Sakera 06-25-2007 01:33 PM

Quote:

Originally Posted by FuzzyWuzzy22 (Post 1275894)
I see a "1" or "2" depending on the hide option i picked.

Its above the forum logo when viewing hidden forum results

Fixed. Re-download and re-install :)

FuzzyWuzzy22 06-25-2007 04:12 PM

thanks very much :)

Freezerator 08-28-2007 07:27 AM

Great hack, only your please click install link links to another hack :)

Dr.H 09-02-2007 03:39 PM

This hack looks perfict. Is there a way to install it into 3.5?

edytwinky 09-05-2007 12:57 AM

Works great!

MagpieTear 09-19-2007 11:41 PM

Just the ticket for my Bike of the Month poll! :up:

oicyu8chu 09-20-2007 04:30 PM

Thanks a lot. Works great on 3.6.8.

Choo

Sakera 09-20-2007 04:33 PM

Quote:

Originally Posted by Freezerator (Post 1327214)
Great hack, only your please click install link links to another hack :)


:o:o:o

Thanks, fixed :)

MagpieTear 10-15-2007 11:35 AM

Silly question, It hides the results within the poll itself, but they're still showing in the "Current Poll" sidebar. Is this a result of a bad installation or do I need to reconfigure the current poll sidebar somehow?

Artes_Marciales 11-18-2007 06:04 PM

Excellent hack!!
Thanks :)

letsjoy 12-02-2007 05:53 PM

Imported that product sucessfull but

but nothing happed ?

and nothing in vBulletin Options? ??

any clue ?

letsjoy 12-04-2007 07:09 PM

any support here ??????

Sakera 12-04-2007 07:21 PM

There aren't any options in the control panel if thats what you mean. What version of vBulletin do you have, and what other modifications do you have installed? Is the hack enabled?

And can i have a link to where you tried to install it?

letsjoy 12-08-2007 10:20 PM

I mean its not working n how it works...

I have (vBulletin 3.6.7 PL1)

remaining things are fine i have vbseo, awards like mods etc

its enabled,

link: http://forum.chatdd.com

Thanks

letsjoy 12-12-2007 11:24 PM

waiting for reply :)

joeycano 12-13-2007 02:55 AM

Question, Does this hack allow users to (1) only hide poll results or does it allow users to (2) make a poll and hide poll results.

Sakera 12-13-2007 02:51 PM

It allows users to make a poll AND hide poll results...

(if i understood your question correctly:))

joeycano 12-14-2007 12:23 AM

Wow, just want I am lookin for! Anyone have a live demo I can glance at???

kylek 12-30-2007 05:31 PM

Can this be set so only admins can hide and view poll results? Or not allow regular members to use this? Otherwise it looks exactly what we were looking for.

letsjoy 12-30-2007 07:21 PM

thnx ur passport added

Sakera 12-31-2007 08:54 AM

Quote:

Originally Posted by kylek (Post 1412057)
Can this be set so only admins can hide and view poll results? Or not allow regular members to use this? Otherwise it looks exactly what we were looking for.

With a few modifications yes. If you are familiar with php you can do this easy, or i can help you. But later this new year! Just contact me via pm the second week of newyear :)

Keesa 01-03-2008 12:26 AM

This thing has possibly killed my server...

does it pull queries from showthread.php?

My host shut me down and this is the only new thing I installed.

I r not happy nau.

Uninstalling.


All times are GMT. The time now is 05:22 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.01309 seconds
  • Memory Usage 1,782KB
  • 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_quote_printable
  • (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
  • (40)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