Brainy S. Posted October 5, 2019 Posted October 5, 2019 Would you ever consider making it so Guests can play quizzes? Or is this not really possible with how it's designed? If this would be difficult, I wonder if having a "guest player" quiz account might be a work-around? And to have a feature where this app could let you specify a single Admin-created registered "guest player" account that could ALWAYS replay quizzes?
Adriano Faria Posted October 5, 2019 Author Posted October 5, 2019 I can’t store their score so why would I allow them to play? There’s no sense on it.
Brainy S. Posted October 5, 2019 Posted October 5, 2019 2 minutes ago, Adriano Faria said: I can’t store their score so why would I allow them to play? There’s no sense on it. It would just be so that guests to the site can play a quiz for fun without registering. It would just enable unregistered visitors to play. They would just need to see their quiz score once when the finish the quiz and that's it.
Adriano Faria Posted October 5, 2019 Author Posted October 5, 2019 Another reason: a registered member can easily cheat by logging out, taking a note of questions, searching for the right answers and then logging back and answering right to all questions... so no, I won’t do that.
Luke Hickton Posted October 18, 2019 Posted October 18, 2019 @Adriano Faria I noticed that the css doesn't "wrap test" on the results page, seen below: Tested it on the default invision skin and it makes it slide all the way across, is it possible to make this fit the page?
Adriano Faria Posted October 18, 2019 Author Posted October 18, 2019 3 hours ago, Luke Hickton said: @Adriano Faria I noticed that the css doesn't "wrap test" on the results page, seen below: Tested it on the default invision skin and it makes it slide all the way across, is it possible to make this fit the page? I’ll provide a template edit (temporary fix) tomorrow in the morning.
Adriano Faria Posted October 20, 2019 Author Posted October 20, 2019 @Luke Hickton Open the ACP -> Customization -> click in Edit HTML & CSS of your theme -> Find Quizzes in the app list in Templates tab -> front -> view -> resultQuiz -> Find: <td>{lang="{$feedbackText}"}</td> Change to: <td style='white-space:normal;'>{lang="{$feedbackText}"}</td> Find: <span class="ipsDataItem_generic">{lang="{$feedbackText}"}</span> Change to: <span class="ipsDataItem_generic" style='white-space:normal;'>{lang="{$feedbackText}"}</span> Save the template. That will go from: to: As this isn't enough to release a new version (isn't crashing the app, etc.), it will be fixed in the next one. This is a temporary fix.
Luke Hickton Posted October 21, 2019 Posted October 21, 2019 Where do I give/remove access for people to "Manage Questions & Answers"? I've tried everything I can see in Admin and Moderator permission.
Adriano Faria Posted October 22, 2019 Author Posted October 22, 2019 15 hours ago, Luke Hickton said: Where do I give/remove access for people to "Manage Questions & Answers"? I've tried everything I can see in Admin and Moderator permission. Only the quiz author can manage Questions & Answers.
Dean_ Posted October 22, 2019 Posted October 22, 2019 3 hours ago, Adriano Faria said: Only the quiz author can manage Questions & Answers. Adriano, would that be a feature that you'd consider adding? If I started a 50 question quiz, and then wanted someone else to continue it, I could with such a permission. Or a group of staff members could work together to make one?
Adriano Faria Posted October 22, 2019 Author Posted October 22, 2019 22 minutes ago, Dean_ said: Adriano, would that be a feature that you'd consider adding? If I started a 50 question quiz, and then wanted someone else to continue it, I could with such a permission. Or a group of staff members could work together to make one? Sure. I’ll add a moderator permission in next version. 👍 Dean_ 1
Luke Hickton Posted October 22, 2019 Posted October 22, 2019 I'm not the Quiz author, but I still see these? As do some of my administrators/moderators?
Adriano Faria Posted October 22, 2019 Author Posted October 22, 2019 1 hour ago, Luke Hickton said: I'm not the Quiz author, but I still see these? As do some of my administrators/moderators? Correcting, now that I see the code: only the author and those who can edit the quiz can manage questions and answers. You can because you are a unrestricted moderator.
Luke Hickton Posted October 22, 2019 Posted October 22, 2019 1 hour ago, Adriano Faria said: Correcting, now that I see the code: only the author and those who can edit the quiz can manage questions and answers. You can because you are a unrestricted moderator. So in order to remove the access, for now, I can remove their "unrestricted", but give them all the accesses and it should remove it
Adriano Faria Posted October 22, 2019 Author Posted October 22, 2019 (edited) 1 hour ago, Luke Hickton said: So in order to remove the access, for now, I can remove their "unrestricted", but give them all the accesses and it should remove it I'm not sure I understand what you mean. What do you want exactly? Only the author to manage? If so, open applications/quizzes/sources/Quiz/Quiz.php and find: /** * Can manage questions & answers? * * @param \IPS\Member\NULL $member The member (NULL for currently logged in member) * @return bool */ public function canManageQuestions( $member=NULL ) { $member = $member ?: \IPS\Member::loggedIn(); if ( !$member->member_id OR $this->locked() ) { return FALSE; } return ( $member->member_id == $this->author()->member_id ) or parent::canEdit( $member ); } Change to: /** * Can manage questions & answers? * * @param \IPS\Member\NULL $member The member (NULL for currently logged in member) * @return bool */ public function canManageQuestions( $member=NULL ) { $member = $member ?: \IPS\Member::loggedIn(); if ( !$member->member_id OR $this->locked() ) { return FALSE; } return ( $member->member_id == $this->author()->member_id ); } Edited October 22, 2019 by Adriano Faria
Adriano Faria Posted October 22, 2019 Author Posted October 22, 2019 (edited) New version will add a moderator permission to manage questions & answers: It will also introduce 2 new type of quizzes. One them is MULTIPLE RIGHT ANSWERS quiz: - Playing: Edited October 23, 2019 by Adriano Faria kmk 1
Adriano Faria Posted October 24, 2019 Author Posted October 24, 2019 Before take a MULTIPLE RIGHT ANSWERS quiz:
Adriano Faria Posted October 27, 2019 Author Posted October 27, 2019 (edited) I need people to test version 1.4.0 (final). The following are some of new features: New type of quiz: Multiple Right Answers New module on ACP to display all quizes and all people who played them New moderator permission to admin decide who can manage Answers & Questions New setting to display all games in the Leaders Ranking, even those which scored 0 Templates enhacements Send a PM if you have an ACTIVE purchase of this resource. I'll send the app tomorrow. Edited October 28, 2019 by Adriano Faria
Adriano Faria Posted October 30, 2019 Author Posted October 30, 2019 (edited) What's New in Version 1.4.0 (final): Below is the full list of features/improvements/fixes applied during the Beta stage: New Features: Add a new type of quiz: Multiple Right Answers (graded mode only) You need to enable this option in your categories in order to allow users to create this type of quiz Adjustment for Lazy Load Adjustment for Post Before Registering Integrate with Members Shop New module on ACP to display all quizes and display all people who played them Random sorting in Quiz feed widget Quiz comments feed widget Quiz reviews feed widget New moderator permission to admin decide who can Manage Answers & Questions New setting to display all games in the Leaders Randing, even those which scored 0 Enhancements/Adjustments: Templates rework/enhacements Add a link to a popup below Leaders Ranking to display results from all members Restore the ACP Dashboard extension Script optimization due to new marketplace guidelines Drop columns from members table and use own table to store members preferences Fixes: Fix miscalculation of feedback Topic created only when setting the quiz as ready Fix error when saving extra fields when adding/editing a quiz Fix error on review link on widgets (link to page 2) Fix buttons on Questions form for mobile devices Fix Import Quiz tool (image from URL) Fix Digest task locking ------------------------------------------------ Coming in a future version: Multiple Right Answers for Study Mode Tool to Import/Export Quizzes update to work with Multiple Right Answers quizzes Edited October 30, 2019 by Adriano Faria
Allegheny Posted November 4, 2019 Posted November 4, 2019 Hi Adriano..... Sorry to bother you (again) but I recently purchased Quizzes and it seems to have an issue with one of your other apps (Crowdfunding); however, not the Links Directory or Tutorials (which I also use). Tonight, I went in and created a new category for Quizzes and as it walked me through the process like normal but kept referencing Crowdfunding & the options associated with it (payments methods, etc.)? Once I finished... the new category showed up under both Quizzes and Crowdfunding under the control panel, yet only under Quizzes on the front end. To test further, I tried the reverse and created a category under Crowdfunding and that worked properly. So, for some reason creating a category under Quizzes, shows the Crowdfunding Options and language and then creates the same category under both Quizzes & Crowdfunding.
Adriano Faria Posted November 4, 2019 Author Posted November 4, 2019 Probably a duplicate language bit. I’ll take a look today later.
Adriano Faria Posted November 4, 2019 Author Posted November 4, 2019 5 hours ago, Allegheny said: So, for some reason creating a category under Quizzes, shows the Crowdfunding Options and language and then creates the same category under both Quizzes & Crowdfunding. Can't reproduce, Allengheny: There's nothing "tying" both apps. Allegheny 1
Allegheny Posted November 4, 2019 Posted November 4, 2019 Thanks for checking and sorry for bothering you. I don' t know what was going on over the weekend, as today it's working like a charm. It must be operator error (my fault) as I can see no other explanation at this point. Time to cut back on the coffee and get more sleep I think. Once again... I am sorry, for bothering you and I do appreciate your hard work and apps.
Recommended Posts