Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Adriano Faria Posted November 16, 2016 Author Posted November 16, 2016 1 minute ago, Gabriel Torres said: @Adriano Faria A suggestion. At each quiz, we have a user ranking for that quiz. My suggestion is a block for the main category list to display the global rankings, i.e., the rankings for all users for all quizzes, showing the same data that is already displayed at the ranking for each quiz, plus the name of the quiz. Thanks! I thought in do something like that but it doesn't make much sense. A top ranking wouldn't reflect the truth because one quiz can have 10 questions in 5 minutes. Another 20 questions in 10 minutes. Or worst: 5 questions in 3 minutes, etc. Gabriel Torres 1
Gabriel Torres Posted November 16, 2016 Posted November 16, 2016 @Adriano Faria I see... But here all quizzes have 10 questions... But anyway, I understand why you haven't done it.
Adriano Faria Posted November 16, 2016 Author Posted November 16, 2016 8 minutes ago, Gabriel Torres said: @Adriano Faria I see... But here all quizzes have 10 questions... But anyway, I understand why you haven't done it. Unless I make one listing only who graded 100, regardless the quiz. Reasonable? Gabriel Torres 1
Gabriel Torres Posted November 16, 2016 Posted November 16, 2016 @Adriano Faria I think that is a terrific idea. I even have a name for this block: "Hall of Fame." Adriano Faria 1
Joel R Posted November 17, 2016 Posted November 17, 2016 10 hours ago, JEFF MACK said: Yes I would like to see the option to randomize the questions I know @Adriano Faria you've already initially considered this suggestion, but I feel like this is an especially important suggestion. If you have a quiz in the same exact order of questions, people can develop "muscle memory" of knowing the right answers based on when the question is coming up. I know you randomize the answers (which is great, I don't think v3 even did that), but people with good memory will begin to learn the order of questions. I think it's important to build as much randomness into the quiz as possible. That's why I also support the suggestion that you allow (for example) people to build a "test bank" of 200 questions and you build a quiz of 10 random questions from the bank. Chris Anderson and Gabriel Torres 2
Noni Posted November 17, 2016 Posted November 17, 2016 I do also need the option to import questions / answers Joel R 1
Gabriel Torres Posted November 17, 2016 Posted November 17, 2016 22 hours ago, Joel R said: I think it's important to build as much randomness into the quiz as possible. That's why I also support the suggestion that you allow (for example) people to build a "test bank" of 200 questions and you build a quiz of 10 random questions from the bank. In the future, this is something I want. Not only that, but an integration with Commerce. Because this would create the perfect solution for the certification project we have on our website. Instead of having a separate system doing this, we would have everything integrated: The user who wants to take the certification quiz pays it through Commerce He takes the quiz, which will be comprised of x questions randomized and pulled from a pool with hundreds or even thousands questions If he reaches the minimum approval mark, he gets his certification, meaning that he is moved to a new usergroup (e.g., Certified Users) This is the basic idea. However, this is a hell of a job, and I don't expect Adriano to add all those features, but I am willing to pay him to do this as a custom job whenever we are ready to move on with this idea. 19 hours ago, Noni said: I do also need the option to import questions / answers I created a PHP script for importing the questions/answers that we had from the custom system we had running before.
Adriano Faria Posted November 17, 2016 Author Posted November 17, 2016 The Commerce integration is something I already have in mind. The problem is the import tool. This absolutely isn't so simple as people think it is, due to how I've built things (questions, answers, etc.) and will take some time to get it done. Gabriel Torres 1
Joel R Posted November 18, 2016 Posted November 18, 2016 2 hours ago, Adriano Faria said: The Commerce integration is something I already have in mind. The problem is the import tool. This absolutely isn't so simple as people think it is, due to how I've built things (questions, answers, etc.) and will take some time to get it done. I don't know if it helped but @Mikey used an XML import / export in his v3 quizzes. It was pretty good actually. Adriano Faria 1
Noni Posted November 18, 2016 Posted November 18, 2016 2 hours ago, Gabriel Torres said: I created a PHP script for importing the questions/answers that we had from the custom system we had running before. How can this help me? I know only about the quizzes app of Adriano
Adriano Faria Posted November 18, 2016 Author Posted November 18, 2016 3 hours ago, Joel R said: I don't know if it helped but @Mikey used an XML import / export in his v3 quizzes. It was pretty good actually. I'll take a look.
Adriano Faria Posted November 18, 2016 Author Posted November 18, 2016 10 hours ago, Joel R said: I don't know if it helped but @Mikey used an XML import / export in his v3 quizzes. It was pretty good actually. That helped, tks. The doubt was really about the file "XML format" I should receive... but I guess this is not my problem. I mean, my app will accept a specific XML structure. If it's right then things will be imported. It is like import a theme: it HAS to be in a valid "theme" format. Already started: Export is done. Will try the import during the weekend. Donkerrood, Noni and Joel R 3
Joel R Posted November 18, 2016 Posted November 18, 2016 2 hours ago, Adriano Faria said: That helped, tks. The doubt was really about the file "XML format" I should receive... but I guess this is not my problem. I mean, my app will accept a specific XML structure. If it's right then things will be imported. It is like import a theme: it HAS to be in a valid "theme" format. Already started: Export is done. Will try the import during the weekend. Just remember to give a default template for us to use
Adriano Faria Posted November 18, 2016 Author Posted November 18, 2016 1 hour ago, Joel R said: Just remember to give a default template for us to use Hum?
Adriano Faria Posted November 18, 2016 Author Posted November 18, 2016 3 hours ago, Joel R said: Just remember to give a default template for us to use Oh, you mean the XML "template", right? If so, it will be on documentation but it will be something like that: <?xml version="1.0" encoding="UTF-8"?> <export> <quiz> <title>Testing a New Quiz</title> <questions> <right>AAAAAAA</right> <wrong>BBBBBB</wrong> <wrong>CCCCCCCCC</wrong> <wrong>DDDDDDDD</wrong> <wrong>EEEEEEEEEEEE</wrong> </questions> </quiz> </export> This is the exported... It will be the same to import.
Noni Posted November 18, 2016 Posted November 18, 2016 How about multiple correct answers? if they are not all marked during the quiz, no points are received. is the quiz able to display photos? I intend to use it for motorcycle license questionnaire
Adriano Faria Posted November 18, 2016 Author Posted November 18, 2016 Just now, Noni said: How about multiple correct answers? In a future version. No ETA. Images too. Please, read the whole topic.
Joel R Posted November 18, 2016 Posted November 18, 2016 5 hours ago, Adriano Faria said: Oh, you mean the XML "template", right? If so, it will be on documentation but it will be something like that: <?xml version="1.0" encoding="UTF-8"?> <export> <quiz> <title>Testing a New Quiz</title> <questions> <right>AAAAAAA</right> <wrong>BBBBBB</wrong> <wrong>CCCCCCCCC</wrong> <wrong>DDDDDDDD</wrong> <wrong>EEEEEEEEEEEE</wrong> </questions> </quiz> </export> This is the exported... It will be the same to import. Yeah an empty XML template for us to fill out
Adriano Faria Posted November 18, 2016 Author Posted November 18, 2016 Just now, Joel R said: Yeah an empty XML template for us to fill out This was a "hand free" XML. This is the right one, exported by the app: <?xml version="1.0" encoding="UTF-8"?> <export> <quiz> <title>333333333333333</title> <questions>3</questions> <time>5</time> <questions> <question> <title>AAAAAAAAAAA</title> <right>1111111</right> <wrong>222222</wrong> <wrong>3333</wrong> <wrong>444444444</wrong> <wrong>5555555555</wrong> </question> <question> <title>BBBBBB</title> <right>111111111</right> <wrong>22222222</wrong> <wrong>333333333</wrong> <wrong>444444444</wrong> <wrong>5555555555</wrong> </question> <question> <title>333333</title> <right>AAA</right> <wrong>BBBB</wrong> <wrong>CCCC</wrong> <wrong>DDDDD</wrong> <wrong>EEEEE</wrong> </question> </questions> </quiz> </export> It will in documentation. Also started the IMPORT. The form: Joel R 1
Adriano Faria Posted November 20, 2016 Author Posted November 20, 2016 Import/Export done: http://www.screencast.com/t/eVpTMEAr84X This is the XML template: <?xml version="1.0" encoding="UTF-8"?> <quizzes> <quiz title="{quizz_title}" questions="{quizz_questions}" time="{quizz_time}" description="{quizz_description}"> <questions> <question question_title="{question_title}" answer_correct="{question_correct}" answer_wrong="['wrong 1','wrong 2', 'etc']"/> </questions> </quiz> </quizzes> In brackets, these are the column names from tables. Of course, you can loop the quiz questions into questions. - Export: - Import: - For Admins: Joel R 1
Noni Posted November 20, 2016 Posted November 20, 2016 (edited) Does the xml import / export support adding images to quizes? Edited November 20, 2016 by Noni
Adriano Faria Posted November 20, 2016 Author Posted November 20, 2016 4 minutes ago, Noni said: Does the xml import / export support adding images to quizes? No, but I can try to import the image and "upload" via URL.
Joel R Posted November 20, 2016 Posted November 20, 2016 50 minutes ago, Noni said: Does the xml import / export support adding images to quizes? I don't really understand how you can support adding images since the XML file is ... just a text file. It would need to somehow references images (either via URL or in the same upload folder).
Adriano Faria Posted November 20, 2016 Author Posted November 20, 2016 I can add the image URL in the XML and "upload" it via URL. Not tested yet but should works.
Recommended Posts