Back to vBulletin 4.x Add-ons

Redirect all External Links anonymously - Locally Hosted (Updated)
Mod Version: 1.0.3, by thetechgenius

vB Version: 4.2.2 Rating: (2 votes - 5.00 average) Installs: 21
Released: 03 Oct 2014 Last Update: 16 Sep 2017 Downloads: 173
Not Supported Template Edits Additional Files Re-usable Code Translations Is in Beta Stage  

I have just created a custom URL Anonymizer for vBulletin (or any web site).

All files are hosted locally on your server, including the JS files. This is something like how anonym.to redirects their links. But these files are hosted on your server, so you can use HTTPS, or use it on any site you want. And its open-source, my very own code.

Anonymized Links will show like this: http://yoursite.com/redirect/?to=http://externalsite.com

Lets get started.

1) First, put this at the Bottom of your footer template:

Code:
<script src="js/anon.js" type="text/javascript"></script>
<script type="text/javascript"><!--
protected_links = "javascript://,yoursite.com";
auto_anonymize();
//--></script>
Change yoursite.com to your actual domain name. You can also add URL's that you don't want to be Anonymized. Separate the URL's with commas. Or you could remove all of the protected sites, and have ALL links use the Anonym Redirect System.

Note: Make sure you keep javascript:// in with the protected links, so the addon doesn't break any of your other javascript functions. I will find a way to include this in the actual JS file, so you dont need to keep it in with your protected links, but for now this is an easy fix. (I am really busy at the moment)

2) Download the zip file at the end of this post, and extract the contents on your PC.

3) Upload the contents of the "upload" folder, to your forum root.

Done!

Let me know what you think. You can also use this script on a different site, such as a custom short URL, and link your Anonymized URLS to the short URL. If you have any questions, please post here, PM, Or contact me on my site: https://thetechgenius.net.

--------------------------------------------------------------------------------

Update 1.0.2

Fixed
- HTTPS links was not being anonymized

Update 1.0.3
Changed - No need to edit files anymore. Add the javascript code and upload the files to your forum root. Instead of the files linking to your domain (yourdomain.com/redirect/index.php), they will link to the mod directory (redirect/index.php). SO there is no need for any file edits, besides adding the Javascript to your footer template.

--------------------------------------------------------------------------------

Update v2.0

Ok guys/girls, I have finally re-coded the entire script. And its working really well.

However, I have made it into its very own standalone script that can work completely by itself.

But, you can use some javascript to link to your forum, and have all external links use the service, and have the ANON domain put in front of all external links.

I will be updating the main post with all the information needed. But for now, you can check it out on my Git Site.

Source/Release - https://code.thetechgenius.net/TheTechGenius/TTG-Anonymous-URL

Note: I have my own Git Site. My Git site is running on the GOGS Git Software script. Please know, the ZIP at the bottom is NOT the standalone or updated version. I am working on setting up the file structure so its easier to install for everyone.

Download

File Type: %1$s [TTG]External Link Anonymizer.1.0.3.zip (2.4 KB, 37 downloads)

Screenshots

Click image for larger version
Name:	anonym.jpg
Views:	452
Size:	68.5 KB
ID:	150615  

Similar Mods

Integration with vBulletin Locally hosted video at last in vBulletin 3 AND 4 Modification Graveyard

vblts.ru supports vBulletin®, 2022-2024