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
 Strange text errors in Poll Mod
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Fitz
Starting Member

26 Posts

Posted - 24 April 2005 :  17:43:14  Show Profile
Hi,

Has anyone ever seen ' (apostophe) become " (quotes) for no reason? In a new poll I created, for example, no matter how many times I log back in, clear cache, log in as a different user, etc., Don't becomes Don""t. Once, I even saw three """s. Personally, I think it's a gremlin because it's doing it on its own.

Also, as a complete newbie, I have a couple of ideas that could be added to the Poll Mod ReadMe_First file. Anyone know if, and who, I should contact?

Thanks.

Fitz

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 24 April 2005 :  19:49:00  Show Profile
You could try contacting the author. I think Davio is author. He happens to be around the snitz forums.

Post a link to a txt version of your post_info.asp file. Have you done a search on this. I feel I have fixed this a dozen times already.

Support Snitz Forums
Go to Top of Page

Fitz
Starting Member

26 Posts

Posted - 27 April 2005 :  15:59:00  Show Profile
Thanks for the reply. Yes, I did a search. I'm not sure that I did what you suggested, but here's what I thought you meant: http://www.patriotmusic.com/post_info.txt

Fitz
Go to Top of Page

uncouthed
Starting Member

4 Posts

Posted - 11 May 2005 :  15:22:43  Show Profile  Send uncouthed a Yahoo! Message
I just installed this and have the same problem with apostrophes (single quote ') becoming double quotes ( " ). Everything else appears to be fine, any suggestions? This is the only thread I can find on this subject. I don't mind reading posts for the answer just link me to the fix please.

Thanks in advance.
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 13 May 2005 :  10:17:39  Show Profile
Fitz, lines 844 and 467 in your post_info.asp, you need to edit to look like this, with the code in red removed:
txtAns(i) = chkString(Request.Form("answer" & CStr(i)),"SQLString")
This and surrounding code looks like this:
	' ##################### Poll Mod ######################
	if Request.Form("poll") = "1" then
		ReDim txtAns(strMaxVotes)
		for i = 1 to strMaxVotes
			if trim(Request.Form("answer" & CStr(i))) <> "" then
				txtAns(i) = chkString(Request.Form("answer" & CStr(i)),"SQLString")
			else
				txtAns(i) = ""
			end if
		next
	end if
' #####################################################

Uncouthed, you can find the similar code in your post_info.asp file and make the same changes. If you can't find it, post a link to a txt version of your post_info.asp file.

Support Snitz Forums

Edited by - Davio on 13 May 2005 10:19:01
Go to Top of Page

Fitz
Starting Member

26 Posts

Posted - 22 May 2005 :  14:51:27  Show Profile
Thanks. Sorry it's taken so long to respond. I've been away. I'm going to try it now.

Fitz
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.36 seconds. Powered By: Snitz Forums 2000 Version 3.4.07