How to display member plan, join date, and last login on a profile page with Memberstack?
Hey, I want to display somebodies plan on their profile page.
Tried data-ms-member=plan and current-plan. Which one is it?
Same question for join date and last login?
Comments
3 comments
Great question! For displaying the plan name, MemberScript #186 is a solid reference — it uses custom logic to pull the member’s current plan or price ID and map it to a readable name. That’s the best way to show the actual plan label on the profile page.
For join date, you can use the built-in attribute:
For last login, Memberstack doesn’t expose that directly via attributes, so you’ll need a bit of custom code to fetch and display it. ReyBot might be able to help with that part too!
Hello,
In Memberstack V2, since users can have multiple plans assigned to them, you’ll need to use a bit of custom code to display which plan they’re on. You can use this guide as a reference:
https://docs.memberstack.com/hc/en-us/community/posts/22860627632795-How-to-display-a-member-s-current-plan-name-in-the-dashboard-using-Memberstack-data-attributes
For the signup date, you can simply use the attribute:
For the last login, you’ll also need custom code to display that field to the user.
If you’d like some extra help with the coding part, you can always ask ReyBot here:
https://rey.memberstack.com/
Ryan Esling As Rachel mentioned, you'd need some custom code to display the plan name to the user. Here’s how you can achieve that:
Instructions:
planMappingobject with your actual Price IDs and Plan IDs.#planNameafter login.Script:
I hope this helps.
Please sign in to leave a comment.