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 Poll error in topic.asp?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

zencadet
Starting Member

11 Posts

Posted - 09 August 2003 :  12:02:00  Show Profile  Visit zencadet's Homepage
Last night I implemented the Poll Mod 2.0.5 and after correcting a few errors I made when adding the changes to the files, I am still left with a curious display error that I presume is linked to topic.asp. I have since redone topic.asp "from scratch" (i.e. a backed up copy) and still the error is there. The image below shows you what I mean, and clicking on it will take you to a larger version so you can see *exactly* what I mean if this isn't clear enough.



As you should be able to see the message is strangely duplicated across two columns with the right column being correctly implimented while the left one seems to be just the message itself. Unfortunately, this problem seems to have infiltrated its way across my site and the first post on every topic thread appears to be like this, whether it is a poll or not.

Here is a link to a text version of my topic.asp if you feel you need to look at it: http://www21.brinkster.com/zencadet/topic.txt - The Poll MOD sections are still clearly marked out.

I also have the Avatar MOD installed which added some lines to topic.asp, also (I installed that one first), but no other MOD I've installed has modified this file as far as I can remember.

Any ideas where I went wrong?

Nimrod, The Zen Cadet


Homepage: http://www.zencadet.com
Forums: http://www21.brinkster.com/zencadet

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 09 August 2003 :  18:45:13  Show Profile
Replace lines 1229 - 1236
Response.Write		"                      <td valign=""top"" height=""100%""><font ...
if Request.QueryString("SearchTerms") <> "" then
	Response.Write	SearchHiLite(formatStr(Topic_Message))
else
	Response.Write	formatStr(Topic_Message)
end if
Response.Write	"</span id=""msg""></font></td>" & vbNewLine & _
		"                    </tr>" & vbNewLine
with the following code:
Response.Write "                    </tr>" & vbNewLine

Support Snitz Forums
Go to Top of Page

zencadet
Starting Member

11 Posts

Posted - 09 August 2003 :  20:30:15  Show Profile  Visit zencadet's Homepage
Oh, you star! I have spent a good part of the evening going over this code comparing it, trying to find the chunk of code I'd clearly left in, but to no avail. Thanks loads, it's working fine now.

Nimrod, The Zen Cadet
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 09 August 2003 :  23:25:58  Show Profile
Well, I'm the expert here. I know both the snitz code and the poll mod code. So when a problem arises I know where to look. So it doesn't take me more than 2 minutes to tell you the mistakes in your file.

Not to mention a lot of users who install the poll mod make the exact same mistake when adding the code. So I know what i was looking for.

Support Snitz Forums
Go to Top of Page

zencadet
Starting Member

11 Posts

Posted - 11 August 2003 :  06:59:19  Show Profile  Visit zencadet's Homepage
quote:
Originally posted by Davio
Not to mention a lot of users who install the poll mod make the exact same mistake when adding the code. So I know what i was looking for.



I guess it's a mistake in the source files then in that it's not clearly commented that the mod code replaces the original. At least, that's what it looks like to my "non-expert" eyes.

Nimrod, THe Zen Cadet
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 11 August 2003 :  15:36:15  Show Profile
I won't disagree with you there. It could be a bit clearer in the files to replace the text. That was my bad when I created the poll mod.

Support Snitz Forums
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.3 seconds. Powered By: Snitz Forums 2000 Version 3.4.07