News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Anonymize Links

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

Previous topic - Next topic

FragaCampos

Hi there.
I was trying to install this mod, but i got an error in subs.php and admin.template.php.
I checked the parser and i know where the problem is, but i don't dare to touch it since i'm not a coder.
Can i attach the two files so that someone can look at them?

trubbeller

#161
Took Sabre's solution and created a new package(attached) for 1.1.11. Worked for two forums of mine. Just deinstall the old package, update SMF and install the new mod.

FragaCampos

Thank you trubeller and Sabre!
It's working great  8)

FragaCampos

Something that just came up:
does anybody knows how to exclude ed2k links?

xxxbbs site

Hello, thanks for you great mod.  Happy new year !

And I have a question. I wanna exclusion some group to NEVER Anonymize.

How to do ?

Regards


DoctorMalboro

could i put, for example, my linkbucks account?

spanish translation (if there is one, sorry :P)

$txt['anonymizer'] = 'Activar anonimización';
$txt['anonymizer_desc'] = 'Destildandoló se desactivará por completo';
$txt['anonymizer_setup'] = 'Establecer anonimización';
$txt['anonymizer_setup_desc'] = 'Elegir que hay que anominizar';
$txt['anonymizer_setup_opti'][0] = 'Todos los links';
$txt['anonymizer_setup_opti'][1] = 'Todos los links (Excepto los links con el BBCode [noanon])';
$txt['anonymizer_setup_opti'][2] = 'Solo los links con el BBCode [anon]';
$txt['anonymizer_setup_opti'][3] = 'Solo links en la lista de inclusión';
$txt['anonymizer_site'] = 'Anonyminizar sitio';
$txt['anonymizer_site_desc'] = 'elegir el anonimizador que usarás';
$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'] = 'Anominizar los sub-dominios del foro';
$txt['anonymizer_sub_desc'] = '(No es recomendable sino eres dueńo del dominio)';
$txt['anonymizer_ip'] = 'Anominizar las IP del server';
$txt['anonymizer_ip_desc'] = '(Recomendado tanto para el dominio o para un host compartido/gratis)';
$txt['anonymizer_exc'] = 'Excluir [(Sub-)Dominios/IPs nunca anominizarlas]';
$txt['anonymizer_exc_desc'] = 'dominiocualquiera.com or sub.dominiocualquiera.como o 123.456.789.0 <b>(uno por linea)</b><br />
el dominio base (dominiocualquiera.com) cubre todos los dominios<br />
Use www. para cubrir el dominio base (www.dominio.com)';
$txt['anonymizer_inc'] = 'Incluir [(Sub-)Dominios/IPs siempre anominizarlas]';
$txt['anonymizer_inc_desc'] = 'Sobreescribir exclusiones, y ponerles el BBCode [noanon]<br />' .
$txt['anonymizer_exc_desc'];


thank you!!

FragaCampos

Quote from: FragaCampos on December 19, 2009, 11:40:30 AM
Something that just came up:
does anybody knows how to exclude ed2k links?

Bump :P
I realized that this mod shouldn't anonymize ed2k links (at least it's what it says in Subs.php).
Does anyone have a clue on what's going on?

Sabre™

Quote from: trubbeller on December 17, 2009, 05:51:36 PM
Took Sabre's solution and created a new package(attached) for 1.1.11. Worked for two forums of mine. Just deinstall the old package, update SMF and install the new mod.

lol Thanks mate, I was just about to do the manual edits for another site, but I'm glad I looked here first.
Cheers for the updated package :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


kashwak

smf version = 1.1.11

mods installed
1. Invite 1.14 
2. Integrate Lightbox 1.6 
3. Advanced Recent-Posts 1.1   
4. SMF Gallery Lite 2.0.12 
5. Anti Bot: Are You Human/Bot? 2.3   
6. Auto Link Checker 1.0

Problem
when i clcik install i receive this error.

QuoteInstalling this package will perform the following actions:  Type Action Description
1. Execute Modification ./Sources/Subs.php Test failed
2. Execute Modification ./Sources/Load.php Test successful
3. Execute Modification ./Themes/default/Admin.template.php Test successful
4. Execute Modification ./Sources/ManagePosts.php Test successful
5. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
6. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
7. Execute Modification ./Themes/default/languages/Modifications.english_british.php Skipping file
8. Execute Modification ./Themes/default/languages/Modifications.english_british-utf8.php Skipping file
9. Execute Modification ./Themes/default/languages/Modifications.spanish.php Skipping file
10. Execute Modification ./Themes/default/languages/Modifications.spanish-utf8.php Skipping file
11. Execute Modification ./Themes/default/languages/Modifications.spanish_es.php Skipping file
12. Execute Modification ./Themes/default/languages/Modifications.spanish_es-utf8.php Skipping file
13. Execute Modification ./Themes/default/languages/Modifications.spanish_latin.php Skipping file
14. Execute Modification ./Themes/default/languages/Modifications.spanish_latin-utf8.php Skipping file
15. Execute Modification ./Themes/default/languages/Modifications.german.php File not found
16. Execute Modification ./Themes/default/languages/Modifications.german-utf8.php Skipping file
17. Execute Code install_1.php

can someone please help me on this one.

thank you
[nofollow]
Website [nofollow]|Scripts|Tuts|Wallpapers|Renders|Icons|Looking for mods

FragaCampos

You must check the parser for your SMF version and manually make the necessary changes to the Subs.php file.

- danny

i'm on 1.1.11 and having the same issue as kashwak.

my Subs.php file doesn't have this code listed anywhere.


$data = preg_replace(array('~(?<=[\s>\.(;\'"]|^)((?:http|https|ftp|ftps)://[\w\-_%@:|]+(?:\.[\w\-_%]+)*(?::\d+)?(?:/[\w\-_\~%\.@,\?&;=#+:\'\\\\]*|[\(\{][\w\-_\~%\.@,\?&;=#(){}+:\'\\\\]*)*[/\w\-_\~%@\?;=#}\\\\])~i', '~(?<=[\s>(\'<]|^)(www(?:\.[\w\-_]+)+(?::\d+)?(?:/[\w\-_\~%\.@,\?&;=#+:\'\\\\]*|[\(\{][\w\-_\~%\.@,\?&;=#(){}+:\'\\\\]*)*[/\w\-_\~%@\?;=#}\\\\])~i'), array('[url]$1[/url]', '[url=http://$1]$1[/url]'), $data);


the other edits went through fine, but it looks like this is the issue. any advise?

petesky

Hi !

I like this mod - is there also a changce to get RC3 support :-) Thx

Urfaust

Quote from: petesky on March 10, 2010, 05:12:12 AM
Hi !

I like this mod - is there also a changce to get RC3 support :-) Thx

Yes, this would be awesome.

petesky

I changed only package-info.xml install and uninstall version to  "2.0 RC3"  This works so far for me.

Urfaust

Quote from: petesky on March 14, 2010, 12:40:20 PM
I changed only package-info.xml install and uninstall version to  "2.0 RC3"  This works so far for me.

Really?
I have the same problem as kashawk and ~alex. There is no line like
$data = preg_replace(array('~(?<=[\s>\.(;\'"]|^)((?:http|https|ftp|ftps)://[\w\-_%@:|]+(?:\.[\w\-_%]+)*(?::\d+)?(?:/[\w\-_\~%\.@,\?&;=#+:\'\\\\]*|[\(\{][\w\-_\~%\.@,\?&;=#(){}+:\'\\\\]*)*[/\w\-_\~%@\?;=#}\\\\]?)~i', '~(?<=[\s>(\'<]|^)(www(?:\.[\w\-_]+)+(?::\d+)?(?:/[\w\-_\~%\.@,\?&;=#+:\'\\\\]*|[\(\{][\w\-_\~%\.@,\?&;=#(){}+:\'\\\\]*)*[/\w\-_\~%@\?;=#}\\\\])~i'), array('[url]$1[/url]', '[url=http://$1]$1[/url]'), $data); in Subs.php.

petesky

I have a function around line 4377 eg.

// The Anonymize Links function
function anonymize_links($message)
{

Urfaust

Did you got an error message while installing?
I get this, also when I edit package-info.xml.

petesky

Maybe, but try to install anyway. If this line cannot be found or has been "modified" in previous release it will do nothing and anon links works so far.

madman71

Quote from: trubbeller on December 17, 2009, 05:51:36 PM
Took Sabre's solution and created a new package(attached) for 1.1.11. Worked for two forums of mine. Just deinstall the old package, update SMF and install the new mod.

Trubbeller,
Could you reupload your package? Im getting:

The package you tried to upload either is not a valid package or has become corrupted.

thanks

xxxbbs site

I wanna exclude some group(admin, moderator etc) to NEVER Anonymize.

How to do ?

Regards

Advertisement: