User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » automatically convert links when they are posted, not when they are read Page [1]  
InsaneMan
All American
22802 Posts
user info
edit post

takes a damn lot less processing power.

12/4/2001 5:48:56 PM

CrazyJ
The Boss
2453 Posts
user info
edit post

duh, that's why we do it

12/4/2001 8:44:21 PM

FroshKiller
All American
51880 Posts
user info
edit post

Uh...okay, let me draw a diagram here.

HOW IT WORKS NOW (tell me if I'm wrong): We type the [link] Crazy Code tag around the address. That text is stored on the server as-is when we post. When the message is requested upon viewing the thread, the server reads the message, sees [link], and converts it to the tag as it's sent to the reader.

HOW INSANEMAN SUGGEST IT SHOULD WORK (tell me if I'm wrong): When we type the message using the [link] tag, the server should store it as the
tag so it doesn't have to be converted every time someone reads a message using it.

WHY THAT ISN'T A GOOD IDEA: It would allow non-premium users all the functionality of the
tag without paying. As it is now, the [link] tag only works when the text inside is a straight-up URL, as opposed to the masking ability of the tag (e.g. http://www.thewolfweb.com/ vs. The Wolf Web). Also, the non-premium users would be able to implement JavaScript...which ain't cool.

[Edited on December 4, 2001 at 9:09 PM. Reason : ...]

12/4/2001 9:08:43 PM

CrazyJ
The Boss
2453 Posts
user info
edit post

guys, how do you think you have any idea how our tag processing is implemented?

when a message is posted, the body text is sent through a processor. the processor checks to see if there are any < and >s. if there are, it checks to see if they are allowed to post HTML. if they are allowed to post HTML, it does nothing. if they aren't allowed to post it, it converts the <s and >s into &lt;s and &gt;s. then it goes through and converts all of the [link], [image], smilies, etc.. when a message is pulled out for editing, the body text goes through a reverse processor.

12/4/2001 9:36:12 PM

FroshKiller
All American
51880 Posts
user info
edit post

That's what I said.

12/4/2001 9:45:09 PM

DirtyMonkey
All American
4269 Posts
user info
edit post

I think by now CrazyJ and Joe know what they are doing.

12/4/2001 10:44:19 PM

InsaneMan
All American
22802 Posts
user info
edit post

Thats not what I meant. There was this other thread where they said to automatically convert links without a link tag. Thats what I meant.

It would also be nice to have it automatically convert anything in the format "6999.jpg" by itsself to the picture, nomatter what directory it is in. I think all the image numbers are unique, right? It gets annoying typing [image]/photos/insaneman/fullsize/6999.jpg[/image ]

[Edited on December 8, 2001 at 4:11 PM. Reason : ]

12/8/2001 4:06:41 PM

 Message Boards » Feedback Forum » automatically convert links when they are posted, not when they are read Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.38 - our disclaimer.