Page Index Toggle Pages: 1 ReplyAdd Poll Send Topic
Hot Topic (More than 10 Replies) Quiz for 2.6.11 (Read 5220 times)
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Quiz for 2.6.11
Jan 21st, 2015 at 7:46pm
Mark & QuoteQuote  
Quiz Mod for YaBB 2.6.11
Version: 0.7.7

This mod allows you to setup a quiz center on your boards quickly and easily.
This quiz center has an advanced Admin script for managing the quiz displays.
All users can enter own quizzes. The admin can restrict this so that only admins can add new quizzes.
The quiz tracks all results and displays high scores.
Upon completion, users are given a total quiz breakdown of the quiz, showing them how they fared on each question, and, on the ones they missed, showing them the correct answer. Upon completion, users are shown a graphical bar representing their score, and a graphical bar representing the average score for the quiz.
A member can take a quiz only once. Main quiz page calculates displays the easiest and most difficult quizzes automatically.
Moreover you can sort quizzes by different items.
This mod supports YaBB Code and the Censor list.

Installation:

- Download your Variables/Settings.pm from your forum
- Apply Quiz mod
- upload modded files

AdminIndex.pl
Admin/Admin.pm
Admin/AdminSubList.pm
Admin/ModList.pm
Languages/English/Admin.lng
Languages/English/Error.lng
Sources/AdvancedTabs.pm
Sources/Load.pm
Sources/PostBox.pm
Sources/Profile.pm
Sources/SubList.pm
Sources/Subs.pm
Sources/TabMenu.pm
Templates/default/Menu.def
Variables/Settings.pm

- upload ManageQuiz.pm to /Admin/Mods directory in ASCII
- upload Quiz.pm to /Sources/Mods directory in ASCII
- upload quiz.lng to /Languages/English/Mods directory in ASCII
- upload quiz.gif to yabbfiles/ModImages
- upload chekgreen.gif, chekyellow.gif, and QuizBar.gif to yabbfiles/ModImages/quiz
- set quiz options in Admin

Note that a user cannot take their own quizzes.
Note: once a quiz has been created or Settings.pm has been saved, Quiz cannot be removed using BoardMod without removing Variables/Settings.pm section from THIS file and hand editing Variables/Settings.pm to remove 'quiz' from the @AdvancedTabs list.

Mod updated by whisper68, bugfixes and compatible with 1.3, 1.3.1
===========
Bug fixes since version .95
Fixed problem with cheat protection (by Carsten, big thx)
Menu item "Quizzes" text class fixed (by whisper68)
Missing folder tree fixed (by Jake, thx)
Register link fixed (by Jake, more thx)
Mod updated by Carsten, bugfixes and compatible with YaBB 2.1
===========
Mod adjustments to fit with YaBB 2.3, no feature adjustments (Batchman) beta 0.1
Small layout fix and added Jet Li's German and German_Du language files beta 0.2
Update for 2.3.1, (beta 0.5) including Carsten's Auto Tabs feature to automate tab creation. This version works for both 2.3 and 2.3.1.

Thanks to Jet Li for info on adding menu tabs.

04/21/09 Updated for 2.4.

10/14-18/10 Updated to 2.5, and a few minor corrections and settings additions. (Thanks, Carsten.)
Updated for 2.6.0 by Dandello
Updated for 2.6.1 by Dandello - Sept 05, 2014
Updated for 2.6.11 by Dandello - Jan 05, 2015
minor tweaks - Jan 21, 2015

Author: Batchman (orig by Phyrron, development by  Whisper68, Carsten, others)
Edited:
Jan 22nd, 2015 at 2:15pm Corrected Quiz.pm file)

« Last Edit: Jan 22nd, 2015 at 2:15pm by Dandello »  

quiz_2611_c.zip ( 37 KB | 147 Downloads )

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 165
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Mood: Depressed
Zodiac sign: Libra
Re: Quiz for 2.6.11
Reply #1 - Jan 21st, 2015 at 8:41pm
Mark & QuoteQuote  
Um ... I installed this and can't access my forum ... the same content encoding error you just fixed in the other mod ... any ideas?

Edited:
I think the problem is either in the sublist or tabmenu parts.
  

If you don't know where you are, but you don't care, you're not lost ... you're exploring!
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Quiz for 2.6.11
Reply #2 - Jan 21st, 2015 at 9:05pm
Mark & QuoteQuote  
This is absolutely frustrating.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 165
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Mood: Depressed
Zodiac sign: Libra
Re: Quiz for 2.6.11
Reply #3 - Jan 21st, 2015 at 9:10pm
Mark & QuoteQuote  
If it's anything I'm screwing up, I apologize.  Sad

If it's just the tiny details involved in making computer stuff work ... well, I'm still sorry ...  Embarrassed
  

If you don't know where you are, but you don't care, you're not lost ... you're exploring!
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Quiz for 2.6.11
Reply #4 - Jan 21st, 2015 at 10:02pm
Mark & QuoteQuote  
No - I actually found it, finally. There were insufficient tests for a file that ManageQuiz.pm or Quiz.pm were supposed to create - it was being required before it was created.  Huh

What frustrated me was I would get the error once, and not be able to repeat it.

New zip in 1st post. (Quiz.pm needs to be replaced, too.)
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 165
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Mood: Depressed
Zodiac sign: Libra
Re: Quiz for 2.6.11
Reply #5 - Jan 22nd, 2015 at 4:22am
Mark & QuoteQuote  
Sorry ...

Code
Select All
Untrapped Error :
 Can't locate Sources/Postbox.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . ./Modules) at ./Sources/Mods/Quiz.pm line 1967.  

  

If you don't know where you are, but you don't care, you're not lost ... you're exploring!
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Quiz for 2.6.11
Reply #6 - Jan 22nd, 2015 at 6:02am
Mark & QuoteQuote  
ARGH!!  Smiley

In Quiz.pm find
Code
Select All
    require Sources::Postbox; 

and change it to
Code
Select All
    require Sources::PostBox; 



I'm guessing it didn't throw the error on my test server because that server is on Windows, which is case insensitive for file names.

I'll have a new zip in the morning.
« Last Edit: Jan 29th, 2018 at 2:59pm by Dandello »  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 165
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Mood: Depressed
Zodiac sign: Libra
Re: Quiz for 2.6.11
Reply #7 - Jan 22nd, 2015 at 8:11am
Mark & QuoteQuote  
That got it! Thank you!  Smiley
  

If you don't know where you are, but you don't care, you're not lost ... you're exploring!
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Quiz for 2.6.11
Reply #8 - Jan 22nd, 2015 at 2:16pm
Mark & QuoteQuote  
Corrected Quiz.pm in new zip.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 165
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Mood: Depressed
Zodiac sign: Libra
Re: Quiz for 2.6.11
Reply #9 - Feb 25th, 2015 at 7:45pm
Mark & QuoteQuote  
Apologize for bringing this up, but unlike all the other tabs (including ones from other mods), the tab for this mod can't be moved forward or back in the list via the usual arrow buttons ... it doesn't even show up in the list (though it does show up in the actual menu, itself.)

Would it be fairly easy to fix, or a big job?
  

If you don't know where you are, but you don't care, you're not lost ... you're exploring!
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Quiz for 2.6.11
Reply #10 - Feb 25th, 2015 at 7:51pm
Mark & QuoteQuote  
Check in Settings.pm:  the @AdvancedTabs list should have 'quiz' in it somewhere. If not this needs to be added to the bottom of Settings.pm, just above the 1;
Code
Select All
push @AdvancedTabs, 'quiz'; 

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 165
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Mood: Depressed
Zodiac sign: Libra
Re: Quiz for 2.6.11
Reply #11 - Feb 25th, 2015 at 8:05pm
Mark & QuoteQuote  
Now it's in the menu twice, but neither one appears in the rearrange list.  Grin
  

If you don't know where you are, but you don't care, you're not lost ... you're exploring!
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Quiz for 2.6.11
Reply #12 - Feb 25th, 2015 at 8:23pm
Mark & QuoteQuote  
Okay, let's try:
In Sources/AdvancedTabs.pm find
Code
Select All
 ## End Mod hook tablist ## 



Add above it
Code
Select All
    push @tablist, 'quiz'; 


  Tongue
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 165
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Mood: Depressed
Zodiac sign: Libra
Re: Quiz for 2.6.11
Reply #13 - Feb 25th, 2015 at 8:37pm
Mark & QuoteQuote  
Yup ... that did it! Thank you!
  

If you don't know where you are, but you don't care, you're not lost ... you're exploring!
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
Quiz for 2.6.11

Please type the characters exactly as they appear in the image,
without the first 2 and last 2 characters.
The characters must be typed in the same order,
and they are case-sensitive.
Open Preview Preview

You can resize the textbox by dragging the right or bottom border.
Off Topic Comment Insert Spoiler
Insert Hyperlink Insert FTP Link Insert Image Insert E-mail Insert Media Insert Table Insert Table Row Insert Table Column Insert Horizontal Rule Insert Teletype Insert Code Insert Quote Edited Superscript Subscript Insert List /me - my name Insert Marquee Insert Timestamp No Parse
Bold Italicized Underline Insert Strikethrough Highlight
                       
Change Text Color
Insert Preformatted Text Left Align Centered Right Align
resize_wb
resize_hb







Max 5000 characters. Remaining characters:
Text size: %
More Smilies
View All Smilies
Collapse additional features Collapse/Expand additional features Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips Sealed Undecided Kiss Cry