Simple Machines Community Forum

SMF Development => Feature Requests => Applied or Declined Requests => Topic started by: Sebastyne on January 28, 2010, 06:59:10 PM

Title: Clarification to "hide email from public" -function
Post by: Sebastyne on January 28, 2010, 06:59:10 PM
As long as I've been using SMF, which is years, I've struggled with the email functions. I have always thought they just don't work, so I've removed all mailto-tags from the code. After the latest upgrade I couldn't be bothered, so I tried to see if there was a function to disable the whole emailing thing or something, and finally understood that in the permissions, "Send a forum email to members" overrides the "hide email from public" setting of each user. I always thought it was "Send forum email to members if they have displayed their email address" but instead it is "send forum email to anyone, including people who have hidden their email address".

The email thing is kind of an important issue for most members, so this should be made very clear what the permissions and "hiding" the address actually mean. The way it is now is confusing to both the members and the admins so it's a textbook example of the Murphy's law: If something can go wrong, it will.

Currently, the member has no way of knowing who he is hiding the email from - assuming of course that he's hiding the mail from ALL members other than the super admin and moderators maybe.
Title: Re: Clarification to "hide email from public" -function
Post by: Night09 on January 28, 2010, 08:25:31 PM
If they tick:Hide email address from public? then it is hidden but admin can still see it and send mail to it.

It cannot be hidden from the admin only from other membergroups and public.
Title: Re: Clarification to "hide email from public" -function
Post by: Sebastyne on January 29, 2010, 10:00:50 PM
That's not true though, that's how I think it should be, but all members that are allowed to send email to anyone can see all emails, regardless if they're hidden or not. They disappear only after the permission is set to DENY.
Title: Re: Clarification to "hide email from public" -function
Post by: Night09 on January 29, 2010, 10:04:06 PM
Goto Admin>Features and options>Basic features and check the following are ticked:

Allow users to hide their email from everyone except admins?
Do not reveal contact details of members to guests

Recheck as a guest or another account apart from an admin one if any of them wasnt ticked.They should be hidden but if not please post back.

Title: Re: Clarification to "hide email from public" -function
Post by: garylue on January 30, 2010, 09:07:01 AM
I get the same results as Sebastyne. 

Allow users to hide their email from everyone except admins?  (CHECKED)
Do not reveal contact details of members to guests  (CHECKED)

User can still see email address in profile, and can still click on mailto: link.
Title: Re: Clarification to "hide email from public" -function
Post by: garylue on January 30, 2010, 09:30:14 AM
This mod worked for me and hid the email addresses and mailto: links

http://custom.simplemachines.org/mods/index.php?mod=1088

Using SMF 1.1.11

Nothing else worked. 
Title: Re: Clarification to "hide email from public" -function
Post by: Sebastyne on January 31, 2010, 12:27:13 AM
Quote from: garylue on January 30, 2010, 09:07:01 AM
I get the same results as Sebastyne. 

Allow users to hide their email from everyone except admins?  (CHECKED)
Do not reveal contact details of members to guests  (CHECKED)

User can still see email address in profile, and can still click on mailto: link.

Yes, I've checked and double checked these a million times during the years using SMF, and the email addresses are still visible. They work now after I denied the send email permission from all post groups, and for some reason now only the unhidden emails are visible to people who should see them. (In non-post groups.) Even so, that all of my members belong to some post group of course, so if I've understood "deny" permission correctly, if it's denied in one group a member belongs to, it should be denied from that person completely. What's more, I've removed added "disallow" to all other groups, but the visible emails are still visible.

I'm using SMF 1.1.11 as well, but in the previous versions, as I mentioned, I've just removed all references to emails in the template files.