Log in

View Full Version : Editing [url] BBCode


PH03N1X
09-15-2007, 03:40 PM
Howdy,
Is there any way to edit the functionality of the bbcode? Instead of making it automatically link, we want it to be just underlined text. Example:

Currently: [URL]http://www.google.com/
We want it: google.com (but with the http and www before it, still not creating a link)

Nick1337
09-15-2007, 03:53 PM
Thats simliar to what i asked, but yet no respond.. i just want it to make links automatically get coded

PH03N1X
09-15-2007, 04:05 PM
Auto coding I hear isn't easy, but still. I'm looking around in the files, I'll post an update for 'ya if I figure it out - possibly make a mod.

Nick1337
09-15-2007, 05:58 PM
iight, cool

PH03N1X
09-18-2007, 01:34 AM
Anyone?! Please?!

Kirk Y
09-18-2007, 01:48 AM
Well it's not a pretty modification, but it does the trick.

Find in 'includes/functions_newpost.php':
$urlReplaceArray = array(
"\\2\\4"
);Replace with:
$urlReplaceArray = array(
"\\2\\4"
);