A new version with some ehancements following the feedbacks of the 1.0 users :
- now the time is based on the last_action time instead of the last_login time wich was giving wrong last login date when users were not unlogging correctly
- now it displays :
To use it
- Download it
- Unzipp in the mod folder
- activate
- enable / disable simplecache
and now you should see the date of the last login of a user, on his profile page, under his profile photo
View Fabrice's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Hey, thankyou for this plugin ... however i think i have found a bug. When you edit a collapsable widget that has mini user-avatars in them, when you save and it reloads, the online/lost login time shows up under the mini avatars, i am guessing this is not what is intended as it only seems to happen when reloading a widget.
@Andrew. Got it ! thanks
Here is the patch : in views/default/lastlogin/profile_extend.php
change line 12 to :
if ((get_context() == "profile")&& ($vars['size'] == "large"))
this will cause the last login line to display only under the large icon
ty
Cool, thank you again.
Hey, cool plugin. Would be even cooler if had all the last logins in the memberlist in the adminarea. This way I would have an overview about the activity of members.
Daniel
How to make the "online" disable cause I already have a online plugin.
should code correction not be.,..
if ((get_context() == "profile")&& ($vars['size'] == "large")){
I think you were leaving out the last character but could be wrong
works in 1.6x ???
Fabrice - thanks so much for this great little plugin! Merci.
And I am running it in 1.6.2 and it works fine.
Is it possible to format the date mm/dd/yy?
If so, how?
Hi CKY092 you can change the date format there :
lastlogin/views/default/lastogin/profile_extend.php line 26
Cheer
@Fabrice -
Thanks! Works great!
@Fabrice Excellent! confirmed working on 1.6.1
Look forward to future updates!
TIA
how to get number of last user login from given part of time?
Great plugin, however, my site is only 2 years old but it has some people's last login as 12/31/69 (mm/dd/yy) format and 31/12/69 for the (dd/mm/yy). For the very least, It looks like it gets the year wrong when the month is December. instead of 09 it has it as 69. please assist me to fix it. Thank you.