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
 Double Message Text After Poll Mod
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Juncti
Starting Member

9 Posts

Posted - 03 March 2003 :  14:23:25  Show Profile
I installed the poll mod and it is working, but now all the posts put the message text twice.

http://www.alhamco.com/splits.gif

There is a link to a screen shot of what it looks like, I can't link to the forums since they are on an intranet.

Does anyone have any ideas on how to resolve this? I'm guessing during the editing for the poll mod I might of messed up a line somewhere causing this double text display. Was hoping someone who has better knowledge of how the forum reads the message and displays it might be able to help me locate the problem. Thanks.

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 03 March 2003 :  14:37:27  Show Profile
Post a link to a txt version of the file that you are having the problem with.

Support Snitz Forums
Go to Top of Page

Juncti
Starting Member

9 Posts

Posted - 03 March 2003 :  15:30:33  Show Profile
Not sure which file is needed but I'm guessing either topic.asp or post.asp. Figure one of those handles the rendering of the message in the display.

http://www.alhamco.com/topic.txt

http://www.alhamco.com/post.txt

In case neither of those controls the messages, here is a zip file(130k) of all the files edited during the mod. They are all in txt format.

http://www.alhamco.com/Alleditedtxt.zip
Go to Top of Page

Breckar
Starting Member

9 Posts

Posted - 05 June 2003 :  15:55:16  Show Profile
Hey, this sounds like the error I'm getting. Here's how I installed the Poll MOD (new install).

Copied the forum web folder for backup.

Copied over the Poll mod install asp file.

Ran the Mod install from admin window.

It didn't make the table because I had permissions limited on the account that I use in connection string. So made the account a dbowner and reran the install from admin menu. Tables were created.

Made all modifications to needed files and copied the files over that were needed. Noticed that the very first message of each topic were in duplicate.

This problem happens even when opening forums via my backed up forum directory that has none of the poll mod changes in the asp files.

You can see the problem here:
http://www.gloryguild.net/glory/forum/

and visit the visitors forums
http://www.gloryguild.net/glory/forum/post.txt
http://www.gloryguild.net/glory/forum/topic.txt

Thanks.


Go to Top of Page

James Williams
Starting Member

8 Posts

Posted - 05 June 2003 :  16:21:37  Show Profile
I have this problem as well...

Any posted topic shows in duplicate...

See the issue here www.eq-wov.org/forum

user test
pass test

Only the general public area is available but that should be enough for you to see the problem
Go to Top of Page

Breckar
Starting Member

9 Posts

Posted - 05 June 2003 :  18:00:07  Show Profile
I don't see the problem on your site. Did you find a fix?
Go to Top of Page

James Williams
Starting Member

8 Posts

Posted - 05 June 2003 :  18:15:52  Show Profile
Notice how if you click on a topic in a forum, the first post is messed up??

Basically it repeats what was typed and changes the font and style...

Maybe this isn't what the problem that this post is referring to though...
Go to Top of Page

Breckar
Starting Member

9 Posts

Posted - 05 June 2003 :  19:13:28  Show Profile
Ah, I see, yours is a little different from mine. Mine duplicates the post in a 2nd column along side the same message for the first post in any topic.
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 05 June 2003 :  20:41:05  Show Profile
Breckar, in your topic.asp file, find lines 1281 - 1288:
Response.Write          "                      <td valign=""top"" height=""100%""><font face=""" & strDefaultFontFace ...
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
Replace it with this:
	Response.Write "                    </tr>" & vbNewLine

James, you will need to post a txt version of the file you are having the problem with.

Support Snitz Forums
Go to Top of Page

James Williams
Starting Member

8 Posts

Posted - 06 June 2003 :  12:38:21  Show Profile
Here ya go..

You can see the issue if you look at any of the posts on the site

User - test
Pass - test

http://www.eq-wov.org/webimages/topic.txt

http://www.eq-wov.org/webimages/post.txt

Thanks in advance!

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 06 June 2003 :  14:05:06  Show Profile
Remove lines 1246 - 1252 in your topic.asp file.

Support Snitz Forums
Go to Top of Page

James Williams
Starting Member

8 Posts

Posted - 06 June 2003 :  15:19:19  Show Profile
That worked!

Thank you very much Davio
Go to Top of Page

Breckar
Starting Member

9 Posts

Posted - 06 June 2003 :  19:58:17  Show Profile
Awsome, Thanks so much Davio! That fixed the topic problem, but I'm also having some issues with my post.asp now. Not sure how to describe it, but you should be able to see it in the visitors forum.

http://www.gloryguild.net/glory/forum/forum.asp?FORUM_ID=8
http://www.gloryguild.net/glory/forum/post.txt
I've tried to look at this on my own, but I'm just not the guru like yourself.

Are these problems something that I did wrong? Because I'd like to avoid the same mistake in the future.

Thanks Again.

Edited by - Breckar on 06 June 2003 19:59:21
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 06 June 2003 :  23:09:09  Show Profile
Find lines 1247 - 1249 in your file and comment them out by placing a single quote ' at the beginning of those lines.
'Response.Write	"              <tr>" & vbNewLine & _
'		"                <td bgColor=""" & strPopUpTableColor & """> </td>" & vbNewLine & _
'		"                <td bgColor=""" & strPopUpTableColor & """>" & vbNewLine
Find lines 983 and 984 in your file:
Response.Write	"                <td bgColor=""" & strPopUpTableColor & """ noWrap vAlign=""top"" align=""right""><font face=""" ...
		"                <br />" & vbNewLine & _
Replace it with this:
Response.Write	"                <br />" & vbNewLine & _

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