Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

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

no you can't, at least not yet, currently it uses the colors from the currently selected style
Reply With Quote
  #13  
Old 10-07-2005, 06:20 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by El_Muerte
no you can't, at least not yet, currently it uses the colors from the currently selected style
Oh, that's what I meant!

[high]* Lea Verou clicks install [/high]
Reply With Quote
  #14  
Old 10-07-2005, 07:56 AM
trancetopia trancetopia is offline
 
Join Date: Feb 2005
Location: Wales, UK.
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like the update, thanks

For my personal preference, I didn't like the alignment of the image against the text of the message. I made the following modification so the image is aligned with the middle of the text instead of the bottom.

The Change:

PHP Code:
$res .= "<img src=\"?emailimage=".$hash."\" alt=\"[email address]\" />"
to:

PHP Code:
$res .= "<img src=\"?emailimage=".$hash."\" alt=\"[email address]\" align=\"absmiddle\" />"
This looks better when using font size 3 with my current style. Someone else may find this useful.
Reply With Quote
  #15  
Old 10-07-2005, 07:40 PM
ke5crz ke5crz is offline
 
Join Date: Apr 2005
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get the following error when i try to rebuld my cache

Fatal error: Call to undefined function: convertemailaddress() in /home/hamplex/public_html/includes/class_bbcode.php(377) : eval()'d code(11) : regexp code on line 1
Reply With Quote
  #16  
Old 10-07-2005, 09:31 PM
El_Muerte's Avatar
El_Muerte El_Muerte is offline
 
Join Date: Nov 2001
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm... looks like the cache rebuild thing never calls the global_start hook

this is kinda annoying, isn't there a super global start hook?
Reply With Quote
  #17  
Old 10-08-2005, 12:54 AM
Fat Burger Fat Burger is offline
 
Join Date: Oct 2004
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it and got an "invalid hash" message, instead of the email address being converted. Any idea?
Reply With Quote
  #18  
Old 10-08-2005, 01:29 AM
Vtec44 Vtec44 is offline
 
Join Date: Jan 2005
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's working fine for vB3.5 RC3
Reply With Quote
  #19  
Old 10-08-2005, 01:37 AM
utw-Mephisto utw-Mephisto is offline
 
Join Date: Jan 2005
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed on 3.5 gold - worki perfect

http://www.ut2007world.com/forum/showthread.php?t=689

@El_Muerte : UnrealScript wasn't challenging enough - now also vb hacking
Reply With Quote
  #20  
Old 10-08-2005, 02:57 AM
Mr Chad's Avatar
Mr Chad Mr Chad is offline
 
Join Date: Jul 2005
Posts: 911
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

a well needed mod.
Reply With Quote
  #21  
Old 10-08-2005, 08:27 AM
El_Muerte's Avatar
El_Muerte El_Muerte is offline
 
Join Date: Nov 2001
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Fat Burger
I installed it and got an "invalid hash" message, instead of the email address being converted. Any idea?
the email address (for the images) are stored in the database and the hash in the url is just it's identifier, it could happen that the image is requested before the hash table is stored in the database (I guess). I may have to change the way the hashes are stored in the database.
What browser are you using?

Quote:
Originally Posted by utw-Mephisto
@El_Muerte : UnrealScript wasn't challenging enough - now also vb hacking
Not really, I have my own vbulletin forum and also manage the one at UnrealAdmin.org . Some of the hacks I made I already put in via the old file hacking way, but this plugin stuff is great and also allows me to easily share it with others.
Reply With Quote
Reply

Thread Tools

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 09:22 PM.


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.05281 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
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_php
  • (3)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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