[XenConcept] Quiz Manager

[XenConcept] Quiz Manager [Paid] 2.1.3

No permission to buy ($40.00)
Small detail: typo

The numer of attempt for this quiz is of 2 attempts.❌
The number of attempt for this quiz is of 2 attempts.✅
 
I wish you can add another type of question where the user can input the answer as text (via text editor).
An option to choose the type of the question answer.

Thank you so much @XenConcept for the awesome add-on.
 
Code:
Template errors
Template public:prefix_input: [E_USER_WARNING] Accessed unknown getter'ozzmodz_tpftt_discussion_type' on XenConcept\QuizManager:QuizPrefix[1] (src/XF/Mvc/Entity/Entity.php:199)
Template public:prefix_input: [E_USER_WARNING] Accessed unknown getter'ozzmodz_tpftt_discussion_type' on XenConcept\QuizManager:QuizPrefix[2] (src/XF/Mvc/Entity/Entity.php:199)


Oops! We ran into some problems.
✖️The requested page could not be found. (Code: invalid_action, controller: XenConcept\QuizManager:Category, action: PrefixHelp)
 
Last edited:
Code:
Template errors
Template public:prefix_input: [E_USER_WARNING] Accessed unknown getter'ozzmodz_tpftt_discussion_type' on XenConcept\QuizManager:QuizPrefix[1] (src/XF/Mvc/Entity/Entity.php:199)
Template public:prefix_input: [E_USER_WARNING] Accessed unknown getter'ozzmodz_tpftt_discussion_type' on XenConcept\QuizManager:QuizPrefix[2] (src/XF/Mvc/Entity/Entity.php:199)

Hello,

Can send the full error please ?
 
Hello,

Can send the full error please ?
Sure...

Code:
Server error log
InvalidArgumentException: Accessed unknown getter 'ozzmodz_tpftt_discussion_type' on XenConcept\QuizManager:QuizPrefix[2] src/XF/Mvc/Entity/Entity.php:203
Generated by: ***** Feb 25, 2024 at 5:49 PM
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(115): XF\Mvc\Entity\Entity->get('ozzmodz_tpftt_d...')
#1 internal_data/code_cache/templates/l1/s3/public/prefix_input.php(139): XF\Mvc\Entity\Entity->offsetGet('ozzmodz_tpftt_d...')
#2 src/XF/Template/Templater.php(1644): XF\Template\Templater->{closure}(Object(SV\LazyImageLoader\XF\Template\Templater), Array, NULL)
#3 src/addons/MaZ/AMP/Traits/Templater/XF22.php(52): XF\Template\Templater->renderTemplate('prefix_input', Array, true, NULL)
#4 src/addons/MaZ/AUN/XF/Template/Templater.php(39): MaZ\AMP\XF\Template\Templater->renderTemplate('public:prefix_i...', Array, true, NULL)
#5 src/XF/Template/Templater.php(6363): MaZ\AUN\XF\Template\Templater->renderTemplate('public:prefix_i...', Array)
#6 src/addons/OzzModz/ThreadPrefixRequiredHint/XF/Template/Templater.php(13): XF\Template\Templater->formPrefixInput(Array, Array)
#7 src/XF/Template/Templater.php(6382): OzzModz\ThreadPrefixRequiredHint\XF\Template\Templater->formPrefixInput(Array, Array)
#8 internal_data/code_cache/templates/l1/s3/public/xc_quiz_manager_quiz_edit_macros.php(21): XF\Template\Templater->formPrefixInputRow(Array, Array, Array)
#9 src/XF/Template/Templater.php(817): XF\Template\Templater->{closure}(Object(SV\LazyImageLoader\XF\Template\Templater), Array, NULL)
#10 src/addons/MaZ/AMP/XF/Template/Templater.php(152): XF\Template\Templater->callMacro('xc_quiz_manager...', 'title', Array, Array, Object(XF\Template\MacroState))
#11 internal_data/code_cache/templates/l1/s3/public/xc_quiz_manager_category_add_quiz.php(94): MaZ\AMP\XF\Template\TemplaterAbstract->callMacro('xc_quiz_manager...', 'title', Array, Array)
#12 src/XF/Template/Templater.php(1644): XF\Template\Templater->{closure}(Object(SV\LazyImageLoader\XF\Template\Templater), Array, NULL)
#13 src/addons/MaZ/AMP/Traits/Templater/XF22.php(52): XF\Template\Templater->renderTemplate('xc_quiz_manager...', Array, true, NULL)
#14 src/addons/MaZ/AUN/XF/Template/Templater.php(39): MaZ\AMP\XF\Template\Templater->renderTemplate('public:xc_quiz_...', Array, true, NULL)
#15 src/XF/Template/Template.php(24): MaZ\AUN\XF\Template\Templater->renderTemplate('public:xc_quiz_...', Array)
#16 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#17 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('XenConcept\\Quiz...', 'public:xc_quiz_...', Array)
#18 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XV\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#19 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XV\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#20 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#21 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#22 src/XF.php(512): XF\App->run()
#23 index.php(20): XF::runApp('XF\\Pub\\App')
#24 {main}
Request state
array(4) {
  ["url"] => string(31) "/forum/quizzes/categories/2/add"
  ["referrer"] => string(54) "https://www.e-dewan.com/forum/quizzes/categories/2/add"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Also, there is an issue with quiz prefix, I does not show prefix group name, instead it shows this...

1708873186942.webp

Then If I chose a prefix, it shows this error...
1708873321919.webp
 
Server error log
  • Error: Call to a member function delete() on null
  • src/addons/XenConcept/QuizManager/Pub/Controller/QuizItem.php:570
  • Generated by: jirandi02
  • Mar 6, 2024 at 2:48 PM

Stack trace​

#0 src/XF/Mvc/Dispatcher.php(352): XenConcept\QuizManager\Pub\Controller\QuizItem->actionStartAgainQuiz(Object(XF\Mvc\ParameterBag))
#1 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XenConcept\\Quiz...', 'StartAgainQuiz', Object(XF\Mvc\RouteMatch), Object(XenConcept\QuizManager\Pub\Controller\QuizItem), NULL)
#2 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XenConcept\QuizManager\Pub\Controller\QuizItem), NULL)
#3 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#4 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#5 src/XF.php(524): XF\App->run()
#6 index.php(20): XF::runApp('XF\\Pub\\App')
#7 {main}

Request state​

array(4) {
["url"] => string(94) "/quizzes/asesmen-harian-sistem-hormon-dan-fungsinya-pada-reproduksi-manusia.2/start-again-quiz"
["referrer"] => string(100) "https://www.dewan.guru/quizzes/asesmen-harian-sistem-hormon-dan-fungsinya-pada-reproduksi-manusia.2/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
Server error log
  • InvalidArgumentException: Accessed unknown getter 'message' on XenConcept\QuizManager:QuizItem[9]
  • src/XF/Mvc/Entity/Entity.php:213
  • Generated by: Zaskia ramadhania
  • Mar 13, 2024 at 3:33 PM

Stack trace​

#0 src/XF/Mvc/Entity/Entity.php(125): XF\Mvc\Entity\Entity->get('message')
#1 internal_data/code_cache/templates/l2/s1/public/news_feed_item_xc_quiz_manager_quiz_insert.php(11): XF\Mvc\Entity\Entity->offsetGet('message')
#2 src/XF/Template/Templater.php(1655): XF\Template\Templater->{closure}(Object(MMO\VerifiedBadge\XF\Template\Templater), Array, NULL)
#3 src/XF/NewsFeed/AbstractHandler.php(104): XF\Template\Templater->renderTemplate('news_feed_item_...', Array)
#4 src/XF/Entity/NewsFeed.php(79): XF\NewsFeed\AbstractHandler->render(Object(XF\Entity\NewsFeed))
#5 src/XF/Template/Templater.php(1195): XF\Entity\NewsFeed->render()
#6 internal_data/code_cache/templates/l2/s1/public/news_feed_macros.php(36): XF\Template\Templater->method(Object(XF\Entity\NewsFeed), 'render', Array)
#7 src/XF/Template/Templater.php(828): XF\Template\Templater->{closure}(Object(MMO\VerifiedBadge\XF\Template\Templater), Array, NULL)
#8 internal_data/code_cache/templates/l2/s1/public/news_feed_macros.php(13): XF\Template\Templater->callMacro('news_feed_macro...', 'feed_item', Array, Array)
#9 src/XF/Template/Templater.php(828): XF\Template\Templater->{closure}(Object(MMO\VerifiedBadge\XF\Template\Templater), Array, NULL)
#10 internal_data/code_cache/templates/l2/s1/public/member_latest_activity.php(33): XF\Template\Templater->callMacro('news_feed_macro...', 'feed_row', Array, Array)
#11 src/XF/Template/Templater.php(1655): XF\Template\Templater->{closure}(Object(MMO\VerifiedBadge\XF\Template\Templater), Array, NULL)
#12 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('member_latest_a...', Array)
#13 src/XF/Mvc/Renderer/Json.php(86): XF\Template\Template->render()
#14 src/XF/Mvc/Renderer/Json.php(70): XF\Mvc\Renderer\Json->renderHtmlFallback('XF:Member\\Lates...', 'public:member_l...', Array)
#15 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Json->renderView('XF:Member\\Lates...', 'public:member_l...', Array)
#16 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#17 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#18 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#19 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#20 src/XF.php(524): XF\App->run()
#21 index.php(20): XF::runApp('XF\\Pub\\App')
#22 {main}

Request state​

array(4) {
["url"] => string(162) "/members/vicry.60/latest-activity?_xfRequestUri=%2Fmembers%2Fvicry.60%2F&_xfWithData=1&_xfToken=1710343979%2C05b93d9a8c39e7012d500fbdf513e297&_xfResponseType=json"
["referrer"] => string(40) "https://www.dewan.guru/members/vicry.60/"
["_GET"] => array(4) {
["_xfRequestUri"] => string(18) "/members/vicry.60/"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(43) "1710343979,05b93d9a8c39e7012d500fbdf513e297"
["_xfResponseType"] => string(4) "json"
}
["_POST"] => array(0) {
}
}
 
I found that unapproved users (awaiting email confirmation) can play the quiz. Shouldn't it not be possible?

Sorry I saw it wrong 🙏
 
This addon has serious bugs such as:

1. Categories Can't be deleted once you create one. When you try to delete a category it returns with this error No content was returned. Please try again later.

2. Category permission has this error.

Code:
/src/vendor/composer/../../../src/addons/XFRM/ControllerPlugin/CategoryPermission.php): Failed to open stream: No such file or directory in src/vendor/composer/ClassLoader .php at line<br>576<br> <br>/composer/ClassLoader.php at line 427<br>Composer\Autoload\ClassLoader-&gt;loadClass() in src/XF/Mvc/Controller.php at line 782<br>XF\Mvc\Controller-&gt;plugin() in src/addons/XenConcept/QuizManager /Admin/Controller/Category.php at line<br>143<br>Controller\Category-&gt;actionPermissions() in src/XF/Mvc/Dispatcher.php at<br>line<br>352 &gt;dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at<br>line<br>115 in src/XF/App.php at line<br>2487

3. Can't move Quiz it returns with No content was returned. Please try again later.
4. Once you correct any answers after Terminite the Quiz it doesn't update with the total number of correct answers.
5. Other than admin users quizzes are on pending but not showing it approval queue.
 
I had a project in mind but I would like to resolve some questions about the addon.

Is it possible to create questions based on a category instead of a quiz? For example, a category called Excel that grouped all multiple choice questions about this software, another called Word, etc.

Would it be possible for any registered user to create new questions for that category? I would like it to be a collaborative website and not for the administrator to not bear all the work.

Would it be possible for the end user to generate a test with questions from a specific category and choose how many questions? The idea would be that the user could choose on each attempt how long the test would be based on the study time available.

Thx
 
I had a project in mind but I would like to resolve some questions about the addon.

Is it possible to create questions based on a category instead of a quiz? For example, a category called Excel that grouped all multiple choice questions about this software, another called Word, etc.

Would it be possible for any registered user to create new questions for that category? I would like it to be a collaborative website and not for the administrator to not bear all the work.

Would it be possible for the end user to generate a test with questions from a specific category and choose how many questions? The idea would be that the user could choose on each attempt how long the test would be based on the study time available.

Thx

Hello,

Can you contact me in DM ?

Regards
 
Top Bottom