Anonymize links with 1 line of code

Hoxxy

New Member
Ok so I have recently noticed a few members asking for an anonymizer and though I know of 2 mods currently available I thought I would share with you on how I anonymize my forum (not vBTEAM) links in 1 simple edit...

Note:
This mod means editing a main .php file so only do it if you feel comfortable doing so...

Open includes/class_bbcode.php and find:

PHP:
// standard URL hyperlink
		return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";

Replace with:
PHP:
// standard URL hyperlink
		return "<a href=\"http://anonym.to/?$rightlink\" target=\"_blank\">$text</a>";

now all links will be anonymized via anonym.to,

DEMO

now wasn't that easy :)

(This will work with all versions of vBulletin)
 
HTML:
http://anonym.to/?http://anonym.to/?http://anonym.to/?http://anonym.to/?
WTF?...how many times have you added the extra bit of code?

Assumably this is the problem.

I also have vBSEO installed and did not get that issue.
 
Back
Top