Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
EMail Address Obfuscator v1.0.2 Details »»
EMail Address Obfuscator v1.0.2
Version: 1.0.2, by El_Muerte El_Muerte is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-05-2005 Last Update: 10-07-2005 Installs: 110
Uses Plugins
Re-useable Code Translations  
No support by the author.

This will obfuscate email addresses in posts in order to prevent email harvesting. There are a couple of methods available:
  • Image; the email will be displayed as an image, works quite well but not very user friendly.
  • HTML Entities; every character in the email address will be replaced with it's html entity. This is not a great method, but it stops stupid harvestors.
  • Javascript; the link will be written via javascript, works quite well and makes the link invisible for harvestors. But requires javascript to be enabled
  • Custom; roll-your-own algorithm, can be easily set in the vbulletin options in the admincp

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 10-06-2005, 09:00 AM
TygerTyger TygerTyger is offline
 
Join Date: Aug 2005
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great stuff, works fine using image conversion. Thank you! You might want to mention that the options panel can be found under vBulletin options
Reply With Quote
  #3  
Old 10-06-2005, 12:13 PM
trancetopia trancetopia is offline
 
Join Date: Feb 2005
Location: Wales, UK.
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, this is great. Clicks install.
Reply With Quote
  #4  
Old 10-06-2005, 12:47 PM
nexialys
Guest
 
Posts: n/a
Default

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']....

Reply With Quote
  #5  
Old 10-06-2005, 12:54 PM
ZeroSixty ZeroSixty is offline
 
Join Date: Jan 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice! Thankyou
Reply With Quote
  #6  
Old 10-06-2005, 01:04 PM
mcyates mcyates is offline
 
Join Date: Jan 2003
Location: Middlesbrough, Cleveland
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks, this works a treat. Great hack, ** Clicks Install **
Reply With Quote
  #7  
Old 10-06-2005, 07:56 PM
Mephisteus's Avatar
Mephisteus Mephisteus is offline
 
Join Date: Dec 2001
Location: The Netherlands
Posts: 288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 )

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

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.
Reply With Quote
  #8  
Old 10-06-2005, 08:11 PM
El_Muerte's Avatar
El_Muerte El_Muerte is offline
 
Join Date: Nov 2001
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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">&#x74;&#x65;&#x73;&#x74;&#x40;&#x65;&#x6d;&#x61;&#x69;&#x6c;&#x2e;&#x63;&#x6f;&#x6d;</a>
and with Javascript it;s
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>
Reply With Quote
  #9  
Old 10-06-2005, 08:45 PM
one9er one9er is offline
 
Join Date: Mar 2005
Location: USA
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank's El_Muerte! Works great.
Reply With Quote
  #10  
Old 10-07-2005, 01:10 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by one9er
Thank's El_Muerte! Works great.
Am I able to change the colors of the image created?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:12 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04420 seconds
  • Memory Usage 2,296KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete