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
 quotation issue
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

dogmod
Starting Member

7 Posts

Posted - 06 April 2005 :  17:09:30  Show Profile
we have a problem when editing posts that have a quote in them.

here's an example of what's happens...

quote:
someone's post quoted


when you go to edit any post's with quotes in it, the code gets changed and shows this

[quote] someone's post quoted <hr height="1" noshade id="quote"></font></blockquote>

the section in blue is what got changed.


here's what it looks like on the forum side (third post from Siamhie)
http://www.deliriumsrealmforum.com/topic.asp?TOPIC_ID=3288


i've searched thru this forum but didn't find any answers.

here's the stats on the forum:
Snitz version 3.4.05
SQL Server

mods installed:
Site Integration Mod
SmileManager Plus
IP Gate
Avatar Mod
Active Users
Private Messages
Front Page News


any ideas??

Edited by - dogmod on 20 April 2005 12:06:33

cripto9t
Average Member

USA
881 Posts

Posted - 21 April 2005 :  09:19:23  Show Profile
Make sure this line is right. I think your missing the parts in red.
In "inc_func_common.asp" find this code around line 406
	if fField_Type <> "signature" and fField_Type <> "title" then
		fString = doCode(fString, "[quote ]", "[/quote]", "<blockquote id=""quote""><font size=""" & strFooterFontSize & """ face=""" & strDefaultFontFace & """ id=""quote"">quote:<hr height=""1"" noshade id=""quote"">", "<hr height=""1"" noshade id=""quote""></font id=""quote""></blockquote id=""quote"">")
	end if

I've had this happen, the code has to be character perfect or the replace in "inc_func_posting.asp" won't happen.

Better yet. The parts in red have to be identical.
inc_func_common.asp
	if fField_Type <> "signature" and fField_Type <> "title" then
		fString = doCode(fString, "[quote ]", "[/quote]", "<blockquote id=""quote""><font size=""" & strFooterFontSize & """ face=""" & strDefaultFontFace & """ id=""quote"">quote:<hr height=""1"" noshade id=""quote"">", "<hr height=""1"" noshade id=""quote""></font id=""quote""></blockquote id=""quote"">")
	end if

inc_func_posting.asp around line 97
		fString = replace(fString, "<blockquote id=""quote""><font size=""" & strFooterFontSize & """ face=""" & strDefaultFontFace & """ id=""quote"">quote:<hr height=""1"" noshade id=""quote"">","[quote ]", 1, -1, 1)
		fString = replace(fString, "<hr height=""1"" noshade id=""quote""></font id=""quote""></blockquote id=""quote"">","[/quote]", 1, -1, 1)

    _-/Cripto9t\-_
Go to Top of Page

dogmod
Starting Member

7 Posts

Posted - 23 April 2005 :  11:32:45  Show Profile

that did the trick

the admin downloaded a new copy of the inc_function_posting.asp file and applied your changes to it.

thanks for the help
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 23 April 2005 :  13:34:17  Show Profile
No problem .

    _-/Cripto9t\-_
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.21 seconds. Powered By: Snitz Forums 2000 Version 3.4.07