Viewing 5 replies - 1 through 5 (of 5 total)
  • Greetings danb111:

    Thank you for choosing to use this plugin! If you are referring to deleting results from the Quiz Results page, in version 4.1.0, we added the ability to multi-delete the results. You can do so by clicking the checkbox next to the results that you would like to delete and then clicking on the Bulk Delete button at the top of the page.

    Thread Starter danb111

    (@danb111)

    Thanks for the reply Frank, But I have the latest Quiz Master Next because it’s such a great plugin. However at the moment I have 337 quiz results listed and before I can bulk delete, I have to click each one as opposed to perhaps doing a shift click like one can sometimes do else where. I’ve had a look at the Quiz Master Next files, but cann’t see where the result files are which I may be able delete. Any suggestions?
    Thanks
    Danb111

    Greetings again danb111!

    Unfortunately, the bulk delete using the checkboxes is the only method to delete more than one at a time. There are no results files to be deleted. All of the results are stored in the mlw_results table in your database. If you are familiar with databases and sql, you could delete all or select results from there.

    I will definitely add a way to mass delete results in a quicker way to the list of requested features for you.

    Thread Starter danb111

    (@danb111)

    Thanks Frank.

    Tyler Johnson

    (@tylerjohnsondesign)

    Hey danb11,

    I really needed this functionality and new it would be easy to add. So, here’s how to add it:

    1. Go to plugins > quiz-master-next > php.
    2. Open qmn_results.php.
    3. Go to line 143 and add this after the </script> tag:

    <script language="JavaScript">
            function toggle(source) {
              checkboxes = document.getElementsByName('delete_results[]');
              for(var i=0, n=checkboxes.length;i<n;i++) {
                checkboxes[i].checked = source.checked;
              }
            }
        </script>

    4. Go to line 222 and in between the <th> tags, add:

    <input type='checkbox' onClick="toggle(this)" />

    5. Now save! And you’ll have a bulk select checkbox, so that you can bulk delete all results displayed on the page.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘removing results listing’ is closed to new replies.