Users can contact me by e-mail:

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
rsandr
Registered User
Posts: 39
Joined: Fri Nov 27, 2009 9:47 am
Location: East Lancs, UK
Contact:

Users can contact me by e-mail:

Post by rsandr »

Users can contact me by e-mail:


How do I change this to default to 'no'? Rather than the user having to do thin in the UCP.

Many thanks.
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 51893
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Users can contact me by e-mail:

Post by stevemaury »

http://www.phpbb.com/kb/article/executi ... hpmyadmin/

For existing users:

Code: Select all

UPDATE phpbb_users SET `user_allow_viewemail` = 0 WHERE `user_type` <> 2;
For new users:

OPEN includes/functions_user.php

FIND:

Code: Select all

 'user_allow_viewemail'  => 1,
REPLACE WITH:

Code: Select all

  'user_allow_viewemail'  => 0,
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
Locked

Return to “[3.0.x] Support Forum”