Author |
Topic |
taropatch
Average Member
USA
741 Posts |
Posted - 29 May 2003 : 15:40:28
|
Not sure if this belongs here, but it's not really a mod implementation issue (but more of a general question, I think). - How do I check the version of the poll mod I have installed?
- Is it possible to close a poll so people can no longer vote but keep the results available?
Thanks. |
Edited by - ruirib on 29 May 2003 16:47:44 |
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 29 May 2003 : 21:58:38
|
1. You can find the version you have in the readme.txt file that came with the poll mod.
2. Yes. In the current release (I don't know how long the feature was there) you can edit the poll, and choose to close the poll, but keep the topic open. So users can continue to make replies to the poll, but are unable to vote. |
Support Snitz Forums
|
|
|
nickw
Junior Member
Ireland
193 Posts |
Posted - 30 May 2003 : 04:22:11
|
Davio,
I have the latest version, but can't find this option. I can "Lock / Unlock" it? Is that it? |
Nick |
|
|
taropatch
Average Member
USA
741 Posts |
Posted - 30 May 2003 : 10:31:12
|
Thanks Rui for moving my post.
Looks like I need to upgrade from 2.0.4. I'll do that this weekend. Thanks Davio. |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 30 May 2003 : 12:34:29
|
Nickw, go to a poll. Click the pencil icon above the poll to edit the poll. There you should see a check box that says "Check here to lock/unlock this poll".
If you don't see it, then maybe you left out some poll mod code out of your post.asp file. |
Support Snitz Forums
|
|
|
nickw
Junior Member
Ireland
193 Posts |
Posted - 30 May 2003 : 14:04:47
|
Thanks, I thought that was it
|
Nick |
|
|
taropatch
Average Member
USA
741 Posts |
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 31 May 2003 : 10:52:48
|
Well it seems you created a bit of a mess with the polls on your forum.
Post a link to a txt version of your topic.asp and post.asp files. |
Support Snitz Forums
|
|
|
taropatch
Average Member
USA
741 Posts |
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 31 May 2003 : 14:15:51
|
Your post.asp file is ok. I made some changes to your topic.asp file. Just overwrite your existing file with this one: topic.txt |
Support Snitz Forums
|
|
|
taropatch
Average Member
USA
741 Posts |
Posted - 31 May 2003 : 23:14:15
|
Oops, I totally forgot to delete that one block of code per the instructions.
I uploaded your version of topic.asp but the problem is still there. For 2 polls, poll question is there but no poll answer data. |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 01 June 2003 : 01:05:08
|
Can you either register a new user, make them admin and send me the username and password or send me a username and password of an existing admin account I can use?
What database are you using? My suspicions is it might be those characters you have in your poll answers. Although they shouldn't be the problem. |
Support Snitz Forums
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 01 June 2003 : 18:05:45
|
Wow, now this is wierd. When I went to edit one of the polls that wasn't working, I looked at the html code, and this is what I saw for the first poll answers:
1:<input name="answer1" type="text" value="" e="" apo="" mai="" by="" nathan="" aweau="" from="" size="40" maxlength="100">
What I highlighted in red, looks similar to what should be the value of the text box: "E Apo Mai" by Nathan Aweau from E APO MAI by Nathan Aweau
This is the same for all the other text boxes. Your post.asp file is ok. But I don't have the slightest clue on why it is doing that. Never seen this problem before. |
Support Snitz Forums
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 01 June 2003 : 18:20:53
|
It seems the quotes " is what is messing it up.
Ok, do this. On line 1230 of your post.asp file, you will find this bit of code:
Response.Write "<font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & m & ":<input name=""answer" & m & """ type=""text"" value=""" & Trim(ChkString(txtAns(m),"display")) & """ size=""40"" maxlength=""100""></font><br />" & vbNewLine
Change the word "display" in red to "edit". That should fix it. |
Support Snitz Forums
|
|
|
taropatch
Average Member
USA
741 Posts |
Posted - 01 June 2003 : 22:41:31
|
Hi Davio,
I made the change to the post.asp file. Weird is right. I hadn't even noticed that the text box was not displaying properly.
Oddly when I edit the poll, the poll data is still not there. Seems so close now? If you're still curious, please take a look. But if you've had enough, no worries. I really appreciate the time you've put in to help me out. |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 02 June 2003 : 01:51:50
|
I tested this on my own forum. The quotes does cause a problem, but after doing the fix I suggested, it fixed the problem.
Are you sure your site is not using a cached copy of the file? |
Support Snitz Forums
|
|
|
Topic |
|