- Posts: 22
- Thank you received: 0
Kunena 7.0.2 Released
The Kunena team has announce the arrival of Kunena 7.0.2 [K 7.0.2] in stable which is now available for download as a native Joomla extension for J! 5.3.x/5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
Question Backend users shown as 'online'
I have no clue what the difference to Kunena is. I didn't look at Kunena (yet). I'm not a PHP developer.
I can only see that mod_whosonline seems to do the job while Kunena reports the backend users as being online too, and I believe that's wrong.
Please Log in or Create an account to join the conversation.
It may depend on how you look at it, although I can't see even a distant reason why the frontend should show backend users.is that a bug or it was meaned to work this way? just to find out if it's supposed to be fixed...
I think the frontend should be entirely independant of the backend, hence I'd say it's a bug.
Sozzled's explanation that it's alledgendly a bug in Joomla! is something the module mod_whosonline opposes.
Please Log in or Create an account to join the conversation.
This would seem to indicate that Kunena performs some other accounting process. As for whether anyone had attended to this irritation, or what is to be don, I don't know.We don't read Joomla session information, so we don't know if the user is still there or not. Yes, it's something to be changed
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
// online - ofline status
if ($fmessage->userid > 0)
{
$sql = "SELECT COUNT(userid) FROM #__session WHERE userid='{$fmessage->userid}'";
$kunena_db->setQuery($sql);
$isonline = $kunena_db->loadResult();
$msg_online = '';
Campared with the same bit in mod_whosonline (helper.php):
$query = 'SELECT DISTINCT a.username' .
' FROM #__session AS a' .
' WHERE client_id = 0' .
' AND a.guest = 0';
$db->setQuery($query);
$result = $db->loadObjectList();
As I said, I'm not a PHP developer, and unfortunately I also know next to nothing about SQL.
Anyway, it looks to me like all that needs to be done is "adjust" the SQL query in Kunena to fix it.
Would anyone with more knowledge in PHP and SQL like to have a go?
Please Log in or Create an account to join the conversation.
BTW: K1.5 also shows users that have just logged out as being online. That issue is also fixed.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.