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)

stamper 10-17-2002 03:25 PM

I have installed the hack succesfully and have added a quiz! But when I go to /quiz.php the window is white and nothing is loaded!
what is the fault?
have I problems with the templates? because I have 5 different styles!
I have version 2.2.6!

thx for help!

Freefall 10-17-2002 09:02 PM

That is my problem too - it has happened with all of my recent hacks :( everything goes fine, but the templates don't get created :( can anyone help?

Eladesor 10-20-2002 07:54 PM

excellent hack - thank you very much...... It's saved me loads of work, just what I was looking for.

A very happy user :)

Eladesor 10-21-2002 10:28 AM

Any suggestion on how to include the 'Admin section' (add quiz etc..) into the /mods/index.php so that moderators can update it?

ViewMy.biz 10-21-2002 11:14 PM

I loaded QUIZ on raginpagin.com where I have 2.2.8 and php3 files.

Before loading I carefully changed each instance of php? to php3?

I just have on thing to say.

It works flawless

Erwin 10-21-2002 11:18 PM

Quote:

Originally posted by Freefall
That is my problem too - it has happened with all of my recent hacks :( everything goes fine, but the templates don't get created :( can anyone help?
Because most hacks install templates into the default templateset, and you are using a custom templateset. You need to manually copy the templates so that they show up in all templates.

saab340 10-22-2002 06:36 PM

#1 Metoo would like to get the average to show instead of 2.67

I tried adding this to template (This is a bit of code found in template, after you have taken the quiz) and it shows average there...?
Code:

$avg of $question_count ($multiplied_average%)
#2 Is there a way of uploading questions and answers as a "bulkload" I have tons of them in my excell, and would like to transfer them to my quiz?

#3 This one is a tough one, but is there a way of storing the questions missed or marked by the user, so they could go back and take missed or marked questions again.

Thanks for the great hack :cool:

FleaBag 10-28-2002 11:20 PM

All working with 2.2.8. Thanks Chris. :)

Jacko 10-29-2002 09:14 PM

fine here on 2.2.8..

cheers dude.. is wicked..

Matt87 10-30-2002 10:49 PM

The templates don't add. I tried the...

http://www.yoursite.com/forums/admin...tep=1&setid=XX

influence 11-03-2002 11:39 AM

im having a huge problem.
When I click on a quiz and then click on take this quiz, All it did was take me to anoter page that looks like this

*view attachment

Destee 11-14-2002 03:35 AM

TWTCommish - after reading page one of this 41 page thread, I was able to add this wonderful hack without any problems!

Upon successful completion, I did take the time to read all the 41 pages of posts and I must agree with Steve (somewhere in the middle of these 41 pages) regarding why folk might be reluctant to share hacks. Gosh! A million questions asked that were in the install notes, a million folk saying I don't want to read all these pages could you just answer this one question, 1/2 million asking for version 2 when you were knee deep in version 1, 1/2 million throwing in a dammm or WTF when it didn't work properly for them the first time ... after reading comments like these I expected you to be cursing too ... but you remained calm, cool, and polite ... my hats off to you!

Thanks for a wonderful hack. Clicking Installed.

Destee

influence 11-17-2002 10:23 AM

any help with my problem please?

Talisman 11-25-2002 08:57 AM

Quote:

Originally posted by Erwin


Because most hacks install templates into the default templateset, and you are using a custom templateset. You need to manually copy the templates so that they show up in all templates.

Erwin (or someone?)......

When I tried this one, the script said it had succesfully installed all the templates. But they didn't show up in either template set. We have only two styles, but those templates aren't listed in either of them so I can't copy them over.

Am I missing something else?

Talisman 11-25-2002 07:10 PM

Well, I'm really stuck with this one, now. Something caused a conflict for the auto-installer ..... and I'm not able to copy templates to a different set (they just didn't show up anywhere). I also can't seem to continue this installation manually because the installer won't let me skip the steps I've already done.

Thus far, I've uploaded the php files where they belong and I ran the install file. But I've no idea how to proceed now:

1 - Having checked what I can find ....... the quiz database tables are there; they look great.

2 - The templates didn't get loaded anywhere.

3 - Nothing appears in the Admin CP that relates to quizzes.... and I can't continue with the install instructions.

Would someone familiar with this hack, please help me? We really want to use this great feature, along with the later enhancements that have been released for this, too.

I can't run the install again without messing up the database and I can't install this manually without help.

Please?

Talisman 11-26-2002 02:49 AM

Okay, I figured out how to "drop" existing tables via phpMyAdmin ........ so I was able to "un"-install the hack and run the installer again (without interruption this time).

The quiz functions are working great in the Admin CP now, I just have 1 remaining problem ...... still no templates.

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

Edit -> Finally found the table where the templates hang out. No problem...... easy enough to change the templatesetid now.

Talisman 11-26-2002 08:14 AM

Success!! Got these blasted quizzes working now (whew!) and I'm so happy I can hardly stand it.

What a great feature..... thanks for creating this hack!

Cheers!

Brahm 11-26-2002 06:50 PM

Hey TWT,
Thnks for the fantastic work and devotion on this great hack.

I think I screwed up by trying to reinstall the hack and now there are 5 instances of "Quiz Options" in my "Vbulletin Options" area. any way of getting rid of four of these?

Talisman 11-26-2002 07:16 PM

Had the same problem, Brahm. But by using phpMySql, I finally found the Admin CP "vBulletin Options" list in the database table called "Setting."

If you go there and display the Setting table (click on that table, then "browse), click on the column heading "settingid" two times and it will sort and display the table in reverse order. This lets you see the last entries the hack installed for you there.

Scroll down to find one set of records to keep, then delete the 4 sets of duplicates you don't want. Just make sure you keep one full set.

If you ran the installer that many times, you've also got 5 sets of templates in the database. So, you'll want to tidy that up, too.

Good luck!

influence 11-26-2002 08:30 PM

hay talisman how did you fixed yours? because when I install mine and run setup, it says templates was install but then I checked my templates, I dont see anything

Brahm 11-26-2002 08:48 PM

I did what you recommended -- had to install phpmyadmin -- but I still see them listed. It's just that the selectable items are gone. I suppose that was what I deleted. I have one good set, and four others listed, with no options in the admin control panel.

Brahm 11-26-2002 08:52 PM

I had to go into "settinggroup" and then I just deleted the ones in there that corresponded with the ones in "setting."

This is working beautifully -- thanks again for all of the assistance!

Talisman 11-26-2002 09:30 PM

Glad you found that, Brahm. Sorry, I forgot to mention it.

Quote:

Originally posted by influence
hay talisman how did you fixed yours? because when I install mine and run setup, it says templates was install but then I checked my templates, I dont see anything
I'm truly the last person around here who should be giving out suggestions. Mostly, I just install them and hope for the best. :squareeyed: (In this case, I just couldn't restore the backup I'd made 2 days before because that would have wiped out 5 other hacks I'd made over the weekend.)

Anyway, I found the missing templates using phpMySql (again) in the "templates" table. Same thing ..... just change them from templatesetid 1 to whatever you're using.

Hope this helps ........ good luck!

Talis.

influence 11-26-2002 09:35 PM

nevermind, I figured it out. My template ID was showing 26 to I change it to 1. fixed the problems.

thanks

influence 11-26-2002 11:19 PM

I am having this problem. I already checked this whole thread and few people asked why is it happening but no one give them any answer or help and I was wondering if anyone can help help me fix it.

When I add a question and then aprove it, then also on the "quiz questions" section, I click on modify and select a quiz but then it shows No questions foundd. why is that? and I do have questions added to the quizzes. Also when I go to my forum to take a question, it shows this error after I click on the Take This Quiz button. the error it show is this

vBulletin Message
Error: invalid quiz specified.

Back to Main Quiz Page

can anyone please hellllp me figure this out and why is it acting like this.

please

thanks

cklaszlo 11-27-2002 02:49 PM

I added this but we are getting an error:

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 27th of November 2002 11:38:48 AM
Script: http://www.thrillnetwork.com/boards/boards/quiz.php
Referer:


I notice on the above it is duplicating the directory: boards/boards/quiz.php

The quiz should be on this page:

http://www.thrillnetwork.com/boards/quiz.php

All the DB's installed correctly and all the templates are installed.

We are running VB 2.2.6

Thanks!

Alex

snout 12-02-2002 09:46 AM

TWTCommish, in my books you are the master of VB !! :) Thanks for this great hack.... I had a few probs seting it up as I had multiple template sets and styles....

It now works like a treat.... big respect to ya for sharing this with us !!

Features for ver 2.0:
Would be great to see these in V2:

:- Timed Quizzes (Maybe a countdown feature)
:- Quiz Homepage
:- Admin Functions (so we can see what members have taken the test and who passed/who didnt) Kind of like a stats page for admins only

Also I had a lookie at ur site, bloody good work on that too m8

Thanks again :D


PS: Im running vb2.2.9 *clicks install*

AdamJus 12-02-2002 10:27 AM

Great hack again TWT.

I agree with Snout - some form of reporting is a must for v.2.

Nice site too d00d.

*installed and clicked*

cklaszlo 12-02-2002 04:20 PM

can anyone help us with the above problem? Upon further looking into the DB I see that we added a quiz via the Admin of the the boards but no data was written to the Tables in the DB. The tables were created in the install.

Update: after looking into this more it seams that for some reason 3 different Vb option sections for the quizzes got installed. Very strange. We save the VB option page as instructed and nothing happened. I did it three times and on the thrid time it worked. So one of the installed sections didn't install properlly. All very wierd.

LangTuDaTinh 12-03-2002 04:05 AM

just a suggestion.... if possible...it allow users to add comments on a quiz.

thank...this hack is great.

Schorsch 12-04-2002 01:06 AM

thanks for the hack :)

How can normal users submit their Quiz questions ?

kincaitos 12-08-2002 11:51 AM

great hack i clicked install:)

Lethal 12-11-2002 04:23 AM

I didn't install this yet but before I do I want to ask if there is a way to have more then just 2 answers for each question? I noticed in the ss's that you only have 2 answers for each question and i was just wondering if that was all you could have.

Talisman 12-11-2002 05:02 AM

You get to decide how many answer to include..... When you create a new quiz, you type in the number of questions you want and the number of answers for them.

Lethal 12-11-2002 06:47 AM

ok cool ty

w596 12-11-2002 02:49 PM

Very nice hack.

Thank You TWTCommish. ;)

TheSonic 12-14-2002 10:30 AM

Wow! This is script is G R E A T !!

I love it - and yeah, thats i why i love vb.

One login for the Users and 1000 features !!

THANKS ! Hope this script will work also in vb 3.0, i dont want to miss it there!

<clicking install now>

Keyser S?ze 12-15-2002 07:09 PM

was it ever solveed on how to allow moderators to make quizes?

-edit

this is odd, i can se the quiz and everything fine, but everyone else gets a blank page, even other admins, i took he damn quiz, worked perfectly

Keyser S?ze 12-16-2002 08:46 PM

can anyone fix my problem?

snout 12-17-2002 05:57 PM

Quote:

Originally posted by IceMalee
can anyone fix my problem?
Are they using a different style or template set, as this could be what the problem is....

If so, copy the templates into the new style :)


All times are GMT. The time now is 01:51 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.01967 seconds
  • Memory Usage 1,826KB
  • 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
  • (4)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