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: [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?.

Re: [affinitymc] Last login field?

By Jason - July 20, 2010

Hi,

Is it that the field is not being updated with a new value, or the field is just remaining blank?

Have you ensured that the field name is correct as it is case sensitive.

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/