Hello,
I've installed the Private Message module on my website, and it looks pretty promising in terms of functionalities/integration.
I'm however looking for some functionalities (like creating a thread, sending a message,...) to be triggered via the Rules module.
According to the module description page, these functionalities were planed for the 8.x-2.0 release, however unless I missed them or I did something wrong, I'm still not seeing them in the 2.0-beta15 release.
I tried for instance to create a thread using Rules. Threads are visible as entities inside the module, and there is a Rule action available to create a thread, however there is no field in the Rules UI to designate the recipient, issuer, etc...
Also, when I try to save such Rule creating a Thread, the system is showing an error saying that "Update existing entity while changing the ID is not supported." despite when querying my database through PhPMyAdmin I can see that the thread has been created although it is not visible at all on my site (I guess because no issuer/recipient could be entered in the Rule UI).
Can anyone tell me if these Rules functionalities are still planed to be developed, and be so kind to propose a patch to have at least the basic functionalities available at very short term, waiting for a later official release of the Private Message module?
I'm not a developer, so I don't know at all how to create these functionalities myself, but I'm happy to test every patch proposed. :-)
I thank you in advance for your answer and help!
Cheers,
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3082478-2.patch | 2.69 KB | wombatbuddy |
Issue fork private_message-3082478
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
wombatbuddy commentedThe patch is the implementation of the "Send private message" rules action.
Comment #3
muaz7731testing using the patch from #2
It works for me. Using Drupal 9.3.5 with private_message dev 29 Jan 22
+1 for RTBC
Comment #7
artem_sylchukThanks guys.