garemoko / moodle-report_tincan

2 stars 2 forks source link

not working #1

Closed stephenlane closed 9 years ago

stephenlane commented 9 years ago

does this work ?

garemoko commented 9 years ago

It was working for me with I think Moodle 2.6 8 months ago. Are you getting any errors? Note that the events don't get triggered by admin

garemoko commented 9 years ago

Also note that it's a very limited proof of concept, not a complete and usable product. LEO have released a more advanced (but probably not functioning) code sample in this area too.

stephenlane commented 9 years ago

okay, all I need is a proof of concept too. I dont seem to be getting any errors, I am using learning locker as my LRS. Is there specific database tables for this plugin as I am not sure if it is installed correctly. I have also just upgraded to moodle 2.8.

garemoko commented 9 years ago

You'll be able to see it's installed by the settings. Look in under system administration / reports. I've never installed Moodle 2.8 myself so I have no idea if it will work with that version I'm afraid. Fingers crossed!

stephenlane commented 9 years ago

Still trying this out. Hopefully it works, was there any particular LRS you were working with ?

garemoko commented 9 years ago

Most likely Wax and Learning Locker. I don't see any reason why it wouldn't work with any LRS though; the actual Tin Can elements of this prototype are very basic.

Make sure you set you Moodle to maximum errors to help track down problems.

stephenlane commented 9 years ago

thats a good idea, Ill do that now. I will keep you posted :)

stephenlane commented 9 years ago

should the mdl_report_tincan table be empty ?

garemoko commented 9 years ago

I'm not sure what it should look like before you enter any settings. I expect it should have something in it once you save the settings. Did you find the settings?

stephenlane commented 9 years ago

I saved the settings and they end up in this table mdl_config_plugins not in the report_tincan table.

garemoko commented 9 years ago

Right. It may be that that table is now superfluous.

stephenlane commented 9 years ago

maybe, I tried populating this table and still I cannot get anything to hit my LRS, Im going to try the http://tincanapi.com/ public respositor to see if it works.

stephenlane commented 9 years ago

couldnt get that LRS to work either. I think I may have figured out the problem, but no idea how to fix the issue. The problem is that the code never fires when a quiz is started or submitted.

garemoko commented 9 years ago

Are you running the quiz as a student?

stephenlane commented 9 years ago

it works :) Thanks for all your help.

garemoko commented 9 years ago

Great! Let me know how you get on with your demo.