PDA

View Full Version : New Posting Features - Automatically code URL's


MORTAL 7
04-03-2009, 10:00 PM
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 ,:o
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

$urlReplaceArray = array(
"\\2\\4"
);

replace with

$urlReplaceArray = array(
"\\2\\4"
);

I hope someone finds it useful ;)

Jasem
04-04-2009, 02:07 PM
great work, thank you!

Installed

ry215
04-04-2009, 03:35 PM
SAME: https://vborg.vbsupport.ru/showthread.php?t=151746&highlight=CODE

Princeton
04-04-2009, 03:48 PM
moved to graveyard ..
mod already exists
https://vborg.vbsupport.ru/showthread.php?t=151746