General developer forum

Customize Bulk User Actions to include messaging to emails in user profile fields

 
Picture of Madhu Avasarala
Customize Bulk User Actions to include messaging to emails in user profile fields
 
Requirement:

  1. In bulk user actions, filter for a selection of users using the standard available filters.
  2. Create a selection.
  3. In the dropdown action list I would like to add "Message Parents".
  4. This should run a customized bulk messaging routine where the email ID's messaged to are basically not the user's email ID but obtained from user profile field holding a string of the parent email ID.
  5. This will be the simplest way to send messages to students' parents without having to create accounts for parents and enrolling with 'parent' role in all courses o students.

Any pointers to modifying which code and how will be highly appreciated. I am an experienced programmer but new to Moodle code and a PHP beginner.

 
Average of ratings: -
Picture of Ken Task
Re: Customize Bulk User Actions to include messaging to emails in user profile fields
Particularly helpful Moodlers

Qualifications for this response in developer forum ... none really ... am not a developer/programmer ... but have learned how to use the system sometimes to get something desired ... without changing core code.

Have you looked into adding '(Parent)' to the Parents Last name ... at the very end?  For example, my last name is Task ... entry would be Task (Parent).

One could then search for 'Parent' and one should get all parent accounts in the system, I think.

'spirit of sharing', Ken


 
Average of ratings: -
Picture of Madhu Avasarala
Re: Customize Bulk User Actions to include messaging to emails in user profile fields
 

Nice idea. This will get me all parent accounts in system. But I want to be able to identify parents of a single or set of students by filtering. Then with this set of students I would like to message only this set's parents who are stored in the set's user's profile fields. So, am I not forced to modify the code?

 
Average of ratings: -