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)

amykhar 06-23-2002 05:13 AM

This is a great hack. My users love it. I ended up making the quiz templates part of the built in set so that all styles can see it.

I have a couple of small issues. One being the rating of hardest/easiest quiz. I belive that should be based on percentage correct, not actual number correct.

Amy

Pilot 06-23-2002 03:05 PM

Well, I don't know how to make this option available in the main site other than just having a static URL link in a template.

Really need something dynamic like XX quizes available or a high scores table for the most recent quiz - something like that.

A piece of PHP code that showed the number of quizzes available and a leader table (maybe over all quizes) would be the ideal way to create interest and attract members to the quiz area.

Just saying "quizzes here" is not going to do much. But I am not a coder so am looking for assistance here - depends whether you are interested in your excellent hack being really used or not.

TWTCommish 06-23-2002 03:07 PM

Well, first off, I can't say I appreciate your tone. It IS being used...many people have told me so...the people on my site sure dig it. Fact of the matter is a lot of areas on vB are just linked to: the User CP, the Members List...why is this suddenly different?

However, yes, there are better ways to attract more attention to it...I'm just more concerned with sorting out all the bugs and templates and improving the more basic features and necessities for the next version first, though.

Martin64 06-23-2002 03:11 PM

I absolutely agree with you, TWTCommish. I added this hack yesterday and submitted my own quizz which has been taken by 66 members already. :)

People love this new interaction feature so much that they have already submitted 5 new quizzes for me to add. Thank you. :)

Steve Machol 06-23-2002 05:49 PM

TWTCommish, given some of the responses here I can understand why some people don't want to release hacks anymore. You are to be commended for your patience and perserverance. Good job!

TWTCommish 06-23-2002 07:27 PM

Thanks. :) Most of it doesn't bother me...'cept for the folks who don't read instructions.txt, and post here instead. Grrr! :D

It comes with the territory, though. :)

Rose 06-23-2002 09:21 PM

Quote:

Originally posted by TWTCommish
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?

Hmmm. I don't know if they did or not (assuming this is directed at me, of course). I didn't realize that it might not work on 2.2.5, I must have missed that in the instructions somewhere. :(


Is there a way to 'undo' it? Uninstall?

TWTCommish 06-23-2002 09:24 PM

Well, if the problem is the one I described, then whatever you do with the Quiz hack is irrelevant. Could you ask your host if they've upgraded PHP recently? That might provide some insight...

Martin64 06-24-2002 12:29 AM

In case someone wants to have their easiest and hardest quizzes on the forumhome, I did a little modification of this hack so that it displays them below online users (in my case). :)

Check out the attached screenshot, or view it at www.emutalk.net

If there's interest I can explain how I did it (probably not the smoothest way since I don't know much about php :p)

Boofo 06-24-2002 06:41 AM

Looks great! I'd definately be interested in seeing how it was done. :)

Quote:

Originally posted by Martin64
In case someone wants to have their easiest and hardest quizzes on the forumhome, I did a little modification of this hack so that it displays them below online users (in my case). :)

Check out the attached screenshot, or view it at www.emutalk.net

If there's interest I can explain how I did it (probably not the smoothest way since I don't know much about php :p)


X-Fan 06-24-2002 07:24 AM

Me too, thanks Martin!

Martin64 06-24-2002 09:50 AM

Here's the attached instructions, please backup your files before starting :classic:

X-Fan 06-24-2002 10:38 AM

Works great, thanks Martin!

bandersen 06-24-2002 11:27 AM

I am still having the % show with 99% and 101%, see quote.
Am I the only one?

Quote:

Originally posted by bandersen
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);


wolfe 06-24-2002 12:48 PM

right i have 2 styles and the Quiz only seems to e wroking on one style but i have installed Templates on both whats up with it :(

RobAC 06-24-2002 04:35 PM

Chris,

Any luck with the comment feature. :D

-rob

Velocd 06-24-2002 09:20 PM

I'm sure this has been asked, but I haven't read through the threads yet. Since there is a approval setting in the admincp, why not give members the permission to submit their own quizes, then the admin can approve of them? If this is already available, where can I find that option then?

Also, what is the image upload for on a quiz? I uploaded my image yet I don't seem to see it in the real quiz interface on my forums...

Velocd 06-25-2002 08:56 AM

bump ^

TalkHardRandy 06-25-2002 04:08 PM

It will be in version 2.0 according to TWT...

Link14716 06-26-2002 09:31 PM

Hmmm......

Code:

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: Wednesday 26th of June 2002 11:29:30 PM
Script: http://mb.vggmn.com//quiz.php
Referer:

Does anyone know how to fix this?

TWTCommish 06-26-2002 11:06 PM

Link: read the instructions.txt file, please. It explains that problem specifically. That's why I put it there, basically...so avoid posts like this.

afterlab 06-26-2002 11:43 PM

Good job on the hack, TWTCommish. I installd it a few days ago, and my members love it! I rated this hack 5/5.

Sorry about not beta testing it earlier, we've had some hacker issues around my forums the last few weeks. I'll be ready for the next one! :rambo:

Rose 06-27-2002 03:17 PM

Quote:

Originally posted by TWTCommish
Well, if the problem is the one I described, then whatever you do with the Quiz hack is irrelevant. Could you ask your host if they've upgraded PHP recently? That might provide some insight...

It looks like they have upgraded to PHP 4.2.1 in the last week or so.

I have removed the quiz tables from the database and unedited the php files. My templates are still a mess. Is there a way to fix this?

Please? :(

TWTCommish 06-27-2002 03:18 PM

The problem is not with the hack...the problem is with vB 2.2.5 (and other earlier versions, I think), which has a compatibility problem with newer versions of PHP. Upgrading to 2.2.6 should do the trick.

pgowder 06-27-2002 07:41 PM

Is there a way to display scores on the main page and in high scores as a percentage.

Since I have quizes with different number of questions it is hard to judge which scores are great or poor.

Thanks

patvdv 06-27-2002 09:19 PM

Hi TWT,

I am trying to setup the hack on my testboard (vb 2.2.4, php 4.1.2). I ran into the initial template problem but that is fixed now. However I cannot add any quizzes, submitting the 'Add Quiz' form just returns a blank page to me. Adding a category worked fine.

Any ideas?

TWTCommish 06-27-2002 09:27 PM

A blank page? Hmm. Go to the "Approve" area...is the quiz waiting there for approval?

Smoothie 06-27-2002 09:38 PM

TWTCommish-

any word on a new version?

patvdv 06-28-2002 05:49 AM

Quote:

Originally posted by TWTCommish
A blank page? Hmm. Go to the "Approve" area...is the quiz waiting there for approval?
Nope, no quizzes found. I checked the database tables and no info gets uploaded in there either. Very strange...

bonnmac 06-28-2002 05:56 AM

This is an EXCELLENT hack! Thanks so much for sharing it with us. I've got the hack working fantastically but I have one small (prolly dumb) question. I'd like to add a link to it in my "forum jump" dropdown menu. How would I do that?

fixer 06-28-2002 09:20 AM

many thanks for this hack.

it works great.

but how to include a picture within the question text?

for example
if the question is:

Identify the cell at the tip of the arrow:
the picture goes here

1. eosinophil.
2. platelet.
3. erythrocyte.
4. neutrophil.

---------------------------

could u please help me to do this

TWTCommish 06-28-2002 12:04 PM

Try using the [img] vB Code tag there...the question's text IS parsed for it, I think.

fixer 06-28-2002 12:30 PM

i did but it shows a picture url only.

and i changed it to be like this

<img border="0" valign="center" src="http://pictureurl.gif">

and the picture is shown only in the cp, not in the question page

AndyTSJ 06-29-2002 01:39 PM

Any updates happening for this script ?

Velocd 06-30-2002 08:27 PM

I only have one question, and that is what is the purpose of the image upload for the quiz? I'm not seeing where this image is actually displayed when you view the quizzes. Was this just put in here but not actually used?

Velocd 06-30-2002 09:29 PM

Never mind, figured it out. I did not have the "quizzes" image directory..strangely though, all the other times I kept submitting the quiz with the image it never gave me a warning. Nevertheless, problem solved ^_^.

Erwin 07-01-2002 02:53 AM

Thanks - it works great the first time I installed it, with no bugs! Good job!!! :D

Smoothie 07-01-2002 03:16 AM

TWTCommish-

Do you think there will be an update to this fine hack to allow members to submit quizzes? :)

Hollenthon 07-01-2002 05:41 AM

I saw the quiz powered by vBulletin and I have the following question.

It's possible for "the quiz" to track the score of a user in all the quiz that he participate ?

So, if a user take 3 differents quiz I will be able to see the overall score in this 3 quiz ?

I need that because I what to make many quiz within a month and the overall winner will receive a price.

Thanks.

JoshFink 07-01-2002 05:02 PM

Ok.. I was looking at TriviaShock and then I saw this addon. Looks great..

Question though.. Does anyone have any quizzes already made up that they can share? I am absolutely horrible at that kind of thing, but I know my users would LOVE it...

Thanks

Josh


All times are GMT. The time now is 08:12 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.01960 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
  • (1)bbcode_code_printable
  • (5)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