Kunena 7.0.5 & Kunena 6.4.11 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.0.5 [K 7.0.5] 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.

The Kunena team is also pleased to announce the eleventh version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.0.

If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.

Question How to disable showonline option from user profile configuration

More
11 years 6 months ago #159930 by kemadiyo
Of course I am totally responsible for resolving my problems, I'm just asking for help but maybe I wasn't enough clear. I would like to disable the profile---edit---forum setting option to change the online status. I tried changing the code and it worked, that option was disabled but despite I changed the online users state manually, users that already had changed it go back to that offline status. I´m wondering how kunena set up the online status of the users, not just with the _kunena_users database table, maybe that information remains somewhere... Thanks anyway!

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

More
11 years 6 months ago - 11 years 6 months ago #159939 by sozzled

kemadiyo wrote: I´m wondering how kunena set up the online status of the users, not just with the _kunena_users database table, maybe that information remains somewhere...

The information is stored in the _kunena_users table in the column showOnline

If showOnline = 1 then the user's online status is shown "online" if they are logged-in and "offline" if they are logged-out;

if showOnline = 0 then the user's online status will alwyas be displayed as "offline", even if they are logged-in (and their names will be hidden on the Who is Online area of the Index and Recent Topics pages); however

sozzled wrote: ... administrators (and global moderators) can see the list of invisible users in the Who is Online area of the Index and Recent Topics pages.


If you have users in your forum who are always displayed as "offline" but they seem to be online because you can see their names in the Who is Online area of the Index and Recent Topics pages then there are two things you should do:

  1. check the database table to see if those people have changed their profile; and

  2. check the session length settings for Joomla and Kunena.

I suggest you read msg #4 of Why does the "remember me" box not work as expected on my website? and msg # 4 of Login/Logout problems .

I cannot advise you how to disable the setting

<user-profile> » Edit » Forum Settings » Show Online

If you want to disable this, that's entirely a matter for you. I think the real problem here is

kemadiyo wrote: [... after I changed the user records in the database] two days later the status of those users changed again [themselves].

How do you know that your users edited their showOnline setting if you think you have prevented them? Have you checked the database?
Last edit: 11 years 6 months ago by sozzled.

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

More
11 years 6 months ago - 11 years 6 months ago #159942 by kemadiyo

sozzled wrote: How do you know that your users edited their showOnline setting if you think you have prevented them? Have you checked the database?


I know that users have changed their online status because I can see them in the forum as administrator, and because I checked the database, _kunena_users table, column showOnline, and those users that changed before their status, they have got 0 as value again, so they are displayed as offline. They didn't have the option to change their online status from user-profile---edit---forum settings---showonline because I edited the code and it doesn't appear. Furthermore, I ask some of them and they say they didn't change nothing, and I believe them, so I still don't know how it can happen... For that reason I wondered the online status could be stored in another kunena database table, but I trust you, of course I do... maybe this issue is because Halloween day is coming ;)

Thanks a lot one more time! I appreciate your help!
Last edit: 11 years 6 months ago by kemadiyo.

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

More
11 years 6 months ago - 11 years 6 months ago #159944 by sozzled

kemadiyo wrote: I know that users have changed their online status because I ... checked the database, _kunena_users table, column showOnline, and those users that changed before their status, they have got 0 as value again ...

Which means that, if you want them to appear "online" again, you need to change the value to 1.

kemadiyo wrote: They didn't have the option to change their online status from user-profile---edit---forum settings---showonline because I edited the code and it doesn't appear.

If you say so. I have no comment.

kemadiyo wrote: For that reason I wondered the online status could be stored in another kunena database table

The setting is controlled in the database table _kunena_users (showOnline column). This is the only place that I am aware of where this is controlled. If the value is changing from 1 to zero then I can't explain why it's changing.
Last edit: 11 years 6 months ago by sozzled.
The following user(s) said Thank You: kemadiyo

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

Time to create page: 0.292 seconds