How to create a lesson completion system in Memberstack that counts finished CMS items and calculates total points?
Hi all,
This is my first time using memberstack and I'm loving the software!
Ive completed the design of my site but I have some custom functionality that I need help with.
Once a member has completed a lesson (CMS item) they need to be able to press a button to mark the lesson as completed. I then need to be able to display the number of lessons completed on their user dashboard, along with their total points which is based on the difficulty of each lesson.
I'm thinking I need to create a 2d array in the members json file, then add an item for each lesson completed with (ID, difficulty).
Any help would be appreciated!
thanks
Comments
5 comments
Hey Daniel Thomas 👋 First off, thanks for the kinds words 😊 I really appreciate that.Â
Second, I think I can help you. We have a template here → https://webflow.com/made-in-webflow/website/university-clone
Which should have everything you need + some tutorial videos. Let me know if that helps 🤞
Duncan from Memberstack
Thanks for the reply!
I had a look at the template but it doesnt look like the clone has any of the custom attributes?
Daniel Thomas I'm going to loop in Julian from the Memberstack team since he created and documented this template.Â
While we wait to hear from him - can you give an example of an attribute that's missing?
Daniel Thomas Hey there!
This template was done using IDs and not attributes - for example, this one here:
That being said, this feature was made specifically for this template, and it had to update when the video was watched instead of only when a button is clicked, so it may not be the perfect one to apply to all projects. We're also working on on a more generic template and documentation for this specific feature, so I can keep you posted on that!
Daniel Thomas Check out this other thread for me - just got a cloneable checklist component up onto the Webflow Showcase. Let me know if this is what you were looking for 🤞
https://docs.memberstack.com/hc/en-us/community/posts/11934019656603/comments/12943407737371
Please sign in to leave a comment.