Advertisement:

Author Topic: SMF Quiz  (Read 368819 times)

Offline davejo

  • Jr. Member
  • **
  • Posts: 283
    • Dave's Hobby Workshop
Re: SMF Quiz
« Reply #540 on: April 21, 2012, 03:28:51 PM »
Ok for those who are getting started below is a pack of 10 quizzes I have just exported.

Just go into the quiz admin and click on 'Quiz_Importer' and browse to the location of the downloaded '10 Pack.xml'

If you follow all the instructions it should be OK.

If you install these and they work OK, you should be able to create and play your own.

Just remember that if you are the admin it will not count your scores. What you might want to do is create a user named 'Quizmaster' or similar and use that ID for the quiz. You'll find that in 'Settings' 'Import Quizzes as User ID'.
To see the quizzes and try them sign up here Quiz Site


For the quiz questions go here  Quiz Questions

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: SMF Quiz
« Reply #541 on: April 21, 2012, 03:41:50 PM »
Thanks davejo!

I added a link to your post in the mod page! :)


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline novill

  • Jr. Member
  • **
  • Posts: 174
  • Gender: Male
    • Hungarian electrician forum
Re: SMF Quiz
« Reply #542 on: April 21, 2012, 03:46:12 PM »
I have downloaded davejo quizzes, and his quizzes are working very well.
I will check what a mistake i have made.
Thanks everyone.

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: SMF Quiz
« Reply #543 on: April 21, 2012, 03:50:24 PM »
Did you by chance used quotes or double quotes in the question or answers?

I have the feeling some of these chars could create problems...


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline novill

  • Jr. Member
  • **
  • Posts: 174
  • Gender: Male
    • Hungarian electrician forum
Re: SMF Quiz
« Reply #544 on: April 21, 2012, 04:18:25 PM »
I have the feeling some of these chars could create problems...

Maybe is this the problem, i have used my own language characters (hungarian). Without hungarian characters works perfect.

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: SMF Quiz
« Reply #545 on: April 21, 2012, 04:23:57 PM »
Here it is...and now I guess you are volunteering to help understand why is not working, right? :laugh:

I'm very interested in making it work in languages different than English, there is still something to do though. ;)
If you can do few tests I'd be very happy!


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline novill

  • Jr. Member
  • **
  • Posts: 174
  • Gender: Male
    • Hungarian electrician forum
Re: SMF Quiz
« Reply #546 on: April 21, 2012, 04:34:32 PM »
What tests should I do? :D

TheListener

  • Guest
Re: SMF Quiz
« Reply #547 on: April 21, 2012, 04:44:30 PM »
A stick of dynamite goes a long way.

 ;D

Offline Ozzie

  • Full Member
  • ***
  • Posts: 411
  • Gender: Male
    • ozzie's place
Re: SMF Quiz
« Reply #548 on: April 21, 2012, 05:08:02 PM »
hey Emanuel things are looking good, and I appreciate how much time and effort you put into getting this mod to work, my question is, will you be adding a upgrade option for those of us like myself who currently have a working version with over 300 quizzes. it appears when you  install this version, which I have just tried on a test site does not upgrade the old one. It just installs this version and I don't really want to lose all my install quizzes. ? ?

2000+ games available to download

TheListener

  • Guest
Re: SMF Quiz
« Reply #549 on: April 21, 2012, 05:24:41 PM »
Hmm

Odd times are ahead. On my test forum the menu bar says Quiz. On the main forum SMF Quiz.

How do I get rid of the SMF?

Scratch that. It seemed to change from SMF Quiz to Quiz on its own.

 ???
« Last Edit: April 21, 2012, 05:38:21 PM by Old Fossil »

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: SMF Quiz
« Reply #550 on: April 21, 2012, 05:40:19 PM »
Quizzes are saved into the database and the mod doesn't delete any database data on uninstall (if you want you have to do it manually), so you should not lose anything (make you can always make a backup just in case ;)).
Additionally the install already takes care of updating the database if needed from version to version, so you should not have problems. ;)

BTW I uploaded another version of the package restoring the behaviour of not delete the quiz_images while uninstall (I removed it a while ago...honestly I don't know why... ::))

On my test forum the menu bar says Quiz. On the main forum SMF Quiz.
That's curious...I see Quiz when on the forum and SMF Quiz when in the admin area.
If this is the problem then you can change:
Code: [Select]
$txt['SMFQuiz'] = 'SMF Quiz';in SMFQuizAdmin.english.php.


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

TheListener

  • Guest
Re: SMF Quiz
« Reply #551 on: April 21, 2012, 05:41:34 PM »
Quote
Scratch that. It seemed to change from SMF Quiz to Quiz on its own.

Offline novill

  • Jr. Member
  • **
  • Posts: 174
  • Gender: Male
    • Hungarian electrician forum
Re: SMF Quiz
« Reply #552 on: April 21, 2012, 05:41:55 PM »
@Old Fossil

SMFQuizAdmin.english.php

line 11 $txt['SMFQuiz'] = 'SMF Quiz';


@emanuele

I attached :)

TheListener

  • Guest
Re: SMF Quiz
« Reply #553 on: April 21, 2012, 05:43:32 PM »
er read me last post boys.

 :-X

Offline Saahilk2000

  • Semi-Newbie
  • *
  • Posts: 58
Re: SMF Quiz
« Reply #554 on: April 22, 2012, 12:01:06 AM »
Is there a way to make the quiz reslut available to everyone?

Offline davejo

  • Jr. Member
  • **
  • Posts: 283
    • Dave's Hobby Workshop
Re: SMF Quiz
« Reply #555 on: April 22, 2012, 01:39:46 AM »
Is there a way to make the quiz reslut available to everyone?

This info is available in the 'Information Board' which is at the bottom of the 'Home' page for the quiz. It is set at 20 by default, if you want to change this the go to Admin/Forum/Quiz/Settings look for 'InfoBoard Items to Display' and change to whatever you want. There is also a setting for 'Show User Ratings' ensure this is ticked.

NOTE: Some or all of this info will be removed if you use the 'Maintenance' option to 'Clean Information Board Over'
To see the quizzes and try them sign up here Quiz Site


For the quiz questions go here  Quiz Questions

Offline FrizzleFried

  • Drama-Monger
  • Sr. Member
  • ****
  • Posts: 754
Re: SMF Quiz
« Reply #556 on: April 22, 2012, 02:24:38 AM »
A Quiz "Leaderboard" block for SimplePortal/TinyPortal would be quite kickass... (hint/hint)...

...and is anyone thinking of putting together a quiz depository? 

Offline GlitchPC

  • Full Member
  • ***
  • Posts: 429
  • Gender: Male
  • Gotta glitch?
    • Glitch PC - Free Computer Help
Re: SMF Quiz
« Reply #557 on: April 22, 2012, 02:35:16 AM »
I'm still using the older version of this mod...and not the new one...yet.

Question, though...regarding disputes.

If a user disputes an incorrect answer...and is, apparently, correct...how does one modify their quiz results to reflect the change?  In other words...a user got one wrong that should have been marked correct.  How do I fix their quiz results to reflect it?

Offline davejo

  • Jr. Member
  • **
  • Posts: 283
    • Dave's Hobby Workshop
Re: SMF Quiz
« Reply #558 on: April 22, 2012, 02:57:30 AM »
A Quiz "Leaderboard" block for SimplePortal/TinyPortal would be quite kickass... (hint/hint)...

At present the only block I know of, which I'm using on my site, which is 'Newest Quizzes' is as attached. Create a custom php block and insert the text into it.

...and is anyone thinking of putting together a quiz depository?

This has been mentioned but as yet the final details have not been ironed out. Watch this space....
To see the quizzes and try them sign up here Quiz Site


For the quiz questions go here  Quiz Questions

Offline davejo

  • Jr. Member
  • **
  • Posts: 283
    • Dave's Hobby Workshop
Re: SMF Quiz
« Reply #559 on: April 22, 2012, 03:28:54 AM »
I'm still using the older version of this mod...and not the new one...yet.

Question, though...regarding disputes.

If a user disputes an incorrect answer...and is, apparently, correct...how does one modify their quiz results to reflect the change?  In other words...a user got one wrong that should have been marked correct.  How do I fix their quiz results to reflect it?

At the moment the only way I know to do this is by editing the database table 'smf_quiz_result'

Look at the image below.

You would need to look at the 'quiz id' number and the 'user id' and then find that info in the table. Once you have done that use the 'Inline Edit' option and change the numbers in the 'correct' and 'incorrect' columns and the click on 'save'. This will then give the correct results.

To find out the 'quiz id' hover the mouse over a quiz title and it will show you.

See below
To see the quizzes and try them sign up here Quiz Site


For the quiz questions go here  Quiz Questions