Been busy with setting up a module to be able to do this; but I’m a bit dazzled by the MODext calls....
For example, I’d like to be able to add an extra function to the bulk actions: "Active & send generated password to selected users".
The "Activate selected" method uses a MODx.Ajax.request with param: "activateMultiple"; where do I find these calls, and how/where can I make my own extra methods?
What my new call would do is: activate the user, let MODx generate a password and email it to the user (this is possible from the userdetail page).
Furthermore, would it also be possible to send a user his old password? Passwords are stored encrypted (or hashed), and the ’login’ extension also sends out new password, so my guess would be "no", but perhaps I’m mistaken..?
The userpanel (MODext widget: modx.panel.user.js) uses "modx-user-newpassword" together with "modx-user-password-genmethod-g" and "modx-user-password-genmethod-s" (generate / specifiy); how should I adapt these calls, where do they hook into? I can’t seem to find the proper php calls
thnx for the help!
//edit
Hm, found out that every Ext extended function has it’s counterpart here: "core/model/modx/processors/security/user/{function}"