Added model "GPT-4o" as new option.
Added "Base prompt" where you can specify certain things which will be applied before the user main prompt.
Fixed an issue on popup window where dark/light mode doesn't work as expected.
Fixed an issue with smilies not being inserted from the menu when using "Allow multi-line shouts" admin option.
Fixed uninstall issue where one custom column isn't removed from the user table.
[*]Added the option to select which ChatGPT model to use for /ai command prompts.
[*]Note: The previous version was wrongly numbered internally and when you upgrade to this one, you will have to use the rebuild method instead which will work just fine.
- Added style property for user mentions where you can style the shout container, text and date.
- Fixed a bug with user mention where @ not working when the shout is loaded via AJAX.
Fixed an error on the archive page for users who don't have the permissions to view the staff room.
- Added admin option to start chat collapsed for first time users.
- Fixed an issue with active user list on the dedicated page where the list will load only when it refreshes via JS.
Added admin option to reset user shout count when shouts are pruned.
Json file used in "Real-time mode" will now be created when the option is enabled, to pass file health check validation.
Added "Real-Time" mode which allows you to improve performance and server load by calling a JSON file on the server every second, instead of querying the database every x seconds, handling more active users at the same time and performing shout edits and deletes almost instantly.
Please note that while using this option, shouts will be accessible to anyone (who knows what they are doing), so do not use it if you want total privacy.
Also, if bandwidth is a server limitation on your web hosting plan, this option will increase bandwidth consumption.
New Features
Added active user list - Will display a simple list of active users at the bottom of the shoutbox that will refresh every minute.
Added top user list - Will display a list of top x users based on their number of shouts. By default 25 and can be changed from admin options.
Improvements
Made some changes to auto "loading more shouts" feature to require "View archive" permission.
Allow only admins to ban moderator/staff users.
Added shout action links into a menu.
Bugs Fixed
Fixed an issue where auto loaded shouts have a glitch with action items (edit/delete/ban) on the shouts.
Fixed an issue with lightbox not working with images.