Advertisement:

Author Topic: Anonymize Links  (Read 102047 times)

Offline M-DVD

  • SMF Hero
  • ******
  • Posts: 1,650
  • Gender: Male
  • Step by step will update the mods to SMF 2RC2
Anonymize Links
« on: August 12, 2007, 12:27:48 PM »
Link to Mod



MOD Anonymize Links v2.5
==================

  • Create by:
karlbenson
  • Developed by:
M-DVD
  • Version:
2.5
  • Languages:
  • Compatible With:
SMF 1.1.1 - 1.1.9
SMF 2 Beta & RC1-1
Comment this Mod
My MODs
Images
Help support my MODs


Quote from: karlbenson
Introduction

When users click external links, the originating url is passed by users browsers to the site visited.
The variable is known as the http_referer and is often logged by the site visited.

This mod adds the ability to quickly redirect all external links through anonymizers/de-http_referers to prevent the actual originating url being logged.  This can be useful for certain types of forums (eg complaints forum or private forums) where you don't want your site to be tracked back.

So an external link eg http://www.youposted.com/ becomes http://anonym.to/?http://www.youposted.com

Requires: Auto Convert Urls setting to be enabled (via Admin > Posts & Topics > Settings);

Note 1: It does NOT anonymize anything other than the http_referer.
Note 2: You CANNOT customise or edit the 'redirect' page as they are hosted by the chosen anonymiser.

Features:

  • With this MOD all links in the posts will be anonymised, and prevent the actual originating url being logged.

  • You can enable and disable this MOD
    Admin > Posts and Topics > Posts Settings

  • You can select the method anonymised:
    - Anonymize All links
    - Anonymize All links (Except [noanon] bbcoded)
    - ONLY [anon] bbcoded links
    - ONLY links on the Custom Inclusion List

  • You can choose the site anonimizer:
    - Anonym.to
    - Hiderefer.com
    - Anonimize.org
    - Anoni.info
    - or Random

  • Anonymize YOUR Base/Subdomain links (Recommended ONLY if you do NOT own the domain)

  • Anonymize YOUR Servers IP links (Recommended if you do not own the domain or are on shared/free hosting)

  • Set a Custom Exclusion List (Domains/Subdomains/IPs to NEVER Anonymize)

  • Set a Custom Inclusion List (Domains/Subdomains/IPs to ALWAYS Anonymize) (ALWAYS: ignoring the method anonymised, BBCode noanon and the Exclusion List)

==========================

Languages (normal & utf-8)


$txt['anonymizer'] = 'Enable Anonymizer';
$txt['anonymizer_desc'] = 'Uncheck to disable the mod completely';
$txt['anonymizer_setup'] = 'Anonymizer Setup';
$txt['anonymizer_setup_desc'] = 'Choose what to Anonymize';
$txt['anonymizer_setup_opti'][0] = 'ALL Links';
$txt['anonymizer_setup_opti'][1] = 'ALL Links (Except [noanon] bbcoded links)';
$txt['anonymizer_setup_opti'][2] = 'ONLY [anon] bbcoded links';
$txt['anonymizer_setup_opti'][3] = 'ONLY links on the Inclusions List';
$txt['anonymizer_site'] = 'Anonymizer Site';
$txt['anonymizer_site_desc'] = 'Choose the anonymizer to use';
$txt['anonymizer_site_opti'][0] = 'Random';
$txt['anonymizer_site_opti'][1] = 'Anonym.to';
$txt['anonymizer_site_opti'][2] = 'Hiderefer.com';
$txt['anonymizer_site_opti'][3] = 'Anonimize.org';
$txt['anonymizer_site_opti'][4] = 'Anoni.info';
$txt['anonymizer_sub'] = 'Anonymize YOUR Base/Subdomain Links';
$txt['anonymizer_sub_desc'] = '(Recommended if you do NOT own the domain)';
$txt['anonymizer_ip'] = 'Anonymize YOUR Servers IP Links';
$txt['anonymizer_ip_desc'] = '(Recommended if you do not own the domain or are on shared/free hosting)';
$txt['anonymizer_exc'] = 'Exclusions [(Sub-)Domains/IPs to NEVER Anonymize]';
$txt['anonymizer_exc_desc'] = 'domain.tld or sub.domain.tld or 123.456.789.0 <b>(ONE per line)</b><br />
The base domain (domain.tld) covers all subdomains aswell<br />
Use www. to only cover the base domain (www.domain.tld)'
;
$txt['anonymizer_inc'] = 'Inclusions [(Sub-)Domains/IPs to ALWAYS Anonymize]';
$txt['anonymizer_inc_desc'] = 'OVERRIDES Exclusions, Setup and [noanon] BBCode<br />' .
$txt['anonymizer_exc_desc'];


I welcome new translations here

==========================

Características:

  • Con este MOD todos los links en los mensajes será automáticamente anonimizados, y prevendrá que tu web sea registrada como referido cuando un usuario haga click en ellos.

  • Puedes activar/desactivar y configurar el MOD en:
    Administración > Mensajes y Temas > Configuración de Mensajes

  • Puedes seleccionar varios métodos de anonimizado:
    - Anonimizar Todos los Links
    - Anonimizar Todos los Links (Excepto con [noanon] BBCode)
    - Sólo los links con [anon] BBCode
    - Sólo los links en la Lista de Inclusión Personzalida

  • Puedes elegir varios sitios de anonimizado:
    - Anonym.to
    - Hiderefer.com
    - Anonimize.org
    - Anoni.info
    - o al Azar

  • Anonimizar TUS Links Base/Subdominio (Recomendado si tu NO eres el dueño del dominio)

  • Anonimizar TUS links de la IP del servidor (Recomendado si tu NO eres el dueño del dominio o estás en un plan de hosting gratuito)

  • Especifíca una Lista Personalizada de Exclusiones (Dominios/Subdominios/IPs que NUNCA serán Anonimizadas)

  • Especifíca una Lista Personalizada de Inclusiones (Dominios/Subdominios/IPs que SIEMPRE serán Anonimizadas) (SIEMPRE: ignorando el BBCode, la lista de Exclusiones y el método de anonimizado)

Fin.

==========================

Quote
Changelog
1.0 - 10th August 2007
o Initial release made per SMF user request.
1.1 - 19th August 2007
o Improved the checking for internal links
o Added 3 new settings
- Anonymise your subdomains?
- Anonymise your server ip
- Anonymise Domain, Subdomain & IP exceptions
1.2 - 24th August 2007
o Added setting to choose your anonymiser
- anonym.to or http://www.de-referer.com (by request) or random
1.3 - 8th September 2007
o Additional languages
- Now supports English UTF-8
- Brazilian/Brazilian UTF-8 (Thanks to tckbm) (removed due to re-write)
2.0 - 14th November 2007
o Renamed from Anonym.to mod to Anonymize Links mod
o Re-written from scratch
o Added custom inclusion settings
o Added bbcode buttons & setting
o Added setup setting
2.1 - 29th November 2007
o Fixed undefined variable bug? (Thanks to AllMassive)
o Added workaround for str_ireplace for php4 users.

2.5 - 23th May 2009
o M-DVD Take the development.
o Now also work in SMF 2RC1.
o Languajes: Englih, Spanish and Geman include.
o Changes in sites anonimizers:
  - De-Referer.com (don't works, has been eliminated).
  - Hiderefer.com, Anonimize.org, Anoni.info (have been added).
o Changes minors in the code.
« Last Edit: May 23, 2009, 09:20:20 PM by M-DVD »

Offline sharks

  • Sr. Member
  • ****
  • Posts: 891
  • Gender: Male
  • There's always a way.
Re: Anonym.to All External Links
« Reply #1 on: August 13, 2007, 07:18:45 AM »
This is a much needed modification for all SMF forum admins who want to keep their forums strictly private, including all contents within.
i have been on the lookout for this mod since a very long time. THANK YOU! ;)

Please keep up the great work. It is very much appreciated :D
SMF 2.0 Theme Color Editor
http://www.colorizeit.com/browse/24/smf-20-themes.html

SMF Package Parser to view all edits made by any modification package:
http://resourcez.biz/PackageParser/

Firefox is the best browser for SMF!
http://www.mozilla.com/en-US/firefox/fx/

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,629
  • Gender: Male
    • @mortonssols on Twitter
    • Criminal Solicitors
Re: Anonym.to All External Links
« Reply #2 on: August 13, 2007, 03:25:09 PM »
Thanks, if you find any bugs / issues with it, please let me know.

Offline AllMassive

  • Jr. Member
  • **
  • Posts: 137
  • Gender: Male
Re: Anonym.to All External Links
« Reply #3 on: August 14, 2007, 08:52:57 AM »
thx!

Offline pcspecialist

  • Newbie
  • *
  • Posts: 5
Re: Anonym.to All External Links
« Reply #4 on: August 16, 2007, 06:59:29 PM »
Works great but there is a minor bug.

We now get "$txt['anonymexternallinks'] = 'Anonym.to All External Links';" at the top left of every page.

Anyway, thanks for the great mod that allows us to post external links without the risk of some lame az spammer ever finding our private, alumni only forum.  Before this mod I was concerned about our forum showing up in a log file because I don't want any hint that our forum even exists.
« Last Edit: August 16, 2007, 10:08:56 PM by pcspecialist »

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,629
  • Gender: Male
    • @mortonssols on Twitter
    • Criminal Solicitors
Re: Anonym.to All External Links
« Reply #5 on: August 16, 2007, 07:06:35 PM »
open Modifications.english.php

FIND ?>

and make sure it is at the END of the file.
(make sure all the text strings are above it)

Offline pcspecialist

  • Newbie
  • *
  • Posts: 5
Re: Anonym.to All External Links
« Reply #6 on: August 16, 2007, 09:56:20 PM »
If I understood correctly you are saying I need to take the ?> from the line that contains it and move it to the end of the last line.

I did it and it seems to have fixed everything.

Thanks again for making our forum even more invisible to the general public than it already was.  Not only are there no external links pointing to us but now external links from us no longer point back to us in any server logs.
« Last Edit: August 16, 2007, 10:10:27 PM by pcspecialist »

Offline kingofmasala

  • Semi-Newbie
  • *
  • Posts: 15
Re: Anonym.to All External Links
« Reply #7 on: August 18, 2007, 02:23:41 AM »
Anonym.to All External Links bro ur  mod is absoulte rocking i just want a favour from u... bro u r black page which says redirecting to the image/ links where the link powerd by gulli is written how can i edit this file as i want to put my ads code their to increase my earning pls bro help me out it in i will be very thankfull to u

Offline TGB

  • Jr. Member
  • **
  • Posts: 103
    • DC-Haven
Re: Anonym.to All External Links
« Reply #8 on: August 18, 2007, 03:11:19 AM »
this is really simple to implement on your own without using a mod pack and you can use it on other parts of your site rather than just the forums.

http://www.gulli.com/english/anonym-to/#info
they have a code generator right there for you  ;) ;)
www.dreamcasthaven.com <----- Running SMF 1.1.16 & heavily modified
www.psxhaven.com <----- Running SMF 1.1.16 & heavily modified
www.romhaven.info <----- Running SMF 1.1.16 & heavily modified
www.bthaven.com <----- Running TT 2.06

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,629
  • Gender: Male
    • @mortonssols on Twitter
    • Criminal Solicitors
Re: Anonym.to All External Links
« Reply #9 on: August 18, 2007, 12:15:21 PM »
@ kingofmasala - the Gulli page is hosted by anonym.to (it is not mine or part of the mod)

You can't put any ads on that page or edit it.

In order for the mod to work, the 'redirecting' page MUST not be on your server.  Otherwise it would not be anonymous.



@edssloter - yes there is a script that can be do it.

HOWEVER, because it is based on javascript, any bots/spiders which follow the link will pass the http referer (because they do not read javascript) or for any users with javascript disabled (guests).

In those situations (as far as I'm aware) you would still be passing http referers to logs in a small a few cases.

For the types of forums which use this mod, it is important that it is 100% effective.

Offline AllMassive

  • Jr. Member
  • **
  • Posts: 137
  • Gender: Male
Re: Anonym.to All External Links
« Reply #10 on: August 18, 2007, 02:27:29 PM »
I got a question
My Forum runs on this Domain: forum.domain.com.

Now every Link outside the Forum-Url is visited using anonym.to.

Can you add a feature to define that the whole top-level-domain can be visited without using the anon-redirect ??
 In my case we have Domains like:
wiki.domain.com
www.domain.com
webmail.domain.com


Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,629
  • Gender: Male
    • @mortonssols on Twitter
    • Criminal Solicitors
Re: Anonym.to All External Links
« Reply #11 on: August 18, 2007, 03:08:18 PM »
I'll have a go at improving that a bit later.

Offline kingofmasala

  • Semi-Newbie
  • *
  • Posts: 15
Re: Anonym.to All External Links
« Reply #12 on: August 18, 2007, 04:11:56 PM »
bro my forum is www.kingofmasala.org [nofollow] tell me i can host the anonmyous on my own server just tell me how to do it bro i will wait for ur reply

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,629
  • Gender: Male
    • @mortonssols on Twitter
    • Criminal Solicitors
Re: Anonym.to All External Links
« Reply #13 on: August 18, 2007, 04:21:12 PM »
@kingofmasala

The whole point of this mod is that when a user clicks an external link on your forum (www.kingofmasala.org)
eg to goto
http://www.google.com

Your browser will tell Google.com that the user came from www.kingofmasala.org/index.php?topic=2.0

Using this mod on links means that Google will receive as a http referrer
http://www.anonym.to?http://www.google.com

So they won't know they came from your forum.

If you hosted a page on your server, it would be pointless, because Google would know they came from your forum, just not where.

Offline tonzi

  • Jr. Member
  • **
  • Posts: 163
Re: Anonym.to All External Links
« Reply #14 on: August 18, 2007, 11:04:31 PM »
great mod is there a way where we could customize  the redirection page?

Offline BigGunn

  • Semi-Newbie
  • *
  • Posts: 51
  • Gender: Male
Re: Anonym.to All External Links
« Reply #15 on: August 19, 2007, 01:58:19 AM »
thanks!!!!!!! this is JUST what my site needed! :)

Offline tonzi

  • Jr. Member
  • **
  • Posts: 163
Re: Anonym.to All External Links
« Reply #16 on: August 19, 2007, 04:59:54 AM »
btw i just saw some forum using anonym as well and they do have customized the redirection page... is this possible with this mod?

coz lol the anonym has a weird languages in it and it looks kind off messy though it is only 1sec.

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,629
  • Gender: Male
    • @mortonssols on Twitter
    • Criminal Solicitors
Re: Anonym.to All External Links
« Reply #17 on: August 19, 2007, 08:49:19 AM »
Tonzi, I've Anonym.to/Gulli don't offer customised redirection pages.

Unless you know of an alternative dereferer which does?

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,629
  • Gender: Male
    • @mortonssols on Twitter
    • Criminal Solicitors
Re: Anonym.to All External Links
« Reply #18 on: August 19, 2007, 04:31:17 PM »
Ok.  I've spent a good few hours working on version 1.1

I've added
- Improved the checking for internal links
- Setting to Anonym.to YOUR Subdomain links (recommended if you do not own the domain)
- Setting to Anonym.to YOUR Server IP links (recommended if you do not own the domain or use shared hosting)
   (links which match the IP which your site is hosted on are anonymised)
- Setting to enter list of domains/subdomains/ips to exclude from being redirected through anonym.to (enter ONE per line)
   (useful if your using multiple domains for your forum)

Offline AllMassive

  • Jr. Member
  • **
  • Posts: 137
  • Gender: Male
Re: Anonym.to All External Links
« Reply #19 on: August 20, 2007, 09:47:28 PM »
Just installed it and it works like you specified.

Thanks !

(i needed to uninstall the old version, delete and reinstall the new one - no update possible)