Allow to hide email from public
1.0
This mod adds for each user the possibility to hide their email from public except the admin. You can also disable that feature in admin section.
[CV]XXL
http://xxl.cstrike.de
Sources\Profile.pl
$memsettings[18] =~ s/[\n\r]//g;
$memsettings[19] =~ s/[\n\r]//g;
else { $mentype = "0" }
$allow_hide_email = $FORM{'allow_hide_email'};
if ($allow_hide_email eq "on") { $allow_hide_email = "1" }
else { $allow_hide_email = "0" }
1;
~;
\$allow_hide_email = $allow_hide_email; # Allow users to hide their email from public. Set 0 to disable
Settings.pl
1;
$allow_hide_email = 1; # Allow users to hide their email from public. Set 0 to disable
English.lng
$txt{'520'} = "Used only for identification by YaBB.";
$txt{'521'} = "hide email from public";
$txt{'522'} = "hidden";
$txt{'523'} = "Allow users to hide their email from public (except admin)?";