MyBB Community Forums
Hide Email Addresses by default - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Hide Email Addresses by default (/thread-221784.html)



Hide Email Addresses by default - VIrusKing - 2019-02-01

Hi,

Not sure why Mybb allows everyone to see email addresses by default, since that is just asking for scraping and bullying. Either way I've attempted to disable that by making "Hide Email Address" setting to be automatically checked, but it didn't work.

I've followed all the tutorials on the forums below as well in attempt to achieve this, but none of them have succeeded.
https://community.mybb.com/mods.php?action=view&pid=433
https://community.mybb.com/thread-180946-post-1186494.html#pid1186494
https://community.mybb.com/thread-162521-post-1116413.html#pid1116413

I've tried installing the plugin, changing members.php file, changing member_register template on all the themes for the setting to be checked but it's still off by default no matter what I change.


[Image: Oepr99l.png]


RE: Hide Email Addresses by default - Wires - 2019-02-01

ACP > Templates & Style > Templates (Side menu) > Select Template set > Member templates > member_register

Find:

<td valign="top" width="1"><input type="checkbox" class="checkbox" name="hideemail" id="hideemail" value="1" {$hideemailcheck} /></td>

Replace with:

<td valign="top" width="1"><input type="checkbox" class="checkbox" name="hideemail" id="hideemail" value="1" checked /></td>

Then run the following query to hide emails for existing users:

UPDATE mybb_users SET hideemail = 1;



RE: Hide Email Addresses by default - VIrusKing - 2019-02-01

(2019-02-01, 03:43 PM)Wires Wrote: ACP > Templates & Style > Templates (Side menu) > Select Template set > Member templates > member_register

Find:

<td valign="top" width="1"><input type="checkbox" class="checkbox" name="hideemail" id="hideemail" value="1" {$hideemailcheck} /></td>

Replace with:

<td valign="top" width="1"><input type="checkbox" class="checkbox" name="hideemail" id="hideemail" value="1" checked /></td>

Then run the following query to hide emails for existing users:

UPDATE mybb_users SET hideemail = 1;

Hi, as I mentioned my thread I've already attempted that and it didn't work. I've changed the member_register template on all themes.


RE: Hide Email Addresses by default - Wires - 2019-02-01

It should work. Can you provide a link to your forum?


RE: Hide Email Addresses by default - VIrusKing - 2019-02-01

(2019-02-01, 03:51 PM)Wires Wrote: It should work. Can you provide a link to your forum?

You are right, it works for activated users that signed up themselves via register, but not for users that were created manually via admin panel.


RE: Hide Email Addresses by default - Nathan Malcolm - 2019-02-01

(2019-02-01, 03:22 PM)VIrusKing Wrote: Not sure why Mybb allows everyone to see email addresses by default, since that is just asking for scraping and bullying.

It doesn't. There's an "email user" feature but it doesn't expose the email address of the user.


RE: Hide Email Addresses by default - linguist - 2019-02-02

This setting really ought to be default on installation of the forum.