The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBQuiz 1.0 Details »» | |||||||||||||||||||||||||
vBQuiz 1.0
NOTE: all functionality-impairing bugs have been fixed. The attached files should work well on just about any PHP installation. What's it do? It allows you to setup a quiz center on your boards quickly and easily. This quiz center is FULLY templated, integrated with vBulletin, and has an advanced Admin script for managing the quizzes, categories, and questions. Here's an example: Movie Forums - Quizzes A few of its features...
Files Enclosed (in vbquiz.zip) - instructions.txt (read it!) - quiz.php (upload to main forum dir) - admin_quiz.php (upload to admin dir) - install_quiz.php (upload to admin dir and then run) Enjoy! Also: a HUGE, HUGE, HUGE thanks to GamerForums for beta testing this hack for me. His help was completely invaluable and surely saved me a lot of work in the long run. Thanks! Show Your Support
|
Comments |
#52
|
|||
|
|||
I have setup a testquiz, but if I hit "Take this quiz" I get "Error: invalid quiz specified."... see at
http://www.schatzjagd.org/Forum/quiz...zid=1&taking=1 |
#53
|
||||
|
||||
I stand correged, Sigon: you should probably remove that post. It's making this page of the thread lag like CRAZY.
TalkHardRandy: same error on the same line? Either way can you post the line in question, as well as 3 lines before and after it? I want to make sure we're dealing with the same thing here. Harryli: sounds like you didn't add any questions to your quiz. NOTE: to those of you having trouble with the templates...I'm 99% sure that the script is working exactly as intended...however, it assumes that you don't have multiple style sets in place. If you do, well, let me know...so I can confirm that that is indeed the problem, and offer up a fix. |
#54
|
|||
|
|||
I have 2 styles on my vB.
|
#55
|
|||
|
|||
Hm, just proved it and did:
choose "Add questions", Added a Questions (some letters) and "1" Answer, for Quiz "neu". Then I tried to modify this, choosing "Qui, Questions, modify, Quiz "neu", and ... no questions found... ??? |
#56
|
||||
|
||||
Okay... error is:
Quote:
while ($answer = $DB_site->fetch_array($answers)) { $color = ($color_num++ % 2) ? '{secondaltcolor}' : '{firstaltcolor}'; $answer[answertext] = bbcodeparse($answer[answertext]); eval("\$answerbits .= \"".gettemplate("quiz_answerbit")."\";"); } $question_number = $HTTP_POST_VARS["question"]; $answer_count = $DB_site->num_rows($answers); $num = $HTTP_POST_VARS["question"] + 1; eval("dooutput(\"".gettemplate("quiz_question")."\ ");"); exit(); Any ideas? |
#57
|
|||
|
|||
Code:
Database error in vBulletin 2.2.5: Invalid SQL: SELECT quizid, quiztitle, description, timestamp, userid, catid, imagename FROM quiz WHERE approve = 1 ORDER BY timestamp DESC LIMIT mysql error: You have an error in your SQL syntax near '' at line 5 mysql error number: 1064 Date: Tuesday 11th of June 2002 11:23:15 PM Script: http://xxxx.xxx/quiz.php Referer: |
#58
|
||||
|
||||
I have multiple styles. m8 we reeeeeealllly need this fixed.
|
#59
|
|||
|
|||
ok I have just tried it on a new board everything working perfect
it was the multiple style which was causing the problem. how can I fix this on my public board? |
#60
|
|||
|
|||
Hard_one I think u have to go to the
--> admin cp --> vBulletin Options-->Quiz Options-->at the bottom save changes. I got this error and I did that |
#61
|
||||
|
||||
I'm afraid I don't understand what you're saying, Harryli.
Hard_one: I don't mean to sound rude, but if you'd read the instructions, you wouldn't have run into that problem. db is correct. As for the templates: I'll get to work on that tonight. The solution should be rather simple. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|