NineChime forum

Furry stuff, oekaki stuff, and other stuff.

You are not logged in.

#1 12-20-2005 13:33:17

spastic
New member

Hiding e-mail address

I'm worried that bots will harvest the e-mail addresses of my users. Is there any way to keep them from being displayed when you look at the memberlist and profiles?

I'm using a fresh installation of Wacintaki 1.2.5.

Last edited by spastic (12-20-2005 13:34:21)

Offline

#2 12-21-2005 03:43:25

Waccoon
Administrator

Re: Hiding e-mail address

Robots cannot see any member e-mails because you have to login with a valid password.  No password, no e-mails.

The only exceptions to this rule are the admin e-mails.  These e-mails are masked with the HTML entity & #149; (or ·).  Deleting admin e-mails altogether isn't a good idea, as it can prevent people from contacting admins with valid issues.

This is very effective, I've found, but if you still want to remove e-mails completely, you can change this by opening up memberlist.php in a text editor.  Look for this code (do a search for "#149"):

Code:

if (!empty ($OekakiU)) { ?>
   <td><a href="mailto:<?=$row['email']?>"><?=$row['email']?></a></td>
<? } else { ?>
   <td><?= str_replace ('@', ' & #149; ', $row['email']); ?></td>
<? } ?>

... and change it to this:

Code:

if (!empty ($OekakiU)) { ?>
   <td><a href="mailto:<?=$row['email']?>"><?=$row['email']?></a></td>
<? } else { ?>
   <td>(Please Login)</td>
<? } ?>

Offline

#3 12-21-2005 13:19:07

spastic
New member

Re: Hiding e-mail address

I'm sorry, I didn't realize that addresses were already hidden like that. Thanks! smile

Offline

Board footer

Yep, still running PunBB
© Copyright 2002–2008 PunBB