Advertisement:

Author Topic: SMF Quiz  (Read 240807 times)

Online Kindred

  • The Mean One
  • Project Manager
  • SMF Master
  • *
  • Posts: 41,100
  • Gender: Male
    • wagner999 on Facebook
    • Kindred-999 on GitHub
    • www.linkedin.com/in/wdwagner/ on LinkedIn
    • @Kindred_999 on Twitter
Re: SMF Quiz
« Reply #600 on: April 29, 2012, 10:46:08 PM »
That has actually always been an issue, even with the original mod. I had to modify many questions to reduce the question length.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support forums.  Thank you.

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,161
  • Gender: Male
  • THERE'S JUST ME
Re: SMF Quiz
« Reply #601 on: April 30, 2012, 05:51:53 AM »
The question_text field (in the db) is limited to 255 characters. That would most likely be the reason.
In fact there isn't any warning that the filed is limited.

Is it too short?


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 CircleDock

  • Semi-Newbie
  • *
  • Posts: 96
Re: SMF Quiz
« Reply #602 on: May 01, 2012, 02:04:17 AM »
The question_text field (in the db) is limited to 255 characters. That would most likely be the reason.
In fact there isn't any warning that the filed is limited.

Is it too short?
I agree that it is too short

Offline FrizzleFried

  • Drama-Monger
  • Sr. Member
  • ****
  • Posts: 724
Re: SMF Quiz
« Reply #603 on: May 01, 2012, 07:14:22 AM »
I too have come across many quizzes with cut off questions.  255 is too short.  512 probably should be the minimum.

Offline novill

  • Jr. Member
  • **
  • Posts: 174
  • Gender: Male
    • Hungarian electrician forum
Re: SMF Quiz
« Reply #604 on: May 01, 2012, 07:41:31 AM »
I think 512 - 1024 characters is a good choice for the questions length.
@ Emanuele with the display the special characters is any process?

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,161
  • Gender: Male
  • THERE'S JUST ME
Re: SMF Quiz
« Reply #605 on: May 01, 2012, 04:55:10 PM »
Ok, tracked (at the moment I'm pretty busy with SMF and other mods, can't do more...).

@ Emanuele with the display the special characters is any process?
At the moment no, for this 1.1 I just fixed the most important (and easy :P) things.
This is in the to-do list for the next version along with few other localization-related issues.


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 emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,161
  • Gender: Male
  • THERE'S JUST ME
Re: SMF Quiz
« Reply #606 on: May 04, 2012, 04:40:39 PM »
Okay, here we are.

davejo kindly provided a package with all the quizzes he already provided in the past this time in the new xml format (so that you can easily import them in your forum) and subdivided in 28 packages.

Please note that neither me nor davejo wrote these quizzes, they where originally uploaded to the website smfmodding.
They can contain errors, if you find any feel free to post here the updated quiz or the correct answer.

Please find here the packages:
https://bitbucket.org/emanuele_smf_projects/smf-quiz/wiki/Home

The files are zipped, you have to decompress them, otherwise the mod wont be able to read the file! ;)

If you want to provide a pack of quizzes or even a single quiz, feel free to attach it to a post here or to a new issue at bitbucket, in both cases I'll take care of uploading it to the wiki.

Happy quizzing! :D


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 Eclipse16V

  • Sophist Member
  • *****
  • Posts: 1,068
  • Gender: Male
  • Tornado Map
    • Eclipse16V on Facebook
    • @Eclipse16V on Twitter
    • Tornado Map
Re: SMF Quiz
« Reply #607 on: May 06, 2012, 04:02:50 AM »
Sorry that I am only now back in touch.
So I'm just not on.

New version is installed and the old removed completely.
A league I've also been created. Still, I get just no indication at the quiz and the quiz will not start.

Down here on the first picture you can see how it looks when the popup opens.
In the second picture you can see how it looks when you click on Start Quiz.

I hope it can help someone.
Is it because I use the German rather than English as the default?
The Mod Quiz I only do not even translated.
I work with:
SMF 2 in German
Tornado Map

Offline Chalky

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 3,234
  • Gender: Female
  • If in doubt, give me beer...
    • ChalkCat
Re: SMF Quiz
« Reply #608 on: May 06, 2012, 04:10:11 AM »
That's what mine did until I uninstalled Fancy Box.....

Offline novill

  • Jr. Member
  • **
  • Posts: 174
  • Gender: Male
    • Hungarian electrician forum
Re: SMF Quiz
« Reply #609 on: May 06, 2012, 04:29:17 AM »
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.

Have you special characters in your quiz? (I have the same problem, go back to the page 27)

Try to download a english language quiz.

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,161
  • Gender: Male
  • THERE'S JUST ME
Re: SMF Quiz
« Reply #610 on: May 06, 2012, 08:48:19 AM »
Sorry that I am only now back in touch.
So I'm just not on.
Would you send me the data of an account?
It doesn't need to be admin, in case if you want you can give it the permission to administrate quizzes.


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 mrselnombre

  • Jr. Member
  • **
  • Posts: 207
  • Gender: Female
  • wot?
    • Total Twaddle
Re: SMF Quiz
« Reply #611 on: May 15, 2012, 04:59:39 PM »
I upgraded to the new version, and now all quizzes hang and will not load.
I don't have fancybox installed, so what else could it be clashing with?
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Total Twaddle.

Offline crustybum

  • Jr. Member
  • **
  • Posts: 355
Re: SMF Quiz
« Reply #612 on: May 17, 2012, 08:07:32 AM »
Just uploaded, no errors until i was directed to what i thought would be the admin screen for it, instead i got a parser error, i then went back and it was installed....but no admin to install quizes etc...???

Anyone?

Offline crustybum

  • Jr. Member
  • **
  • Posts: 355
Re: SMF Quiz
« Reply #613 on: May 17, 2012, 08:26:56 AM »
Have now found the admin section..was looking in the wrong place...this is what i get when i click on it..

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/content/c/r/u//html/theforum/Sources/SMFQuizAdmin.php on line 2138

I am running PHP5

Thanks.
« Last Edit: May 17, 2012, 09:46:00 AM by crustybum »

Offline crustybum

  • Jr. Member
  • **
  • Posts: 355
Re: SMF Quiz
« Reply #614 on: May 17, 2012, 03:38:20 PM »
ok sorted that one by upgrading to 5,2, now i get the dreaded "you have already played this quiz......." although people on here have mentioned it...cant see a solution..

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,161
  • Gender: Male
  • THERE'S JUST ME
Re: SMF Quiz
« Reply #615 on: May 17, 2012, 04:28:01 PM »
Okay, quick fix: replace the SMFQuizStart.php with the one attached here.

Tested only quickly, it should fix the "You have already played this quiz over the maximum amount of times allowed" problem for quizzes.

[file removed: wrong one uploaded]
« Last Edit: May 18, 2012, 03:11:11 AM by emanuele »


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 crustybum

  • Jr. Member
  • **
  • Posts: 355
Re: SMF Quiz
« Reply #616 on: May 17, 2012, 05:03:14 PM »
Okay, quick fix: replace the SMFQuizStart.php with the one attached here.

Tested only quickly, it should fix the "You have already played this quiz over the maximum amount of times allowed" problem for quizzes.


Sorry....that didnt work either...even re installing....

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,161
  • Gender: Male
  • THERE'S JUST ME
Re: SMF Quiz
« Reply #617 on: May 17, 2012, 05:29:03 PM »
Are you sure you have set the quiz to be played more than once?


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 crustybum

  • Jr. Member
  • **
  • Posts: 355
Re: SMF Quiz
« Reply #618 on: May 17, 2012, 05:33:10 PM »
dont quite follow, i havnt been able to play at all yet...nor as anyone else.. ;D

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,161
  • Gender: Male
  • THERE'S JUST ME
Re: SMF Quiz
« Reply #619 on: May 17, 2012, 05:38:45 PM »
That's not entirely true...you are the first that has reported he is not able to start any quiz.

Just look at the last page and you will find a screenshot from Sabrinova of a working installation.

So, what is your configuration?
Would you mind  sending me the details of an account?


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.