Author Topic: user_showemail standard ON ???  (Read 3056 times)

0 Members and 1 Guest are viewing this topic.

Offline Sebas Bonito

  • Sr. Member
  • ****
  • Posts: 271
  • Sebas Bonito
    • View Profile
user_showemail standard ON ???
« on: June 21, 2009, 12:17:12 PM »
Maybe someone can help me out?

I'd like to have the showemail settings on "1" for standard. I changed in the database the user_showemail to "1" for standard. But every single new registration saved "0"... How to change this?

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: user_showemail standard ON ???
« Reply #1 on: June 21, 2009, 01:20:00 PM »
In register.php find:
  $user_showemail = (isset($HTTP_POST_VARS['user_showemail'])) ? intval($HTTP_POST_VARS['user_showemail']) : 0;


Replace it with:
  $user_showemail = (isset($HTTP_POST_VARS['user_showemail'])) ? intval($HTTP_POST_VARS['user_showemail']) : 1;
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 Sebas Bonito

  • Sr. Member
  • ****
  • Posts: 271
  • Sebas Bonito
    • View Profile
Re: user_showemail standard ON ???
« Reply #2 on: June 21, 2009, 01:21:25 PM »
thx, that will fix it  :D