06-28-2017, 08:00 PM
Furthermore:
You will need to add this file as and make sure you modify the call on appropriately:
https://hastebin.com/jumexofaqu.js
I modified the page to be more container-like, comparable to the other UC pages.
I changed the view to have the Create Message in a Modal instead of its own page, and it uses ComboBox (as above). Anyone with Level 2 access (what I call System Administrator or the default admin level) can send a mass message (currently sends to all users in the fetchMessageUsers function - including yourself).
You can archive and unarchive threads. If there are no threads archived, the "View Unarchived Threads" link disappears.
The page has a "Read" and "Delivered" function for messages you send. You can use the quick reply and the modal for advanced reply.
Here are some screenshots showing the changes.
Main Page:
http://oub.ca/screenshots/chrome_2017-06...-54-07.png
Archived Threads:
http://oub.ca/screenshots/chrome_2017-06...-56-39.png
Thread View:
http://oub.ca/screenshots/chrome_2017-06...-57-16.png
Advanced Reply:
http://oub.ca/screenshots/chrome_2017-06...-59-44.png
You will need to add this file as
Code:
combobox.js
Code:
messages.php
https://hastebin.com/jumexofaqu.js
I modified the page to be more container-like, comparable to the other UC pages.
I changed the view to have the Create Message in a Modal instead of its own page, and it uses ComboBox (as above). Anyone with Level 2 access (what I call System Administrator or the default admin level) can send a mass message (currently sends to all users in the fetchMessageUsers function - including yourself).
You can archive and unarchive threads. If there are no threads archived, the "View Unarchived Threads" link disappears.
The
Code:
message.php
Here are some screenshots showing the changes.
Main Page:
http://oub.ca/screenshots/chrome_2017-06...-54-07.png
Archived Threads:
http://oub.ca/screenshots/chrome_2017-06...-56-39.png
Thread View:
http://oub.ca/screenshots/chrome_2017-06...-57-16.png
Advanced Reply:
http://oub.ca/screenshots/chrome_2017-06...-59-44.png