1
vinit
how to hide members email id.
  • 2004/8/12 18:37

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


hi,

how do i hide the members email id. though i have disabled "Allow other users to view my email address " yet there is email button shown against "Email" option in profile... and members can get email id from there..which i dont want to allow..

i am using x2t template..can anyone tell me how to block this.



2
jlm69
Re: how to hide members email id.
  • 2004/8/12 18:50

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


I'm not sure if I understand, but if you mean in the user profile, removing the e-mail block totally, I think what your looking for is in:

modules/system/templates/system_userinfo.html

Hope that helps.

3
Stewdio
Re: how to hide members email id.
  • 2004/8/12 18:50

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


Open and edit userinfo.php on line 91

$xoopsTpl->assign('lang_email', _US_EMAIL);

Just comment out the line:

//$xoopsTpl->assign('lang_email', _US_EMAIL);

This will just get rid of displaying email for everyone, it's just a dirty hack.

Login

Who's Online

74 user(s) are online (52 user(s) are browsing Support Forums)


Members: 0


Guests: 74


more...

Donat-O-Meter

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

Latest GitHub Commits