06-28-2017, 05:02 PM
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
https://hastebin.com/ikewopizar.xml
https://hastebin.com/ayulakuqol.xml
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
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.
lets you mark the archive in threads, allows allows unarchive. Value of 0 is unarchived, value of 1 is archived.
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!
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
Code:
message.php
Code:
messages.php
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
Code:
fetchMessageUsers
Code:
archiveThreads
Code:
messageUser
Enjoy!