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 Discussions (General)
 Bug + Possible Fix "awww...."
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 3

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 12 November 2004 :  15:38:44  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
This hasn't anything to do with sland words, it's simply the ability of the function to recognize a valid URL we're talking about.

What about this: http://www
Not a valid URL, but converted to a link anyway.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 12 November 2004 :  15:43:05  Show Profile  Visit dayve's Homepage
you fed right into my earlier argument then...


Not a valid Image, but tried to convert to an image anyway.

I shouldn't have to type other tags in order to show what I wanted to show based on this logic.

[img]blah[/img]


Edited by - dayve on 12 November 2004 15:44:23
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 12 November 2004 :  16:08:48  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
If you liked this fix.... please remove it lol

and try this:

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=55639

-Stim
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 12 November 2004 :  16:10:17  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
quote:
Not a valid Image, but tried to convert to an image anyway.

You forced the conversion into an image by using the tags, that has nothing to do with the URL parsing. There's no need to validate an image link or URL when it's posted using tags.

quote:
I shouldn't have to type other tags in order to show what I wanted to show based on this logic.

How is the forum supposed to know when you want a tag to be ignored?
A [ignoreforumcode] tag maybe...

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

miperez
Junior Member

Spain
243 Posts

Posted - 17 November 2004 :  07:19:38  Show Profile
My two cents on this issue:

- Instead of thinking of what the base code should not do, I'd rather think of what it should be doing. In my opinion, it should automatically recognize valid (that is, fully qualified) URLs and turning them from plain text to html links. If there is a case where a certain string which is not a correct URL is being treated as such, IMHO it should be corrected. I personally don't care if you call it a bug, enhancement, improvement... I think it would make Snitz better and that is what I would care of.
- Regarding how it should know whether you wanted to use [IMG] as a string or a tag, well, I think of this as a programmer. In any language or tool, there are certain words that are considered "restricted keywords", that are meaningful to the language and that, thus, cannot be used. I cannot declare a variable called "int" in C. In this case, it's the same. Users should be able to type any string they want to, except those that are "meaningful" to Snitz, that could be considered "language keywords", that is, tags.

If anyone is so unlucky to be called "[IMG] B. Smith" he could try to sign his posts post as John Doe

Best Regards

Mikel Perez

"Hell is the place where everything test perfectly, and nothing works"
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 21 November 2004 :  02:13:39  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Ok... I've updated my fix to my new edit_hrefs function...

This thread isnt really needed anymore, I'm locking it.

As for your forum-code conversation (which appears might be over) - It's been covered and if not, different topic.

-Stim
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous Page
 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.17 seconds. Powered By: Snitz Forums 2000 Version 3.4.07