Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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
Re: More granularity on user last login Date...
kuo_user_last_action fills this need rather nicely
Offline