Version: 1.00, by Pyrix
Developer Last Online: Mar 2020
Category: Show Thread Enhancements -
Version: 3.6.4
Rating:
Released: 03-01-2007
Last Update: 03-01-2007
Installs: 52
Uses Plugins
No support by the author.
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
Upload product-pyrix_hidepoll.xml as a product in your admin control panel
Click Install.
???
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
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
working on 3.7? Willing to release the code for others to test?
or others know of something that will achieve this on 3.7?
I've been running the mod I described (above) since January on 3.6.8 with great satisfaction.
I just tested it tonight on 3.7.2 and it doesn't *quite* work. Most functionality is there, but there is one significant deal-buster. I suspect it will be a comparatively simple fix.
Moreover, there is some ambiguity over who owns this code. I wrote the functional specifications of how the mod should work. I hired the work done. I did the comprehensive testing prior to acceptance. But I did not write a formal contract that addressed the issue of who owns the product. For that reason I'm not comfortable sharing the code just yet.
I've attempted to re-establish contact with the author of the code about updating it for 3.7.2, and we'll discuss that issue. That's about all I can say for now.