Ability to see if lesson was viewed by student.

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

Hi,

One approach might be to use the concept that's used in the membership plugin's profile update form to update a field or fields in the student's record. When the student opened a lesson viewer the $query = "UPDATE code would be executed.

I'll look around to see what I've done in that type of situation but won't have a lot of time for a few days.

Best,

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

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