Code: Select all
'user_notify' => 0,
'user_notify_pm' => 1,
'user_notify_type' => NOTIFY_EMAIL,
'user_allow_pm' => 1,
'user_allow_viewonline' => 1,
'user_allow_viewemail' => 1,
'user_allow_massemail' => 1,
Code: Select all
UPDATE phpbb_users SET user_allow_viewemail = 0 WHERE user_type <> 2;
Yes, that should do it. Sorry, just realised the article doesn't specifically cover that option. You would just need to changeThanks in advance wrote: 'user_allow_viewemail' => 1, to 'user_allow_viewemail' => 0, ?
And for existing users the following SQL query ?
Code: Select all
UPDATE phpbb_users SET user_allow_viewemail = 0 WHERE user_type <> 2;
phpbb_
in the SQL query if that is not your table prefix (it is the default one, but sometimes people change it).