Spambot Email Protector Mailto Links

Hello, All -

I've just run into exctly the same issue raised by Deborah last year:

The mailto links are encrypted as desired, but if one clicks on an email address on a protected page, the email address appears in the email program as per this example:

bre<!-- pig -->n<span><!-- owm -->da<!-- alb -->@w</span>hitin<!-- ivj -->gbaybb.com<!-- teq -->

https://www.interactivetools.com/forum/forum-posts.php?postNum=2233845

In my case I am using v2.01 of the plugin with v2.65 of CMSB.

:0(

Perch

Update

It's worth noting that I am using a mysql_get call to get the records from the accounts table. I am doing so because the list of users is selected from a drop-down list:

<?php $selectedUserNums = explode("\t", trim($selectedPage['setUsers'], "\t")); ?>
<?php foreach($selectedUserNums as $selectedUser): ?>
  <?php $thisUser = mysql_get('accounts', $selectedUser); ?>
  <?php echo $thisUser['email'] ?>
  etc...
<?php endforeach ?>

Could I use a getRecords() call? If so, what would be the Where clause?

:0(

Perch

By Damon - October 1, 2015

Hi,

Could you open up the spambotEmailProtector.php file and try using the following for the Encoding Options:

// Encoding Options - to disable an encoding method set to false;
$GLOBALS['SEP_ENCODING_METHODS']['decEntity']   = true;
$GLOBALS['SEP_ENCODING_METHODS']['hexEntity']   = true;
$GLOBALS['SEP_ENCODING_METHODS']['urlEncoding'] = true;
$GLOBALS['SEP_ENCODING_METHODS']['jsUnicode']   = true;
$GLOBALS['SEP_ENCODING_METHODS']['bdo']         = false;
$GLOBALS['SEP_ENCODING_METHODS']['comments']    = false;
$GLOBALS['SEP_ENCODING_METHODS']['tags']        = false;
$GLOBALS['SEP_ENCODING_METHODS']['jsLocation']  = true;

Let me know if this works for you.

Thanks!

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

H, Damon -

Thanks for the tip. Your suggestion does seem to work but the end result is that the email address is no-longer encrypted!

:0/

Perch