Uutiset:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu
Advertisement:

Hiding email address setting disabled...

Aloittaja sfungus, maaliskuu 16, 2005, 03:12:35 IP

« edellinen - seuraava »

sfungus

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?

ryanbsoftware

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

sfungus

hmm.. is there a way to make emails hidden as the default, then? 

ryanbsoftware

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. :-\

[Unknown]

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?

-[Unknown]

sfungus

that'll work... what file is the register template in?

[Unknown]

Themes/yourtheme/Register.template.php.  Look for "hideEmail".

How do I modify files?

-[Unknown]

Advertisement: