Skip Navigation

[Resolved] Date Last Login field in Admin Screen

This thread is resolved. Here is a description of the problem and solution.

Problem:

I am trying to pull the date last login field(MemberPress ) from the admin screen to display it on the frontend using views.

Can't find the field for non-toolset options.

Solution:

The "Last Login" field value of MemberPress plugin is stored in another custom database table "wp_mepr_members", column "updated_at"
which is out the range of WordPress, it isn't a custom user' field, so there isn't any option for it within Toolset.

I suggest you ask help from the author of MemberPress plugin, check if there is any shortcode can output the value of "Last Login" field.

Relevant Documentation:

This support ticket is created 6 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 7 replies, has 3 voices.

Last updated by randallH-3 6 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#615116
Screen Shot 2018-02-12 at 2.23.41 PM.png

Hi,

I am trying to pull the date last login field from the admin screen to display it on the frontend using views.

Can't find the field for non-toolset options.

#615152

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - By default admin user screen do not have last login column. Have you installed any plugin to display last login?

#615470

Im guessing it is from the MemberPress plugin

#615514

Hi,

Minesh is on holiday, I will take care of this ticket.

Since it is a compatibility problem between Views plugin and MemberPress plugin, please provide a copy of your website, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/
You can put it into your own google drive disk, and share the link in the "private detail box", I need to duplicate same problem and debug it in my localhost, thanks

#616208

No, I tried the link you provided, but get this error:
You need permission
Please grant the permission, thanks

#616211

Hi,

I accepted your file permission request.

#616213

Thanks for the details, I can download the file, here are what I found:
The "Last Login" field value is stored in another custom database table "wp_mepr_members", column "updated_at"
which is out the range of WordPress, it isn't a custom user' field, so there isn't any option for it within Toolset.

I suggest you ask help from the author of MemberPress plugin, check if there is any shortcode can output the value of "Last Login" field.

#616235

Thanks!