Elxis CMS Forum
Extensions => Components => Topic started by: Sobrat on March 30, 2011, 18:38:32
-
Please help to hide e-mail link under user (see the picture). Soft Disk does not help for this.
[attachment deleted by admin]
-
The e-mail is shown only to administrator or forum moderator, so why yo hide it?
-
For my case it is visible for "Registered" Elxis users they are not moderators or administrators...
They are in "Newbie" group
-
I searched eForum code and yes you are right, the e-mail is shown to all logged-in users.
To remove it:
open file: components/com_eforum/daemons/html.daemon.php
go to line 492
If you wish to hide it by all add 2 slashes in front of it like this:
//echo $eforum->protectemail($author->email, $emailimg);
If you wish to hide it by all except super administrators:
if ($my->gid == 25) { echo $eforum->protectemail($author->email, $emailimg); }
-
datahell,
thanks a lot! It is working!