i've resolved this by adding this code to my custom sso login plugin (https://community.nodebb.org/topic/3322/jsconnect-sso)User.setSetting(uid, 'dailyDigestFreq', 'week', null); User.setSetting(uid, 'notificationSounds', 1, null); User.setSetting(uid, 'followTopicsOnCreate', 1, null); User.setSetting(uid, 'followTopicsOnReply', 1, null); User.setSetting(uid, 'sendChatNotifications', 1, null);
fredrik last edited by fredrik
at first i want to say great job! nodeBB is very nice!
i have a question, how is it possible to give every new user the same avatar?
I have one png. every user should get this when they register.
Hi @fredrik ,
You can do what you want by writing a plugin. You can use the hook
action:user.createthis is called after a user is created and it is passed the user data. In there you can set the users
uploadedpictureproperties to your png image.
fredrik last edited by
@baris thanks for your reply. I will try this.