Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Prevent users from viewing poll results before voting. Details »
Prevent users from viewing poll results before voting.
Mod Version: 1.00, by Pyrix (Member) Pyrix is offline
Developer Last Online: Mar 2020 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.4 Rating: (3 votes - 4.33 average) Installs: 51
Released: 02 Mar 2007 Last Update: 02 Mar 2007 Downloads: 225
Not Supported Uses Plugins  

This seems to be a popular request, and one that I needed, so I've chosen to release it here.

Please note that I've only tested this on 3.6.4, and haven't yet tried all poll combinations (eg multiple, etc.). However I see no reason why this wouldn't work with them. This is also my first publicly released mod, so be kind!

Features
  • Hides poll results until a user has voted on said poll.
  • Results are shown once said poll is closed.
  • Moderators and admin are exempt and can view results of all polls at all times.
  • Unregistered, Users awaiting Email Confirmation, etc are shown 'Please register to view poll.' message.
Installation
  1. Upload product-pyrix_hidepoll.xml as a product in your admin control panel
  2. Click Install.
  3. ???
  4. PROFIT!!!
Notes

I used Chris M's 'Hide Poll Results' as a reference, as that's what we had before (but it was a bit too aggressive and kept everything hidden whether you'd voted or not). So apologies to him if some of the code looks a bit familiar in places, but there are only so many ways of doing it.

Please also note that the code isn't particularly efficient, as it does a lot of processing that it doesn't need to. However this should have a very small impact and means that there are no file or template edits involved with this mod. Basically, I'm lazy.

Ollie

Download Now

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

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 02 Mar 2007, 12:23
Pyrix Pyrix is offline
 
Join Date: Jul 2004
Screenshots
Attached Images
File Type: jpg hp_1.jpg (19.5 KB, 349 views)
File Type: jpg hp_2.jpg (26.2 KB, 317 views)
Reply With Quote
  #3  
Old 02 Mar 2007, 13:58
concepts's Avatar
concepts concepts is offline
 
Join Date: May 2005
Real name: Jamale
Great Work! this is very much needed for my board!
Reply With Quote
  #4  
Old 02 Mar 2007, 14:04
Pyrix Pyrix is offline
 
Join Date: Jul 2004
You're quite welcome! Let me know if you have any problems with it all!
Reply With Quote
  #5  
Old 12 Mar 2007, 02:27
bigsbydapicka bigsbydapicka is offline
 
Join Date: Aug 2006
Problem....Tried it out and the problem that arose was once the users voted they could not see the results? kept getting the "ya have to vote before you can look at the results" message??

Using 3.6.5
Reply With Quote
  #6  
Old 13 Mar 2007, 12:41
Pyrix Pyrix is offline
 
Join Date: Jul 2004
Do you know what type of vote it was?

I'll look into it for you!

Ollie
Reply With Quote
  #7  
Old 08 Apr 2007, 02:07
tanyeri24 tanyeri24 is offline
 
Join Date: Feb 2005
doesnt work for me, 3.6.5
Reply With Quote
  #8  
Old 04 Jun 2007, 10:22
tschai's Avatar
tschai tschai is offline
 
Join Date: Nov 2006
Real name: Tschai
Is tehere anything to be set-up-ed or to be configured, beside just installing it?
I dont see any results with 3.6.4...

This one should be a very usefull mod...!
Reply With Quote
  #9  
Old 04 Jun 2007, 16:06
gforce75 gforce75 is offline
 
Join Date: Sep 2003
Sounds like you guys don't have it working? In concept, it's a great idea. Hope to see an update or successful story
Reply With Quote
  #10  
Old 29 Jun 2007, 09:05
olympist olympist is offline
 
Join Date: Jan 2007
Originally Posted by bigsbydapicka View Post
Problem....Tried it out and the problem that arose was once the users voted they could not see the results? kept getting the "ya have to vote before you can look at the results" message??

Using 3.6.5
Same problem arises for me too. I use 3.6.7.
Reply With Quote
  #11  
Old 05 Sep 2007, 08:24
tschai's Avatar
tschai tschai is offline
 
Join Date: Nov 2006
Real name: Tschai
Any updates with this one?
It's very promissing, but couldn't get it to work either...
Reply With Quote
  #12  
Old 05 Sep 2007, 11:26
Ba$im Ba$im is offline
 
Join Date: Apr 2007
Real name: Basim
Great Work!
__________________
3walim soft news arcade
Reply With Quote
  #13  
Old 03 Nov 2007, 04:33
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
is this working for 3.6.8?
Reply With Quote
  #14  
Old 03 Nov 2007, 08:03
giotmuadong's Avatar
giotmuadong giotmuadong is offline
 
Join Date: Feb 2007
do you have an update for 3.6.8?
Reply With Quote
  #15  
Old 17 Jan 2008, 02:26
Bill Thebert Bill Thebert is offline
 
Join Date: Mar 2002
I'm interested in preventing ALL users, whether they've voted or not, from seeing the results until the poll is CLOSED.

Example, a week-long online election, where votes are private, and the results are only visible to ALL users after the voting is closed.

Can your code be made to do this? Or is there some other mod that would fit the bill? Have looked but come up empty.
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 03:55.

Layout Options | Width: Wide Color: