Author Topic: Hide "Show my email address" and always show email address  (Read 5990 times)

0 Members and 1 Guest are viewing this topic.

Offline kindian

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Hide "Show my email address" and always show email address
« on: March 21, 2006, 12:33:13 AM »
I just deleted the Show my email address field from user profile.

And since YES is the default, i thought it would always see user email.

But when delete it from template user email is not shown.

The question: how do I always show user email address and dont let him change that option?


Offline kindian

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Re: Hide "Show my email address" and always show email address
« Reply #1 on: March 24, 2006, 08:39:23 AM »
What I was asking wasnt that exactly, but all I want is jut to remove the SHOW MY EMAIL ADDRESS ROW from  member_edit_profile NOT the member_profile. So all users emails are always visible.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Hide "Show my email address" and always show email address
« Reply #2 on: March 24, 2006, 02:13:00 PM »
add
Code: [Select]
<input type="hidden" name="user_showemail" value="1">
P.S. I wouldnt register on a site that not allow me hide my email address... :roll:
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline cookie

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Hide "Show my email address" and always show email address
« Reply #3 on: June 02, 2006, 08:11:05 AM »
on My site, I wanted to hide user's email addresses, but allow the administrators to be emailed from the profile page.

I didn't want to alter or modify the profile page.  I wanted to set, by default, end user's email not to be shown.

I used V@no's suggestion above and reversed it.

I added the following code to register_form.html
Code: [Select]
<input type="hidden" name="user_showemail" value="1">
Now my administrator's can be emailed from their profile, but all new registered user's email's are not visible in their profile unless they turn it on.