PDA

View Full Version : New Posting Features - Don't automatically parse links


Lag
07-18-2007, 10:00 PM
This mod is based off of SiK xGODx's Auto code all links (https://vborg.vbsupport.ru/showthread.php?t=151746) mod. But instead of automatically coding all links it simply wont parse any links. The mod consists of one file edit. It's a very simple mod, but I suspect some people will use it.

Open the includes/functions_newpost.php file.

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


And Replace with
$urlReplaceArray = array(
"\\2\\4"
);


Now instead of your links coming showing up like this:
http://www.vbulletin.org

The will show up like this:
http://www.vbulletin.org

I think this lessens the clutter of the code box and still works effectively at removing live links.

Luky
07-19-2007, 06:23 PM
What about the [url= links?

Atwal
07-19-2007, 07:49 PM
Would you get the same results by removing the url codes instead of having to add the noparse

LordDB
07-19-2007, 07:55 PM
I guess the anonymizer hack would just be as good!

Br.:)

Lag
07-21-2007, 09:01 PM
It's not meant to diable live links comeplety. Just to prevent noobies that don't know any better.

pkkn
07-22-2007, 01:57 AM
Good work, it is a handy mod. i am suspecting that other templates will need the same mod applied....like editpost.php etc etc......again good work!

LOL............ First post, yet been a member for over 3 years.......leecher I say NOT!!

FireFish
07-25-2007, 03:16 AM
I could use a mod like this to not automatically cut off the middle of long links, like:

http://www.cnn.com/fusio........cfm

CrazyGood
09-08-2007, 09:17 PM
Thanks this is a definite must download mod from this site. =]

Ducks
11-10-2007, 11:46 AM
Can this be done as plugin instead?

imranbaig
11-11-2007, 05:43 AM
Thanks. Can this be implemented only for users who have a set pos tcount say users with post count 25, are not given live links even with [url.. tag

neopet001
11-24-2007, 04:58 AM
This is a good way.
However, if I wanna change the way tag [url... acts, how can I ? (instead of parsing link, I wanna it doing something else ..)?

rolfw1
08-26-2008, 06:10 PM
Hi all, I appreciate that this is an old post, I have this working on 3.7.2, but is there a way of making internal links parse, whilst still not parsing external ones?

NiyazKazi
03-29-2009, 04:34 AM
great mod... comes in handy :D