vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Created custom URL Anonymize Script for VB (https://vborg.vbsupport.ru/showthread.php?t=314515)

thetechgenius 09-25-2014 05:44 PM

Created custom URL Anonymize Script for VB
 
1 Attachment(s)
I have just created a custom URL Anonymizer for vBulletin (or any web site).

I just wanted to post it here, so people can test it out before I post it in the Addons/Mods section. And maybe get some advice.

Everything is hosted locally on your server.


Anonymized Links will show like this: http://example.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 = "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.



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

3) Edit upload/js/anon.js

4) Change http://yoursite.com to your Site, and save.

5) Edit upload/redirect/index.php

6) Change http://yoursite.com to your site, and save.

7) 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. Or contact me on my site: https://thetechgenius.net

thetechgenius 09-25-2014 06:01 PM

This is something like how Anonym.to has their URL Service. But they encoded their Javascript files, so I couldn't use their code. So I coded my own JS file for you to use locally on your server, so you can use your own custom links, and not have to depend on Anonym.to to be online.

Disco_Dave 09-25-2014 07:54 PM

You've uploaded this, in the wrong section :)

ozzy47 09-25-2014 08:04 PM

Quote:

Originally Posted by Disco_Dave (Post 2516503)
You've uploaded this, in the wrong section :)

Well yes and no.

Quote:

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

I just wanted to post it here, so people can test it out before I post it in the Addons/Mods section. And maybe get some advice.

Frosti 01-18-2015 04:02 PM

Installed but I'm not sure it's working... links go right to the sites so I don't know if I was anonymized or not?


All times are GMT. The time now is 07:30 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01111 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete