The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
Is it possible to tweak the poll mod so that the results are not visible until the poll is closed?
Frankly, this is a really good voting script. I have a need for a good secure voting script and this seems to be it...
<
Frankly, this is a really good voting script. I have a need for a good secure voting script and this seems to be it...
<
Posted
yep should be possible, when you get the checks as to whether a user has voted before or not you just need to add a check for whether the poll is open or closed... it may even be simpler than that if its been coded seperately to skip the voting if you've already voted and display results - all you'd need to do then is add a check as to whether the poll is open or closed to the latter<
Posted
Hi there...
My apologies for resurrecting a very old thread, but this is EXACTLY my predicament.
Unfortunately, I am a complete noob at coding and have been entrusted to manage a SnitzForum web site for a non profit association... and I am the most tech savvy of the lot!!
So I have been asked to hide the poll results until the poll is officially closed.
At the moment, members who have voted tend to tell non voters the partial status of the poll; this has been found to greatly influence their vote.
Can any kind soul help me with a bit of code and where to insert it so I can achieve this outcome... without breaking everything?
Most appreciative.
My apologies for resurrecting a very old thread, but this is EXACTLY my predicament.
Unfortunately, I am a complete noob at coding and have been entrusted to manage a SnitzForum web site for a non profit association... and I am the most tech savvy of the lot!!
So I have been asked to hide the poll results until the poll is officially closed.
At the moment, members who have voted tend to tell non voters the partial status of the poll; this has been found to greatly influence their vote.
Can any kind soul help me with a bit of code and where to insert it so I can achieve this outcome... without breaking everything?
Most appreciative.
Posted
It's not too difficult but a database mod is necessary and five files have to be changed: "config.asp", "inc_poll.asp", "post.asp", "post_info.asp", and "topic.asp". Since you're new to coding, it would probably be a big job for you. Instead, I recommend you post links to the five files in ".txt" format and I'll make the changes for you.
First, before posting the link to "config.txt", remove the line with the database connection string.
First, before posting the link to "config.txt", remove the line with the database connection string.
Posted
Most thankful for the kind offer!!
I can send you the five files via email, as they are all small in size.
Alternatively, I can send you links to copies of these files that I have placed in my Dropbox.
Or do you need access to the FTP root directory?
Cheers
I can send you the five files via email, as they are all small in size.
Alternatively, I can send you links to copies of these files that I have placed in my Dropbox.
Or do you need access to the FTP root directory?
Cheers
Posted
Just Email them, but zip them first. Most Email providers will block .asp file extensions. I sent you mail so you'll have my address.
Last edited by Carefree on 25 August 2013, 21:37
Posted
Just to report back that it's all been sorted and only thanks to CareFree!
I owe him a debt of infinite gratitude for donating some time to sort out the code in our forum asp files to make the change possible.
Now the mod is complete, with all polls having a handy "auto closing" setting and only displaying results once the poll has closed.
Kudos to CareFree and thanks to this very handy forum.
Cheers
Paul
I owe him a debt of infinite gratitude for donating some time to sort out the code in our forum asp files to make the change possible.
Now the mod is complete, with all polls having a handy "auto closing" setting and only displaying results once the poll has closed.
Kudos to CareFree and thanks to this very handy forum.
Cheers
Paul
Posted
Good job Carefree.
Posted
Thanks, it's something I had done a LONG time ago but had forgotten to document so had to reinvent the wheel a bit.
Email Member
Message Member
Post Moderation
FileUpload
If you're having problems uploading, try choosing a smaller image.
Preview post
Send Topic
Loading...