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
  #32  
Old 12-03-2014, 12:14 PM
shneler2010 shneler2010 is offline
 
Join Date: Apr 2013
Location: Philippines
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way to change time wait before redirected?
Example i want member have to wait 3s before redirected.
Reply With Quote
  #33  
Old 12-04-2014, 05:44 PM
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shneler2010 View Post
Is there any way to change time wait before redirected?
Example i want member have to wait 3s before redirected.
Not in this version, sorry. Not without changing a lot of the PHP Code.

I will be updating this addon soon, it will allow you do to much more, including change the Time Before Redirect.

I have the updated version working well on my site, but it still has a few bugs/glitches. So when I have it running at 100%, I will update this addon on vb.org.

You can see the updated version running on my site if you like:

https://link.thetechgenius.net/?http://vbulletin.org

You can also use any URL you like, just to test it out.

Example:

https://link.thetechgenius.net/?http://example.com



All you have to do is put your URL after the "?" (question mark):

https://link.thetechgenius.net/?


Note: Them links also work without the HTTPS/SSL.


The updated version will work on any Domain or Subdomain you want to use. And it will still anonymize all the external links on your forum, except the Protected URL's that you set in the Javascript. The custom javascript file will link all external links to the Anonymizer Domain or Subdomain that you choose.

I am just trying to figure out an easier way for people to install the updated addon, without actually editing the javascript file and adding the anonymizer domain or subdomain. It will work as it is right now, but if you will be using a different domain or subdomain for the Anonymizer addon other then your main domain, you will need to edit the javascript file and change the URL of the anonymizer.

Don't worry, I will have it up and running very soon. Sorry for the long wait. I really don't have much time on my hands, with the holidays and all.
Reply With Quote
  #34  
Old 12-12-2014, 12:59 PM
shneler2010 shneler2010 is offline
 
Join Date: Apr 2013
Location: Philippines
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<font color="Red">Dear Mr.
thetechgenius
Please kindly provide me with that code that you use I think it is looking good
if possible to adjust the code to be compatible withe Vbulletin 4.2.2
Best regards
</font>
Reply With Quote
  #35  
Old 12-28-2014, 03:35 AM
richTV richTV is offline
 
Join Date: Aug 2006
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i just had to remove a different one. The anonym.to one as google has been reporting it as malware over the past few days. http://www.google.com/safebrowsing/d...onym.to/&hl=en ; http://www.google.com/interstitial?u...p://anonym.to/ ; http://anonym.to/en.html

I would like to try this one instead and was wondering if this one is compatible with vB 3.8.7

thanks.
Reply With Quote
  #36  
Old 12-28-2014, 07:22 AM
SGoogle SGoogle is offline
 
Join Date: Jul 2010
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have use nginx run vbulletin, but it show error 403 Forbidden...

Please Help me. Thanks
Reply With Quote
  #37  
Old 01-10-2015, 10:16 PM
Keythacker's Avatar
Keythacker Keythacker is offline
 
Join Date: Mar 2013
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cant wait till this is done looks good but does not work on m site the links in the posts people make don not get redirected. Looking forward to this.
Reply With Quote
  #38  
Old 01-11-2015, 08:55 AM
majjed2008 majjed2008 is offline
 
Join Date: Dec 2011
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you very much i use it in my site and it is working very good , i just want to ask you if you can to add some important future to add adversting space in the redicate .

thank you
Reply With Quote
  #39  
Old 01-31-2015, 04:45 AM
Wolver2 Wolver2 is offline
 
Join Date: Oct 2010
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just wondering if it will completely hide where I clicked from?

If I click on mydomain.com on Link A and I land on Link B .

Will link B see any data or any footprints that I came from Link A?
Reply With Quote
  #40  
Old 02-03-2015, 10:24 PM
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a little update on this addon...

Its just about finished, it still has a few minor bugs in it though. And when its finished, I will put it on Github so anyone could contribute to the development and make it better.


Quote:
Originally Posted by majjed2008 View Post
thank you very much i use it in my site and it is working very good , i just want to ask you if you can to add some important future to add adversting space in the redicate .

thank you
I will be adding Advertisement spaces to the redirect page. However, if you know a bit of HTML/CSS, you could easily add Advertisements to the page.
Reply With Quote
  #41  
Old 02-04-2015, 02:07 AM
Keythacker's Avatar
Keythacker Keythacker is offline
 
Join Date: Mar 2013
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome cant wait will def contribute to helping with this.
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 01:42 AM.


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.04596 seconds
  • Memory Usage 2,345KB
  • Queries Executed 26 (?)
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
  • (2)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)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_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