Continuing the discussion from Edit a user setting for all Discourse users:
So, I did this in my forum - I sent a nice email explaining what’s up, and just did it.
Then, I went ahead and set the defaults as I wanted to be checked by default - and have instructions telling people how they can change them if they want (all I did was set defaults, not lock them in place)
It’s been great. Discourse is now the mailing list I’ve wanted since day one, with the most functional web-ui out there.
Here’s how I did it, I sure hope I didn’t break anything horribly wrong, and am posting here to ensure that fact.
First, ssh in to your host as root.
cd /var/discourse/
./launcher ssh app
su postgres
psql
\c discourse
alter table only users alter column email_always set default true;
alter table only users alter column mailing_list_mode set default true;
\q
This error is expected: could not save history to file "/var/lib/postgresql/.psql_history": No such file or directory
exit (to get out of the docker image)
exit (to get out of the host)
Done.
At this point, I tell people that this is a mailing list, with the option to go web-only if they want.
Thank you discourse, for being awesome.