Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Redirect all External Links anonymously - Locally Hosted (Updated) Details »»
Redirect all External Links anonymously - Locally Hosted (Updated)
Version: 1.0.3, by thetechgenius thetechgenius is offline
Developer Last Online: Dec 2017 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.2.2 Rating:
Released: 10-02-2014 Last Update: 09-14-2017 Installs: 21
Template Edits
Re-useable Code Additional Files Translations Is in Beta Stage  
No support by the author.

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=htt...ternalsite.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/TheTe...-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 Now

File Type: zip [TTG]External Link Anonymizer.1.0.3.zip (2.4 KB, 35 views)

Screenshots

File Type: jpg anonym.jpg (68.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
davidg

Comments
  #42  
Old 02-15-2015, 07:12 AM
richTV richTV is offline
 
Join Date: Aug 2006
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Tech, will this work for vB3.8.7 ?

I recently added back the anonym.to as google now deems it safe from malware. [refer to my ealier post above]

I am however interested in your addon instead.

thanks.
Reply With Quote
  #43  
Old 02-15-2015, 03:04 PM
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by richTV View Post
Hi Tech, will this work for vB3.8.7 ?

I recently added back the anonym.to as google now deems it safe from malware. [refer to my ealier post above]

I am however interested in your addon instead.

thanks.
It should work for any vB version, its only a bit of javascript.
Reply With Quote
  #44  
Old 02-15-2015, 07:20 PM
richTV richTV is offline
 
Join Date: Aug 2006
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, thanks for your reply Tech.

would you advise waiting for your updates before i try this one?
Reply With Quote
  #45  
Old 02-19-2015, 07:02 PM
qubed qubed is offline
 
Join Date: Sep 2008
Location: California
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I just wanted to commend you on creating this. I have been looking for something like this for a long, long, long time that didn't rely on anonym.to and this looks really great.

With that said, I am running into the refer mask issue others have mentioned. I do currently have my forum located in a subfolder (ex: example.com/abc), would this be causing the problem? Currently I have example.com protected as well as example.com/abc, is there anything else I need to do / change?

I'd love to get this working and any advice is appreciated.

Thanks again!

qubed
Reply With Quote
  #46  
Old 02-21-2015, 05:44 PM
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by qubed View Post
Hi,

I just wanted to commend you on creating this. I have been looking for something like this for a long, long, long time that didn't rely on anonym.to and this looks really great.

With that said, I am running into the refer mask issue others have mentioned. I do currently have my forum located in a subfolder (ex: example.com/abc), would this be causing the problem? Currently I have example.com protected as well as example.com/abc, is there anything else I need to do / change?

I'd love to get this working and any advice is appreciated.

Thanks again!

qubed
Yes, your forum in a sub directory could be the problem. You will have to edit the file paths. I will post the solution for you later, I would post it now, but I am not home right now so I don't have the files or code in front of me.

Sorry about that.



And for everyone that is waiting on the new updated version, there has been a lot of very serious family and personal issues going on in my life. My 6 year old son has been sick, and I have been taking care of him. As you all know already, your child comes first before anything. But I will have the updated version uploaded by the end of next week, hopefully if everything goes well.

I am so sorry for the long wait.
Reply With Quote
Благодарность от:
qubed
  #47  
Old 04-18-2015, 07:17 PM
khalled khalled is offline
 
Join Date: Apr 2007
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by thetechgenius View Post
Yes, your forum in a sub directory could be the problem. You will have to edit the file paths. I will post the solution for you later, I would post it now, but I am not home right now so I don't have the files or code in front of me.

Sorry about that.



And for everyone that is waiting on the new updated version, there has been a lot of very serious family and personal issues going on in my life. My 6 year old son has been sick, and I have been taking care of him. As you all know already, your child comes first before anything. But I will have the updated version uploaded by the end of next week, hopefully if everything goes well.

I am so sorry for the long wait.
i hope every thing go well with you and your family
Reply With Quote
2 благодарности(ей) от:
Fields, thetechgenius
  #48  
Old 10-14-2015, 08:51 AM
qubed qubed is offline
 
Join Date: Sep 2008
Location: California
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any update on the possibility of getting this to work in a subfolder (ex. example.com/vbulletin)?

Many thanks!
Reply With Quote
  #49  
Old 09-15-2017, 08:14 PM
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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/TheTe...-Anonymous-URL

Note: I have my own Git Site. My Git site is running on the GOGS Git Software script.
Reply With Quote
  #50  
Old 05-24-2018, 11:51 PM
ArcadeSyndicate's Avatar
ArcadeSyndicate ArcadeSyndicate is offline
 
Join Date: Oct 2008
Location: Germany
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE=thetechgenius;2589914]
Source/Release - https://code.thetechgenius.net/TheTe...-Anonymous-URL/QUOTE]

Error 523 Ray ID: 42045b0bc8f86487 ? 2018-05-25 01:51:16 UTC
Origin is unreachable
Reply With Quote
  #51  
Old 10-10-2018, 05:50 AM
NeoDio NeoDio is offline
 
Join Date: Jan 2011
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would this mod be suitable for fixing Mixed Content Errors for SSL?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:56 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05462 seconds
  • Memory Usage 2,353KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete