vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vBQuiz 1.0 (https://vborg.vbsupport.ru/showthread.php?t=39719)

BrAinZ 07-25-2002 08:47 PM

Testing this hack on my test server at the moment.. Just a point.. I don't think you actually need the references to $bburl in the templates.

This caused my test server (on my laptop) running locally to try and connect to the "real" server on the internet.

I just deleted the $bburl in the templates and it works fine.

Ninth Dimension 07-26-2002 01:21 AM

Help, i'm getting the following error message when going to quiz.php
Quote:

Database error in vBulletin 2.2.6:

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: Friday 26th of July 2002 03:17:55 AM
Script: http://gamevine.co.uk/forum/forum/quiz.php
Referer:
I followed all the instructions and have added a cat and a quiz, please help :)

The file is located at http://gamevine.co.uk/forum/quiz.php


EDIT, my bad, please feel free to ignore me, cool hack :)

dreamhost 07-26-2002 09:50 AM

This rates up their with some of my favorite hacks, and I've installed close to a hundred. The instalation went without a hitch. I use 3 styles, unfortunatelly board style is 3. But it was np just going to default style, clicking edit and changing to new style set and saving. My bad, should have read the 23 pages first. This has installed perfectly. Thanks for such a huge hack.

BigJohnson 07-26-2002 10:02 AM

There is a lot to read through this post. I have the newest version of the quiz but the only prob I am having is that I cannot see my questions when people go try to take the quiz. How can i fix this. All they see is the answers to choose from.

TWTCommish 07-26-2002 10:57 AM

BigJohnson: I suspect you're using the template modification mid-way through the thread. Don't. :) Use everything from the first post.

Mr L 07-28-2002 08:47 AM

TWTCommish,

I have installed this Quiz last night and my members absolutely love it. A great reponse by them, thank you!!!! It installed quickly, easilly and was trouble free.

I have a question tho and a suggetsion.

The question is, can you stop it displaying the answers once the quiz has been taken.

This is the suggestion, unfortunatly I don't the he PHP skills to do this tho.

How about a "Betting" option on it. For those people that have "Lesane's Store", a chance to bet points on if they are going to pass or fail the quiz. This would mean that only one quiz could be taken at once. However, they could double or lose all the points that they bet.

Cheers.

Harvey.

TWTCommish 07-28-2002 10:32 AM

I wish I had the time to right a betting add-on like that to hook up with Lesane's hack, but I don't. Not by a long shot.

As for the results page: just edit the "quiz_results" template (I think that's the name of it)...no PHP skills required...just HTML. :)

Vile 07-30-2002 08:07 AM

Ok, I got the quiz hack installed, and even added a quiz with all the questions. Question is, how do I post the quiz, or take it?
BTW, I did to to admin cp and approve it.

Thanks.

TWTCommish 07-30-2002 09:57 AM

Go to this file:

http://www.yourboardurl.com/forums/quiz.php

tractor-beam 07-30-2002 03:16 PM

Howdy,

I searched through the posts and couldn't find my answer. I have a sample quiz which has ten questions. I user got 9/10 correct and it shows a score 0f "9".

How can I get the quiz to show either "9 our of 10 correct" or "90%" correct?

Thanks!

- Gerry


All times are GMT. The time now is 11:35 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01812 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete