Hello!
I made a few changes to the Messaging System I hope you like. As I change it I will post updates.
Please include Jwerty to handle the shortcuts I included:
https://github.com/keithamus/jwerty
And your custom function additions:
https://hastebin.com/gucezulubo.php
Alter your table to have a archive_from and archive_to:
https://hastebin.com/wofomizeci.sql
Enjoy!
I made a few changes to the Messaging System I hope you like. As I change it I will post updates.
Please include Jwerty to handle the shortcuts I included:
https://github.com/keithamus/jwerty
message.php
https://hastebin.com/ikewopizar.xmlmessages.php
https://hastebin.com/ayulakuqol.xmlAnd your custom function additions:
https://hastebin.com/gucezulubo.php
Alter your table to have a archive_from and archive_to:
https://hastebin.com/wofomizeci.sql
fetchMessageUsers lets you define exclusions for users - I have user ID 1 and 30 (default sysadmin and Guest User in my system). You can remove these by editing the function or what have you.archiveThreads lets you mark the archive in threads, allows allows unarchive. Value of 0 is unarchived, value of 1 is archived.messageUser lets you send a System Message to a user, for example through an automated script or such, you can integrate it however you want.Enjoy!