[XB] Quizzes

[XB] Quizzes [Paid] 2.0.9 Patch Level 4

No permission to buy ($75.00)
Painbaker updated [XB] Quizzes with a new update entry:

2.0.8 Beta 1

This update brings a new question type, easier ways to give feedback with quiz ratings, and view counters to see what’s popular. A few helpful tweaks have also been made to improve your experience while taking and finishing quizzes.

See the full details below:

✏️ Changes:​

  • General code refactor
  • Show unanswered question count on quiz completing confirm popup

✨ New Features:​

  • Added multichoice question type
  • Added quiz...

Read the rest of this update entry...
 
1) Your demo doesn't require a login to learn the lesson or answer the quiz, but I like to make registration and login required, so is it possible?

2) Also, I want to make lessons and quizzes possible for paid members only, so is it possible?
 
Server error log
  • ErrorException: Template error: [E_WARNING] Attempt to read property "is_complete" on null
  • src/addons/OzzModz/Quiz/Entity/QuizItem.php:530
  • Generated by: your_name
  • Jul 17, 2025 at 6:48 AM

Stack trace​

#0 src/addons/OzzModz/Quiz/Entity/QuizItem.php(530): XF\Template\Templater->handleTemplateError(2, '[E_WARNING] Att...', '/home/dewangur/...', 530)
#1 src/XF/Template/Templater.php(1282): OzzModz\Quiz\Entity\QuizItem->canRate()
#2 internal_data/code_cache/templates/l2/s49/public/ozzmodz_quiz_quiz_view.php(772): XF\Template\Templater->method(Object(OzzModz\Quiz\Entity\QuizItem), 'canRate', Array)
#3 src/XF/Template/Templater.php(1799): XF\Template\Templater->{closure:internal_data/code_cache/templates/l2/s49/public/ozzmodz_quiz_quiz_view.php:362}(Object(ThemeHouse\UIX\XF\Template\Templater), Array, NULL)
#4 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('ozzmodz_quiz_qu...', Array)
#5 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#6 src/XF/Mvc/Dispatcher.php(471): XF\Mvc\Renderer\Html->renderView('OzzModz\\Quiz:Qu...', 'public:ozzmodz_...', Array)
#7 src/XF/Mvc/Dispatcher.php(453): XF\Mvc\Dispatcher->renderView(Object(XV\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#8 src/XF/Mvc/Dispatcher.php(412): XF\Mvc\Dispatcher->renderReply(Object(XV\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#9 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#10 src/XF/App.php(2824): XF\Mvc\Dispatcher->run()
#11 src/XF.php(806): XF\App->run()
#12 index.php(23): XF::runApp('XF\\Pub\\App')
#13 {main}

Request state​

array(4) {
["url"] => string(90) "/quiz/asesmen-diagnostik-struktur-sel-dan-mekanisme-transpor-zat-melalui-membran-plasma.6/"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
Server error log
  • ErrorException: Template error: [E_WARNING] Attempt to read property "is_complete" on null
  • src/addons/OzzModz/Quiz/Entity/QuizItem.php:530
  • Generated by: your_name
  • Jul 17, 2025 at 6:45 AM

Stack trace​

#0 src/addons/OzzModz/Quiz/Entity/QuizItem.php(530): XF\Template\Templater->handleTemplateError(2, '[E_WARNING] Att...', '/home/xxxx/...', 530)
#1 src/XF/Template/Templater.php(1282): OzzModz\Quiz\Entity\QuizItem->canRate()
#2 internal_data/code_cache/templates/l2/s49/public/ozzmodz_quiz_quiz_view.php(772): XF\Template\Templater->method(Object(OzzModz\Quiz\Entity\QuizItem), 'canRate', Array)
#3 src/XF/Template/Templater.php(1799): XF\Template\Templater->{closure:internal_data/code_cache/templates/l2/s49/public/ozzmodz_quiz_quiz_view.php:362}(Object(ThemeHouse\UIX\XF\Template\Templater), Array, NULL)
#4 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('ozzmodz_quiz_qu...', Array)
#5 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#6 src/XF/Mvc/Dispatcher.php(471): XF\Mvc\Renderer\Html->renderView('OzzModz\\Quiz:Qu...', 'public:ozzmodz_...', Array)
#7 src/XF/Mvc/Dispatcher.php(453): XF\Mvc\Dispatcher->renderView(Object(XV\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#8 src/XF/Mvc/Dispatcher.php(412): XF\Mvc\Dispatcher->renderReply(Object(XV\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#9 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#10 src/XF/App.php(2824): XF\Mvc\Dispatcher->run()
#11 src/XF.php(806): XF\App->run()
#12 index.php(23): XF::runApp('XF\\Pub\\App')
#13 {main}

Request state​

array(4) {
["url"] => string(90) "/quiz/asesmen-diagnostik-struktur-sel-dan-mekanisme-transpor-zat-melalui-membran-plasma.6/"
["referrer"] => string(58) "https://example.com/register/connected-accounts/google/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
  1. Is it possible to set a minimum time to complete a quiz? For example, users cannot click the finish button until 30 minutes have passed.
  2. Is it possible to set once you start the quiz, you are required to NOT leave the current browser/tab otherwise the quiz will end and you will fail!
 
Painbaker updated [XB] Quizzes with a new update entry:

2.0.8 Beta 3

This is a beta version and may contain bugs or incomplete features.
Please take a full backup of your site and database before upgrading.

✨ New Features:​

  • Added option to reassign questions when reassigning quiz
  • Added user criteria: quizzes created, quizzes completed, quiz score
  • Added ability to bookmark questions

🪲 Fixes:​

  • Fix: incorrect column was fetched in the method that retrieves question IDs from...

Read the rest of this update entry...
 
Painbaker updated [XB] Quizzes with a new update entry:

2.0.9 Patch Level 4

  • Added thumbnail optimization rebuild tool
  • Added storing of additional quiz thumbnail versions (small, medium, large)
  • Moved quiz thumbnails from quiz/thumbnails to the quiz_thumbnails folder
  • Added separate action to edit quiz thumbnail
  • Added IP logging on quiz/question creation
  • Added IP logging for quiz thumbnail actions
  • Added displaying associated content in quiz tabs
  • Open question editing page in full view instead of overlay to avoid display issues
  • Fixed...

Read the rest of this update entry...
 
Installed the latest version on a test board and got these errors
Renamed table xf_ozzmodz_quiz_question_answer to xf_ozzmodz_quiz_question_answer__conflict to avoid schema conflict
10 minutes ago src/XF/Error.php:81
Renamed table xf_ozzmodz_quiz_question to xf_ozzmodz_quiz_question__conflict to avoid schema conflict
10 minutes ago src/XF/Error.php:81
Renamed table xf_ozzmodz_quiz_quiz_complete to xf_ozzmodz_quiz_quiz_complete__conflict to avoid schema conflict
10 minutes ago src/XF/Error.php:81
Renamed table xf_ozzmodz_quiz_quiz to xf_ozzmodz_quiz_quiz__conflict to avoid schema conflict
10 minutes ago src/XF/Error.php:81
 
Installed the latest version on a test board and got these errors
Renamed table xf_ozzmodz_quiz_question_answer to xf_ozzmodz_quiz_question_answer__conflict to avoid schema conflict
10 minutes ago src/XF/Error.php:81
Renamed table xf_ozzmodz_quiz_question to xf_ozzmodz_quiz_question__conflict to avoid schema conflict
10 minutes ago src/XF/Error.php:81
Renamed table xf_ozzmodz_quiz_quiz_complete to xf_ozzmodz_quiz_quiz_complete__conflict to avoid schema conflict
10 minutes ago src/XF/Error.php:81
Renamed table xf_ozzmodz_quiz_quiz to xf_ozzmodz_quiz_quiz__conflict to avoid schema conflict
10 minutes ago src/XF/Error.php:81
Clean install or by upgrading from which version?
 
Back
Top Bottom