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...
Server error log
XF\Db\Exception: MySQL query error [1366]: Incorrect string value: '\xF0\x9F\x91\xB3\xE2\x80...' for column 'shout_message' at row 1 src/XF/Db/AbstractStatement.php:230
Generated by: erikvomland Dec 12, 2021 at 11:06 PM
Stack trace
INSERT INTO `xf_siropu_shoutbox_shout` (`shout_message`, `shout_user_id`, `shout_date`) VALUES (?, ?, ?)
------------
#0 src/XF/Db/Mysqli/Statement.php(198): XF\Db\AbstractStatement->getException('MySQL query err...', 1366, '22007')
#1 src/XF/Db/Mysqli/Statement.php(79): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1366, '22007')
#2 src/XF/Db/AbstractAdapter.php(96): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(223): XF\Db\AbstractAdapter->query('INSERT INTO `x...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1514): XF\Db\AbstractAdapter->insert('xf_siropu_shout...', Array, false)
#5 src/XF/Mvc/Entity/Entity.php(1246): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/addons/Siropu/Shoutbox/Pub/Controller/Shoutbox.php(166): XF\Mvc\Entity\Entity->save()
#7 src/XF/Mvc/Dispatcher.php(352): Siropu\Shoutbox\Pub\Controller\Shoutbox->actionSubmit(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(263): XF\Mvc\Dispatcher->dispatchClass('Siropu\\Shoutbox...', 'Submit', Object(XF\Mvc\RouteMatch), Object(Siropu\Shoutbox\Pub\Controller\Shoutbox), NULL)
#9 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Siropu\Shoutbox\Pub\Controller\Shoutbox), NULL)
#10 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#11 src/XF/App.php(2351): XF\Mvc\Dispatcher->run()
#12 src/XF.php(517): XF\App->run()
#13 index.php(20): XF::runApp('XF\\Pub\\App')
#14 {main}
Request state
array(4) {
["url"] => string(26) "/index.php?shoutbox/submit"
["referrer"] => string(23) "https:"
["_GET"] => array(1) {
["shoutbox/submit"] => string(0) ""
}
["_POST"] => array(6) {
["last_id"] => string(5) "68221"
["shout"] => string(52) "👳♂️👳♀️👮♂️👮♀️"
["_xfRequestUri"] => string(1) "/"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}
I think you need to convertI get this error when the user uses emoji.
xf_siropu_shoutbox_shout
table to utf8mb4_general_ci
Yes, but might make some improvements in the future.Is that suppose to be that way?
I should have asked before buying it haha. Does your Chat2 addon have this feature? Additionally, can the Chat2 addon be simplified to look like the shoutbox?Yes, but might make some improvements in the future.
Yes.Does your Chat2 addon have this feature? Additionally, can the Chat2 addon be simplified to look like the shoutbox?
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...
I've noticed that. The reason is, the add-on has the file empty at first and it gets modified when "real-time" mode is enabled. Will try a different solution, like creating the json file when enabling the option.Since the new update, I have this that appears...
Hello, thank you for your answerI've noticed that. The reason is, the add-on has the file empty at first and it gets modified when "real-time" mode is enabled. Will try a different solution, like creating the json file when enabling the option.
It doesn't. The only problem is the File health check results message.Doesn't matter then?
Will add an admin option in the next release where you can enable user shout count reset on prune.How to clear top users list?
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.
We use essential cookies to make this site work, and optional cookies to enhance your experience.