Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[HTL] and [Normal] Hide Poll Results Details »»
[HTL] and [Normal] Hide Poll Results
Mod Version: 1.1, by Hurricane (Coder) Hurricane is offline
Developer Last Online: Mar 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.7 Rating: (2 votes - 3.00 average) Installs: 35
Released: 07 Apr 2004 Last Update: 05 Apr 2005 Downloads: 33
Supported DB Changes  

Hide Poll Results
Version: V1.1
vB-version: 3.0.7
Developer: Glenn H. Shelton III
Install difficulty: Medium
File edits: 12
Template edits: 3



History & Hack Information
==========================
First of all, MAJOR credit goes to Firefly and Scott MacVicar for the original creation of this hack in VB2.

I attempted to just port this over to VB3, but that did not quite happen. Most of it was rewritten, but I could not have done it without the VB2 hack as a guide.

What is Hide Poll Results ver 1?
This hack allows you to choose whether or not you want the results of your poll displayed while the polls are open. It only allows the original poll poster, admins and mods of that form to view the results of the poll and none of the regular users. They can only view the poll if the poll is closed either by a admin/mod or the poll ends.

Testing
=======
Tested on vBulletin 3.0.0 Gold, across multiple hacked and unhacked installations.
Updated For vBulletin 3.0.7 on 04/05/2005

Thanks to
=========
Firefly and Scott MacVicar for the original VB2 version and the idea.
68 Z-28 for making the request for a VB3 version.
Boofo for telling me to make it happen.
pjk for the changes to the pollresults_table TEMPLATE

About me
========
This is my first public hack release. It seems all the good ideas for VB2 had already been done by the time I got there. I am not new to php and MySQL however and I hope this is not my last release.



HACK INSTALLATION DETAILS:
Files modified for this Hack:
poll.php
showthread.php

Templates modified for this Hack:
editpoll
newpoll
pollresults_table

DB Tables modified for this Hack:
poll

New DB columns for this Hack:
hidepoll


HACK UPGRADE DETAILS:
See the install file for the sections of:
Poll.php
FIND: (Around Line 677)

showthread.php
FIND: (Around Line 653)

pollresults_table TEMPLATE

No other changes were made from V1 to V1.1

Support is available in this thread only.

As always, if you install, please click the install button.

Thanks!

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
[HTL] and [Normal] Hide Poll Results Hurricane vBulletin 3.0 Beta Releases 6 07 Apr 2004 15:14

Comments
  #2  
Old 07 Apr 2004, 15:24
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Excellent job! Clicking install.
Reply With Quote
  #3  
Old 14 Apr 2004, 13:56
Chris Blount Chris Blount is offline
 
Join Date: Mar 2002
Okay, we may have found a possible bug.

We created some polls and checked the "Hide results" checkbox AND the checkbox labeled "Make votes public: Displays all users who voted, and what choice they voted for".

All users cannot see the results but some of our users have reported that they can see the usernames of who voted in the polls while the polls are still open.

I really don't know if there is anything you can do about this but I thought I would report it anyway in case you have some idea why it is happening.
Reply With Quote
  #4  
Old 14 Apr 2004, 15:06
Hurricane Hurricane is offline
 
Join Date: Mar 2002
Originally Posted by Chris Blount
Okay, we may have found a possible bug.

We created some polls and checked the "Hide results" checkbox AND the checkbox labeled "Make votes public: Displays all users who voted, and what choice they voted for".

All users cannot see the results but some of our users have reported that they can see the usernames of who voted in the polls while the polls are still open.

I really don't know if there is anything you can do about this but I thought I would report it anyway in case you have some idea why it is happening.

That is not really a bug. You have just turned on 2 features. It is like telling it not to tell you how many times the light has been turned on, but show me who turned it on.

These 2 should not be used together.
__________________
Hurricane
Reply With Quote
  #5  
Old 18 May 2004, 11:27
ZeroZone ZeroZone is offline
 
Join Date: Jan 2004
What should I modify to allow only admin to use this poll's option (hide result)?
Reply With Quote
  #6  
Old 26 Oct 2004, 08:09
TheMusicMan's Avatar
TheMusicMan TheMusicMan is offline
 
Join Date: Oct 2002
Real name: John
Originally Posted by ZeroZone
What should I modify to allow only admin to use this poll's option (hide result)?
Has anyone installed and tested this hack on vB303...?
Reply With Quote
  #7  
Old 26 Oct 2004, 17:32
TheMusicMan's Avatar
TheMusicMan TheMusicMan is offline
 
Join Date: Oct 2002
Real name: John
Thumbs up UPDATE: Hide Results in Poll Works for vB3.0.3

Hide Poll Results hack works with vB3.0.3

Today Colin F installed this hack firstly on my vB3.0.3 development/test board and it all worked OK. He then installed it onto my live www site here. It works fine.

The Hide Poll Results hack works 100% error free and though I am sure there are many good coders/developers on here, I can thoroughly recommend that anyone wanting any Mod installed you should really contact Colin F. His standard of work is superb, his customer relation skills are excellent, and he's a totally cool chap too.

He will certainly have all of my mod work... cheers Colin...
Reply With Quote
  #8  
Old 26 Oct 2004, 17:55
HiDeo's Avatar
HiDeo HiDeo is offline
 
Join Date: Oct 2003
Thanks for this hack
Reply With Quote
  #9  
Old 02 Nov 2004, 12:04
JamesFrost JamesFrost is offline
 
Join Date: Feb 2003
Looks great - is there a non HTL version?
Reply With Quote
  #10  
Old 02 Nov 2004, 12:05
JamesFrost JamesFrost is offline
 
Join Date: Feb 2003
Originally Posted by JamesFrost
Looks great - is there a non HTL version?
ignore me - just read the readme
Reply With Quote
  #11  
Old 02 Nov 2004, 15:52
JamesFrost JamesFrost is offline
 
Join Date: Feb 2003
Originally Posted by JamesFrost
ignore me - just read the readme
installed - works brilliantly. Many thanks.
Reply With Quote
  #12  
Old 20 Nov 2004, 15:49
Kamran Kamran is offline
 
Join Date: Sep 2002
Post

Hi,

I've installed the hack, but when I click on any thread I get the following error:

Parse error: parse error, unexpected T_ELSE in /home/talkwres/public_html/forum/showthread.php on line 649

Heres that part of the code from the file:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Any suggestions?

Thanks.

Last edited by Kamran : 20 Nov 2004 at 16:08.
Reply With Quote
  #13  
Old 20 Nov 2004, 16:34
TheMusicMan's Avatar
TheMusicMan TheMusicMan is offline
 
Join Date: Oct 2002
Real name: John
I have also found a bug in this....

I installed onto vB303 which works fine except that when using vBadvanced and one has a random poll pulled into the portal page... if you have chosen to hide the results of this poll that is displayed on portal, you still see the bitmap and hence users can see the results of a poll which should be hidden.
__________________
John
Reply With Quote
  #14  
Old 20 Nov 2004, 17:32
Kamran Kamran is offline
 
Join Date: Sep 2002
OK - I re-did the showthread file, and it seems to work now

Just a quick question - is there a way to stop moderators seeing the results also - or have it so that the only way to see the results is through the admin panel - until the poll closes?

Thanks.
Reply With Quote
  #15  
Old 03 Feb 2005, 21:05
ambumann ambumann is offline
 
Join Date: Jun 2004
Great hack, installed right away!
__________________
www.ambulanse-norge.no
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 19:54.

Layout Options | Width: Wide Color: