What's new
[XB] Quizzes

[XB] Quizzes [Paid] 2.0.7 Patch Level 1

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

2.0.7

  • Added option to skip quiz play confirmation form if no play settings available
  • Fixed few XF 2.2 compatibility issues
  • Added missing featuring action phrases for moderator log
  • Cache globally ozzmodz_quiz_latest_quizzes, ozzmodz_quiz_x_quiz phrases to avoid extra DB queries
  • Fixed display of correct answers when editing "Single choice" a question

Read the rest of this update entry...
 
Dear Painbaker,

please allow two for you maybe rather stupid questions:

- is it possible, to give the rights to create a quiz to other members of the forum without giving them entire administrator privileges over the entire forum?

- I need to translate the quiz into German. As I did not need this before I am lost here. Which files do I have to edit and what do I have to do that these files will not be overwritten at next update?

Thank you

Wolfgang
 
- is it possible, to give the rights to create a quiz to other members of the forum without giving them entire administrator privileges over the entire forum?
Yes
The permissions here are very flexible

1747389286295.png

- I need to translate the quiz into German. As I did not need this before I am lost here. Which files do I have to edit and what do I have to do that these files will not be overwritten at next update?
You don't need to edit any files, just translate the addon phrases through the ACP interface for your language.

1747389407533.png
 
You said there can be more than one correct answer. I'm confused.
I think it means that you have a question with, say, 5 possible answers - of those answers, there may be more than one possible outcome, so if the user selected any of the correct answers, they would be marked correct.

It doesn't mean select all the correct answers.

For multiple answers, just now I'm using the "ordering into groups" method.

Hope that makes sense.
 
I think it means that you have a question with, say, 5 possible answers - of those answers, there may be more than one possible outcome, so if the user selected any of the correct answers, they would be marked correct.

It doesn't mean select all the correct answers.

For multiple answers, just now I'm using the "ordering into groups" method.

Hope that makes sense.
Now I understand. But please look again at the screenshot I provided.
 
...

For multiple answers, just now I'm using the "ordering into groups" method...
It would be better if the left and right groups were different in number. There might be 2 or 3 items as distractors. I don't know if this is possible.
 
Hi @Painbaker ,

Although I gave the visitors the necessary group permissions, unfortunately, "You did not complete the CAPTCHA verification properly. Please try again." error and they cannot participate in the tests.
Where is the setting for this?

1749296069206.png
 
Hi.

1) Is it possible to allow users to not add a quiz in the top category? But do so only for the sub categories? Top category only for organization and to separate it from the other main category.
(but still leave the "Add Quiz" button visible on the page, and still show all quizzes within that main category).
1750191302605.png

So when this popup comes up, they cannot select the top category:
1750191395017.png

2) Also, can the drop down menu by default stay open (the arrow to open/close the "Board Game Quiz" category?

3) Would it be possible to add an option for "quiz difficulty"? 1-5 stars. The creator select a rating, but users can also vote on what they think after completing the quiz. (creator difficulty, community voted difficulty).

4) When I am in the questions tab of a quiz, the breadcrums are showing double.
1750192855562.png
 

Attachments

  • 1750191374167.png
    54.8 KB · Views: 0
Last edited:
1) Is it possible to allow users to not add a quiz in the top category? But do so only for the sub categories? Top category only for organization and to separate it from the other main category.
(but still leave the "Add Quiz" button visible on the page, and still show all quizzes within that main category).
1750191302605.png


So when this popup comes up, they cannot select the top category:
1750191395017.png
You can modify the "ozzmodz_quiz_category_view" template. Replace:

HTML:
<xf:pageaction>
    <xf:if is="$category.canAddQuiz()">
        <xf:button class="u-pullRight button--cta" href="{{ link('quiz/categories/add', $category) }}" icon="add">
            {{ phrase('ozzmodz_quiz_add_quiz') }}
        </xf:button>
    </xf:if>
</xf:pageaction>

To:

HTML:
<xf:pageaction>
    <xf:if is="$category.canAddQuiz()">
        <xf:button class="u-pullRight button--cta" href="{{ link('quiz/categories/add', $category) }}" icon="add">
            {{ phrase('ozzmodz_quiz_add_quiz') }}
        </xf:button>
    <xf:elseif is="$xf.visitor.canAddQuiz()" />
        <xf:button class="u-pullRight button--cta" href="{{ link('quiz/add') }}" icon="add" overlay="true">
            {{ phrase('ozzmodz_quiz_add_quiz') }}
        </xf:button>
    </xf:if>
</xf:pageaction>


2) Also, can the drop down menu by default stay open (the arrow to open/close the "Board Game Quiz" category?
Only a specific category as open or all?

ozzmodz_quiz_category_list_macros

Find:

HTML:
<xf:set var="$isActive" value="{{ $isSelected OR $hasPathToSelected AND $children is not empty }}" />

Replace:

HTML:
<xf:set var="$isActive" value="{{ in_array($category.category_id, [YOUR_CATEGORY_IDS]) }}" />

Or if all categories:

HTML:
<xf:set var="$isActive" value="{{ true }}" />

3) Would it be possible to add an option for "quiz difficulty"? 1-5 stars. The creator select a rating,
For author ratings, currently you can use custom quiz fields with "Star rating" type.

but users can also vote on what they think after completing the quiz. (creator difficulty, community voted difficulty).
This feature is not currently planned. I can look into it if you are interested.

4) When I am in the questions tab of a quiz, the breadcrums are showing double.
Will be fixed in the next update.
 
Thanks! :)

1) Hmm, that didn't work. If am at the main category (https://www.boardgamedungeon.net/quiz/categories/board-game-quiz.1), I can still add quiz right into that category.
I suppose I can just manually move the quiz to the correct category, though that adds some manual labor :D

3) Yeah cool, thanks. I just thought that would be a nice idea. For that matter, rating the quiz would also be possible (how well made it is), and they could rate on the difficulty as well. But of course only after completing the quiz. The rating(s) (how many) and how high it is, could weight into how well the quizzes are sorted under "trending". And they could be filtered on the main quiz page by rating.
 
Suggestion:
Can the order be randomized (the right side) when using the ordering groups type of question?
Right now they are all in the answer order that correspond to their place on the left side as well.
1750267593900.png
 
Also, a fun suggestion would be the ability to add "Hints". These could be revealed if the user wants it (and it is enabled/added by the quiz creator), but would incur an X penalty to the score.
 
Back
Top