The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Inferno Quiz v2.2 Details »» | |||||||||||||||||||||||||
Port of: https://vborg.vbsupport.ru/showthrea...threadid=80780
However, the system has a pretty big back-end, it's possible i over-looked a bit or 2, so if you encounter errors/php errors please feel free to let me know in this thread and i'll try to get them fixed asap v2.2 Updates: (Upgrade instructions inside ZIP) - Several areas of code otptimized (query reduction) - Uncached templates now cached - Ability in main options to choose default usergroups to participate/view results to be auto filled in when adding quizzes. Enjoy, - Zero Tolerance Show Your Support
|
Comments |
#432
|
|||
|
|||
Maybe Zero Tolerance is out of the business for updating these?
Any alternatives out there for quizzes that work with 3.6? |
#433
|
|||
|
|||
I added this line:
Code:
echo '<input type="hidden" name="adminhash" value="' . ADMINHASH . '" />'; Code:
echo "<input type='hidden' name='fast_mod' />"; Edit: I tried commenting out the piece of code in global.php that checks for Admin Mismatch and then commenting out the line I added but it still only deletes quizes. This is (from what I could see) the related code. Any ideas? Lines 824 to 863 (in the original, unedited file): Code:
<script type='text/javascript'> <!-- function doFastMod(){ if(confirm('Are you sure you want to do this?')){ document.forms['cpform'].getElementsByTagName('input')[0].value = 'quiz_fast_mod' document.forms['cpform'].getElementsByTagName('input')[1].value = document.getElementById('fm').options[document.getElementById('fm').options.selectedIndex].value document.forms['cpform'].submit(true) } else { return false } } --> </script> Lines 918 to 963 (in the original, unedited file): Code:
print_cells_row(array( "", "<b>Option</b>", ),'thead','','',1); $fastmod[] = array('open','Set State To Open'); $fastmod[] = array('close','Set State To Closed'); $fastmod[] = array('delete','Delete'); $Display = '<input type="button" class="button" tabindex="1" value="Execute Action" accesskey="s" onclick="doFastMod();" />'; Print_My_DDM('With the selected quiz\'s...','fast_mod',$fastmod,-1,'fm'); print_description_row($Display, 0, 2, 'tfoot','center'); print_table_footer(); print_cp_footer(); exit; } // ###################### Quiz Quick Moderation ######################## if ($_POST['do'] == "quiz_fast_mod") { globalize($_POST, array( 'fastmod', 'fast_mod' => STR, ) ); if(!is_array($fastmod)){ echo "You did not select any quiz's [<a href='javascript:history.go(-1)'>Back</a>]"; exit; } if($fastmod == 'open'){ $DB->query("update ".TABLE_PREFIX."quiz set q_state = 1 where qid IN(".implode(',',$fastmod).")"); $Msg = "Quiz(s) State Set To Open"; } else if($fastmod == 'close'){ $DB->query("update ".TABLE_PREFIX."quiz set q_state = 0 where qid IN(".implode(',',$fastmod).")"); $Msg = "Quiz(s) State Set To Closed"; } else { $Engine->DeleteQuiz($fastmod); $Msg = "Quiz(s) Deleted Successfully"; } |
#434
|
|||
|
|||
Dear Amy,
I'm simply in love with how you re-designed the look of your quiz page. It's easy to look at, user-friendly, and well-organized. I'd love to set my quiz page in a manner than reflects yours, but unfortunately I'm not as adept in code modification as you are apparently. Is it possible you can share your style or provide the option of another one as visually effective without looking like yours 100%? |
#435
|
|||
|
|||
Very nice hack! Working fine on my board.
A couple of suggestions for future versions (blatantly stolen from OKCupid!): 1) Some kind of results system, defined by the quiz creator. For example, if you score is under 10% it tells you you're X, if from 11%-30%, you're Y, from 31%-60%, you're Z, etc. Each results category would need a title, some text and (optionally) an image, so you'd end up with something like this: "Congratulations! you scored 94% in the Quantum Physics quiz! You are a master scientist!"; or "You only identified 7% of the TV theme songs - well done! That means you're no couch potato!" 2) Increase functionaility to include the "What X Are You?" type of quiz (for example, "What animal are you?" or "What TV action hero are you"?). This means that the quiz needs to track more than one attribute, with various questions being assigned to each attribute. Quiz creators should be able to define a number of attributes (catness, dogness, elephantness, etc) and for each question they add, the need to specify which attribute that question gives a point in. If done elgantly, and combined with the results page (suggestion 1, above), the quiz could easily handle quite complex personality test, political tests and so forth. |
#436
|
|||
|
|||
Has this been fixed? I am still getting Admin Hash Mismatch
|
#437
|
||||
|
||||
Quote:
|
#438
|
|||
|
|||
is it possible to port of vBa CMPS - Random Quiz?
|
#439
|
|||
|
|||
Is there a way to resolve the "apostrophe bug"? Every time I enter a question with an apostrophe in the sentence, the quiz cuts the question from the point of the apostrophe when you add a quiz.
|
#440
|
|||
|
|||
Help, anyone?
|
#441
|
||||
|
||||
Inferno Quiz 2.2 vb 3.6.1
When a quiz image is uploaded it appears in admin and is present in the quiz image folder on server, but when viewing quizzes the images are dreaded red x boxes. Help anyone? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|