Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 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

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question (0 viewing) always show at forum

More
16 years 5 months ago #33588 by peripsum
Hi,

at my kunena forum i dont get this:

"Kunena

(3 viewing) xxxx, peripsum, (1) Guest"


it always show me (0 viewing) - but there are readers and members on...

anyone know how to fix it? :(

thank you

Please Log in or Create an account to join the conversation.

More
16 years 5 months ago #33638 by Matias
They are not in the same page, or you have many different URL's to the same page ( www.domain.com & domain.com). If you have enabled "Who is online", you can click on it to see list of active users and on which pages they are browsing currently.

Please Log in or Create an account to join the conversation.

More
16 years 5 months ago - 16 years 5 months ago #33671 by peripsum
Matias wrote:

They are not in the same page, or you have many different URL's to the same page ( www.domain.com & domain.com). If you have enabled "Who is online", you can click on it to see list of active users and on which pages they are browsing currently.


thats true, i use atm different URLs.
yes i know that i can see them on "Who is online" - but how i remove that 0 viewing or what i have to do to that it works (dont say use only one url :)).

thanks

ps: if i see them on "who is online" then it should be possible to see them on XY viewing - or not ? i dont understand that really :blush:
Last edit: 16 years 5 months ago by peripsum.

Please Log in or Create an account to join the conversation.

More
16 years 5 months ago - 16 years 5 months ago #33674 by Matias
Well, this is legacy issue of Kunena. Location is saved as absolute url, which is wrong.. Usually I just write a rule to .htaccess to redirect into www, if url was written without it.

As workaround you could just disable that line by finding path-element-users from css file in your Kunena template and setting it to be display:hidden.
Last edit: 16 years 5 months ago by Matias.

Please Log in or Create an account to join the conversation.

More
16 years 5 months ago #33739 by peripsum
ok thank you.

but it is possible that i change that code of "viewing" to that of "who is online" ?

i mean, "who is online" works correct - and it would be for the first time enough for me, that the "who is online"-user will displayed there...

if it possible, you can tell me how? i am not such as pro in php

thank you for trying to help me

Please Log in or Create an account to join the conversation.

More
16 years 5 months ago - 16 years 5 months ago #33755 by Matias
Actually it's MySQL..

In components/com_kunena/template/default/plugin/who/whoisonline.php line 42 (users), change WHERE clause to:
Code:
. " WHERE w.userid!='0' AND w.time>DATE_SUB(CURDATE(), INTERVAL 30 MINUTE)"

And the same for line 50 (visitors):
Code:
$query = "SELECT COUNT(*) FROM #__fb_whoisonline WHERE user='0' AND time>DATE_SUB(CURDATE(), INTERVAL 30 MINUTE)";

Or at least I think so.. No idea if it actually works..
Last edit: 16 years 5 months ago by Matias.

Please Log in or Create an account to join the conversation.

Time to create page: 0.268 seconds