Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) Quiz for 2.6.11 (Read 6606 times)
Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 163
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Re: Quiz for 2.6.11
Reply #13 - Feb 25th, 2015 at 8:37pm
Print Post  
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
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Quiz for 2.6.11
Reply #12 - Feb 25th, 2015 at 8:23pm
Print Post  
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
 
Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 163
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Re: Quiz for 2.6.11
Reply #11 - Feb 25th, 2015 at 8:05pm
Print Post  
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
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Quiz for 2.6.11
Reply #10 - Feb 25th, 2015 at 7:51pm
Print Post  
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
 
Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 163
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Re: Quiz for 2.6.11
Reply #9 - Feb 25th, 2015 at 7:45pm
Print Post  
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
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Quiz for 2.6.11
Reply #8 - Jan 22nd, 2015 at 2:16pm
Print Post  
Corrected Quiz.pm in new zip.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 163
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Re: Quiz for 2.6.11
Reply #7 - Jan 22nd, 2015 at 8:11am
Print Post  
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
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Quiz for 2.6.11
Reply #6 - Jan 22nd, 2015 at 6:02am
Print Post  
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.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 163
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Re: Quiz for 2.6.11
Reply #5 - Jan 22nd, 2015 at 4:22am
Print Post  
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
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Quiz for 2.6.11
Reply #4 - Jan 21st, 2015 at 10:02pm
Print Post  
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
 
Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 163
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Re: Quiz for 2.6.11
Reply #3 - Jan 21st, 2015 at 9:10pm
Print Post  
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
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Quiz for 2.6.11
Reply #2 - Jan 21st, 2015 at 9:05pm
Print Post  
This is absolutely frustrating.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 163
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Re: Quiz for 2.6.11
Reply #1 - Jan 21st, 2015 at 8:41pm
Print Post  
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
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Quiz for 2.6.11
Jan 21st, 2015 at 7:46pm
Print Post  
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 (Attachment deleted | 37 Downloads )

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint