Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Setting User defaults

Quote Reply
Setting User defaults
I was wondering if it is possible to change the default User Profiles so that new users are signed up with 'No' as the default for email notification. It looks like those are coming from the SQL database and so it's not simply a matter of changing the form.

Do I need to go into MySQLMan and make the changes, or is it someplace in the admin that I just can't find?

Quote Reply
Re: [BryanL] Setting User defaults In reply to
The easiest thing to do would be to alter the user_signup.html template.

If you enter a hidden tag such as:

<input type=hidden name=user_default_reply_notify value=0>

Just make sure it's inside the <form> tags </form>.

then all new users will have that field set to no.

You can do the same with any other fields you wish to edit. (You can see a list of the columns in the User table by going to Tools -> Table Editor -> User).

Jason Rhinelander
Gossamer Threads