FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » Create automatic links with www. only
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Create automatic links with www. only [message #15076 is a reply to message #15060] Mon, 01 December 2003 14:10 Go to previous messageGo to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma:
Senior Member
Administrator
Core Developer
If you want to do it you can do so by adding:

$str = preg_replace('!(^|\s)(www\.[A-Za-z0-9_]+\.[A-Za-z]+([^\s]?))!i','\1http://\2', $str);



To the top of tags_to_html() function inside post_proc.inc.t. However at this time I am not convinced it is needed in the standard forum distribution.


FUDforum Core Developer
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Private message commands at top of page
Next Topic: Cmd line installer.
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 06:29:11 GMT 2024

Total time taken to generate the page: 0.04397 seconds