Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Bug Reports (Closed)
 (v3.4.03) BUG+FIX: ReplaceImageTags and extra tags
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

favorini
Starting Member

USA
27 Posts

Posted - 21 April 2003 :  16:56:41  Show Profile
There is a minor bug in ReplaceImageTags with the way it handles extra [/img] tags. If you have an extra [/img] tag in your message, it will hide everything after it up to the next [img] tag or the end of the message.

Around line 1168 of inc_func_common.asp in ReplaceImageTags function find this code:
Dim counter1, counter2
and add the part in red so it looks like this:

Dim counter1, counter2, counter3

Around line 1251 of inc_func_common.asp in ReplaceImageTags function find this code:

strResultString = strResultString & roTag & strUrlText & rcTag & strArray2(1)
and add the three lines in red so it looks like this:
strResultString = strResultString & roTag & strUrlText & rcTag & strArray2(1)
for counter3 = 2 to Ubound(strArray2)
    strResultString = strResultString & strArray2(counter3)
next
-Fran

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 18 June 2003 :  00:22:28  Show Profile
fixed in v3.4.04
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.15 seconds. Powered By: Snitz Forums 2000 Version 3.4.07