General plugins (Local): Question bank unused questions

local_unusedquestions
Maintained by Picture of Ray MorrisRay Morris
Extends the Moodle question bank to find questions which are / are not used in a quiz.
72 sites
19 downloads
15 fans
Current versions available: 1

Extends the Moodle question bank to find questions which are / are not used in a quiz.


This may be useful when adding questions to a quiz - no need to add questions which are already in the quiz.

It may also be useful to determine if some questions should be removed or moved, since they aren't being used.

Screenshots

Screenshot #0
Screenshot #1

Contributors

Picture of Ray Morris
Ray Morris (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Dan Marsden
    Wed, Feb 11, 2015, 12:16 PM
    Hi Ray, that code seems so simple but it is a really nice improvement to the quiz editing interface - great work! I can see it being something that would be accepted as a core feature at some point (coded slightly differently and not as a local plugin though)

    Couple of things you might want to think about
    1) The description and screenshots you've added here don't really do the plugin justice and I had to install it to understand what it really did.

    2) in lib.php function init() there is a call to global $DB but $DB isn't used.

    3) in lib.php $this->onlyused is set in the _construct() function but it is undefined at the class level, you might want to add a "protected $onlyused" at the top of the class or something similar.

    4) You may want to improve the phpdocs a little - running it through the automated check tool at:
    https://github.com/moodlehq/moodle-local_moodlecheck

    The only really important item in that list is probably 1) above.

    great work!
  • Picture of Priyanka Sinha
    Mon, Jan 18, 2016, 1:14 AM
    Hi Ray, I am looking for this plugin for my site on Moodle 2.9. When would the version for 2.9 be released? Thanks!
  • Picture of koen roggemans
    Thu, Sep 27, 2018, 8:12 PM
    What a great plugin - saved the day.
    Works like a charm on Moodle 3.5
  • Picture of Rakesh Chandrakar
    Mon, Apr 22, 2019, 9:14 PM
    Not working in Moodle 3.6, anyone has a solution.
Please login to post comments