Git Product home page Git Product logo

moodle-qbehaviour_studentquiz's People

Contributors

dmoshfegh avatar easerider avatar expl0it3r avatar impavido avatar mmschuler avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

marcusgreen

moodle-qbehaviour_studentquiz's Issues

freezing 3.3.and 3.4 courses

Hi Frank
as suspected with moodle 3.3 and 3.4 the student quiz is blowing up courses as it tries to load 999 topics to the screen. Plus with no setting in the course settings to reduce the number to something sensible the course just freezes. this is a major bug. You will need to redesign or remove the function of it creating the student compelted quizzes in the 999 section. Please put a warning on your plugin site in moodle. We are busy with roll over for next year and do not have time to fix this ourselves

Question Category database error

I am getting the following error when I go into an instance of StudentQuiz.
Error: mdb->get_record() found more than one record!

line 1539 of /lib/dml/moodle_database.php: call to debugging()
line 1499 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
line 1478 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
line 92 of /mod/studentquiz/viewlib.php: call to moodle_database->get_record()
line 87 of /mod/studentquiz/viewlib.php: call to studentquiz_view->check_question_category()
line 37 of /mod/studentquiz/view.php: call to studentquiz_view->__construct()

I think it was triggered by importing an xml file that contained categories and it seems that this plugin uses tags for organising questions. When I re-imported without categories it was OK. It might be an idea to have some defensive code that deals with the situation where categories are present.

Installing qbehaviour_studentquiz makes it impossible to create any acitivity (in old themes)

This style rule causes problems:

https://github.com/frankkoch/moodle-qbehaviour_studentquiz/blob/master/styles.css#L44

div.none, .hidden {
    display: none;
}

In a Moodle plugin, all CSS selectors used should include the plugin name. It is dangerous to change the styling of generic selectors.

For example, in old Moodle themes, the submit button for any form is in a

. Therefore, after installing studentquiz, You cannot submit any form. Therefore, you cannot create a studentquiz on your test server, to see how awesome it is!

Most of the CSS here, and in mod_studentquiz look fine. There are just a few rules (not just the one example above) that could usefully be fixed up. Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.