Last login field?

6 posts by 3 authors in: Forums > CMS Builder
Last Post: July 20, 2010   (RSS)

By affinitymc - July 16, 2010

Has anyone created a field for last login?

Thanks

Brian

Re: [affinitymc] Last login field?

By Jason - July 16, 2010

Hi Brian,

If you add a date field called lastLoginDate, the website membership plugin will automatically store the last time the user logged in for you.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Last login field?

By affinitymc - July 18, 2010

Hi Jason,

I added the field as suggested, and made it a System Field, however when I add it to the Member Accounts view, the column appears, sorts by last login, but does not display a date/time

Re: [affinitymc] Last login field?

By Chris - July 19, 2010

Hi Brian,

CMS Builder won't be able to retroactively fill in information into that field. It should get updated as users log in since you added it. Can you test it out for a specific user and see if it's updating or not?
All the best,
Chris

Re: [chris] Last login field?

By affinitymc - July 19, 2010 - edited: July 19, 2010

Hi Chris,

Yes I understand that. I've tested it out for several accounts by logging in and out and they don't update, no matter how many times I've tried. I did notice that the existing Special Fieldnames (i.e. updatedDate, createdDate) that utilise dates have "none" selected as the Field Type. Is it possible for an Admin to create more Special Fieldnames?.