///////////////////////////////////////////////// // // Mod name:Email Encryption // By: Carbonize // Email: webmaster@carbonize.co.uk // Created: 28/12/2004 // ///////////////////////////////////////////////// // // Files to modify: // // templates/header.php // templates/email.php // templates/entry.php // lib/gb.class.php // ///////////////////////////////////////////////// Open templates/header.php Find: //--> Replace with: function getEmail(email) { var stringPos = false; var stringEmail = ""; if (email.length>0) { for (var i=0; i Save and close the file ///////////////////////////////////////////////////////////// Open templates/email.php Replace the entire contents with: $LANG[AltEmail] Save and close the file //////////////////////////////////////////////////////////// Open templates/entry.php Find: $row[email] Replace it with: $hidemail Save and close the file ///////////////////////////////////////////////////////////// Open lib/gb.class.php Find: if ($row['email']) { eval("\$EMAIL = \"".$template['email']."\";"); } else { $EMAIL = ''; } Replace it with: if ($row['email']) { $encemail = bin2hex($row['email']); $hidemail = str_replace('@', '[at]', $row['email']); $hidemail = str_replace('.', '[dot]', $hidemail); eval("\$EMAIL = \"".$template['email']."\";"); } else { $EMAIL = ''; $hidemail = ''; } Save and close the file That's All Folks!