SMF 2.1.4 has been released! Take it for a spin! Read more.
Started by demlak, January 03, 2013, 01:42:31 PM
UPDATE `smf_members` SET `hide_email` = 1 WHERE `hide_email`=0
Quote from: purplepaisley68 on January 07, 2013, 01:46:59 PMExcellent, thank you. I think this is the query to set everyone's profile to hide email:Code Select ExpandUPDATE `smf_members` SET `hide_email` = 1 WHERE `hide_email`=0
Quote from: Oscar the Grouch on March 25, 2015, 08:10:31 AMhow do you do this. im still kind of new to this stuff
Quote from: lostpathway on November 08, 2017, 08:38:26 AMThis isn't entirely a fix, but you could place that individual user into a unique forum group and change the permissions of the group to restrict the number of private messages they can send. 0 = unlimited, so may have to limit it to 1. Not sure if that will work for you, but maybe.
// By default assume email is hidden, only show it if we tell it to.$_POST['hide_email'] = !empty($_POST['allow_email']) ? 0 : 1;
// Email is always hidden by default, when registering.$_POST['hide_email'] = 1;