Author |
Topic  |
jwhite
New Member

51 Posts |
Posted - 05 April 2006 : 17:27:29
|
On a web site where I am a moderator we are having a problem.
When someone replys to a message then that message is replyed to again the display is in code instead of block quotes.
The Site is http://www.electricalknowledge.com/forum/active.asp
it ends up looking like this: quote: -------------------------------------------------------------------------------- Originally posted by jwhite
[quote]Originally posted by Romex Racer
Darn Canadians. <hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote"> a reply
-------------
Any ideas? |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
laser
Advanced Member
    
Australia
3859 Posts |
Posted - 05 April 2006 : 17:35:19
|
Do you have a link as an example, and maybe a test account ?
Does it happen to all users or only some ? |
 |
|
jwhite
New Member

51 Posts |
Posted - 05 April 2006 : 18:23:45
|
Dont know if anyone changed the forum code.
I tested it here and it worked fine.
When I test it on electricknowlege i get the problem. I have so far deleted or corrected occurances.
It seems to happen to all users, not just some.
|
 |
|
jwhite
New Member

51 Posts |
Posted - 05 April 2006 : 18:30:34
|
Old forum admin is out of touch. New forum admin sent me a copy of the forum code being used. I am not sure which files to compair to see where it was changed.
I am not a computer guy. I need help. |
 |
|
jwhite
New Member

51 Posts |
Posted - 07 April 2006 : 15:02:10
|
Does anyone know which file in the forum code controls what happens when someone reply's to messages? |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
jwhite
New Member

51 Posts |
Posted - 07 April 2006 : 16:31:32
|
I discovered that these lines are missing. they begin at line 108 using aranease program. They are from the inc_func_posting.asp file.
'## left for compatibility with older versions of the forum fString = replace(fString, "<hr height=""1"" noshade id=""quote""></blockquote id=""quote""></font id=""quote"">","[/quote]", 1, -1, 1) '##
Could this be my problem? |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
jwhite
New Member

51 Posts |
Posted - 08 April 2006 : 10:39:37
|
I added the line above, but I think I did it wrong. I got this error message when I tried it in the forum.
Microsoft VBScript compilation error '800a0401' Expected end of statement /forum/inc_func_posting.asp, line 101 fString, "<hr height=""1"" noshade id=""quote""></font id=""quote""></blockquote id=""quote"">","[/quote]", 1, -1, 1)
The line I changed was not on 101. according to aranease. |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 08 April 2006 : 11:14:26
|
You neeed to use the complete line:
fString = replace(fString, "<hr height=""1"" noshade id=""quote""></blockquote id=""quote""></font id=""quote"">","[/quote]", 1, -1, 1)
Have a look for an unchanged file, to find out where it should go, not in terms of line numbers but in terms of the lines that go before and after. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
 |
|
jwhite
New Member

51 Posts |
Posted - 08 April 2006 : 13:27:45
|
could there be changes in other files that affect how this section of code works.
I am afraid that if the original admin changed this, he may have changed other stuff.
|
 |
|
jwhite
New Member

51 Posts |
Posted - 08 April 2006 : 13:29:04
|
Do you know a good free file compair program? |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 09 April 2006 : 10:41:07
|
There's a free program out there called TextDiff (or something to that effect). I've been using it at work for some time and its sufficient. Though I will admit that its not nearly as robust as Beyond Compare, it should suffice for small jobs... of course, so will the 15-day trial.  |
 |
|
svickrey
Starting Member
USA
43 Posts |
Posted - 20 May 2006 : 19:25:58
|
Ok let me shed some light on this topic. I believe this problem started while upgrading to the last version of snitz. Some of the files I copied to make the upgrade didn't take for whatever reason. I had other problems that made me realize this. These problems where fixed by reuploading their files. Can someone tell me where to find a good copy of the inc_func_posting.asp file? |
~ PhraseWorks ~ a phrase generator and manager for adwords |
 |
|
Topic  |
|