Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Poll mod quesion
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

taropatch
Average Member

USA
741 Posts

Posted - 29 May 2003 :  15:40:28  Show Profile
Not sure if this belongs here, but it's not really a mod implementation issue (but more of a general question, I think).
  1. How do I check the version of the poll mod I have installed?
  2. 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  Show Profile
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
Go to Top of Page

nickw
Junior Member

Ireland
193 Posts

Posted - 30 May 2003 :  04:22:11  Show Profile
Davio,

I have the latest version, but can't find this option. I can "Lock / Unlock" it? Is that it?

Nick
Go to Top of Page

taropatch
Average Member

USA
741 Posts

Posted - 30 May 2003 :  10:31:12  Show Profile
Thanks Rui for moving my post.

Looks like I need to upgrade from 2.0.4. I'll do that this weekend. Thanks Davio.
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 30 May 2003 :  12:34:29  Show Profile
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
Go to Top of Page

nickw
Junior Member

Ireland
193 Posts

Posted - 30 May 2003 :  14:04:47  Show Profile
Thanks, I thought that was it

Nick
Go to Top of Page

taropatch
Average Member

USA
741 Posts

Posted - 31 May 2003 :  10:16:31  Show Profile
Ok, I upgraded to poll 2.0.5. I locked a bunch of polls, but there are two... when I click the edit icon, the poll answers are not populated.

So when I try locking, I get:

"There Was A Problem With Your Details

You Must Enter at least two Answers for the Poll"

Not sure what would cause this. When you view the poll, the data is there.

http://www.taropatch.net/forum/topic.asp?TOPIC_ID=800
http://www.taropatch.net/forum/topic.asp?TOPIC_ID=801
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 31 May 2003 :  10:52:48  Show Profile
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
Go to Top of Page

taropatch
Average Member

USA
741 Posts

Posted - 31 May 2003 :  11:18:00  Show Profile
Thanks for taking a look at my mess.

http://www.taropatch.net/temp/topic.txt
http://www.taropatch.net/temp/post.txt
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 31 May 2003 :  14:15:51  Show Profile
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
Go to Top of Page

taropatch
Average Member

USA
741 Posts

Posted - 31 May 2003 :  23:14:15  Show Profile
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.
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 01 June 2003 :  01:05:08  Show Profile
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
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 01 June 2003 :  18:05:45  Show Profile
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
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 01 June 2003 :  18:20:53  Show Profile
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
Go to Top of Page

taropatch
Average Member

USA
741 Posts

Posted - 01 June 2003 :  22:41:31  Show Profile
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.
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 02 June 2003 :  01:51:50  Show Profile
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
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07