Nice hack!
I changed some things so it didn't clash with amykhar's vba newest quiz module
I changed the template name from adv_portal_quiz to adv_portal_randquiz and in random_quiz.php
Code:
eval('$home[$mods[\'modid\']][\'content\'] = "' . fetch_template('adv_portal_quiz') . '";');
to this:
Code:
eval('$home[$mods[\'modid\']][\'content\'] = "' . fetch_template('adv_portal_randquiz') . '";');
Thank You for this hack