Kunena 6.2.6 released
The Kunena team has announce the arrival of Kunena 6.2.6 [K 6.2.6] which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2
Question Last visit date is always today
Joomla stores the date/time when a user last logs in (if a user account has never logged in, this date/time field is NULL); Joomla does not store any previous date/time when a user may have logged in.
This is not a bug in Joomla. This is the way Joomla was designed.
If you want Joomla to remember the last two times that a user logs in, then you should volunteer to join the Joomla development team and redesign Joomla to behave differently.
This is not a bug in Joomla but, perhaps, it's a defect.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
I hope that my explanation helps you to understand that this is not a Kunena "bug" ... except that you are right: the last visit date has no meaning and it would be a good idea if the information was removed.
Add the following lines to the end of your Joomla site template CSS file:
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
- HanKortekaas
- Offline
- Premium Member
- familiewapen
it takes a while before it reaches down-under.
It might be a good idea to put this on a to-do list for the development team for the next Kunena version.
Changing standard templates is not a good recommendation because on the first update of a standard you loose the alterations made.
Over and out.
Han
Please Log in or Create an account to join the conversation.
However, because it is also a security risk to allow an account to remain logged-in for an indefinitely long time (and because the standard login-time in Joomla is 15 minutes) this scenario is unlikely to happen. So, while in 99% of the cases, the indicator "Last Visit Date: Today" is meaningless, there can be times when the date will be something else.
On the matter of changing Joomla site templates, I have two comments:
- If you know how to write a Joomla template override then you can achieve the result differently (which is a better recommendation, perhaps, than the one I gave you; and
- standard Joomal templates (like the atomic template written by Ron Severdia) are unlikely to be updated and there is less likelihood that changea yo the CSS will be lost. In any event, you should update your site to J! 2.5.18.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
- HanKortekaas
- Offline
- Premium Member
- familiewapen
Technically, when logging in, Joomla will first change the date of last log-in and only then Kunena picks up the last-login date. Which therefore by definition is meaningless. And I urge this to be put on a to-do list.
Further, it would be a better recommendation in the case of my usage of the Atomic template, to make a copy of this template and make the alteration as you recommended.
In that case the user knows that he is from then on on his own.
You are a quick reader; you missed my comment that I had updated to Joomla 2.5.18
Han
Please Log in or Create an account to join the conversation.
If you have a very long Joomla session lifetime (for example, more than 1440 minutes - more than 24 hours) this information might have some meaning, perhaps. For most sites that use a Joomla session lifetime of 15 minutes, this information has no real meaning.HanKortekaas wrote: Technically, when logging in, Joomla will first change the date of last log-in and only then Kunena picks up the last-login date. Which therefore by definition is meaningless. And I urge this to be put on a to-do list.
I have reported this as something to be investigated - see GitHub reference # 2301 .
Yes, of course, you can do that.HanKortekaas wrote: Further, it would be a better recommendation in the case of my usage of the Atomic template, to make a copy of this template and make the alteration as you recommended.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.