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)

Dean C 07-20-2002 09:14 AM

^ i have the same problem

pool-werbung 07-20-2002 09:44 AM

On my site - it works very fine.

king sting 07-22-2002 12:01 AM

can someone tell me how to add a quiz?

TWTCommish 07-22-2002 12:49 AM

Under "Quizzes" choose "Add." :D Make sure you approve it afterwards, too, and add questions to it.

king sting 07-22-2002 03:11 AM

oh ok.. hahah.. thanx.. how do i link a quiz to a board tho?

Hubsi 07-22-2002 10:06 AM

I have 4 templates and styles

when i run the quiz.php it´s always in the default-style

the templates was only write into the default template-set

what have i to do?

TWTCommish 07-22-2002 10:23 AM

However you want...just create a link in your header somewhere, for example. There is no standard way. Whatever fits.

Hubsi: read through some posts a few pages into this thread, the template problem has already been discussed at great length.

Hubsi 07-22-2002 08:48 PM

thx very much :)


is there a way to make it that supermods can add quizzes too?

Hubsi 07-23-2002 09:46 AM

@ TWTCommish
  • i have make the quiz in german, is it ok to share it?


Edit: in the table "easyest quiz" and "hardest quiz" the quizzes are chosed by the avg points
but this is wrong i think
is there a way to make it witz the percents

Keith 07-24-2002 01:16 AM

Followed the instructions, line by line, step by step, this hack installed and ran fine on my 2.2.5

Nice job.

I've read all 31 pages of the thread. I wanted to know how to simply delete myself from the database now since I took the first quiz myself as a test. I have access to the mySQL database, but don't know if I need to "Drop", "edit" or Delete from quiz_results to delete my entry? This may also come in handy if I need to take some other people out of the scores area so they're not too embarrassed. :D

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

Vile 07-30-2002 05:47 PM

Quote:

Originally posted by TWTCommish
Go to this file:

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

Just get a blank page:(

Tim Wheatley 07-31-2002 08:04 PM

Quote:

Originally posted by TWTCommish
Here's a new install_quiz.php file. Here's how it can help you (I hope :D): find out what the templatesetid is for your primary template set. Then, instead of going to this URL to insert the templates...

http://www.yoursite.com/forums/admin...uiz.php?step=1

...go to this one...

http://www.yoursite.com/forums/admin...step=1&setid=X

"X" of course should be replaced by the templatesetid number. Of course, you'll need the attached file in place of the old one, too. Let me know if it works. :)

Thanks. Works great.

Just one thing... can you add a link to this in the first post? I had to run through 6 pages. :)

mersey 08-03-2002 09:38 PM

Thanks for a great hack, its work well :)

tractor-beam 08-04-2002 01:02 AM

This hack DOES work great! But, my users are asking me if they can go back and look at their own quiz results to see what they got right or wrong. Is there any way to do this currently but I am missing it?

Thanks!

- Gerry

JGM007 08-04-2002 03:43 AM

TWTCommish, just wanted to say the install went smoothly and great hack! thank you!!

king sting 08-04-2002 04:56 AM

damnit.. where do the quizes go after you make em? how do i have em seen so people use em?

tractor-beam 08-04-2002 10:44 AM

Quote:

Originally posted by king sting
damnit.. where do the quizes go after you make em? how do i have em seen so people use em?
You have to Approve the quiz after you make it.

Click on the Approve button on the left hand side, right below where you had to click the "Add" quiz.

- Gerry

ryancooper 08-04-2002 08:50 PM

OK i followed the instructions exactly. Installed quite easily i must say But I go to my quizz page

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

and I get

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: Sunday 04th of August 2002 05:48:23 PM
Script: http://www.talkdisney.com/forums/forums/quiz.php
Referer:
Any ideas?

TWTCommish 08-04-2002 08:52 PM

No, you did not follow the instructions file exactly. Try again. :) Methinks you missed the step about "confirming" the new options on the vBulletin Options page after installation.

ryancooper 08-04-2002 09:48 PM

Now All i get is a blank page? But you were correct I did miss that part (Opps)

TWTCommish 08-04-2002 09:52 PM

Do you have multiple template sets?

ryancooper 08-04-2002 09:53 PM

yepper

TWTCommish 08-04-2002 09:55 PM

I think, a few pages into this thread, you'll find an updates installation file that you can run along with some instructions on how to have the templates installed into the correct template set.

ryancooper 08-04-2002 09:56 PM

OK great thank you. I will look now

ryancooper 08-04-2002 10:04 PM

Beautifull, Works like a charm!

5 stars!

ryancooper 08-05-2002 01:48 PM

Got it working Beautifully the only problem now is after adding the templates to each style I have 5 quizz options in my admin C.P

How can I get rid of 4 of them?

Chris M 08-05-2002 01:58 PM

Goto PhpMyAdmin, and open the "settings" part of your board...

Just drop 4 of the 5 there...

Satan

ryancooper 08-05-2002 02:26 PM

Great thank you.

ryancooper 08-06-2002 12:57 PM

One more question, is it possable to have the most recently added quizzes apear in a block using VBPortal?

Tim Wheatley 08-06-2002 08:26 PM

Just want to tell you I installed this and the members on the board love it. It's being heavily used and with the fixes I've read through this thread and found it works perfectly - thanks. :)

http://forum.racesimcentral.com/quiz.php


All times are GMT. The time now is 10:14 PM.

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.01944 seconds
  • Memory Usage 1,816KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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