Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2016-07-17 07:40:20

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,446
Website GitHub

Re: More granularity on user last login Date...

towndock wrote #300310:

Was a solution ever found for this?

No. If you choose to ‘remember’ your admin-side login credentials, the cookie lasts for thirty days and automatically logs you back in, so the best granularity we have is that. Hence, last_login is of the same order.

Not sure how to get round it, short of removing the cookie functionality or finding a way for it to update the DB every time it’s used.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#17 2016-07-17 10:31:36

towndock
Member
From: Oriental, NC USA
Registered: 2007-04-06
Posts: 335
Website

Re: More granularity on user last login Date...

Bloke wrote #300313:

finding a way for it (cookie) to update the DB every time it’s used.

If that was possible… that would solve it.

Other possibility (if the database knows)… last user activity. If the user has done anything, published or updated an article, etc.

Your cookie idea would be the best.

Offline

#18 2016-07-18 16:01:43

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: More granularity on user last login Date...

kuo_user_last_action fills this need rather nicely

Offline

Board footer

Powered by FluxBB