Status
Not open for further replies.

Whoo

The Wise One
2,480
2008
282
0
I am running vBulletin 3.7 and I would like to request the mod that disabled all live links in the posts.

regards and I hope someone can find it for me.
 
18 comments
Open the includes/functions_newpost.php ( Edit in control panel or on your computer and reupload ).

Find:
PHP:
        $urlReplaceArray = array(
            "[url]\\2\\4[/url]"
        );
Replace with:
PHP:
        $urlReplaceArray = array(
            "\\2\\4"
        );
 
i did it this way,


open the includes/functions_newpost.php

Find
PHP Code:
$urlReplaceArray = array(
"\\2\\4[/u-r-l]" ); And...o-d-e]" Just remove the" - " from code/url
 
but if you have let's say a 3 part rapidshare download, it would come out like this:

Code:
http://rapidshare.com/file1.zip
Code:
http://rapidshare.com/file2.zip
Code:
http://rapidshare.com/file3.zip

My way just disables the link while not confusing the situation.
 
but if you have let's say a 3 part rapidshare download, it would come out like this:

Code:
http://rapidshare.com/file1.zip
Code:
http://rapidshare.com/file2.zip
Code:
http://rapidshare.com/file3.zip
My way just disables the link while not confusing the situation.

Actually it doesn't. Here's mine for CouchTater.com

PHP:
$urlReplaceArray = array(
            "[code]\\2\\4[/code]"
        );
It auto codes the entire block however with that being said. If you put an extra space between the lines then yes it will do as you have suggested it would.

Both ways work well and is mere preference as to which you use. You can also disable live links in your newthread / newreply templates by setting urlparsing to 0.
 
i had that once but its a pain when someone copys live links and the user doesnt post the whole link and then it auto codes

its just a mess
 
Ok, had to dig this up and reply, I tried Dexters idea,(You can also disable live links in your newthread / newreply templates by setting urlparsing to 0.
) and its the best one, the other ways have loopholes where if you write it right, it will still be live link, with his, its 100% no live links will get thru, Thanks Dexter
 
Ok, had to dig this up and reply, I tried Dexters idea,(You can also disable live links in your newthread / newreply templates by setting urlparsing to 0.
) and its the best one, the other ways have loopholes where if you write it right, it will still be live link, with his, its 100% no live links will get thru, Thanks Dexter


how can I set url parsing to 0?
 
About Live Links.... In past i tried 2 mods.... this mod.... by making live links coded and the 2nd was by adding the adress "http://anonym.to" in all links (Using a code like DeXteR's)..... this was much better...
 
you can put all the URLs into an array then merge them in the code tags thats what I plan on doing with wTalk
 
Status
Not open for further replies.
Back
Top