Author |
Topic |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 28 August 2013 : 03:06:23
|
This update hides the results of polls until a specified number of days have passed.
When you create a poll, you will set a number of days before the poll closes. The poll results will remain hidden until that number of days have passed, and at the time of the poll's creation, it will automatically close and allow the results to be viewed.
If you edit a closed poll and use any positive integer for the days, it will reopen the poll and hide the results pending the new date. If you edit a poll that is still open, it will simply change the closing date until the new number of days is reached.
For those who already downloaded this sub-mod, a small change needs to be made to prevent system errors if someone puts a value other than a whole number in the quantity of days field. Please edit the first section of the mod's code in "post_info.asp" as follows:
|
Edited by - Carefree on 30 August 2013 04:33:17 |
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 30 August 2013 : 05:22:14
|
I suppose I should look into incorporating this into the .Net version as I have included Polls in the base code may be a little more difficult though, as in the .Net version you can actually create a poll using forumcode tags, will take a look and see what I can do. |
MVC .net dev/test site | MVC .net running on Raspberry Pi |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 30 August 2013 : 05:51:27
|
Don't envy you that job, not sure I would learn .Net coding at all, especially since my brain behaves like a bowl of silly putty some days. |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 30 August 2013 : 22:48:19
|
The difference is that I learned classic ASP before my dementia and short-term memory issues. Now I meet someone and within 30 seconds, I've forgotten their name. Within 5 minutes after we separate, I've forgotten the meeting. Learning new programming languages or words in a new language are almost impossible for me. |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 31 August 2013 : 03:54:43
|
That would make it a little more difficult however using something like Visual Studio would help as code insight means you don't have to remember everything, just a few basics which knowing classic ASP you already have a fair grasp of, you should give it a try, you never know, it might even help by giving your brain a bit of a work out. |
MVC .net dev/test site | MVC .net running on Raspberry Pi |
|
|
Webbo
Average Member
United Kingdom
982 Posts |
Posted - 31 August 2013 : 09:55:19
|
quote: Originally posted by Carefree
...... Now I meet someone and within 30 seconds, I've forgotten their name. Within 5 minutes after we separate, I've forgotten the meeting. Learning new programming languages or words in a new language are almost impossible for me.
I'm the same but put it down to age
As for languages - I struggle with my native tongue at times (English) and all that seems to come out is gobeleygook |
|
|
|
Topic |
|