Author |
Topic |
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 10 June 2001 : 23:22:35
|
Nope. I know what it is. The script is supposed to loop through all 20 poll answers. When it does, it checks each answer to see if they are empty. If they aren't empty, then show the radio button with the option. That's why I figured it had something to do with the code in the topic.asp file. Sure enough it was.
On line 697 in your topic.asp file wii, you have this code:If vAnswers(nCount) <> " " Then Change it to this:If trim(vAnswers(nCount)) <> "" Then You must be running an older version of the Poll Mod because I trimmed all those checks that check for a space in the string. But it seems you have some of the checks trimmed but not all of them. *shrugs*
But that should fix it.
Edited by - Davio on 11 June 2001 01:08:13 |
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 11 June 2001 : 00:42:25
|
If trim(vAnswers(nCount)) <> "" Then
how old is your code wii? I did not have to make that correction that Davio mentioned and I installed the mod about a month ago...
Dayve |
|
|
wii
Free ASP Hosts Moderator
Denmark
2632 Posts |
Posted - 11 June 2001 : 10:21:18
|
I won´t be able to do this before the weekend, since i´m not home, but as i remember i implemented the poll in april 2001, so it should be quite new. Davio, i will edit my topic.asp and get back to you this weekend...!
|
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 12 June 2001 : 12:23:44
|
Davio, did you say you were working on a different version of this mod? If not, would it be ok to put it in the Mod w/Code area? I'd be willing to closely support any issues that come up with it. The fix you gave to wii will be something I add to the documentation as well.
Just let me know...
Dayve |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 12 June 2001 : 12:41:11
|
Naaa. I decided not to implement it. At least not now. I'm putting on hold, adding new features, to the poll mod for now. Mostly bug fixes and tweaks I'll be doing for now. You can go ahead and release it in the Mod W/Code forum. And I'll help you support it.
The fix that I gave wii would only be for users who have an older version of the poll mod. Because that's been fixed for quite a while now.
|
|
|
wii
Free ASP Hosts Moderator
Denmark
2632 Posts |
Posted - 16 June 2001 : 16:59:41
|
Ok, I tried this, but it didn´t help - I still have the same bug when posting a new poll (read above).
quote:
Nope. I know what it is. The script is supposed to loop through all 20 poll answers. When it does, it checks each answer to see if they are empty. If they aren't empty, then show the radio button with the option. That's why I figured it had something to do with the code in the topic.asp file. Sure enough it was.
On line 697 in your topic.asp file wii, you have this code:If vAnswers(nCount) <> " " Then Change it to this:If trim(vAnswers(nCount)) <> "" Then You must be running an older version of the Poll Mod because I trimmed all those checks that check for a space in the string. But it seems you have some of the checks trimmed but not all of them. *shrugs*
But that should fix it.
Edited by - Davio on 11 June 2001 01:08:13
|
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 16 June 2001 : 18:59:18
|
is there any way you can set me or Davio up with ftp access?? you shouldn't be having these problems...
Dayve |
|
|
wii
Free ASP Hosts Moderator
Denmark
2632 Posts |
Posted - 16 June 2001 : 19:16:56
|
hmmmmm, I can mail you the forum files if you like...?! Let me know which ones you need to take a look at.
thanks...
|
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 16 June 2001 : 22:47:12
|
I wanted to see your entire environment, if you want, zip up your entire forum and send it to me.
Dayve |
|
|
Topic |
|