![]() |
Hide Poll Results
[high]Installation Instructions[/high]
Step 1: Upload the .xml file to the Product Manager Step 2: Click [high]INSTALL[/high]:D Requested by: https://vborg.vbsupport.ru/showthread.php?t=95019 (mrsbuzzy, 68 Z-28 & 1996 328ti) [high]What does this Plugin do?[/high] Basically, this will disable poll results from showing from everyone :devious: [high]Are there any screenshots?[/high] See my next post :) [high]Version History:[/high] 1.0.0: First release 1.0.1: Added more functionality (Results shown when poll is closed, hidden while open); Corrected 3 bugs (2 phrases in the added template, pollresult_voted now cached in cache_templates) ; 1 template edit / overwrite required (pollresult_voted) to add new phrases; 1.0.2: Fixed another bug - Should allow you to vote on unvoted polls now :p 1.0.3: Fixed bug that unregistered users can see poll results Chris |
[high]Screenshot[/high]
See attached :) Chris |
kinda like something that will be used for HotM here.. lol
EDIT: would be good to add the TEXT in a <phrase> so we don't have any problem with translations.. :) |
If a poll has been selected to close after x days, is there an option to to hide the results until the poll has been closed? If not, would this be easy to do?
|
This is simply to hide polls - I plan to expand the functionality to perform more detailed instructions at a later date;
These will include: - Hide poll until closing date - Hide poll from specific usergroups - Hide poll in specific forums :) Chris |
Cheers Chris, sounds like exactly what I'm after - I'll wait until the later release.
Can I make a request - I'm not sure if this plugin is the right place for this but do you think it would be possible to add the ability to put a check in to close the thread if the poll has closed. This may be out of scope of what this plugin does but thought I'd ask :) |
I'll consider adding it since it is to do with poll functionality :)
Chris |
You are da man Chris... Really looking forward to this plugin now :)
|
Quote:
|
I've already completed the first request - Now when the poll is closed, it will display the results and all the information previously forced into submission :)
My next update will be to add forum-specific and usergroup-specific controls and the ability to enable/disable all 3 new functionalities if you do not need them; I will then look into auto-closing threads after polls have closed :) Chris |
Quote:
Looking forward to the auto close feature :) This is going to be perfect for my room 101 forum :D Another thought with the auto close feature, it would be great, no - it would be absolutely fantastic if a final post could be created before it was closed with a custom title and content that could be changed in the ACP somewhere. I'm starting to feel guilty for taking up your time. |
Chris - I just installed and have a problem. All of the polls in the forum have the following message regardless of if I have voted or not:
Thank you for Voting on this poll. The results will be announced shortly! |
If it helps for debugging, the test poll I made was set to close in 2 days.
Update: Just changed the poll to 0 days but it stays the same so my 2 day bug theory is out the window :) Another update: This only seems to not work for newly created polls |
Hrm I shall look into it - I only tested on a test-board so I couldn't check it didn't work elsewhere :p
I'll change it to a "BETA" hack until I resolve it lol :p Chris |
lol no probs, thanks Chris. Looking forward to the fix :)
|
Ok it should be fixed now :)
Try the new attachment :p Chris |
This is cool but. . .
Unregistered guests can see the results. |
Quote:
Chris |
Sweet, was looking for this. Thanks.
|
It's working a treat now Chris, many thanks. Hope you'll be able to add that auto closure feature ;)
|
Glad it's working :) Next are forum-specific permissions - When I do usergroups it'll be an Extension, meh :p
Chris |
What about hiding from unregistered guests.
Right now someone not logged in sees 'Thanks for Voting ' |
In the [high]showthread_post_start[/high] plugin, change:
PHP Code:
PHP Code:
Chris |
Quote:
|
Your welcome :)
Chris |
This will be good for now. For the board I admin on the hide polls in specific forums would be AWESOME. This way I could just turn off the poll results in the "Truck of the month" forum where polls and voting take place.
Also, is it possible to add it where the poll starter can choose to hide the results or not? In previous versions, you'd just click a box, and the results would be hidden, reguardless of forum or usergroup(only forum mod, super mod, or admin could see results). Thanks for gettin this done. |
This is awesome! Another thing to look at is having the option to turn it off. I know that takes a little more and probably a table edit, but sometimes I would like to hide it, others I would like to show it.
Great job!! |
Awesome...been waiting for this. Installed and working, but like those above, I would *love* to have the option of whether I wanted the results hidden or not depending on the thread.
Either way, thanks! |
Chris M, for hints and ideas, see my old (3.0.X) hack or even look back to the 2.X by Firefly and Scott MacVicar.
https://vborg.vbsupport.ru/showthread.php?p=496898 It may give you ideas on how to add the ability to select the hide. |
Any updates? :)
|
Quote:
|
Patiently waiting. :)
|
I used this hack earlier in 3.0.7 it worked perfectly. But now with 3.5.1 it's giving me two problems
1) It hides the result of all existing polls in my forum. Whereas the earlier one was hiding the one poll I specify, because I want to leave result of some other polls to public. 2) Earlier after voing too the poll options used to display with '0' votes, and mentioning I have already voted. Not it's saying thanks, but not displaying the poll options. Is it the way it is functioning? I wish I poll options are displayed even after voting. I only want to hide the POLL RESULT of a Specific Poll, until the Closing. Is it possible?? |
I would definetly make great use of this if it could be made to only hide results in a specific forum. :nervous:
|
No reply from anyone for long time.
Now, I am forced to Remove this Mod from my forum, because it is not only hiding the poll I want, but also hiding all the polls currently open, that I don't want. Guys, Is it the way it work? |
Does this mod work with v3.03?? Is it supposed to hide all polls or only polls that you choose to hide? Also when the poll closes the results are shown correct?
Thanks for the nice mod!! |
Quote:
|
I will update this sometime in the week to make the following:
Hidden via usergroup permissions: If you have no usergroup permissions you can't see it until it closes Hidden via forum selection: If you select to hide poll results in a particular forum they will be hidden to those who cannot see them Hidden per poll: You can select each individual poll regardless of forum settings and hide it - Users with viewing permissions (i.e. Admins mostly) can view the results before it closes... Chris |
Nice!! Thanks for putting your time into this...you rock!!
Quote:
|
Thanks Thanks Thanks a Lot Chris M. I appreciate your valuable time & energy in this Mod.
BTW, in 3.0.x the options used to be viewable to all, but not the number of votes. Only Admin can view the votes/results. It was a good & easy. Think about it. Quote:
|
All times are GMT. The time now is 04:45 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|