Back to Modification Graveyard

Automatically code URL's
Mod Version: 1.00, by MORTAL 7

This thread is in the Modification Graveyard.
vB Version: 3.8.2 Rating: (0 vote - 0 average) Installs: 3
Released: 04 Apr 2009 Last Update: Never Downloads: 0
Not Supported Template Edits  

How to automatically code links in vb3.8.2

This will wrap code tags instead of url around any links in new threads & posts..automatically.

Very handy if you use VB firewall which blocks links & sends you emails because
someone has forgotten to code thier link

not much of a mod ,
but saves moderators hours of work going around forum
adding code tags manually..
works on all VB down to 3.7.3 that i've had , should work on all

Open
includes functions_newpost.php

line 231 find

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

PHP Code:
$urlReplaceArray = array(
            
"[code]\\2\\4[/code]"
        
); 
I hope someone finds it useful

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024