Auto Code All Links

M6747

New Member
Here is the link-
Code:
http://www.vbulletin.org/forum/showthread.php?t=151746

it would be greatly appreciated thanks :)
 
Here it is

This mod involves editing a PHP file from vBulletin.

open the includes/functions_newpost.php

Find

PHP:
 $urlReplaceArray = array( 
            "[url]\\2\\4[/url]" 
        );
And replace with

PHP:
 $urlReplaceArray = array( 
            "[code]\\2\\4[/code]" 
        );
What this will do is make any link such as http://google.com appear like this:

Code:
http://google.com


NOTE: You can still make clickable URL's you just have to use the tag. It just doesnt auto do the urls anymore.
 
Back
Top