Allow to hide email from public
1.0
ONLY FOR YABB 1 GOLD BETA 5!
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{'703'} = "Thank you for registration. You will receive an email soon with your password. You may change the password after you login for the first time.";
$txt{'721'} = "hide email from public";
$txt{'722'} = "hidden";
$txt{'723'} = "Allow users to hide their email from public (except admin)?";