The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBQuiz 1.0 Details »» | |||||||||||||||||||||||||
vBQuiz 1.0
NOTE: all functionality-impairing bugs have been fixed. The attached files should work well on just about any PHP installation. What's it do? It allows you to setup a quiz center on your boards quickly and easily. This quiz center is FULLY templated, integrated with vBulletin, and has an advanced Admin script for managing the quizzes, categories, and questions. Here's an example: Movie Forums - Quizzes A few of its features...
Files Enclosed (in vbquiz.zip) - instructions.txt (read it!) - quiz.php (upload to main forum dir) - admin_quiz.php (upload to admin dir) - install_quiz.php (upload to admin dir and then run) Enjoy! Also: a HUGE, HUGE, HUGE thanks to GamerForums for beta testing this hack for me. His help was completely invaluable and surely saved me a lot of work in the long run. Thanks! Show Your Support
|
Comments |
#872
|
|||
|
|||
LOL, you caught me off-guard! I'm still fiddling with my Quiz Center and have a lot of wonky display (haven't released it to my members yet) but give me a day or two and I'll set up a quiz and a test user account if anyone wants to have a look.
|
#873
|
|||
|
|||
STOP THE PRESSES!!
There is another way to do this without using html!!! I just kept thinking about the process....what the change in code was essentially doing was telling the system to parse the question text field just like it parses text in the forum specified (in my case forumid 13). So, because I enabled html in forum 13 it would parse any html I entered in the quiz question, and hence display my images. BUT, I got to thinking......maybe the problem with using the vbcodes (in my case using vbcodes didn't work...I just got the image url as a link) was because it wasn't told what forum to mimic for parsing vbcodes. In other words.....if I have vbcode enabled in forum 13 and I tell it to mimic forum 13 (by replacing the X in the previous code) and then I USE vbcode in the quiz question will it work? The answer is YES!!!! I tried it! (so actually right now, I can use both html and vbcodes to insert images....unless I remove the html permissions for forum 13). So for anyone who can't get images to show up in quiz questions using vbcode (ie. you get a link instead of an image) all you need to do is tell it to mimic one of your forums that has vbcode enabled (all of mine do, so any forum number will work) and then use VBCODE to insert your images!!! I prefer this method as I'm always hesitant to enable html anywhere, even for other mods/admins. Where's the happy dancing emoticon??? |
#874
|
|||
|
|||
ok, this is very very rough but I've put a quiz up on my site that uses images (the first image is posted using html, the second using vbcodes...so you can see both work with the modification). I've also created a test account for anyone who wants to log in to view the quiz.
I'm putting the information inside code tags so I only get vbulletin traffic....also, I will remove the test account after a bit so if you miss the trial period you'll have to register to the site. PHP Code:
|
#875
|
|||
|
|||
My brain is still working here.....
I wonder if it's possible to use images in the ANSWER fields. For example, the question is "Which of the pictures below is the winkey smiley?" and then the four choices are pictures .... - - - - And respondents choose the right picture by clicking the radio button next to it. Seems doable, will check it out. |
#876
|
|||
|
|||
Looks great.. too bad it's not for vb3 :ermm:
|
#877
|
|||
|
|||
Yes it is possible to put images in your answer text using a very similar modification to the script (although watch out for the replacement variable for correct_answer).
|
#878
|
||||
|
||||
Just to let you all know, I've fiddled with the old code a bit and so far things are going well. I've got a few new ideas that I'll be exploring. All in all it could be a few more weeks, at least, until I've got some kind of beta version out, but I'll keep at it and update you all before long.
|
#879
|
||||
|
||||
Fantastic Chris
Using the existing version, can't wait for what you have in store for us in the next |
#880
|
|||
|
|||
I really love this script and am having fun setting it up for my members to use.
Chris (or anyone if you can help) is it possible to display how many questions are in a quiz on the Recently Added Quizzes page (along with the title and description information), and on the quizid page (where it lists top scorers)? So instead of say, 9, it would say 9/10? I think I saw this on someone else's quiz page here. Right now the only place the number of questions shows up is on the Results page when it tells you you got 9 out of 10 (90%) correct. I tried a few things (just inserting the $question_count variable I found on the results page on those other pages but it didn't work....also tried $quiz[question_count] but that didn't work either....maybe cuz I'm just guessing here ). Is there a way to do this? Any help much appreciated! |
#881
|
|||
|
|||
I've got another question about vbquiz. I used the add-on below so my users can leave comments on quizzes....I have 2 questions though....one, the comments entered are displayed from oldest to newest....is there a way to have them display from newest to oldest? (essentially the opposite of what I have in the forums, but it would seem to work better for the quizzes to have the most recent comments at the top). Second, the comments just pile up infinitely...ie. they don't ever go onto a second page. Not that I'm expecting LOTS of comments on the quizzes but if over time I accumulated 40 or 50 comments that's a lot to display on one page. Anything that can be done for that?
Any help appreciated. Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|