Delete Messages

Administration tools ::: tool_deletemessage
Maintained by Esdras Caleb Oliveira Silva
Moodle never delete messages from message table. This plugin enables you to set a maximum time to messages stay in user box before auto delete them. It also enables the purge old messagens from database and erase messages of old conversations.
Latest release:
221 sites
92 downloads
14 fans
Current versions available: 1
Messages in Moodle are not deleted since the messaging overhaul and sometimes they made the system slow even when both users deleted them, this plugin creates a task that deletes these messages in the database. This plugin allows you to perma delete these messages. And also mark read messages or all messages to deletion after some time. In the same way, Moodle enables you to do notifications. To use it go to Administration > Messages > Auto Delete Messages and set the time when you want messages to be auto deleted. There are  also options to purge the deleted messages from database and conversations that do not have messages of database.

To install the plugin use the admin panel or put it in the tools folder in MOODLE_DIR_ROOT/admin/tool


Made by and for the UFRN - SEDIS

Screenshots

Screenshot #0

Contributors

Esdras Caleb Oliveira Silva (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Εμφάνιση σχολίων
  • Plugins bot
    Πέμ, 22 Ιουν 2023, 4:10 AM
    Approval issue created: CONTRIB-9311
  • Juan Carlos Jimenez
    Τετ, 1 Νοε 2023, 9:20 PM
    Hello. I really liked your plugin.
    Fixes the problem of deleting messages that Moodle doesn't do.
    A question:
    How can I delete all messages?
    Could you pass me the query?
    Thanks
  • Esdras Caleb Oliveira Silva
    Πέμ, 2 Νοε 2023, 2:49 AM
    Its not easy because the moodle function only deletes conversations. YOu could set the date to delete messages to 1 day and delete them in one day run cron to delete. And set it again to what you want.

    I am working in a update to create a function that delete messagens. Maybe I put a message to delete all messagens of one users or something like that...
  • Esdras Caleb Oliveira Silva
    Πέμ, 25 Ιαν 2024, 7:54 AM
    HI i upated it to delete messagens from database. I found a way. It was easy but I did not had time...
  • Dr. Nellie Deutsch
    Πέμ, 25 Ιαν 2024, 6:34 PM
    Why is it Declared maturity level [MATURITY_RC]?
  • Esdras Caleb Oliveira Silva
    Δευ, 29 Ιαν 2024, 8:33 PM
    Its not anymore. The version is satable and can clear messages from your database
  • Dr. Nellie Deutsch
    Πέμ, 14 Μαρ 2024, 1:35 AM
    I set it to one month, but would like to be able to set it to days. I have over 5000 messages.
  • Esdras Caleb Oliveira Silva
    Τρί, 30 Απρ 2024, 2:43 AM
    Dr Nellie I hope you problems are fixed. The plugin now can delete group messages and personal messages
  • Yazmin
    Πέμ, 4 Ιουλ 2024, 12:01 AM
    Hola Esdras, me gustaría probar el plugin, pero tengo unas dudas, se aplica a todos los usuarios o puede utilizarlo para un solo usuario?
  • Esdras Caleb Oliveira Silva
    Πέμ, 4 Ιουλ 2024, 12:19 AM
    El plugin funciona para todos los usuarios, agrega la posibilidad de establecer un tiempo máximo para los mensajes del sistema.

  • Dr. Nellie Deutsch
    Τρί, 22 Οκτ 2024, 3:43 AM
    Hi, is it compatible with Moodle 4.5?
  • Esdras Caleb Oliveira Silva
    Δευ, 17 Φεβ 2025, 8:18 PM
    Sadelly Yes Nellie, I hoped the newer versions of Moodle solved the problem of massive messages, but the message collect code remains untouched. Please give a comment on my issue
    https://tracker.moodle.org/browse/MDL-78702
  • Dr. Nellie Deutsch
    Πέμ, 24 Απρ 2025, 3:33 PM
    Is it compatible with Moodle 5.0?
Please login to post comments