Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: sfungus - maaliskuu 16, 2005, 03:12:35 IP

Otsikko: Hiding email address setting disabled...
Kirjoitti: sfungus - maaliskuu 16, 2005, 03:12:35 IP
I want to disable users being able to change their account names, email addresses and passwords, so I've clicked off on "dissallow to change account settings for own profile"... however, i DO want users to be able to hide their email addresses.  any way to accomplish both of these tasks?
Otsikko: Re: Hiding email address setting disabled...
Kirjoitti: ryanbsoftware - maaliskuu 16, 2005, 03:15:35 IP
i don't think so, they an only hide their email addy if they can edit it, i suppose  you could write a simple script to query the db to change that or have them pm you. lol :D
Otsikko: Re: Hiding email address setting disabled...
Kirjoitti: sfungus - maaliskuu 16, 2005, 03:26:43 IP
hmm.. is there a way to make emails hidden as the default, then? 
Otsikko: Re: Hiding email address setting disabled...
Kirjoitti: ryanbsoftware - maaliskuu 16, 2005, 03:31:23 IP
off the top of my head i don't think so, if not you can create a query to do that to everybody and add it to page that loads after someone registers. :-\
Otsikko: Re: Hiding email address setting disabled...
Kirjoitti: [Unknown] - maaliskuu 16, 2005, 06:21:41 IP
You could change the Register template to have the checkbox checked by default, and then run this query:

UPDATE smf_members
SET hideEmail = 1;

What is phpMyAdmin? (http://www.simplemachines.org/community/index.php?topic=21919.0)

-[Unknown]
Otsikko: Re: Hiding email address setting disabled...
Kirjoitti: sfungus - maaliskuu 16, 2005, 06:47:58 IP
that'll work... what file is the register template in?
Otsikko: Re: Hiding email address setting disabled...
Kirjoitti: [Unknown] - maaliskuu 16, 2005, 09:01:06 IP
Themes/yourtheme/Register.template.php.  Look for "hideEmail".

How do I modify files? (http://www.simplemachines.org/community/index.php?topic=24110.0)

-[Unknown]