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: General / Current Version (Old)
 Reply with quotes displays code of message
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

samyot
Junior Member

Canada
242 Posts

Posted - 09 July 2001 :  09:08:49  Show Profile  Visit samyot's Homepage  Send samyot a Yahoo! Message
When a members replies to a post from admin the message displays the html code of the old message. (This is using reply with quotes). Go to http://syltek.dingojunction.com/forum/topic.asp?TOPIC_ID=25&FORUM_ID=18&CAT_ID=9&Topic_Title=Test&Forum_Title=Feedback for an example.

Scroll down to the first post by 'samyot' and you will see the problem.

Edited by - samyot on 09 July 2001 10:51:15

samyot
Junior Member

Canada
242 Posts

Posted - 09 July 2001 :  10:52:06  Show Profile  Visit samyot's Homepage  Send samyot a Yahoo! Message
The problem seems to be with 'admin' posts that contain forum code. The opening <blockquote> tag is not converted to [quote] when you click on 'Reply with Quote'

Please let me know if you need to see any of my files.
Thanks.....

Sylvain Amyot
http://syltek.dingojunction.com/forum


Edited by - samyot on 09 July 2001 13:45:30
Go to Top of Page

samyot
Junior Member

Canada
242 Posts

Posted - 09 July 2001 :  14:40:48  Show Profile  Visit samyot's Homepage  Send samyot a Yahoo! Message
I found the problem !

When I installed the New Colour template MOD it entered 'Verdana,Arial,Helvetica' for strDefaultFontFace.

All my default users have an entry of 'Verdana, Arial, Helvetica' for strDefaultFontFace (with spaces after the comma). My 'Admin' account uses a new theme from this MOD.

When you hit 'Reply with Quote' from an 'Admin' post, the <blockquote> doesn't get converted to [quote] because of this.

Sylvain Amyot
http://syltek.dingojunction.com/forum
Go to Top of Page

samyot
Junior Member

Canada
242 Posts

Posted - 09 July 2001 :  15:04:19  Show Profile  Visit samyot's Homepage  Send samyot a Yahoo! Message
Now I have the same problem with with the closing [/quote] because my font size by default is 1 and for my admin theme it is 2.

Is there a way to modify the code in inc_function.asp to ignore the entry for strDefaultFontFace and strDefaultFontSize (like a wild card) ?

Sylvain Amyot
http://syltek.dingojunction.com/forum
Go to Top of Page

samyot
Junior Member

Canada
242 Posts

Posted - 10 July 2001 :  10:12:38  Show Profile  Visit samyot's Homepage  Send samyot a Yahoo! Message
Can anybody help ?!?!?!

Sylvain Amyot
http://syltek.dingojunction.com/forum
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 10 July 2001 :  10:26:23  Show Profile
I'm not quite sure what your problem is.
When you quote the admins post, it will show up as html?

- David
Go to Top of Page

samyot
Junior Member

Canada
242 Posts

Posted - 10 July 2001 :  10:55:40  Show Profile  Visit samyot's Homepage  Send samyot a Yahoo! Message
yes only for the quote tag. In inc_functions.asp around line 290) the <blockquote> tag taken from the 'r_message' field of the 'forum_reply' table is converted to (quote) by replacing this string. This happens during the 'Reply with quote' options. The bolded values are different depending on the template the members use and therefore isn't always equal to this and displays the <blockquote> html tag instead.

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></BLOCKQUOTE id=quote></font id=quote><font face=""" & strDefaultFontFace & """ size=" & strDefaultFontSize & " id=quote>","(/quote)", 1, -1, 1)

Is it possible to use wildcards here ?

Sylvain Amyot
http://syltek.dingojunction.com/forum


Sylvain Amyot
http://syltek.dingojunction.com/forum
Go to Top of Page

samyot
Junior Member

Canada
242 Posts

Posted - 10 July 2001 :  14:44:21  Show Profile  Visit samyot's Homepage  Send samyot a Yahoo! Message
Can the replace function in inc_functions.asp use wildcards in the regular expression

Sylvain Amyot
http://syltek.dingojunction.com/forum
Go to Top of Page

samyot
Junior Member

Canada
242 Posts

Posted - 10 July 2001 :  15:41:35  Show Profile  Visit samyot's Homepage  Send samyot a Yahoo! Message
I temporarily fixed this bug by changing the C_STRDEFAULTFONTFACE and C_STRDEFAULTFONTSIZE entries in the forum_colours table to be all the same and edited all message containing <quote> tags to reflect these changes. (C_STRHEADERFONTSIZE & C_STRFOOTERFONTSIZE were already all the same.)

The problem still exists but at least now if a member 'replies with post' and there is already a quote in the message, the page will come up ok.



Sylvain Amyot
http://syltek.dingojunction.com/forum


Edited by - samyot on 10 July 2001 15:44:46
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