Log in

View Full Version : Hide Poll Results


Chris M
10-20-2005, 10:00 PM
Installation Instructions

Step 1: Upload the .xml file to the Product Manager
Step 2: Click INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=98957):D

Requested by: https://vborg.vbsupport.ru/showthread.php?t=95019 (mrsbuzzy, 68 Z-28 & 1996 328ti)

What does this Plugin do?

Basically, this will disable poll results from showing from everyone :devious:

Are there any screenshots?

See my next post :)

Version History:

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

Chris M
10-21-2005, 04:24 PM
Screenshot

See attached :)

Chris

nexialys
10-21-2005, 04:50 PM
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.. :)

trancetopia
10-21-2005, 05:01 PM
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?

Chris M
10-21-2005, 05:10 PM
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

trancetopia
10-21-2005, 05:21 PM
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 :)

Chris M
10-21-2005, 05:32 PM
I'll consider adding it since it is to do with poll functionality :)

Chris

trancetopia
10-21-2005, 05:55 PM
You are da man Chris... Really looking forward to this plugin now :)

Bad Bunny
10-21-2005, 06:07 PM
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

That sounds great. It's a unique idea, and with the added functionality it will be great.

Chris M
10-21-2005, 06:32 PM
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

trancetopia
10-21-2005, 10:36 PM
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

What can I say, you never find this service anywhere else. Thanks Chris, I'm off to install now.

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.

trancetopia
10-21-2005, 10:42 PM
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!

trancetopia
10-21-2005, 10:44 PM
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

Chris M
10-21-2005, 11:04 PM
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

trancetopia
10-21-2005, 11:07 PM
lol no probs, thanks Chris. Looking forward to the fix :)

Chris M
10-21-2005, 11:11 PM
Ok it should be fixed now :)

Try the new attachment :p

Chris

steven s
10-22-2005, 02:23 AM
This is cool but. . .
Unregistered guests can see the results.

Chris M
10-22-2005, 11:13 AM
This is cool but. . .
Unregistered guests can see the results.

Indeed they could - I have corrected this in the latest version, 1.0.3 :)

Chris

Snake
10-22-2005, 11:46 AM
Sweet, was looking for this. Thanks.

trancetopia
10-22-2005, 01:16 PM
It's working a treat now Chris, many thanks. Hope you'll be able to add that auto closure feature ;)

Chris M
10-22-2005, 01:44 PM
Glad it's working :) Next are forum-specific permissions - When I do usergroups it'll be an Extension, meh :p

Chris

steven s
10-25-2005, 02:22 AM
What about hiding from unregistered guests.
Right now someone not logged in sees 'Thanks for Voting '

Chris M
10-25-2005, 02:35 AM
In the showthread_post_start plugin, change:
if ($showvotedtemplate) {
if ($pollinfo['active']) {
unset($poll);
eval('$poll = "' . fetch_template('pollresult_voted') . '";');
}
}
to:
if ($showvotedtemplate) {
if ($pollinfo['active']) {
unset($poll);
if ($vbulletin->userinfo['userid']) {
eval('$poll = "' . fetch_template('pollresult_voted') . '";');
} else {
$poll = '';
}
}
}
That should work :)

Chris

steven s
10-25-2005, 02:46 AM
That should work :)

Certainly did, thanks!

Chris M
10-25-2005, 02:48 AM
Your welcome :)

Chris

68 Z-28
10-26-2005, 06:53 AM
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.

msgotit
10-28-2005, 05:38 PM
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!!

Simms
10-30-2005, 05:06 PM
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!

Hurricane
10-31-2005, 01:21 PM
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.

68 Z-28
11-07-2005, 03:07 AM
Any updates? :)

GamerzWorld
11-10-2005, 08:25 PM
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

Any news :surprised:

68 Z-28
11-16-2005, 02:39 AM
Patiently waiting. :)

chikkoo
11-25-2005, 04:46 AM
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??

shoppingtelly
11-26-2005, 02:45 PM
I would definetly make great use of this if it could be made to only hide results in a specific forum. :nervous:

chikkoo
12-06-2005, 10:43 AM
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?

djnth
12-10-2005, 04:35 AM
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!!

steven s
12-10-2005, 10:40 AM
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!!It hides all polls and only works with 3.5.x. BTW- You should be running 3.0.11.

Chris M
12-10-2005, 01:17 PM
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

djnth
12-10-2005, 02:06 PM
Nice!! Thanks for putting your time into this...you rock!!



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

chikkoo
12-10-2005, 02:55 PM
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.

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

djnth
12-12-2005, 11:13 AM
This mod will be extremely useful!! I need to conduct a poll but don't want voters to be influenced by current votes.

Noonster
12-14-2005, 07:47 PM
I have installed the xml file however I cant see anywhere where I can change settings for this or anything ??

It shows installed on the products page but thats all I get ??

Noonster
12-14-2005, 07:49 PM
Ignore the above I have realised this doesnt give options as it just hides everything!!
- Cant wait for the next release as I wont be able to use it until then :(

Thanks
Darren

djnth
12-15-2005, 09:56 AM
I wish I knew PHP. Where did everyone learn PHP? School? Books? Self-taught?

djnth
12-15-2005, 09:57 AM
how's the update coming along?

Noonster
12-15-2005, 02:06 PM
how's the update coming along?

hopefully he will be able to get it out before the end of the week like he wants - really need to use something like this but need the option to only hide if I want it tooo.

Cant wait :D

Ncturnal
12-16-2005, 06:27 PM
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.

I was going to post the same thing. :) Also, I'd like admins to be able to see the results regardless. I know they can see it in the admin panel anyway, but I'd still like to exclude the admins all the time.

djnth
12-19-2005, 07:06 PM
has there been any progress on this mod?

CodeRed
12-21-2005, 03:07 PM
doh... man this would come in real handy...

i just need a certain number of polls hidden... not all of them.

ill stay tuned for an update

djnth
12-21-2005, 11:49 PM
Awww...I got all excited when I got an email saying there was a new post to this thread.

skogen
01-02-2006, 08:30 AM
An updated version of this plugin would be loved by me! :)

It would be just good enough if I just could hide poll results from one specific forum...

/Fredrik

djnth
01-03-2006, 07:15 AM
I'm sure the person coding this just got busy, waiting for someone to update code really makes me feel helpless and is prompting me to learn PHP.

skogen
01-09-2006, 07:57 AM
While waiting for an update I have another question.
Is it possible to modify the current plugin-code to just hide the results from one particular poll?

/Fredrik

djnth
01-20-2006, 03:24 AM
Does anyone know how to code this? I am willing to donate to the cause.

jgrakowski
01-23-2006, 12:22 AM
this is what i NEED in order for me to use this...

-you must check a box to activate hide the poll results when you post poll
-the person who posted the poll can see the results no matter what usergroup he is in
-admins and supermods (or specified) can always see the results

djnth
01-23-2006, 12:41 AM
I don't think it's ever going to happen, I'm going to have to find a new way of doing this.

thebassman
01-27-2006, 11:24 PM
Yeah, some updates to this mod would be great... are there other alternatives? I need something like this for photography contests I run on my board.

djnth
01-31-2006, 05:04 AM
I have been holding off on voting for some time now on a best of 2005 I need to run ASAP. I just don't know where else to look. Maybe someone could post in another thread that someone is needed to take over this project if the original author wouldn't mind of course. Getting a hold of him could be a chore though...he hasn't been around these parts for a while now.

msgotit
02-01-2006, 02:47 PM
I think that it would be relatively simple to at least make it so you can check a box to activate the hide poll feature, I will look into it and pm Chris to see what he wants to do.

djnth
02-02-2006, 08:50 AM
I'm very grateful for the work the original author put into this but without at least the feature to pick which polls have hidden results, this mod isn't as useful as it could be. I do hope that someone can continue what could be a very useful mod.

cbtrussell
02-09-2006, 06:17 PM
We definitely need this plugin with the ability to turn on or off on a per-poll basis. Willing to sponsor this enhancement if it helps!

Thanks!

msgotit
02-09-2006, 09:46 PM
We definitely need this plugin with the ability to turn on or off on a per-poll basis. Willing to sponsor this enhancement if it helps!

Thanks!

I have it done, I have PMed Chris to see what he wants to do, but haven't heard back, I would like to get this out for everyone, but don't know what the next step is. If any of you have any thoughts let me know.

thebassman
02-09-2006, 09:52 PM
Why not just release it as a new mod, and give Chris credit if you don't hear back (and post the link in this thread) ;)

Tralala
02-09-2006, 11:01 PM
Yes, agreed with thebassman!

I, for one, would like to see an enhanced version of this, as the current version comes up a bit short. It's an excellent idea and I'd like to see it taken just a tad further.

djnth
02-10-2006, 04:59 AM
Thank you so much!!

I have it done, I have PMed Chris to see what he wants to do, but haven't heard back, I would like to get this out for everyone, but don't know what the next step is. If any of you have any thoughts let me know.

msgotit
02-11-2006, 01:34 AM
Here is the code, I will admit it hasn't been tested extensively, but it does hide or show the results, if there are any problems please let me know. Chris told me to post this in here and then he would add it, hope this works out for everyone!

The one down side is this template edit, I couldn't find any other way to do it.
Hide Poll Install

Edit Template editpoll:

Find:

<tr>
<td>
<label for="cb_closepoll"><input type="checkbox" name="closepoll" value="yes" id="cb_closepoll" $pollinfo[closed] />$vbphrase[to_close_this_poll_check_this_box]</label>
</td>
</tr>
Add Below it:

<tr>
<td>
<label for="cb_hidepoll"><input type="checkbox" name="hidepoll" value="yes" id="cb_hidepoll" $pollinfo[hidden] />$vbphrase[to_hide_this_poll_check_this_box]</label>
</td>
</tr>
Good luck all.

EDIT: This does now have a DB change, it adds a column to the poll table.

MorrisMcD
02-11-2006, 11:37 PM
Do I need to install his original hack and THEN this update? Or can I just do yours?

Nevermind.. I guess just install yours, or if upgrading, overwrite.. (I just decided to do it)

djnth
02-12-2006, 04:16 AM
where does the xml file go?

msgotit
02-12-2006, 01:42 PM
where does the xml file go?

I should have named it just like Chris did. You upload it into products just like the other one. It will do everything for you and then you make the template change and should be good to go. Sorry for the lack to information. Select overwrite, and that should work.

djnth
02-12-2006, 06:46 PM
Ok thanks!!

djnth
02-15-2006, 07:20 AM
I installed this and I have one MAJOR problem. I'm using vBAdvanced CMPS and the poll on the front page is pulling polls that are supposed to be hidden and displaying the results. Even when I'm not logged in as an ADMIN, just as a guest. Now I have people that are able to see the results of a secret vote. You can view it at www.azdancemusic.com

msgotit
02-16-2006, 12:34 AM
I installed this and I have one MAJOR problem. I'm using vBAdvanced CMPS and the poll on the front page is pulling polls that are supposed to be hidden and displaying the results. Even when I'm not logged in as an ADMIN, just as a guest. Now I have people that are able to see the results of a secret vote. You can view it at www.azdancemusic.com

Sorry about that, didn't think about it. You will have to go into the currentpoll.php mod and edit it. At line 65 (in mine) so it should be around there, add hidepoll to the list of fields to get:

Find this:

SELECT thread.pollid, open, threadid, replycount, forumid, question, poll.dateline, options, votes, active, numberoptions, timeout, multiple, voters, public $query[pollfields]

Change it to:

SELECT thread.pollid, hidepoll, open, threadid, replycount, forumid, question, poll.dateline, options, votes, active, numberoptions, timeout, multiple, voters, public $query[pollfields]

Then find this:

if ($pollinfo['showresults'])

And change it to this:

if ($pollinfo['showresults'] && !$pollinfo['hidepoll'])

I think that will do it, let me know if it doesn't. I don't think there is a way to do it in the product so this is it, let me know if you need anything else.

Mark

EDIT: PS. I haven't actually tried this so I don't know for sure, but it should work.

skogen
02-23-2006, 03:50 PM
Need urgent help!

When I and other users try to make a new poll I got errors


Database error in vBulletin 3.5.3:

Invalid SQL:
INSERT INTO poll
(question, dateline, active, timeout, multiple, public, maxoptions, hidepoll, numberoptions,
options, votes)
VALUES
(Do you want to compte?', 1140716784, 1, 50, 0, 1, 0, 0, 2, 'Yes |||No!', '0|||0');

MySQL Error : Unknown column 'hidepoll' in 'field list'
Error Number : 1054
Date : Thursday, February 23rd 2006 @ 06:46:24 PM
Script : http://www.mysite.com/forum/poll.php
Referrer : http://www.mysite.com/forum/poll.php?do=newpoll&t=11273
IP Address : 192.168.0.1
Username : any
Classname : vb_database

msgotit
02-24-2006, 04:17 AM
Skogen,

Can you look at your database tables? If so, did the hidepoll field get put in to the poll table?

Because it is trying to insert hidepoll in there I would assume that you have used the one I posted, and I would suggest trying to re-import it. If I had to guess, it didn't add the field, and I am not sure why. Let me know if that works!

BrandiDup
02-24-2006, 05:28 PM
exactly what I needed! thank you very much :)

bobc973
03-01-2006, 03:46 PM
Skogen,

Can you look at your database tables? If so, did the hidepoll field get put in to the poll table?

Because it is trying to insert hidepoll in there I would assume that you have used the one I posted, and I would suggest trying to re-import it. If I had to guess, it didn't add the field, and I am not sure why. Let me know if that works!

What are the type, attributes, null and default values if we want to add it manually to the table?

Thanks!

msgotit
03-02-2006, 12:12 PM
What are the type, attributes, null and default values if we want to add it manually to the table?

Thanks!

First you have to be using the xml product I posted in the middle of the the last page. If you open that up you will see it but I believe it is tinyint with default 0. Hope this helps!

Mark

bobc973
03-02-2006, 03:55 PM
Yes that was it tinyint, length 1, default 0. THANK YOU!

Hurricane
03-03-2006, 03:56 PM
I know this is not the proper way of doing this, but here is a modification of the modified version of the regular hack.

This one is for admins. Only the admins can hide results to polls and admins can always see the results.

THIS IS NOT AN UPGRADE! Do not install with the other one! This is named differently so you can not overwrite the other one. You will have to uninstall the other one first and install this one.

gonkowonko
03-04-2006, 08:32 PM
I know this is not the proper way of doing this, but here is a modification of the modified version of the regular hack.

This one is for admins. Only the admins can hide results to polls and admins can always see the results.

THIS IS NOT AN UPGRADE! Do not install with the other one! This is named differently so you can not overwrite the other one. You will have to uninstall the other one first and install this one.

Love it works lovely :D

Noonster
03-19-2006, 10:38 AM
I know this is not the proper way of doing this, but here is a modification of the modified version of the regular hack.

This one is for admins. Only the admins can hide results to polls and admins can always see the results.

THIS IS NOT AN UPGRADE! Do not install with the other one! This is named differently so you can not overwrite the other one. You will have to uninstall the other one first and install this one.
Works a treat :D

Grae
04-01-2006, 04:20 AM
After editing a hidden poll, the results are no longer hidden. Anyone get this error?

It would also be convenient to be able to hide an existing poll... maybe an option in the edit poll display.

Alviker
04-14-2006, 08:57 AM
But... With this hack... Can you choose make a normal poll, a public poll and a hide poll, or only a hide poll? Please tell me :(. Sorry for my bad english >_<. Bye and thanks ^.^

Atte. Alviker

fatxy
04-23-2006, 08:53 AM
with hurricane's mod you can choose if hidden or not (additional checkbox in post poll options)

chikkoo
05-10-2006, 02:08 PM
with hurricane's mod you can choose if hidden or not (additional checkbox in post poll options)

Hi,

I don't see this option, while editing existing Polls?

csrx
05-11-2006, 02:52 PM
Hi,

I don't see this option, while editing existing Polls?

I don't see this option either. Maybe you can only set this when creating the poll and then its set in stone?

chikkoo
05-15-2006, 06:11 PM
Hi,

I don't see this option, while editing existing Polls?

I hope there should be some way, especially run a sql query etc.

fatxy
05-28-2006, 10:02 AM
i attached a screenshot

as Hurrican described, admins can see the results the rest not. Its workin so far but after editing the poll the results are all viewable again (nor you can choose if its hidden or not).

would be cool to see a real proper solution, like it tho.

Annapurna
05-29-2006, 04:09 PM
Is it possible to the following:

Poll results should be hidden till user vote. After voting user should be able to watch it!

Andreas

Tralala
05-29-2006, 04:25 PM
Poll results should be hidden till user vote. After voting user should be able to watch it!


This is being added to the standard vBulletin poll functionality:

http://www.vbulletin.com/forum/showthread.php?p=1126391#post1126391

thebassman
06-22-2006, 03:59 PM
Sweet... I hope it's available with the full release of 3.6!

Neo_obs
07-16-2006, 05:59 AM
Just wondering if anyone has an update to the actual original version of this. And if the planned features will be ported to 3.6 if it is not available by default

Veer
07-28-2006, 01:39 PM
Great Work Chris M :)

Just Installed n Working Fine, Thanks.

Noonster
08-03-2006, 03:48 PM
i attached a screenshot

as Hurrican described, admins can see the results the rest not. Its workin so far but after editing the poll the results are all viewable again (nor you can choose if its hidden or not).

would be cool to see a real proper solution, like it tho.
This is exactly whats happening for me now :(

blue_chi
08-21-2006, 09:30 PM
It would be great to have this add-on on vb 3.6.

blue_chi
08-22-2006, 12:37 PM
I just installed it on 3.6.0 and it seems to work fine! Thanks

LostOne
09-02-2006, 02:38 AM
hi Blue Chi, which oe did you install on 3.6.0?

I need this but don't understand who has now the correct version?

Marit
10-24-2006, 07:36 PM
This is exactly whats happening for me now :(
And me, three

tanyeri24
12-15-2006, 06:01 PM
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
Hey Chris
Great addon thanks a lot. Can you please upgrade it like you said it before :) Many thanks in advance.

dbaez2
01-03-2007, 01:25 AM
if at all possible can you edit this so we can choose whether to allow use it per thread or not? it's GREAT mod but for some current running threads i need to be able to show results.

CodeRed
01-08-2007, 04:29 AM
It would also be convenient to be able to hide an existing poll... maybe an option in the edit poll display.

I agree... I have a bunch of polls right now that have some votes on there already and id love to be able to go and hide those existing ones...

thanks

Raptor
01-11-2007, 01:31 AM
works 100% perfect with 3.6.4

Eq4bits
02-24-2007, 09:07 PM
I know this is not the proper way of doing this, but here is a modification of the modified version of the regular hack.

This one is for admins. Only the admins can hide results to polls and admins can always see the results.

THIS IS NOT AN UPGRADE! Do not install with the other one! This is named differently so you can not overwrite the other one. You will have to uninstall the other one first and install this one.

Will the fix for hiding on vbadvanced work with this as well? I think the post is a page before where this admin version is originally posted.
the fix was to open currentpoll.php in vbadvanced module folder and changing
SELECT thread.pollid, open, threadid, replycount, forumid, question, poll.dateline, options, votes, active, numberoptions, timeout, multiple, voters, public $query[pollfields]
to
SELECT thread.pollid, hidepoll, open, threadid, replycount, forumid, question, poll.dateline, options, votes, active, numberoptions, timeout, multiple, voters, public $query[pollfields]
and
if ($pollinfo['showresults'])
to
if ($pollinfo['showresults'] && !$pollinfo['hidepoll'])

Milad
02-27-2007, 10:24 PM
This hides the forever opened polls too!!!

carlosacgj
03-20-2007, 03:17 PM
This hides the forever opened polls too!!!
me too, i can't seen the options for hides or show, the creator speak about to many options and i can't seen, any one please upload screan shots? :S:S:S:S:S:S:S

rwoscott
03-27-2007, 02:01 AM
I know this is not the proper way of doing this, but here is a modification of the modified version of the regular hack.

This one is for admins. Only the admins can hide results to polls and admins can always see the results.

THIS IS NOT AN UPGRADE! Do not install with the other one! This is named differently so you can not overwrite the other one. You will have to uninstall the other one first and install this one. I installed this option.

Is it supposed to show the results to non admin users, after the poll has closed?

Seems most can't see the results, but 1 or 2 can.

:confused:

rwoscott
04-19-2007, 12:17 AM
I installed this option.

Is it supposed to show the results to non admin users, after the poll has closed?

Seems most can't see the results, but 1 or 2 can.

:confused:

Can anyone answer this, please :D ?

FiX
04-29-2007, 10:49 AM
Yes, would be great if you could select if a specific poll should be hidden or not. Hiding ALL polls is not what I'm really looking for.

Sergioh
05-06-2007, 08:02 PM
*installed.

I'm using it for www.theblackparade.net and we're having "awards", this is great because the winners will be surprised instead of seeing their progress/failure in real time.

teamelusive
06-07-2007, 04:37 PM
installed. =) exactly what i was lookin' for. I do wish you could select which polls u could hide and not hide though...

thx!

FOMSCU Forum
01-26-2008, 11:43 PM
Excellent Hack

Thanks Soooooooooooooooooooo Much

FOMSCU Forum
01-26-2008, 11:48 PM
installed. =) exactly what i was lookin' for. I do wish you could select which polls u could hide and not hide though...

thx!


Exactly If this Option is added it will be SuperGreat

kronnos
03-30-2008, 12:53 PM
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


Are these options already included? If not, will they be anytime soon? With these options, its definitely a MOTM!

kronnos
04-15-2008, 05:59 AM
Does anyone know if it works on 3.6.x, 3.7 ? Any idea when the top changes would occur or is there already a new mod with all the top features?

Thanks

Philster
05-22-2008, 11:21 AM
I am also curious if this mod will work on version 3.6? Thanks folks.

Phil.

AusPhotography
07-17-2008, 10:28 AM
I am using Hurricane's version (page 6) and happy with it, but would like to see a change so that my moderators can create hidden polls as well as admin (me).

Great work with this guys. I am using it for photography competitions.