Vote for NodeBB 0.4.1 Features
-
- List of previous usernames displayed on users profile
- Example Plugin to easily add user-settings if it's already implemented, otherwise a way for plugins to easily add user-settings (with possibility to add user-settings dependent on admin-settings)
Edit: second point already done as @psychobunny mentioned below: https://github.com/designcreateplay/nodebb-plugin-kitchen-sink/blob/master/library.js#L49-L74
-
@frissdiegurke said:
Example Plugin to easily add user-settings if it's already implemented, otherwise a way for plugins to easily add user-settings (with possibility to add user-settings dependent on admin-settings)
The hooks for this are
filter:user.getSettings
andfilter:user.saveSettings
. -
@baris said:
@frissdiegurke said:
Example Plugin to easily add user-settings if it's already implemented, otherwise a way for plugins to easily add user-settings (with possibility to add user-settings dependent on admin-settings)
The hooks for this are
filter:user.getSettings
andfilter:user.saveSettings
.So
getSettings
gets called whenever a value is needed, fair enough. but I cannot get the saveSettings triggered... Shouldn't it get called if I press 'Save Changes' on /user/xyz/settings?
Anyway, with these two I could add user-dependent settings, but I want to add some configuration to the list therefor the user may change them himself.
Sth. likefilter:user.listSettings
which serves a callback that accepts an array like[ "settings/xyz.tpl" ]
and would add the content of the template to /user/abc/settings.
(Just an example, there may be better ways than adding template-files)And another feature for 0.4.1: up-to-date hook-list within wiki ^^
-
how about work under company proxy
-
@frissdiegurke said:
- Example Plugin to easily add user-settings if it's already implemented
https://github.com/designcreateplay/nodebb-plugin-kitchen-sink/blob/master/library.js#L49-L74
-
Email notifications are huge for us. I get someone asking for it every couple days.