Quote from: scherpontwikkeling at Nov 26, 2012, 06:26 AMOk, what you can do is edit the MODX user-edit form and add the newsletters as check boxes. This would mean an admin goes into user management, modifies a user and he/she can then just check the newsletters which the user should be subscribed to...is this a problem? Because we have done this before as well 
Do you mean modifying core files? This is no option for us as we'd like to release the GoodNews newsletter plugin as a MODx extra for the public.
perhaps its possible to use a superboxselect for your categories with some code like that:
https://forums.modx.com/thread/79754/cmp-superboxselector#dis-post-443020
Quote from: scherpontwikkeling at Nov 26, 2012, 06:35 AMNo no, of course not...never modify core files 
Hold on, let me put something up for you ;-)
Now it's getting interesting!
Quote from: Bruno17 at Nov 26, 2012, 06:35 AMperhaps its possible to use a superboxselect for your categories with some code like that:
https://forums.modx.com/thread/79754/cmp-superboxselector#dis-post-443020
Thanks bruno, but as far as I understand this wouldn't change anything as I still would have the problem that I read values from a custom table and write some values of it to the extended user fields. It would only change the rendering of the interface.
Create a new plugin, and select these events: onUserFormPrerender and onUserFormSave and paste the content of plugin.php.txt in the plugin...
Create a new file in /assets/myscript.js and paste the content of myscript.js.txt
Go edit a user and you'll see what you see in the attachment...I trust you can work with this ;-)
Please use this myscript.js.txt ;-)
Wow - thanks I'll have a look now...