Anonymize Links

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

Previous topic - Next topic

senyorito

Hi bro karl!

I just wanna ask, is it possible to add in your options to "anonymize only" the chosen/selected/assigned board/s (board #)?

If ever possible, can I request for it to be added in your future updates of this Mod?

Thanks.

karlbenson

I don't plan on adding any features that disable functionality for certain boards (or for that matter members).

This is because anonymity only works if it applies 100% across your forum.  If doesn't apply to some forums then it compromises the integrity of the mod.

That is why I posted the code on the previous page, but as was stated have no intention on adding it to the mod.

shacon

Hiya Karl

Any plans for updating this great mod of yours to work on ver 2.1 and above?

Thank You

-shacon  :)
we make a living by what we get...we make a life by what we give

karlbenson

Plans, but unknown timescales.
Probably around first 2.0 RC's

shacon

Great...looking forward to it and Thank You.

-shacon  :)
we make a living by what we get...we make a life by what we give

xyxis_fahim

SMF 2.0 working would be nice!!

Must have mod.

john34516


karlbenson

No this is not currently compatible with SMF 2.0

wayoutwest

#108
Thanks for the mod.  Been looking for something like this  :)  just came across a bug, though.   Using smf 1.1.3

settings dont want to stay set.  In particular, the  "what to Anonymize" and "anonymizer to use" both keep getting changed.   

I set it to   "anonymize all except those with [ nonanon ] bbcode" and "use anonym.to [nofollow]"  but it keeps changing those two to "anonymize all" and "random". 

If I set 'em and click save, it's fine.  But, if I click save a second time it changes 'em from what I have them set to.   Seems to be every other save when it gets messed up.


@rturo

Could it be posible to have an option to only allow internal links???


[nofollow]

karlbenson

@rturo
With this mod, you can choose to ONLY anonymise external links. And leave internal links to be left alone.

However if you want a mod to prevent external links being posted, you might want to look at this mod instead
http://custom.simplemachines.org/mods/index.php?mod=1095.0

FragaCampos

Hello there, thanks a lot for this mod.
I installed it yesterday. The installation went fine, but then i got an error on the top of the forum, ie, a line of code error, and the forum below it. The mod worked well, all my external links were anonymized, but i was unable to access my admin panel. Everytime i tried to enter the admin panel , i wasn't able to enter it, instead, i got several lines of error in a blank page.
I can no tell you exactly what were those lines, cause i had to uninstall the mod manually through ftp.
Do you have any ideia what might have happened?

karlbenson

What is the line you get at the top of your forum?

FragaCampos

No sorry. I was stupid enough for not writing it down :(
I was trying to install it now to test it again, but now i get an error while applying the mod on Admin.template.php. Error i didn't get last time...

edi67

i hope to see this mod soon working in SMF 2.0 i wait Karl and thx
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

edi67

some chance to view this AMAZING mod working in smf 2.0 ? i wait so much thx karl for all your hard work
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

karlbenson

Not at the moment.  I don't really have an interest at the moment in making it compatible.

I was hoping someone would take over this mod from me (re the link in my signature)

selmiak

#117
if this is still relevant, here is a german translation :D
gimme a credit if you are a nice guy  ;)


$txt['anonymizer'] = 'Anonymizer einschalten';
$txt['anonymizer_desc'] = 'Haken entfernen um den Mod komplett abzuschalten';
$txt['anonymizer_setup'] = 'Anonymizer Setup';
$txt['anonymizer_setup_desc'] = 'Wähle, was du Anonymizen willst';
$txt['anonymizer_setup_0'] = 'ALLE Links';
$txt['anonymizer_setup_1'] = 'ALLE Links (bis auf [noanon] bbcode Links)';
$txt['anonymizer_setup_2'] = 'NUR [anon] bbcode Links';
$txt['anonymizer_setup_3'] = 'NUR links auf der Einschließen Liste';
$txt['anonymizer_site'] = 'Anonymizer-Dienst Seite';
$txt['anonymizer_site_desc'] = 'Wähle den zu benutzenden Anonymizer';
$txt['anonymizer_site_0'] = 'Zufällig';
$txt['anonymizer_site_1'] = 'Anonym.to';
$txt['anonymizer_site_2'] = 'De-Referer.com';
$txt['anonymizer_sub'] = 'Anonymize DEINE Haupt/Subdomain Links';
$txt['anonymizer_sub_desc'] = '(Empfohlen, wenn du die Domain NICHT besitzt)';
$txt['anonymizer_ip'] = 'Anonymize DEINE Server-IP Links';
$txt['anonymizer_ip_desc'] = '(Empfohlen, wenn du die Domain nicht besitzt oder du einen kostenlosen/mit anderen geteilten Webspace benutzt)';
$txt['anonymizer_exc'] = 'Ausnahmen: [(Sub-)Domains/IPs die NIE Anonymized werden sollen]';
$txt['anonymizer_exc_desc'] = 'domain.tld oder sub.domain.tld oder 123.456.789.0 <b>(EINE pro Zeile)</b><br />
Die Hauptdomain (domain.tld) beinhaltet auch alle Subdomains<br />
Um nur die Hauptdomain anzusprechen benutze www. und dann die Hauptdomain (www.domain.tld)';
$txt['anonymizer_inc'] = 'Einschließen: [(Sub-)Domains/IPs die IMMER Anonymized werden sollen]';
$txt['anonymizer_inc_desc1'] = 'ÜBERSCHREIBT Ausnahmen, Setup und [noanon] bbcode';
$txt['anonymizer_inc_desc2'] = 'domain.tld oder sub.domain.tld oder 123.456.789.0 <b>(EINE pro Zeile)</b><br />
Die Hauptdomain (domain.tld) beinhaltet auch alle Subdomains<br />
Um nur die Hauptdomain anzusprechen benutze www. und dann die Hauptdomain (www.domain.tld)';

SONSiVRi

Quote from: wayoutwest on April 10, 2008, 02:35:46 PM
Thanks for the mod.  Been looking for something like this  :)  just came across a bug, though.   Using smf 1.1.3

settings dont want to stay set.  In particular, the  "what to Anonymize" and "anonymizer to use" both keep getting changed.  

I set it to   "anonymize all except those with [ nonanon ] bbcode" and "use anonym.to"  but it keeps changing those two to "anonymize all" and "random". 

If I set 'em and click save, it's fine.  But, if I click save a second time it changes 'em from what I have them set to.   Seems to be every other save when it gets messed up.

same here, I will trace this topic if this is explained before. But first I need to sleep.
My Mods - IP View Permission - Recycle Bin Cleaner - Ip to Country
www.sonsivri.com - microcontrollers
- Houston, we have a problem.

SONSiVRi

#119
As another member explained there is bug exist. I couldnt see the resolution in this topic and I made it myself.
The problem is saving process doesnt work properly. Just enter the "Posts and Topics" section and press the save button without changing any settings, this will overwrite Anonymizer Setup and Anonymizer Site settings (if you selected non-default option), cause of there is misused html tag. If you are using default options (0 indexed selection) there wont be problem. But if you selected and saved non-default (ie: 3rd index - ONLY [anon] bbcoded links) it will shown non-indexed in next window and then it will be saved as 0 index if you hit save button again.

Code (html result before) Select
        <option>ONLY links on the Inclusions List</option>
        <option value="0">ALL Links</option>
        <option value="1">ALL Links (Except [noanon] bbcoded links)</option>
        <option value="2">ONLY [anon] bbcoded links</option>


Code (html result after) Select
<option value="0">ALL Links</option>
<option value="1">ALL Links (Except [noanon] bbcoded links)</option>
<option value="2">ONLY [anon] bbcoded links</option>
<option selected="selected" value="3">ONLY links on the Inclusions List</option>



To solve this bug, make these changes in "$themedir/Admin.template.php"

Code (find) Select
echo '<option>'.$a[$modSettings['anonymizer_setup']].'</option>';
unset($a[$modSettings['anonymizer_setup']]);
foreach($a as $b => $c)
echo '<option value="'.$b.'">'.$c.'</option>';
unset($a, $b, $c);

Code (replace) Select
foreach($a as $b => $c) {
if ($c == $a[$modSettings['anonymizer_setup']])
echo '<option value="'.$b.'" selected="selected">'.$c.'</option>';
else
echo '<option value="'.$b.'">'.$c.'</option>';
}
unset($a[$modSettings['anonymizer_setup']]);
unset($a, $b, $c);


Code (find) Select
echo '<option>'.$a[$modSettings['anonymizer_site']].'</option>';
unset($a[$modSettings['anonymizer_site']]);
foreach($a as $b => $c)
echo '<option value="'.$b.'">'.$c.'</option>';
unset($a, $b, $c);

Code (replace) Select
foreach($a as $b => $c) {
if ($c == $a[$modSettings['anonymizer_site']])
echo '<option value="'.$b.'" selected="selected">'.$c.'</option>';
else
echo '<option value="'.$b.'">'.$c.'</option>';
}
unset($a[$modSettings['anonymizer_site']]);
unset($a, $b, $c);
My Mods - IP View Permission - Recycle Bin Cleaner - Ip to Country
www.sonsivri.com - microcontrollers
- Houston, we have a problem.

Advertisement: