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)

TWTCommish 06-20-2002 12:42 PM

I don't know, I haven't tested it there. Do you have multiple template sets?

RobAC 06-20-2002 02:06 PM

Chris,

Are you still planning on coming out with a 2.0 version or are you just going to continue to add and/or correct this one? I've been holding off adding this till the 2.0.

-Rob

TWTCommish 06-20-2002 02:07 PM

I'm definitely hoping to release a new version with several new features...but don't wait for it, as I can't guarantee it won't take awhile.

RobAC 06-20-2002 02:09 PM

Ok,

Off hand, do you know if there's an easy way that I can add in the comment feature to 1.0 that I had mentioned a few posts back?

-Rob

TWTCommish 06-20-2002 02:11 PM

I forget what you said exactly; could you go over it again?

RobAC 06-20-2002 02:22 PM

Yep. When configuring a quiz, is it possible to add in a text field where the administrator would be able to add in some text (a comment) about the right answer. So when the user selects the right answer, the result is returned to them along with the comment.

This would be kind of educational if you wanted to expand a little more about the answer to the question. For example:

Are apples red?

Answer: Yes

Correct Answer - Yes.

Explanation: Apples come in many different colors, one of which is red.

Hope I didn't confuse your further. :)

-Rob

TWTCommish 06-20-2002 02:27 PM

That'd be possible. Let me look into it and see if I can write up something quick. :)

wolfe 06-20-2002 03:14 PM

i have 2 template sets but it installs on my defaule one don't it and it said Templates installed correctly :D

TWTCommish 06-20-2002 03:35 PM

Yes. You'll need to run that portion of the script again and pass the proper templatesetid through the querystring.

Smoothie 06-20-2002 03:38 PM

Quote:

Originally posted by wolfe
well they said installed properly i am using VBB 2.2.0 does it work on that
Works just dandy on 2.2.2 and I have multiple styles.

Pilot 06-20-2002 05:48 PM

How do you edit the image for an existing quiz?

Pilot 06-20-2002 05:49 PM

How can I stop the Email being sent - seems pointless - although a PM might be OK?

TWTCommish 06-20-2002 05:56 PM

There is no way to edit the image yet...because I'm a moron. :D

As for the email (I don't think it's pointless, personally...it encourages them to take more quizzes, and, if you're resourceful, you can stick an ad in there).

To stop the email from being sent, find this (in quiz.php):

Code:

mail($userinfo[email], $subject, $body, "From: $bbtitle Mailer <$bbemail>");
...and replace it with this...
Code:

// mail($userinfo[email], $subject, $body, "From: $bbtitle Mailer <$bbemail>");

Lionel 06-20-2002 05:58 PM

Quote:

Originally posted by Pilot
How do you edit the image for an existing quiz?
the way that I am doing it is by uploading the new image into the directory, with the same name overwriting the existing one.

Boofo 06-20-2002 06:00 PM

Did you get the border problem figured out (so it matches the rest of the site)?

Quote:

Originally posted by Smoothie
Works just dandy on 2.2.2 and I have multiple styles.

TWTCommish 06-20-2002 06:01 PM

Lionel: yep, that'll work. :)

Boofo: to be honest, I haven't been trying...I've been combing through the other problems so far...functionality over fashion, of course. :)

Pilot 06-20-2002 06:03 PM

OK thanks - it looks promising - I will have my mods test it for a while. I do suggest an uninstall program to delete the database changes would be a good idea for those wanting to remove it or to re-install it.

Boofo 06-20-2002 06:11 PM

The problems should pretty well be solved (at least the ones we had in the beginning). :) You have done a great job on fixing them. :) Once we get the display problems fixed, you should be all set for a much needed rest from this. :)

Quote:

Originally posted by TWTCommish

Boofo: to be honest, I haven't been trying...I've been combing through the other problems so far...functionality over fashion, of course. :) [/B]

Lionel 06-21-2002 03:47 AM

I do not know if this has been addressed before (there should be a hack to narrow a search within a thread). Looks like there is a pagination problem. I have 14 quizzes in one category and page 2 starts with the last quiz of page 1 and I am missing one quiz.

Whenever I try to disapprove, the last one of page 1 always duplicates itself at the top of page 2.

Lionel 06-21-2002 04:05 AM

To solve my pagination problem, I went into the options. Since I have 14 quizzes, I changed my settings to display 14 quizzes. It says one of 14 but the actual count is 13.
I changed the display to 15 and they all showed up.

Harryli 06-21-2002 02:31 PM

Hm, I now have 2 Quizzes, and one "Test" Quiz, but every Quiz always shows only the answers of the first Quiz without the Questions... I m using the new Quiz.php and changed the template to "$question[questiontext]"

You can try it at

www.schatzjagd.org/Forum/quiz.php

User tester PW tester

Dark_Wizard 06-22-2002 11:30 AM

I am having major troubles as well and have no choice but to remove it from our site until all this is rectified. I have used the latest version and get db errors and quizzes that don't show or are out of order with the answers.

TWTCommish...I am sorry and this will be a great hack for my site once everything is fixed! Thanks for all your hard work!

TWTCommish 06-22-2002 12:00 PM

You have to be more descriptive, Dark_Wizard. I'd guess that this "db error" is actually a very common problem that can be fixed easily and is described in the instructions.txt file. As for questions out of order: I haven't heard of anyone else having this problem with the new quiz.php file.

Martin64 06-22-2002 12:28 PM

Very sweet hack, TWTCommish, and I admire your follow-up in this thread. Thumbs up! :)

An idea:

Is it possible to create a database of questions (lets say 100 questions), let the quiz select 10 or 15 of those randomly, and output them so that a user can take the quiz many times and get different questions every time?

Just a little idea, I think that would be excellent. Keep up the hard work. :cool:

TWTCommish 06-22-2002 12:29 PM

Well, there's no super easy way to do that just yet, but I do think I'll have to write in a LOT more control over the questions for the admin in the next version.

Martin64 06-22-2002 12:42 PM

Figured as much, I just wanted you to know that it might be a nice thing to implent in some future release if you've got the time. :)

I've installed v1.0 and will use several quizzes with users only being able to enter once instead. :)

Harryli 06-22-2002 04:56 PM

OK, seems I loaded up the wrong Quiz.php, now it works, beside the 99 Percent "bug", I changed the php part as stated but still 99 Percent. One question: In which templates are the "View Quiz results" and "next Question" Buttons?

TWTCommish 06-22-2002 04:57 PM

quiz_question -- but the text for the buttons is hardcoded into the file.

Harryli 06-22-2002 05:03 PM

Got it and translated to german

Martin64 06-22-2002 05:37 PM

TWTCommish: how about displaying the most recently added Quiz from the forum home, as well as high scores? Is that possible? Right now I just have a little text link and it's not very amusing. :)

I'd like to put it below Currently Active Users at my board. Cheers. :P

Lionel 06-22-2002 06:31 PM

Quote:

Originally posted by Martin64
TWTCommish: how about displaying the most recently added Quiz from the forum home, as well as high scores? Is that possible? Right now I just have a little text link and it's not very amusing. :)

I'd like to put it below Currently Active Users at my board. Cheers. :P

The way I did that was to copy quiz.php into quizhome.php and then I had quizhome.php called a renamed template of the main quiz template. I edited that one to my needs. :bunny:

Martin64 06-22-2002 06:52 PM

Quote:

Originally posted by Lionel


The way I did that was to copy quiz.php into quizhome.php and then I had quizhome.php called a renamed template of the main quiz template. I edited that one to my needs. :bunny:

It would be nice with some exact instructions, I'm not that great at this. :P

Pilot 06-22-2002 08:21 PM

Can you fix it so the author user is entered as their username and not their user number?

How can I extract a list of high scores or a leader table for display on my home page (or forum index)?

What's the best way to integrate this into a VB site?

TWTCommish 06-22-2002 08:24 PM

Quote:

Can you fix it so the author user is entered as their username and not their user number?
I could...but I'd rather not bother unless some others are interested.

Quote:

How can I extract a list of high scores or a leader table for display on my home page (or forum index)?
That depends on how you want it to display.

Quote:

What's the best way to integrate this into a VB site?
I'm afraid that's far too subjective to answer. Personally I just link to the file right now.

bandersen 06-22-2002 09:13 PM

I upgraded to 2.2.6 and lost the navbar / admin panel for quizzes. Is it the admin/index.php part of the installation I need to do again?
Anyone else found more missing after an upgrade?

TWTCommish 06-22-2002 09:15 PM

/admin/index.php should be the only part you need to re-edit. :)

Boofo 06-22-2002 09:15 PM

I think an option to use the username AND the id number would be a good addition. Also, a listing on the forum home like Total Quizzes going and maybe the best quiz score with the score and the username might be cool, too. Like they do with Total threads Today and such. :)

Quote:

Originally posted by TWTCommish

I could...but I'd rather not bother unless some others are interested.


That depends on how you want it to display.



Rose 06-22-2002 09:46 PM

I apologize if this problem has been posted, I tried sorting through twenty pages before giving up. *lol*


I seem to have everything okay, I haven't quite figured out the quizzes, but I haven't tried yet, either.

My problem is my templates. I have three styles. The 'quiz' templates were jsut added to the default. Around page 6 or so, a fix was made by TWT for this by running the first page of the script with the templatesetid number added to add the templates to the other styles.

Now that they are all added, my templates look....weird. When I go to temlpates, and click on "show all templates", instead of the normal list I get this -

(see attached)


Any suggestions? I'd really like to see my templates again, as this way is confusing. All the links that say "change original" next to a bullet are empty. :s :( However, nothing seems to be messed up on teh board, so that is good.

TWTCommish 06-22-2002 09:48 PM

I've had similar problems, but long before the quiz hack...I think this may be due to the imcompatibility error pre 2.2.6 versions of vB have with recent versions of PHP. Did your host upgrade their PHP installation recently?

bandersen 06-22-2002 10:11 PM

Quote:

Originally posted by TWTCommish
/admin/index.php should be the only part you need to re-edit. :)


OK done and working just fine - for all hacks added ex. the query hack! Puh.... :cool:


All times are GMT. The time now is 01:09 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.01831 seconds
  • Memory Usage 1,820KB
  • 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_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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