News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Anonymize Links

Started by M-DVD, August 12, 2007, 12:27:48 PM

Previous topic - Next topic

M-DVD

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: karlbensonIntroduction

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


  • 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


  • 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.

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

QuoteChangelog
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.

sharks

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

karlbenson

Thanks, if you find any bugs / issues with it, please let me know.

AllMassive


pcspecialist

#4
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.

karlbenson

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)

pcspecialist

#6
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.

kingofmasala

Anonym.to [nofollow] 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

TGB

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

karlbenson

@ 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.

AllMassive

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


karlbenson

I'll have a go at improving that a bit later.

kingofmasala

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

karlbenson

@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.

tonzi

great mod is there a way where we could customize  the redirection page?

BigGunn

thanks!!!!!!! this is JUST what my site needed! :)

tonzi

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.

karlbenson

Tonzi, I've Anonym.to/Gulli don't offer customised redirection pages.

Unless you know of an alternative dereferer which does?

karlbenson

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)

AllMassive

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)

Advertisement: