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)

sabret00the 07-05-2004 04:19 PM

Quote:

Originally Posted by TWTCommish
No; way too complicated, for now. There'd be tons of issues to deal with...capitalization, spelling. Basically, to work realistically it'd have to give the admin the ability to list multiple answers which would be acceptable (IE: if the question was "Who was the 21st President of the United States?", it'd never do to have the answer be "Chester A. Arthur" -- you'd need to make Arthur, Chester Arthur, Chester A Arthur, and Chester A. Arthur all acceptable).

So, it's do-able, but that's more likely to be in a future release, along with a few other ambitious ideas.

wouldn't it just be as simple as a search function, [high]if FIELDXX containts "XXXXX" then correct else wrong[/high] type thing

TWTCommish 07-05-2004 04:21 PM

Quote:

Originally Posted by sabret00the
wouldn't it just be as simple as a search function, [high]if FIELDXX containts "XXXXX" then correct else wrong[/high] type thing

No, because, as I mentioned, almost any text-based user input will have many possible variations, all of which could conceivably be "right." Also, the answer table and temporary answer tables would have to be modified, and the function which grades the quiz would need to be reworked, too. Sadly, it's just not as simple as it sounds. If it was, I probably would've done it already.

sabret00the 07-05-2004 04:27 PM

sorry to hear that would've made an awesome feature, well if you plan do decide to add it to 3.0 then i'll definately be wnating to upgrade.

TWTCommish 07-05-2004 04:56 PM

I do hope to add it at some point, but the hack's taken awhile anyway and I'd hate to keep all these people waiting too much longer. Just gonna fix some of the bugs and try to go from there. But I'll definitely add it to the to-do list for future versions.

sabret00the 07-05-2004 05:08 PM

that's good to hear, i mean no one wants this more than me, it's the only thing i'm left waiting on in order to upgrade my site to vb3

fechten 07-05-2004 06:18 PM

Quote:

Originally Posted by TWTCommish
You guys have been wonderfully patient, so I'll grant your request, and give you a peek...

Cool. I noticed a timer for a question. Will the hack only allow setting time by question, or will there be a feature to set a time limit for the entire quiz?

Craig

TWTCommish 07-05-2004 06:59 PM

Quote:

Originally Posted by fechten
Cool. I noticed a timer for a question. Will the hack only allow setting time by question, or will there be a feature to set a time limit for the entire quiz?

Not directly, but sort of. The hack will allow you to set a default limit with each quiz, and then a specific limit for each question. If you give the quiz a limit of 10, the user will have 10 seconds to answer each question...but if you enter a limit for a specific question, that time will override the quiz's limit.

Time limits for the entire quiz are a little trickier (I'm not the JavaScript maven I'd like to be), but among the possibilities for future versions.

sabret00the 07-13-2004 08:02 AM

for the results bit, this kinda shows you what i'm on about
http://www.youthink.com/quiz.asp?act...ke&quiz_id=458

TWTCommish 07-13-2004 02:35 PM

Quote:

Originally Posted by sabret00the
for the results bit, this kinda shows you what i'm on about
http://www.youthink.com/quiz.asp?act...ke&quiz_id=458

Yeah, I see what you mean. That's beyond the scope of this particular hack. A pretty sizable portion of it would have to be re-written to work that way. As it stounds now many portions of the hack rely on set numbers and the like. If I were to create a hack like that, it'd probably be off on it's own.

Anyway, I've finished all the major issues I can think of with this hack, and have begun some light testing. Unless the testing uncovers some major problems (unlikely), it should be done by the end of the week.

sabret00the 07-13-2004 06:06 PM

see i'm a dreamer thought it could've been done as simply as
PHP Code:

if ($quizresultsstyle == new)
{
if (
$score 60% and $score 80%)
{
eval(
'$quizresults .= "' fetch_template('quiz_resultstwo') . '";');
}


any chances of this in the future thought chris?


All times are GMT. The time now is 04:20 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.01719 seconds
  • Memory Usage 1,746KB
  • 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_php_printable
  • (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
  • (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