• Resolved Junkie Kode

    (@junkiekode)


    Hi, I love the simplicity of this plugin…

    I was wondering if it’s possible to have some type of short code function for front end display?

    Let me explain my goal:

    I have a site where authors create posts, but I would like the author to know when the subscribers logged in to read the post.

    So I have a page with a custom loop, that list which users are subscribed to which posts.

    Next to their name, I would render thei’r “Last Logged in” info.

    For example:

    Post Title – Red Apples
    (Featured Image)
    Category: Fruits
    Subscribers:
    User 1 (Last Logged in #)
    User 2 (Last Logged in #)
    User 3 (Last Logged in #)

    Post Title: Brown Dog
    (Featured Image)
    Category: Animals
    Subscribers:
    User 4 (Last Logged in #)
    User 5 (Last Logged in #)
    User 6 (Last Logged in #)

    See what I mean?

    I hope this would be possible some how..
    Please let me know.
    I look forward to your response
    Thank you!

    • This topic was modified 6 years, 11 months ago by Junkie Kode.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andrew Lima

    (@andrewza)

    Hi there,

    Thank you for using When Last Login and I’m really thrilled you like our plugin! ??

    This may be possible with a bit of custom code, you are able to simply get user meta of the last login data which shouldn’t be too difficult to do.

    How are you showing which user’s have visited the post? Would you prefer to get a timestamp of when a user visited the post instead of their last login date?

    Please let me know, I would be more than glad to work with you on creating a custom solution for this. Would it be okay to tackle this early next year, before February as we are currently on break over the next two weeks.

    Thread Starter Junkie Kode

    (@junkiekode)

    Hello Andrew

    Thank you very much for your response

    Those are awesome news!

    Oh yes, you are right, it actually makes more sense to have the Timestamp.
    Maybe we can say something like: “Dec 26, 2017 at 8:00am” ?

    I’ve made the Post loop into a list, one row per post with 5 Columns.
    1.FeatureImage – 2.Title – 3.Created Date – 4Category – 5 Log
    The one called “Log” would be where the subscribers invited to that post would be listed. Very soon I’ll have ready this custom function to lists subscribers according to each post invitation.

    Thank you for your willingness to help, I would appreciate that a lot!
    If I may, I would be happy to contribute monetarily for the development of this feature. I can’t say I can contribute much but at least as small amount to show my appreciation.

    Happy New Year!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Showing Last Logged in Info in the Front end’ is closed to new replies.