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 (Open)
 Error for url after a quote
 New Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

modifichicci
Average Member

Italy
787 Posts

Posted - 11 October 2008 :  07:49:00  Show Profile  Visit modifichicci's Homepage  Reply with Quote
it's a Snitz forum

quote:
testing:

look at my site www.snitz.com



it's a www.snitz.com" target="_blank">Snitz forum

quote:
testing:

look at my site www.snitz.com




if I post an url after a quote a get a target blank code and link doesn't work.

I cannot figure now why, I will take a look next days, but if someone know the fix he is welcome..<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 13 October 2008 :  04:50:58  Show Profile  Visit MarcelG's Homepage
Let's test too.
My portfolio @ Phomago.
quote:
Just a test quote with an url in it without http in front of it: www.oxle.com

My forum @ www.phomago.com" target="_blank">www.phomago.com.

edit - it seems to break when you post an url in the format www.domain.com in the quote.<

portfolio - linkshrinker - oxle - twitter

Edited by - MarcelG on 13 October 2008 10:43:21
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 13 October 2008 :  10:44:29  Show Profile  Visit HuwR's Homepage
yet another reason not to allow people to enter urls's without using the [url] tags <
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 13 October 2008 :  13:22:26  Show Profile
The cause of the error seems to have been a previous fix for a different issue. In this post, a space was inserted before the www. Eliminating that space fixes this issue. Will have to look for a different way to fix the previous problem.

In "inc_func_common.asp", look for the following:

	if VerifyWWW(fString) = True then
		fString = ChkURLs(fString, " www.", 3)
	end if


Eliminate the space before the www.<

Edited by - Carefree on 30 October 2008 00:28:40
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 13 October 2008 :  13:30:29  Show Profile  Visit HuwR's Homepage
it is not the link in the quote that is the issue, it is links after the quote block.<
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 13 October 2008 :  13:56:02  Show Profile  Visit modifichicci's Homepage
it's a Snitz forum

quote:
testing:

look at my site http://www.snitz.com



it's a Snitz forum

quote:
testing:

look at my site www.snitz.com




if we use http before www in quote text all is ok<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 13 October 2008 :  14:49:24  Show Profile  Visit HuwR's Homepage
This is not the place for testing, that is what the testing forums are for.

if anyone else posts anything other than a fix in this topic they will find their account suspended.<
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 14 October 2008 :  09:13:42  Show Profile
See my post above for the fix. I forgot that editing a post won't update the date/time to indicate new content.<
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 14 October 2008 :  09:53:01  Show Profile  Visit HuwR's Homepage
well, I don't think you can class a fix that breaks something else as a fix really <
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 08 February 2009 :  20:54:40  Show Profile
Alright, here's a fix for the issue in the post I mentioned above.

In "inc_func_common.asp", look for the following lines (appx 133-134):
	fString = ChkURLs(fString, "http://", 1)
	fString = ChkURLs(fString, "https://", 2)


Note:If you have the following line immediately after the above two lines, the code should follow it.
	if VerifyWWW(fString) = True then


Now, after either the first pair of lines or after all three of the lines above, insert the following:
		for ji=1 to len(url)
			if mid(url,ji,3)="www" and left(url,3)<>"www" and left(url,3)<>"htt" then
				'do nothing
			else
				'process url
				fString = ChkURLs(fString, "www.", 3)
			end if
		next


Delete the next line:
	fString = ChkURLs(fString, "www.", 3)


This method solves both problems. Since the other topic is locked, I couldn't reply there.<

Edited by - Carefree on 14 February 2009 15:17:22
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07