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-13-2002 07:35 PM

Well, since it's on the quiz_display template, you'll find it in one of the "sub" templates...IE: ones that begin with quiz_display. The two in question are, I believe:

quiz_display_bestresults
quiz_display_latestresults

-=dm=- 06-13-2002 08:07 PM

thanx now Im very close to get it as I want it :D
now I have only a litle problem its the tablehead "Latest Scores" I cant find the template for it, I have also searched for the word "Latest Scores" in templates still no luck :(

here is the screenshot:

TWTCommish 06-13-2002 08:10 PM

That part is near the bottom of the quiz_display template.

ZiRu$ 06-13-2002 09:08 PM

i think users should be able to make them......Like NEW POLL, NEW QUIZ

TWTCommish 06-13-2002 09:18 PM

Very likely for 2.0. :)

X-Fan 06-14-2002 03:11 AM

TWT, any idea on the problem I'm having with it asking the same question twice then giving the no resubmit error?

rascal 06-14-2002 05:48 PM

The error is gone. However there are still no image attached. I'm installing it on a fresh install 2.2.6

MrBojangle1 06-14-2002 05:55 PM

very nice hack nicly done and lots of work put into it thanks mate

MrBojangle1 06-14-2002 07:16 PM

one question how to mods and members make quizes??? If they cant can you please make an addon that will let them but we have to approve

Velocd 06-14-2002 09:05 PM

That would be a great addition to this hack ;)
Although it should be seperated into two groups:

Official Quizzes(for the quizzes the admin makes) and then, Member Quizzes(for everybody else).

TWTCommish 06-14-2002 09:10 PM

This has been discussed already. :) Mods and Members can NOT create quizzes on their own...they need to send you the data. However, this is planned for 2.0, most likely.

AndyTSJ 06-14-2002 09:47 PM

How about a timer so that users don't have time to look up answers to questions ?

TWTCommish 06-14-2002 09:49 PM

That's been discussed, too. Again...2.0. :D

AndyTSJ 06-14-2002 09:51 PM

Any chance we'll see 2.0 soon ?

TWTCommish 06-14-2002 09:52 PM

Not until all these infernal bugs are cleared out. :)

AndyTSJ 06-14-2002 09:54 PM

Well this is one cool script, you got me hanging on the release of 2.0 big time :D

X-Fan 06-15-2002 12:39 AM

TWT, any progress with that repeat question problem, mate? I really want to get this quiz up and running at my site, as it's something I've been working towards for a while and this will save me tons of time!

rascal 06-15-2002 04:48 AM

Any remedy for the image problem guys? Thanks :)

josh929 06-15-2002 09:47 AM

Quote:

Originally posted by xiphoid
Your Score: 3 of 3 (99%)

I think 100% is 100% is my world :)

VERY COOL HACK

so has this been fixed?

josh929 06-15-2002 10:03 AM

when trying to run install_quiz.php i get:

Fatal error: Call to undefined function: cpheader() in /home/somegood/public_html/forums/install_quiz.php on line 4

alain4ever 06-15-2002 11:19 AM

hi,

thank you for that hack.....

it works 100%

http://www.alain4ever.com/vb/quiz.php ;)

BigJohnson 06-15-2002 03:12 PM

Quote:

Originally posted by alain4ever
hi,

thank you for that hack.....

it works 100%

http://www.alain4ever.com/vb/quiz.php ;)

You mean it works 99% LOL. just kidding. Well about the templates. What can I add to make it have a table border color of the table border color that i have put in my Admin area for the actuall table border color because to me the templates look a little funny with no table border colors. Please help me out and tell me what to do in order to get a table border color.

MrBojangle1 06-15-2002 05:08 PM

well I got it all workin www.gotdbz.com/vb/quiz.php I think it looks nice on my forum ^_^

Lionel 06-15-2002 05:16 PM

Is there a way to have a short description for recently added quiz on quiz first page and the full description for quiz information?
I'd like to use it as a course and after reading 2 or 3 pages of information, take the quiz. Unfortunately those 2 or 3 pages also reflect on first page.

TWTCommish 06-15-2002 06:05 PM

I'm afraid that there's no quick way of having two seperate descriptions...I've got my hands full with the other stuff right now.

Lionel 06-15-2002 06:10 PM

description character limit for quiz display easiest/hardest, can it be also set for quiz description on quiz display main page?

Lionel 06-15-2002 06:29 PM

that the original image for quiz cannot be edited. I have to delete entire quiz and do it again. Also, when you put one image in quiz, the one without images carry the last image too.

TWTCommish 06-15-2002 06:34 PM

Thanks, I'll fix that bug.

Boofo 06-15-2002 06:36 PM

Anything on the new quiz.php yet? I'm dead in the water until it is fixed. :)

Quote:

Originally posted by TWTCommish
Thanks, I'll fix that bug.

alain4ever 06-15-2002 07:46 PM

Quote:

Originally posted by BigJohnson


You mean it works 99% LOL. just kidding. Well about the templates. What can I add to make it have a table border color of the table border color that i have put in my Admin area for the actuall table border color because to me the templates look a little funny with no table border colors. Please help me out and tell me what to do in order to get a table border color.

:pirate: my quiz is 0% now.... LOL

i dont know what happen.... just it work for one time then it show the question with out the answers....

i hope that i can help you.... but let me finished from that bugs then i will help you...

see Ya

Shokkka 06-15-2002 08:38 PM

Ok, i just read through ALL of this and got the install_quiz.php fix, im setting up and its going fine step one no errors, step 2 no error and then I get to step three and BANG i get this

Quote:

Database error in vBulletin Control Panel 2.2.6:

Invalid SQL: CREATE TABLE quiz (
quizid int(11) NOT NULL auto_increment,
quiztitle text NOT NULL,
description text NOT NULL,
imagename text NOT NULL,
approve smallint(6) default NULL,
timestamp int(11) NOT NULL default '0',
userid int(11) NOT NULL default '0',
catid int(11) NOT NULL default '0',
PRIMARY KEY (quizid)) TYPE=MyISAM;
mysql error: Table 'quiz' already exists

mysql error number: 1050

Date: Saturday 15th of June 2002 04:29:24 PM
Script: http://www.mydomain.com/vbb/vbb/admi...uiz.php?step=3
Referer: http://wwww.mydomain.com/vbb/admin/i...uiz.php?step=2
what am I doing wrong here? lol i know your swamped but i seem to be the only one wiff this problem :/ thanx :)

L8r
~Shokka (PLEASE HELP ME!!!!!!! ;))

TWTCommish 06-15-2002 09:04 PM

That means you already have a table called "quiz" in your database. :)

Shokkka 06-15-2002 09:13 PM

ok then WTF do i do lol... i get a blank page when I go to mydomain/forums/quiz.php its totally blank

if I alreeady have the table sits the old one that doidnt work. im trying to get the fix working :/

TWTCommish 06-15-2002 09:21 PM

It sounds like there was a problem with the template installation?

Shokkka 06-15-2002 09:54 PM

ok I installed the first version and then the quiz page showed nothing.

So I read through this thread and found out other people were having the same problem

You created a new install_quiz.php file

I downloaded and attempted to use.

I got to step 3 and got that error

now do I gotta delete the table? and start again? or what?

TWTCommish 06-15-2002 09:55 PM

No, you should be able to see it now. If your problem was with templates, and you ran the first step of the new one, that should've been all. Did you remember to include the templatesetid number in the query string?

Shokkka 06-15-2002 10:05 PM

ummm.... WHAT???!??!? i dont get it lol how do i know that number?

Lionel 06-15-2002 11:28 PM

Quote:

Originally posted by TWTCommish
This has been discussed already. :) Mods and Members can NOT create quizzes on their own...they need to send you the data. However, this is planned for 2.0, most likely.
you are wrong. I followed your instructions and placed the admin_quiz.php in the mod folder and edited index.php accordingly. My mods are able to create quizzes.

Lionel 06-16-2002 02:41 AM

I am using 2 styles, representing 2 languages: English and French. The auto install placed all the templates as default style, therefore when a user is using the french style they get a blank page. I usually reproduce all the templates in the second style. Is there a way I could have a zip file of the templates that you used?

never mind, I figured it out.

In which template you have the imagefolder so I could change it for number 2 so it matches the default folder?

X-Fan 06-16-2002 05:53 AM

Quick question - I've now got the quiz settings listed twice in vBulletin Options. How do I remove one instance of the settings from that?


All times are GMT. The time now is 11:58 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.01969 seconds
  • Memory Usage 1,810KB
  • 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
  • (6)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