[ALPHA] Ultimate Quiz MOD v2.1.2

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Anti-Spam Guide
Locked
saharanss
Registered User
Posts: 16
Joined: Wed Aug 31, 2011 9:55 am

Re: [ALPHA] Ultimate Quiz MOD v2.1.1

Post by saharanss » Thu Dec 08, 2011 12:15 am

I have installed this mod. I see the error of language. First, Submit quiz
Image
But as a confirmation test error occurred.

Image
I have to revise the
value of utf8 phpmyadmin. Still
failed.
Sorry, i use google translate

hywel
Registered User
Posts: 51
Joined: Mon Jul 12, 2010 12:53 pm

Re: [ALPHA] Ultimate Quiz MOD v2.1.1

Post by hywel » Thu Dec 08, 2011 6:06 am

Hi saharanss, here's how to allow utf8 in Ultimate Quiz MOD (according to #1, #2, #3 - it is working to me):

includes/acp/acp_quiz.php

Code: Select all

---FIND---
               // Now do the actual update, fix up the category name first.
               $category = utf8_normalize_nfc( $db->sql_escape(request_var('category_name', '')) );

---REPLACE WITH---
               // Now do the actual update, fix up the category name first.
               $category = $db->sql_escape( utf8_normalize_nfc(request_var('category_name', '', true)) );

---FIND---
               if( !check_form_key('uqm_category') )
               {
                  trigger_error($user->lang['ACP_UQM_QUIZ_FORM_INVALID'] . adm_back_link(append_sid("{$phpbb_admin_path}index.$phpEx?i=quiz&t=add_category")));
               }

               $category = utf8_normalize_nfc( $db->sql_escape(request_var('category_name', '')) );

---REPLACE WITH---
               if( !check_form_key('uqm_category') )
               {
                  trigger_error($user->lang['ACP_UQM_QUIZ_FORM_INVALID'] . adm_back_link(append_sid("{$phpbb_admin_path}index.$phpEx?i=quiz&t=add_category")));
               }

               $category = $db->sql_escape( utf8_normalize_nfc(request_var('category_name', '', true)) );
quiz.php

Code: Select all

---FIND---
         $check_correct   = $quiz_configuration->check_correct_checked($current_questions); // see if the user has left any empty
         $quiz_name   = request_var('quiz_name', '');   

---REPLACE WITH---
         $check_correct   = $quiz_configuration->check_correct_checked($current_questions); // see if the user has left any empty
         $quiz_name   = request_var('quiz_name', '', true);   

---FIND---
      $quiz_name = request_var('quiz_name', $quiz_information['quiz_name']);

---REPLACE WITH---
      $quiz_name = request_var('quiz_name', $quiz_information['quiz_name'], true);

---FIND---
         $question_name   = request_var('question_name_' . $i, '');
         $answer      = request_var('user_answer_' . $i . '_' . $answer_count, '');
         $correct_answer   = request_var('user_answer_' . $i . '_' . request_var('answer_' . $i, -1, true), '');

---REPLACE WITH---
         $question_name   = request_var('question_name_' . $i, '', true);
         $answer      = request_var('user_answer_' . $i . '_' . $answer_count, '', true);
         $correct_answer   = request_var('user_answer_' . $i . '_' . request_var('answer_' . $i, -1, true), '', true);
includes/quiz/quiz_question.php

Code: Select all

---FIND---
      for($i = 0; $i < request_var('question_number', 0); $i++)
      {
         $question_name   = request_var('question_name_' . $i, '');
         $answers_name   = request_var('answers_' . $i, '');
         $multiples    = explode("\n", $answers_name);
         $correct   = request_var('answer_' . $i, '');

---REPLACE WITH---
      for($i = 0; $i < request_var('question_number', 0); $i++)
      {
         $question_name   = request_var('question_name_' . $i, '', true);
         $answers_name   = request_var('answers_' . $i, '', true);
         $multiples    = explode("\n", $answers_name);
         $correct   = request_var('answer_' . $i, '', true);
SQL queries

Code: Select all

ALTER TABLE `phpbb_quiz` DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
ALTER TABLE `phpbb_quiz_categories` DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
ALTER TABLE `phpbb_quiz_questions` DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
ALTER TABLE `phpbb_quiz_statistics` DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
Cheers

saharanss
Registered User
Posts: 16
Joined: Wed Aug 31, 2011 9:55 am

Re: [ALPHA] Ultimate Quiz MOD v2.1.1

Post by saharanss » Thu Dec 08, 2011 11:35 am

Thank hywel. Why is this not included in the zip for this mod?

wolfman24
Registered User
Posts: 387
Joined: Tue Mar 07, 2006 12:07 pm

Re: [ALPHA] Ultimate Quiz MOD v2.1.1

Post by wolfman24 » Thu Dec 08, 2011 12:01 pm

Because it is an alpha version.

n123
Registered User
Posts: 3
Joined: Thu Jul 16, 2009 1:16 pm

Re: [ALPHA] Ultimate Quiz MOD v2.1.1

Post by n123 » Sun Dec 11, 2011 2:46 pm

hi

i am intresting to use the ultimate quiz mod in my forum

is able to sent me a link to download it?

User avatar
edbo1
Registered User
Posts: 105
Joined: Fri Jul 23, 2010 2:41 am

Re: [ALPHA] Ultimate Quiz MOD v2.1.1

Post by edbo1 » Sun Jan 22, 2012 5:50 pm

Thanks for allowing me to test out your MOD.

This MOD has some serious potential but as you know, it needs some work.

1. Groups permissions (who can post new quizzes, who can answer quizzes etc).

2. When you are only allowed xxx quizzes per post and xxx answers per quiz, it should state so some place when a person is making a quiz (unless I missed that).

I'd really like to see the permissions per group but as it stands now, the MOD as I said looks very good and I personally appreciate your workmanship.

Ed
Ed

rchudy
Registered User
Posts: 1
Joined: Sat Mar 10, 2012 7:42 pm

Re: [ALPHA] Ultimate Quiz MOD v2.1.1

Post by rchudy » Sat Mar 10, 2012 7:45 pm

Hello
could i get the link to this mod please?
Thank you

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [ALPHA] Ultimate Quiz MOD v2.1.1

Post by Jessica » Sat Mar 10, 2012 11:33 pm

is this still being developed? I'd like to see more features
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [ALPHA] Ultimate Quiz MOD v2.1.1

Post by Jessica » Sat Apr 14, 2012 10:16 pm

any updates on this???
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

User avatar
edbo1
Registered User
Posts: 105
Joined: Fri Jul 23, 2010 2:41 am

Re: [ALPHA] Ultimate Quiz MOD v2.1.1

Post by edbo1 » Sat Apr 14, 2012 10:24 pm

November 10, 2011 is last post from the author. Over 5 months. Is this MOD ABD?
Ed

Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 25488
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [ALPHA] Ultimate Quiz MOD v2.1.1

Post by Paul » Tue Apr 24, 2012 9:36 am

This topic has been marked as [ABD] - Abandoned as the mod author has not been active recently. If the MOD author wishes to continue development, please PM anyone on the MOD Team to request this topic be unlocked.

Notice!
We do not recommend that a user of the phpBB software install this mod, or any other mod that is marked as “abandoned” or “in development”, on a live forum. Doing so may cause your forum to not perform in the manner it should.


Thank you,
The phpBB Modifications Team
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

User avatar
battye
Extension Customisations
Extension Customisations
Posts: 10940
Joined: Wed Feb 11, 2004 11:02 am
Location: Australia
Contact:

Re: [DEV] Ultimate Quiz MOD v2.1.2

Post by battye » Sat Oct 27, 2012 4:17 pm

I am restarting development of the Ultimate Quiz MOD with Dugi! We are currently co-authoring v2.1.2 which will contain several new features. We will be continuing the v2.1.x line so that anyone currently using v2.1.0 or v2.1.1 will be able to easily upgrade.

Here is a message from Dugi outlining the plans for the new version:
Dugi wrote:I'm happy to announce that battye has decided to continue the development of the Ultimate Quiz MOD. The only new thing is that I'm helping battye with this MOD's development now.

This MOD continues the series of the previous versions, so the next version will be 2.1.2.

This topic shows how me and battye are progressing with the MOD and we will list all future features here.
  • Version 2.1.2
    1. Quiz timer (countdown) - Adds a countdown timer to a quiz. - battye - 0%
    2. UMIL installer - Dugi - 0%
    3. BBCode support for quizzes - Dugi - 0%
    4. User Interface fixes and additions (includes new icons) - Dugi - 0%
    5. Group permissions - When creating categories, select which groups should see quizzes from that category. - Dugi - 0%
    6. Group rewards - User will become part of group X if he answered X% of the questions correctly (this is category based) - battye - 0%
If anyone has any suggestions for a future release, please do post them so we can take them into consideration!

Thank you
Customisations Team Member

https://github.com/battye/php-array-parser - Give it a Star! :D

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [DEV] Ultimate Quiz MOD v2.1.2

Post by Jessica » Sat Oct 27, 2012 4:24 pm

Glad you're developing this again!!

Suggestion:
  • add more question types -- true/false, fill in the blank etc
  • List on profiles/posts how many quizzes you've taken and/or gotten a perfect?
  • Allow users to submit quizzes, and have the option of approving/denying it
Last edited by Jessica on Sat Oct 27, 2012 7:01 pm, edited 1 time in total.
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

User avatar
mladiucitelj
Registered User
Posts: 586
Joined: Sun Dec 12, 2010 12:33 am
Location: Slovenia, Europe

Re: [DEV] Ultimate Quiz MOD v2.1.2

Post by mladiucitelj » Sat Oct 27, 2012 6:36 pm

Yeah! Great to hear that! Keep on...
Don't forget to clear cache, refresh template, theme and imageset, double check all files :)

My mod: [MODDB] Menu System

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [DEV] Ultimate Quiz MOD v2.1.2

Post by Jessica » Sat Oct 27, 2012 8:15 pm

Jessica wrote:Glad you're developing this again!!

Suggestion:
  • add more question types -- true/false, fill in the blank etc
  • List on profiles/posts how many quizzes you've taken and/or gotten a perfect?
  • Allow users to submit quizzes, and have the option of approving/denying it
More:

playing limit? (ex. you can only play a quiz one time)
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

Locked

Return to “[3.0.x] MODs in Development”