![]() |
EMail Address Obfuscator v1.0.2
This will obfuscate email addresses in posts in order to prevent email harvesting. There are a couple of methods available:
This plugin also partially strips the email addresses in the archive (the domain name is removed). Update 1.0.1 * [fixed] wysiwyg code isn't screwed up anymore * [added] added support to select the font to use (builtin fonts, GD bitmap fonts or TTF fonts) Update 1.0.2 * [fixed] fatal error when rebuilding postcache * [fixed] invalid hash when quickposting\editing via AJAX * [changed] the image tags now use the CSS class "inlineimg" that aligns them vertical center |
Great stuff, works fine using image conversion. Thank you! You might want to mention that the options panel can be found under vBulletin options ;)
|
Thanks, this is great. Clicks install.
|
this is just great... and can be enhanced by using the image setting for the $vbulletin->options['imagetype'] and the font related to it... $vbulletin->options['gdfont'] or $vbulletin->options['magickfont']....
;) |
Nice! Thankyou :)
|
thanks, this works a treat. Great hack, ** Clicks Install **
|
Pretty good idea and solution :) I dont have much of a need for it myself but when an email adres is posted I would like it to be 'safe' from harvesters :)
A few notes though (by far the bigger part of this post, dont take it wrong though :p) It also changes the output on the editing of a post. In WYSIWYG this means that (atleast with javascript) you cant see the email adress :p And is this proper? On HTMl entities it outputs it like this <a href="mailto:%blablabla">adres@bla.com</a> and on javascript (which I admittedly dont know much about, nor do I know about the way harvesters work) it puts in a undisclose followed by a full email link like normal (honestly wondering about how that works :)) Heres something that should prove very very proper (if possible to put it with a automated fashion). <script type='text/javascript'>var a = new Array('s','t','a','r.','o');document.write("<a href='o:"+a[1]+a[0]+a[2]+a[3]+a[4]+"'>"+a[1]+a[0]+a[2]+a[3]+a[4]+"</a>");</script> This format for an email adress (made this one manually). Any chance of doing it like that? It replaces both the mailto/link and hussles it all up in output making it look (even if it does go past the codes) like random blabber. |
hmm, I never use the wysiwyg editor, so that might be a bug.
as for the output, what you see it not what the browser actually received. For example firefox\mozilla displays the evaluated html when you view the selected source. Use the "view page source" to see the actual code. With HTML entities the actual HTML code is HTML Code:
<a href="mailto:%74%65%73%74%40%65%6d%61%69%6c%2e%63%6f%6d">test@email.com</a> HTML Code:
<script type="text/javascript">document.write(unescape('%3c%61%20%68%72%65%66%3d%27%6d%61%69%6c%74%6f%3a%74%65%73%74%40%65%6d%61%69%6c%2e%63%6f%6d%27%3e%74%65%73%74%40%65%6d%61%69%6c%2e%63%6f%6d%3c%2f%61%3e'));</script> |
Thank's El_Muerte! Works great.
|
Quote:
|
All times are GMT. The time now is 07:18 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|