Page Index Toggle Pages: 1 [2] 3 4 5 Send TopicPrint
Very Hot Topic (More than 25 Replies) Quiz Mod 2.3/2.3.1 beta 0.5a (Read 39096 times)
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Quiz Mod 2.3 beta 0.1
Reply #15 - Dec 13th, 2008 at 5:51pm
Print Post  
Or delete the taborder.txt, so it will rebuild it and add in the Quiz tab.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


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 Mod 2.3 beta 0.1
Reply #16 - Dec 13th, 2008 at 5:53pm
Print Post  
batchman wrote on Dec 13th, 2008 at 5:51pm:
Or delete the taborder.txt, so it will rebuild it and add in the Quiz tab.

only if he have not an custom text in tabs.  Smiley
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Quiz Mod 2.3 beta 0.1
Reply #17 - Dec 13th, 2008 at 7:13pm
Print Post  
Hi,

I created a Tab, no Problem. I want to know, if it is normal to create the
Tab "by Hand", or if I do something wrong during the Installation of the
Mod.
  
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 Mod 2.3 beta 0.1
Reply #18 - Dec 13th, 2008 at 7:16pm
Print Post  
of course thats normal.  Wink that not a clean install of Yabb  Grin If example quiz a default feature, then will create by YaBB Install.

@Mick
that was no different with chat mod for 2.2.3 too.  Wink Same editing about taborder.txt
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Quiz Mod 2.3 beta 0.1
Reply #19 - Dec 13th, 2008 at 8:21pm
Print Post  
Ok, thanks Jet Li. Now I'm sure:

Installed without Problems, runs well!
  
Back to top
WWW  
IP Logged
 
ccarr
Ex Member


Re: Quiz Mod 2.3 beta 0.1
Reply #20 - Dec 13th, 2008 at 9:19pm
Print Post  
Batchman

This really is such a good mod but the problem is that it needs to have good quizzes. I have added a few that I made on my board but most of them are pretty poor.

What would be good is for the possibility of having a quiz sharing system. Possibly a new thread here at BoardMod where quiz users upload their quiz master pieces.

Now I don't know what would be required regarding permissions etc but this could also be a mod the mod opportunity. Assuming I was allowed to do this within the rules, I would even have a crack at it if no experienced mod writers took up the challenge.

I guess the purpose of the mod would be to give the board owner a plug-in to the quiz mod that would be able to import the *.quiz files and process them to be usable on their own forums.

I haven't thought this one through properly but did think that I would at least suggest it to see what kind of reaction the suggestion would get?

Go easy, I'm delicate...   Roll Eyes
  
Back to top
 
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Quiz Mod 2.3 beta 0.1
Reply #21 - Dec 13th, 2008 at 9:30pm
Print Post  
BTW:

We have a Board for Foreigners in Germany where they can get Informations about German Foreigners Law (info 4 alien). When a Foreigner want to get German Citizen, he has two answer 17 Question about Living in Germany. 17 Questions from 33. This 33 Questions comes from a Pool of 330 Questions.
And that is our Idea: We make a Quiz with this 330 Questions Wink

Second BTW: Thank you for this Mod, batchman!
  
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 Mod 2.3 beta 0.1
Reply #22 - Dec 13th, 2008 at 10:39pm
Print Post  
Most of the thanks go to others over the years, I just did a little tweaking to keep it working on the current system. And even with that, I had help from Jet Li, due to the new tab format on the latest templates.

I don't think any mod would actually be needed to share quizzes, just uploading the quiz file would work, I'd think. The question is, does anybody do generic quizzes?

My main board has a good 30 or 40 quizzes, but they are all about books by the author who the main forum is about. I would be willing to share a couple of the quizzes from my science fiction board, but while more mainstream than the other (two quizzes on a couple of the Harry Potter books that I would be willing to share, since I wrote them), I don't have anything more general than that.

But as a test to see if they can be passed on that easily, I will zip up one of the quizzes and upload it here, so others can see if they can just drop it in to their own boards and have it work. Edit to this post coming hortly.
  

Harry_Potter_and_the_Sorc.zip ( 1 KB | Downloads )

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Quiz Mod 2.3 beta 0.1
Reply #23 - Dec 13th, 2008 at 10:45pm
Print Post  
Thanks goes to all, that work on this Mod in Past and Present, sure!

One Question:

We want to create our Quiz in a Testboard. When we want to transfer it to real Board, is it enough to copy the file nameofquiz.quiz in Variables-Folder?
  
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 Mod 2.3 beta 0.1
Reply #24 - Dec 13th, 2008 at 10:48pm
Print Post  
I think so ... that's all I had to do to move my quizzes from old forums to the new forums.

I never thought to test it (someone else can try with the quiz I uploaded), but I figure if you don't include a scores file, that it will just create new ones, which is what you would want if you were moving it to a new forum.

Mick, try the quiz I uploaded, stick it in your Variables folder (ASCII upload, of course), and then go on and manualy release it on your board, and see what happens. The absolute worst that should happen is the quiz won't work ... shouldn't do any sort of other harm.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Quiz Mod 2.3 beta 0.1
Reply #25 - Dec 13th, 2008 at 11:13pm
Print Post  
batchman wrote on Dec 13th, 2008 at 10:48pm:
and see what happens.


Everything is ok. Runs! Thx again.
  
Back to top
WWW  
IP Logged
 
ccarr
Ex Member


Re: Quiz Mod 2.3 beta 0.1
Reply #26 - Dec 14th, 2008 at 4:47am
Print Post  
Now we are talking.  8)

Thanks for sharing your quiz batchman.

Because the quiz file has admin on the third line when I load the file it is associated with my login name of ccarr which makes me the author of the quiz.

To change this I modified lines three and four from this:



Harry Potter and the Sorcerer's Stone (Book)
blank.gif
admin
Jon


to this:

Harry Potter and the Sorcerer's Stone (Book)
blank.gif
Batchman
<a href="http://gordonkorman.com/">Batchman</a>




So now I am not the author and owner which means I can now take the quiz and the author gets the recognition along with some free advertising to his website site.  Wink

@Mick
For me. I had the quiz mod in v2.1 and then when I upgraded to v2.2 I copied all the *.quiz & *.quizresult files from the Variables folder. At that time I couldn't get the quiz mod to work in v2.2

When Batchman updated the mod for v2.3 I tried to edit his mod for my v2.2 forum and this time it worked and all the *.quizresult files show up correctly.

Ironically, I know almost nothing about Harry Potter so I'm scared to take the quiz in case I look like a numpty  Grin Update: I scored 3 of 15 (20 %)  Angry

For what it's worth, I have attached 12 (Zip File) of my own quizzes. They are maybe not that great but available if anyone wants them. They are not tested in v2.3 but I believe that they should work OK.
« Last Edit: Dec 14th, 2008 at 5:49am by »  

ccarr_quizzes.zip ( 12 KB | Downloads )
Back to top
 
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Quiz Mod 2.3 beta 0.1
Reply #27 - Dec 14th, 2008 at 8:03am
Print Post  
As we start sharing quizzes and spreading them more widely, you know what would be nice?

The ability to list quizzes in different categories.

So I could have the main section of quizzes based on the author my board is based on, but also a section of more general quizzes.

Too bad I can't program.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Quiz Mod 2.3 beta 0.1
Reply #28 - Dec 22nd, 2008 at 12:09am
Print Post  
Hi,

the Standard is, that the quizzes are sorted bye
Date?
How can I change the Standard to sort bye name?

Thanks for Input.

Greetings
Mick
  
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 Mod 2.3 beta 0.1
Reply #29 - Dec 22nd, 2008 at 8:44pm
Print Post  
Mick, I am confused. On my forums, it does sort by name ... and I didn't tweak anything from the released version.

Try changing the TabMenu.pl changes from this:

Code
Select All
# Quiz Mod Start
$tab{'quiz'} = qq~<span |><a href="$scripturl?action=quiz" title = "$quiztxt{'4'}" style="padding: 3px 0 4px 0;">$tabfill$quiztxt{'4'}$tabfill</a></span>~;
# Quiz Mod Start 



to this:

Code
Select All
# Quiz Mod Start
$tab{'quiz'} = qq~<span |><a href="$scripturl?action=quiz;sort=name" title = "$quiztxt{'4'}" style="padding: 3px 0 4px 0;">$tabfill$quiztxt{'4'}$tabfill</a></span>~;
# Quiz Mod Start 


  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


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