Hide all email addresses from public

Started by Tom, July 03, 2004, 02:02:19 PM

Previous topic - Next topic

Ben_S

And I managed to stop getting junk snail mails by bricking up my letter box. ;D
Liverpool FC Forum with 14 million+ posts.

Armada

Does the following get rid of every instance of somebody's email address being visible in Simple Machines?:

QuoteFind:

empty($message['member']['hide_email']) || $context['allow_hide_email'] != 1

Replace:

allowedTo('moderate_forum')

-[Unknown]
--- SMF Rocks even more than YabbSE---

Tom

That's the main one, there are a couple of other places too.

Burpee

Quote from: Ben_S on August 22, 2004, 03:34:38 PM
And I managed to stop getting junk snail mails by bricking up my letter box. ;D

If they must contact me via a website, I'll just put up a form... and ofcourse I do give out my email to people who I want to recieve emails from... works perfectly :)

Tom

Hmm, in RC2 the code for this seems to be a little different. How might I go about hiding all email addresses from everyone but admins in this version?

Thanks again.

Armada

"Here here" Tom, I'm trying the RC2 and trying to figure out the same!
--- SMF Rocks even more than YabbSE---

[Unknown]

Find:

if (empty($message['member']['hide_email']))

Replace:

if (allowedTo('moderate_forum'))

Just as before, really...

-[Unknown]

Armada

Thank you [unknown] - yes found it now in Display.template.php and in InstantMessage.template.php

l :)
--- SMF Rocks even more than YabbSE---

Tom

Quote from: [Unknown] on November 01, 2004, 03:30:38 AM
Find:

if (empty($message['member']['hide_email']))

Replace:

if (allowedTo('moderate_forum'))

Just as before, really...

-[Unknown]

Oh my, I don't know how I missed that.  :-[

Thank you.

chattersbox


I am confused.. I tired the phpmyadmin code and all members can still see the email address.

This is important for me, but my client wants to use this Forum and they also have a bad issue with spammers and people just emailing

Just PM'ing in the board is the best thing.


Please let me know how to do!

Thanks in advance


[Unknown]

There was a bug in 1.0 where, sometimes, the profile still gace away the email address... but only to guests, and only if hideEmail was 0.

If hideEmail is 1, it should only show to administrators (and other privileged members.)

-[Unknown]

higherauthority

hmm i notice that with no change at all if the checkbox for "allow memners to hide email"  is checked it will not show in the members list etc     bit I I alter

Quoteif (empty($message['member']['hide_email']))

Replace:

if (allowedTo('moderate_forum'))

Then they all show   any ideas

SmittyNY

I've tried this code using  SMF v1.1.5 and nothing happened for me.

I have a problem w/ users phishing for email addresses in my SMF.
I want to hide email addresses in the same way  YahooGroups.com does.
This is how YahooGroups handles the address when it's reveled in the forum board...
 
QuoteJohn_Doe@...

Smitty


Advertisement: