Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Did you know that
Elxis 5.x
uses HTML5, CSS3 and pure javascript without external libraries such as jQuery?
Home
Help
Login
Register
Elxis CMS Forum
»
Extensions
»
Components
»
eforum - how to hide e-mail under user icon?
« previous
next »
Print
Pages: [
1
]
Author
Topic: eforum - how to hide e-mail under user icon? (Read 4524 times)
Sobrat
Newbie
Posts: 4
eforum - how to hide e-mail under user icon?
«
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]
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: eforum - how to hide e-mail under user icon?
«
Reply #1 on:
March 31, 2011, 14:34:48 »
The e-mail is shown only to administrator or forum moderator, so why yo hide it?
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Sobrat
Newbie
Posts: 4
Re: eforum - how to hide e-mail under user icon?
«
Reply #2 on:
March 31, 2011, 15:16:46 »
For my case it is visible for "Registered" Elxis users they are not moderators or administrators...
They are in "Newbie" group
«
Last Edit: March 31, 2011, 15:19:46 by Sobrat
»
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: eforum - how to hide e-mail under user icon?
«
Reply #3 on:
March 31, 2011, 19:02:38 »
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); }
«
Last Edit: March 31, 2011, 19:04:59 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Sobrat
Newbie
Posts: 4
Re: eforum - how to hide e-mail under user icon?
«
Reply #4 on:
April 01, 2011, 09:55:44 »
datahell,
thanks a lot! It is working!
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Extensions
»
Components
»
eforum - how to hide e-mail under user icon?