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)

X-Fan 06-18-2002 01:31 PM

The modified quiz.php worked for me, too. I hadn't tried it as you said it was for the 350 error, which I wasn't getting!

What was changed in the modified quiz.php that got it working, I wonder?

Anyway, now to start making some quizzes. Thanks, TWT!!!!

pgowder 06-18-2002 01:33 PM

Great hack! Had it installed and working withing 10 minutes. I already have people taking them!

Is there a way to let users submit quizes? How about moderators? Can they submit them from the mod cp?

I'd like to let others submit them, so that I could take them without having seen the answers.

X-Fan 06-18-2002 01:38 PM

I'd also like to know if it would be possible to randomize the question order, rather than having them come up in the order that they are entered?

If you allow a quiz to be taken more than once, it will be that bit more difficult if the questions are randomized rather than the same order as they were the first time you take a quiz.

TWTCommish 06-18-2002 04:42 PM

bandersen: you'll want to turn off the template comments to fix that. As for the email problem...I think it might be an issue with your host, as the script, I believe, uses your contact email straight out of the vB Options table.

pgowder: I think it might work okay if you upload it to /mod dir, but I haven't tried it personally. The ability for users to submit quizzes is something I'm thinking of for version 2.0

X-Fan: randomizing would be a little bit of a pain, but it could be done. I see your point, and it's a good one. I'll give it some thought. I think, in version 2.0, it'd be good if you could very easily change the display order of the questions, and perhaps check a box to have them randomized each time. That'd be cool. :D

bandersen 06-18-2002 05:19 PM

Quote:

Originally posted by TWTCommish
[B]bandersen: you'll want to turn off the template comments to fix that. As for the email problem...I think it might be an issue with your host, as the script, I believe, uses your contact email straight out of the vB Options table.
Hi... where do I turn the template comments off.....?

New edit: Found it!! :glasses: Admin Panel..
Also the errors in From / Subject went away too.

pgowder 06-18-2002 05:52 PM

I did upload it to the mod directory, and it appears to be working.

Thanks!

bandersen 06-18-2002 07:11 PM

This is the restult I get when having 100% correct answers:

Congratulations, you have successfully passed this quiz. You correctly answered 11 of 11 total questions - a grade of 101%.

- Date: 06-18-2002
- Total: 11 out of 11
- Percentage: 99 percent

The template shows 99% on the top - next to the bars
The template shows 101% at the bottom.

This is what I have in the quiz.php:

$base = 100 / $question_count;
$pct = ceil($totalcorrect * $base);

Lionel 06-19-2002 03:31 AM

this hack works well for me since day one. Is there a way to create subcategories?

X-Fan 06-19-2002 07:16 AM

I've just changed my quiz options to allow a user to take a quiz once only. Problem is there's already been a few people take it multiple times.

How would it be possible to have the system remove all their recorded attempts except for their first one?

EDIT:

Well I manually removed the entries from the database via phpMyAdmin, but it would still be a lot easier to have an option to automatically remove multiple attempts except the initial one.

Also, is there any way to completely reset a quiz's stats without having to delete it?

cdcopyworld 06-19-2002 08:20 AM

Quote:

Originally posted by TWTCommish
cdcopyworld: are you trying to add questions instead of the NUMBER of questions you want? The page that comes up on the Add Questions page first requires that you add the number of questions you want to add, then the number of answers for each, and THEN you're presented with a page where you can add the actual questions.

X-Fan: I don't understand the quiz problem. Can you give me a more detailed example?

its not giving me the option on how many questions:( it goes strait to the add question and answer page.

thanks


All times are GMT. The time now is 12:47 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.01375 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
  • (2)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