Ability to see if lesson was viewed by student.

3 posts by 3 authors in: Forums > CMS Builder
Last Post: April 17, 2013   (RSS)

By Codee - April 15, 2013

I have a client that is a sports coach.  Each of her students has an account on the system, and each of those students have lessons that have been prepared and placed in a lessons section. She is also utilizing the membership plugin. What my client wants to know is if the user has not only logged in, but which lesson(s) they have viewed (opened the file for each lesson.) and when. What's the simplest way to reflect that information...showing when the account holder has viewed a particular lesson and when?

Hi,

I would create a log section that has fields for a students name, the date, and the name of a lesson. Then I'd add a mysql_insert function to a lessons detail page that creates a record in the log each time the student views it. 

Then I'd add advanced search functionality to the log section so that its easy to filter the log by a student or lesson. I'd also make it so that it filters by date so that the newest logs are shown first.

Let me know if you have any questions.

Thanks!

Greg

Greg Thomas







PHP Programmer - interactivetools.com