Page Index Toggle Pages: [1] 2 3  Send TopicPrint
Very Hot Topic (More than 25 Replies) Quiz for YaBB 2.1 (Read 14033 times)
Carsten
God Member
*****
Offline


...to much YaMS

Posts: 3281
Location: Langå
Joined: Aug 2nd, 2002
Gender: Male
Quiz for YaBB 2.1
Oct 31st, 2007 at 12:50am
Print Post  
I've more or less rewritten the Quiz mod originally by Pyrrhon to make it work with YaBB 2.1

Also added some new functionallity and shaped up the layout.

File structure is the same as in the original mod to let you reuse existing data.

Edited:
Beta 0.7 attached. Added admin option to restrict access to Add, Modify and Delete quizzes to specific member groups. Made it possibel for admin to release other members quizzes. Minor 'shape ups' on layout. If no bugs or extremely brilliant ideas show up this will be the final version.


Edited:
Beta 0.6 attached. Added a optional timer function to let quiz author set max. time limit for answering questions. Admin can enable/disable the option and set max. time limit allowed.


Edited:
Beta 0.5 attached. Fixed some bugs and added release option for the quiz author - meaning quizzes are no longer released to the public when they reach the minimum number set.

[edit]Beta 0.4 attached. Fixed language bug loading menu related items before users language was loaded - thx. to JetLi for bug finding.


Edited:
Beta 0.3 attached. Fixed some bugs and made the generated code xhtml valid.
« Last Edit: Nov 5th, 2007 at 2:48am by Carsten »  

quiz_07b_yabb21.zip ( 24 KB | Downloads )

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
IP Logged
 
Outumuro
God Member
*****
Offline


Publisher - YaBB Toolbar

Posts: 569
Location: Los Angeles
Joined: Apr 14th, 2004
Gender: Male
Re: Quiz for YaBB 2.1
Reply #1 - Oct 31st, 2007 at 9:19am
Print Post  
  


Back to top
WWW  
IP Logged
 
Carsten
God Member
*****
Offline


...to much YaMS

Posts: 3281
Location: Langå
Joined: Aug 2nd, 2002
Gender: Male
Re: Quiz for YaBB 2.1
Reply #2 - Oct 31st, 2007 at 7:56pm
Print Post  
Thx. Outumuro!

Attached new beta 0.3 package to the first post. Fixed some bugs and made it xhtml valid.
  

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Quiz for YaBB 2.1
Reply #3 - Oct 31st, 2007 at 8:18pm
Print Post  
Hi Carsten.
Step 6 cannot found in Profile.pl

unlink("$memberdir/$member{'username'}.storage");

German Language comming later.  Smiley
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Quiz for YaBB 2.1
Reply #4 - Oct 31st, 2007 at 8:21pm
Print Post  
Carsten,

I have to say it once again! You are the BEST!

Getting a YaBB2 board set up for testing and conversion!!!
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Carsten
God Member
*****
Offline


...to much YaMS

Posts: 3281
Location: Langå
Joined: Aug 2nd, 2002
Gender: Male
Re: Quiz for YaBB 2.1
Reply #5 - Oct 31st, 2007 at 8:26pm
Print Post  
Quote:
Hi Carsten.
Step 6 cannot found in Profile.pl

unlink("$memberdir/$member{'username'}.storage");

German Language comming later.  Smiley


Strange - i've done that several times now with no problems at all. Sure you have a clean (YaBB 2.1) board?
  

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Quiz for YaBB 2.1
Reply #6 - Oct 31st, 2007 at 8:40pm
Print Post  
This is right code.

                 
Code
Select All
			unlink("$memberdir/$member{'username'}.storage"); 



in modfile I see this:

Code
Select All
			unlink("$memberdir/$user.storage"); 

  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Quiz for YaBB 2.1
Reply #7 - Oct 31st, 2007 at 8:46pm
Print Post  
oh, I see I have member delete lock installed. That remove step 6  Tongue
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Quiz for YaBB 2.1
Reply #8 - Oct 31st, 2007 at 9:04pm
Print Post  
hm. I see bugs.

1. if I change userlanguage from german to english. Quiz text are still in english.

for Testing.
username: testuser
password: test

http://www.support.grafix-world.nl
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Carsten
God Member
*****
Offline


...to much YaMS

Posts: 3281
Location: Langå
Joined: Aug 2nd, 2002
Gender: Male
Re: Quiz for YaBB 2.1
Reply #9 - Oct 31st, 2007 at 10:28pm
Print Post  
Quote:
hm. I see bugs.

1. if I change userlanguage from german to english. Quiz text are still in english.

for Testing.
username: testuser
password: test

http://www.support.grafix-world.nl

Yep - did'nt see that one coming. Menu related language elements have to be loaded before "Menu.lng" but after the members language. Nice catch JetLi  Wink

New 0.4 beta attached to the first post. Changes are in the mod file (Load.pl) - so: Uninstall/reinstall  Sad
  

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Quiz for YaBB 2.1
Reply #10 - Nov 1st, 2007 at 5:41am
Print Post  
Hi
works perfect now. Here my Germanpack (Sie & Du)


Edit3: change string 89 vor 0.7b Beta (thnx ThM)

Edit2: add Quiz Restrictions strings for 0.7b Beta

Edit: add Timelimit strings for 0.6 Beta
« Last Edit: Nov 6th, 2007 at 6:29pm by Jeff »  

greetings
Jeff
Back to top
WWW  
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: Quiz for YaBB 2.1
Reply #11 - Nov 1st, 2007 at 8:19am
Print Post  
Hi

great Mod ....  Wink

but deleting Quiz is not possible. I'm click on the option "Delete Quiz" and the Question "Are you sure ... and so on" comes, but no Button "Yes" or "No" are showing.
  

Greeting ThM
Back to top
 
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Quiz for YaBB 2.1
Reply #12 - Nov 1st, 2007 at 6:46pm
Print Post  
@ThM
confirmed.
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Carsten
God Member
*****
Offline


...to much YaMS

Posts: 3281
Location: Langå
Joined: Aug 2nd, 2002
Gender: Male
Re: Quiz for YaBB 2.1
Reply #13 - Nov 1st, 2007 at 8:17pm
Print Post  
Yep - thx for bug report - fixed now.

Beta 0.5 attached to the first post. Fixed some bugs and added release option for the quiz author - meaning quizzes are no longer automatically released to the public when they reach the minimum number set.

Changes are in almost all files - in the language file too JetLi  Wink


Some
  

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Quiz for YaBB 2.1
Reply #14 - Nov 1st, 2007 at 9:05pm
Print Post  
Thnx Carsten. Before updateing languagefile I have nice Idea if possible  Grin

1. Time remaining for each quiz example 20 second (setting on/off and set time)

2. Membergroup access  Shocked (@MF-B I know, I am Membergroup freak  Grin)
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: [1] 2 3 
Send TopicPrint