1
vinit
how to encode the members email address in Profies
  • 2004/9/14 14:30

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


hi how can i encode the members email id so that spiders and others dont steal them off them from members profile page.

2
vinit
Re: how to encode the members email id
  • 2004/9/14 15:47

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


the members id does not hide even if member selects hide my mail address..

Is there some thing like what mailing lists do. Encoding the mail address so that i cannot be taken off by the mail spiders and others

3
vinit
Re: how to encode the members email id
  • 2004/9/15 6:13

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Can any devs/mods look into this matter please. This is an important issue and cannot be overlooked.

4
irmtfan
Re: how to encode the members email id
  • 2004/9/15 6:45

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Quote:

vinit wrote:
the members id does not hide even if member selects hide my mail address..


huum
strange
if soime one check hide my email option only webmasters can see email. not other users nor anons

5
christian
Re: how to encode the members email id
  • 2004/9/15 7:09

  • christian

  • Just can't stay away

  • Posts: 401

  • Since: 2002/2/24


You can use the checkEmail function, I think !


Best regards

6
vinit
Re: how to encode the members email id
  • 2004/9/15 7:44

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Is there anyway that webmasters can set set all the email address disabled for view. Or aleast encode them so that pyring eyes dont peak up them.

7
vinit
Re: how to encode the members email id
  • 2004/9/15 18:09

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


"Necesity is mother of invention"

Here is the solution about how to secure members email address.

1. Open userinfo.php in root directory
2. search for this line
$xoopsTpl->assign('user_email', $thisUser->getVar('email', 'E'));

Replace it with these two lines
$false_mail = preg_replace("/@.+$/","@somemail.com", $thisUser->getVar('email','E'));
$xoopsTpl->assign('user_email', $false_mail);


8
leiker
Re: how to encode the members email id
  • 2004/10/27 8:44

  • leiker

  • Just popping in

  • Posts: 13

  • Since: 2004/2/1 1


Pardon my ignorance, but what will inserting those two lines do? Mask out the address for spiders, or mask them out for anyone looking at the members info?

Regards,
L

Login

Who's Online

171 user(s) are online (128 user(s) are browsing Support Forums)


Members: 0


Guests: 171


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits