Welcome to the Mod Share forums.
You are not logged in.
Currently in our poll software, there is a glitch where putting "0" as an option will make it the poll break.
I have found a fix to this problem, but it will take several days to implement. During that time, polls will be unavailable on this forum.
That means that if you post any new topics after I write this and before the solution is implemented, you will not be able to include a poll in them. This also means that existing polls will not be visible until the fix is implemented.
Due to the fact that polls can not be posted in topics, we have also disabled new topics in the polls forum until this is done, as topics in that forum must have polls and you can't post any (you can still post replies on topics, though).
Update
Polls now work again! You can put a zero as an option and they will display properly.
Last edited by jvvg (2013-03-11 18:08:59)
Offline
Lol, why did I report this?
When you're done, could you provide us (FFers) the updated code?
I also have noticed another weird bug but am unable to replicate it (only happened once at funforums and once here): On occasion, doing something with the poll (with 0s) (not sure what - maybe voting in it?) deletes all posts after the OP.
Yay, I got linked to in the announcement
And yay, its being fixed. Though may I ask, what kind of update would take several days? Couldn't any code fix be done arabitrarily fast (limited only by typing and internet speed)?
Please help! Free ads on my next project on Scratch for helpers! Love-its on your 5 most recent projects (also with ads) for people who fix the entire problem!
ALL THESE WORLDS ARE YOURS - EXCEPT EUROPA - ATTEMPT NO LANDING THERE / I've quit MS. Why? ":P". Feel free to land on Europa now, and you might contact me at intf.tk or intforums.com, but remember the 49 minute time lag between Europa and Earth.
SHA-256 confirmation
Offline
Lol, why did I report this?
When you're done, could you provide us (FFers) the updated code?
I also have noticed another weird bug but am unable to replicate it (only happened once at funforums and once here): On occasion, doing something with the poll (with 0s) (not sure what - maybe voting in it?) deletes all posts after the OP.
Yay, I got linked to in the announcementAnd yay, its being fixed. Though may I ask, what kind of update would take several days? Couldn't any code fix be done arabitrarily fast (limited only by typing and internet speed)?
The fix is pretty major. I'm not just moving around a few braces. I'm rewriting major portions of the mod here. Because I only know of the general area of the glitch and it would be extremely difficult to isolate it completely (the code for the poll mod was incredibly poorly written, really disorganized, and the comments are in Russian so it's pretty hard to understand), I am just going to rewrite everything related to the problematic area. This way I wipe out the glitch and improve the code.
I am also doing this on a pretty tight schedule. I will not be able to code for any of tomorrow and only for about an hour or two on Saturday.
Offline
Molybdenum wrote:Lol, why did I report this?
When you're done, could you provide us (FFers) the updated code?
I also have noticed another weird bug but am unable to replicate it (only happened once at funforums and once here): On occasion, doing something with the poll (with 0s) (not sure what - maybe voting in it?) deletes all posts after the OP.
Yay, I got linked to in the announcementAnd yay, its being fixed. Though may I ask, what kind of update would take several days? Couldn't any code fix be done arabitrarily fast (limited only by typing and internet speed)?
The fix is pretty major. I'm not just moving around a few braces. I'm rewriting major portions of the mod here. Because I only know of the general area of the glitch and it would be extremely difficult to isolate it completely (the code for the poll mod was incredibly poorly written, really disorganized, and the comments are in Russian so it's pretty hard to understand), I am just going to rewrite everything related to the problematic area. This way I wipe out the glitch and improve the code.
I am also doing this on a pretty tight schedule. I will not be able to code for any of tomorrow and only for about an hour or two on Saturday.
Braces? C? What? (I use python a lot ( ) even though I should be using VB)
But since its so major, you haven't exactly
found a fix to this problem
(I though you knew exactly what to change)
And lol at comments in russian Was the creator russian or something?
Please help! Free ads on my next project on Scratch for helpers! Love-its on your 5 most recent projects (also with ads) for people who fix the entire problem!
ALL THESE WORLDS ARE YOURS - EXCEPT EUROPA - ATTEMPT NO LANDING THERE / I've quit MS. Why? ":P". Feel free to land on Europa now, and you might contact me at intf.tk or intforums.com, but remember the 49 minute time lag between Europa and Earth.
SHA-256 confirmation
Offline
jvvg wrote:Molybdenum wrote:Lol, why did I report this?
When you're done, could you provide us (FFers) the updated code?
I also have noticed another weird bug but am unable to replicate it (only happened once at funforums and once here): On occasion, doing something with the poll (with 0s) (not sure what - maybe voting in it?) deletes all posts after the OP.
Yay, I got linked to in the announcementAnd yay, its being fixed. Though may I ask, what kind of update would take several days? Couldn't any code fix be done arabitrarily fast (limited only by typing and internet speed)?
The fix is pretty major. I'm not just moving around a few braces. I'm rewriting major portions of the mod here. Because I only know of the general area of the glitch and it would be extremely difficult to isolate it completely (the code for the poll mod was incredibly poorly written, really disorganized, and the comments are in Russian so it's pretty hard to understand), I am just going to rewrite everything related to the problematic area. This way I wipe out the glitch and improve the code.
I am also doing this on a pretty tight schedule. I will not be able to code for any of tomorrow and only for about an hour or two on Saturday.Braces? C? What? (I use python a lot ( ) even though I should be using VB)
But since its so major, you haven't exactlyjvvg wrote:found a fix to this problem
(I though you knew exactly what to change)
And lol at comments in russian Was the creator russian or something?
@Braces: Well, this website is programmed in PHP, which is a language with the same syntax as C, but it is a different language designed specifically for web programming.
@Haven't found a fix: I know where the problem is and what I have to rewrite. I also have a general idea of how I can fix the [bad] old code with my [awesome] new code.
@Russian: Yes, he is Russian.
Offline
OK
MY MOD!!!!!
Offline
@Braces: Well, this website is programmed in PHP, which is a language with the same syntax as C, but it is a different language designed specifically for web programming.
@Haven't found a fix: I know where the problem is and what I have to rewrite. I also have a general idea of how I can fix the [bad] old code with my [awesome] new code.
@Russian: Yes, he is Russian.
Lol, ok.
Please help! Free ads on my next project on Scratch for helpers! Love-its on your 5 most recent projects (also with ads) for people who fix the entire problem!
ALL THESE WORLDS ARE YOURS - EXCEPT EUROPA - ATTEMPT NO LANDING THERE / I've quit MS. Why? ":P". Feel free to land on Europa now, and you might contact me at intf.tk or intforums.com, but remember the 49 minute time lag between Europa and Earth.
SHA-256 confirmation
Offline
Yeah, it still looks weird, like last editted is in the poll box, and results are displayed at the same time as voting
Please help! Free ads on my next project on Scratch for helpers! Love-its on your 5 most recent projects (also with ads) for people who fix the entire problem!
ALL THESE WORLDS ARE YOURS - EXCEPT EUROPA - ATTEMPT NO LANDING THERE / I've quit MS. Why? ":P". Feel free to land on Europa now, and you might contact me at intf.tk or intforums.com, but remember the 49 minute time lag between Europa and Earth.
SHA-256 confirmation
Offline
Polls are now completely fixed. If any more problems arise, please report them.
awesome!
the above post has been found that the following
o There might be a typo
o I am awesome
o You are awesome
Offline
I tried it, it seems fixed so far. Could you put the code somewhere for us?
Please help! Free ads on my next project on Scratch for helpers! Love-its on your 5 most recent projects (also with ads) for people who fix the entire problem!
ALL THESE WORLDS ARE YOURS - EXCEPT EUROPA - ATTEMPT NO LANDING THERE / I've quit MS. Why? ":P". Feel free to land on Europa now, and you might contact me at intf.tk or intforums.com, but remember the 49 minute time lag between Europa and Earth.
SHA-256 confirmation
Offline
I tried it, it seems fixed so far. Could you put the code somewhere for us?
It turned out the problem was just a data type issue, so I ended up keeping the old code and fixing it. Just use a bit of PHP knowledge and apply it to the standard poll mod!
I will also include this fix the next time I push the source code (which I should do sometime soon, as I haven't done so in several months).
Offline