1
Dettie
Email privacy?
  • 2004/4/20 2:30

  • Dettie

  • Just popping in

  • Posts: 14

  • Since: 2003/5/9 1


I received an email today from a member of my website telling me that he did not check the "show my email" option when he signed up, but his email address still shows for other members. I looked at his account-- the "show email" option was NOT checked

For the time being, his email address has been changed to "private," but I need to know if there's a fix for this. Thanks in advance

2
ajaxbr
Re: Email privacy?
  • 2004/4/20 2:47

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


Hi there Dettie!

I'm not sure as to why this happens, but we found a not-so-good-but-perhaps-worth-considering workaround in the "How do I stop guests from viewing registered user profiles?" thread.

I'll try to find a way to make displaying emails obey the "show email" option, but given my lack of knowledge... well, I hope that someone that can provide better help jumps in soon

3
Dave_L
Re: Email privacy?
  • 2004/4/20 2:50

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Quote:
... his email address still shows for other members ...


Where exactly is the email address visible to other users?

4
ajaxbr
Re: Email privacy?
  • 2004/4/20 3:08

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


Hey Dave, I'm looking into /xoopsmembers/index.php and I found
if ( !$iamadmin ) {
            
$criteria->add(new Criteria('user_viewemail'1));
        }

Does that make "'user_viewemail'==1" ?
If it does, that's the problem, since later we'll have a
if ( $foundusers[$j]->getVar("user_viewemail") == || $iamadmin ) {includes email linketc    } else {
                
$userdata['email'] = " ";


[edit] Wait, I'm talking non-sense again. Sorry. Please disregard all above.
[/edit]

[edit2]
Oops again. Dettie, would that user be an admin? Or yourself when checking? Cuz the second chunk above seems to say that admins get to see everybody's email addresses. I'll shut up for good now, I promise. [/edit2]

Login

Who's Online

114 user(s) are online (50 user(s) are browsing Support Forums)


Members: 0


Guests: 114


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits