[ALPHA] Ultimate Quiz MOD v2.1.2 Progress

All web design discussion, including Ultimate Quiz MOD support.

Moderator: CricketMX Forum Moderators

Re: [BETA 4] Ultimate Quiz MOD v2.0.0 Progress

Postby battye » Wed Oct 27, 2010 4:33 pm

Cable is back online now, I'll try and answer both of these posts tomorrow. Thanks for your patience :)
CricketMX.com.. home of bat's, rat's and other farmyard animals...
My articles: view all articles by battye

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
User avatar
battye
Site Admin
Site Admin
 
Posts: 14273
Joined: Sun Jan 11, 2004 8:26 am
Location: Victoria Falls, Zimbabwe

Re: [BETA 4] Ultimate Quiz MOD v2.0.0 Progress

Postby battye » Thu Oct 28, 2010 1:56 pm

joschka wrote:many Thanks battye!! :D that was ist!

have you a any idea for this one?? :roll:
You want to show all results as numerics instead of percentage, yes? I can't help with this. Battye (UQM MOD developer) may be able to assist with this.

at least one value so that a winner can be determined


have a nice day


joschka, I guess you mean total correct answers? If so for both lines instead of:
Code: Select all
'PERCENTAGE'                => (($row['quiz_incorrect']+$row['quiz_correct'])<1) ? 0 : number_format((100*$row['sum_correct'])/($row['sum_incorrect']+$row['sum_correct']), 0) . '%',


Put:
Code: Select all
'PERCENTAGE'                => $row['quiz_correct'],


:)

arsalan, what do you mean by prediction MOD? Yes it can be used like that now to a certain degree, but it depends on what exactly you need. Can you elaborate? Thanks :)
CricketMX.com.. home of bat's, rat's and other farmyard animals...
My articles: view all articles by battye

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
User avatar
battye
Site Admin
Site Admin
 
Posts: 14273
Joined: Sun Jan 11, 2004 8:26 am
Location: Victoria Falls, Zimbabwe

Re: [BETA 4] Ultimate Quiz MOD v2.0.0 Progress

Postby arsalan » Fri Oct 29, 2010 1:41 am

Currently you have to submit answer when you submit question.

I want to ask can we change or edit answer after submission of question?
arsalan
Greenhorn
Greenhorn
 
Posts: 4
Joined: Sat Jul 24, 2010 6:13 am

Re: [BETA 4] Ultimate Quiz MOD v2.0.0 Progress

Postby IronDogg » Thu Nov 11, 2010 1:01 pm

Hi battye,

I was just curious how development of this mod is coming along, and when the next release might be made available? :)
IronDogg
Greenhorn
Greenhorn
 
Posts: 1
Joined: Thu Dec 24, 2009 2:27 pm

Re: [BETA 4] Ultimate Quiz MOD v2.0.0 Progress

Postby battye » Tue Nov 16, 2010 6:38 am

arsalan: yes you are able to edit questions and answers after they are submitted in the Quiz CP (if I recall!) :)

IronDogg, the last 6 months have been very busy in real life! It's just a case of getting back to UQM whenever some time presents itself! I do have quite a few ideas, including some mentioned by members of the community, which I am keen to implement :)
CricketMX.com.. home of bat's, rat's and other farmyard animals...
My articles: view all articles by battye

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
User avatar
battye
Site Admin
Site Admin
 
Posts: 14273
Joined: Sun Jan 11, 2004 8:26 am
Location: Victoria Falls, Zimbabwe

Re: [BETA 4] Ultimate Quiz MOD v2.0.0 Progress

Postby sotis » Tue Dec 21, 2010 3:19 pm

pcmander wrote:when i complete a quiz as a user, it shows this:
This quiz was neither saved nor submitted


This happened with foreign language characters . The problem I found was in quiz.php
Code: Select all
      $save_type = request_var('submit', '');


I changed it a little bit and it works now
Code: Select all
      $save_type = utf8_normalize_nfc(request_var('submit', '', true));


There was one more problem with input questions and I changed one more line:
Code: Select all
            $given_user_input = request_var('question' . $give_question_id, ''); // raw input

to
Code: Select all
            $given_user_input = utf8_normalize_nfc(request_var('question' . $give_question_id, '', true)); // raw input
sotis
Greenhorn
Greenhorn
 
Posts: 6
Joined: Thu Apr 16, 2009 1:21 pm

Re: [BETA 4] Ultimate Quiz MOD v2.0.0 Progress

Postby battye » Sun Feb 06, 2011 3:18 pm

Recently when I've found a bit of time I've worked away at rewriting UQM. The previous version was getting too large and unwieldy from a code perspective, so I'm trying to use a bit more object orientation this time around. I've got it all set up on another computer at the moment so these are the only screenshots I've got handy:
uqm_submit.png
uqm_index.png

I'll post some more up soon with a bit more information about the new version :)
CricketMX.com.. home of bat's, rat's and other farmyard animals...
My articles: view all articles by battye

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
User avatar
battye
Site Admin
Site Admin
 
Posts: 14273
Joined: Sun Jan 11, 2004 8:26 am
Location: Victoria Falls, Zimbabwe

Re: [BETA 4] Ultimate Quiz MOD v2.0.0 Progress

Postby quahappy » Tue Feb 08, 2011 8:16 am

Give us Beta Testers a nudge if and when you require our assistance battye. :)
If you don't ask...
User avatar
quahappy
Happy, not Quappy
Happy, not Quappy
 
Posts: 2266
Joined: Fri Oct 10, 2008 8:56 pm
Location: South Yorkshire, UK

Re: [BETA 4] Ultimate Quiz MOD v2.0.0 Progress

Postby battye » Thu Feb 10, 2011 12:33 pm

Will do quahappy, thank you. Things are progressing quite nicely so I expect that I will be looking for help testing quite soon :)

Here are a few more screenshots:
uqm_stats_screen.jpg
Statistics screen (more modules to be added still)

uqm_play2.jpg
Results screen

uqm_play1.jpg
Playing a quiz
CricketMX.com.. home of bat's, rat's and other farmyard animals...
My articles: view all articles by battye

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
User avatar
battye
Site Admin
Site Admin
 
Posts: 14273
Joined: Sun Jan 11, 2004 8:26 am
Location: Victoria Falls, Zimbabwe

Re: [BETA 4] Ultimate Quiz MOD v2.0.0 Progress

Postby quahappy » Thu Feb 10, 2011 2:23 pm

Looking well good battye! Especially like the added text colours and boldness of questions. :D
If you don't ask...
User avatar
quahappy
Happy, not Quappy
Happy, not Quappy
 
Posts: 2266
Joined: Fri Oct 10, 2008 8:56 pm
Location: South Yorkshire, UK

Re: [BETA 4] Ultimate Quiz MOD v2.0.0 Progress

Postby battye » Fri Feb 11, 2011 6:02 pm

Thanks quahappy, here is the latest screenshot. I spent quite a bit of time today finishing up the statistics modules. I know in the past "surveys" were a big feature request so I have included them on the stats page:

uqm_stats3.png


I realise you could ascertain the correct answers from looking at that page, so I have added a restriction that only administrators, the quiz author or anyone that has played the quiz can see the page. And in case anyone still thinks that is not restricted enough, it is pretty easy to disable any of the statistics modules :)
CricketMX.com.. home of bat's, rat's and other farmyard animals...
My articles: view all articles by battye

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
User avatar
battye
Site Admin
Site Admin
 
Posts: 14273
Joined: Sun Jan 11, 2004 8:26 am
Location: Victoria Falls, Zimbabwe

Re: [ALPHA 1] Ultimate Quiz MOD v2.1.0 Progress

Postby plasmino » Sun Feb 13, 2011 9:55 am

ok have install ALPHA 1

error debug in quiz page ^_^

[phpBB Debug] PHP Notice: in file /quiz.php on line 515: Undefined variable: auth_params
plasmino
Greenhorn
Greenhorn
 
Posts: 18
Joined: Sun Jan 17, 2010 3:35 pm
Location: Italia, Milano

Re: [ALPHA 1] Ultimate Quiz MOD v2.1.0 Progress

Postby battye » Sun Feb 13, 2011 10:14 am

That's strange, I have debug mode on as well but I didn't get that error. Hopefully there are not any other undefined variables that went by unnoticed :?

Having said that I can see why the error is occurring. $auth_params is declared and initialised inside the while loop :)

Open quiz.php and FIND

Code: Select all
      $template->assign_vars( array(
         'L_STATS_UPPER'         => strtoupper($user->lang['UQM_STATS_QUIZ']),
         'L_SUBMIT_UPPER'      => strtoupper($user->lang['UQM_SUBMIT_QUIZ']),

         'U_UQM_SUBMIT'         => ($quiz_configuration->auth('submit', $auth_params)) ? append_sid("{$phpbb_root_path}quiz.$phpEx", 'mode=submit') : '',


In the third line, see $auth_params - replace that with $submit_auth_params

Before the $template->assign_vars line, put this code:

Code: Select all
      $submit_auth_params = array(
         'administrator' => $auth->acl_get('a_'),
         'submit_setting' => $quiz_configuration->value('qc_admin_submit_only'),
         'return_value' => true,
      );
CricketMX.com.. home of bat's, rat's and other farmyard animals...
My articles: view all articles by battye

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
User avatar
battye
Site Admin
Site Admin
 
Posts: 14273
Joined: Sun Jan 11, 2004 8:26 am
Location: Victoria Falls, Zimbabwe

Re: [ALPHA 1] Ultimate Quiz MOD v2.1.0 Progress

Postby plasmino » Sun Feb 13, 2011 10:21 am

perfect fix :-)
plasmino
Greenhorn
Greenhorn
 
Posts: 18
Joined: Sun Jan 17, 2010 3:35 pm
Location: Italia, Milano

Re: [ALPHA 1] Ultimate Quiz MOD v2.1.0 Progress

Postby battye » Sun Feb 13, 2011 10:36 am

Fantastic :)

Have you seen any other debug errors yet? I am hoping that the $auth_params error was the only one :)
CricketMX.com.. home of bat's, rat's and other farmyard animals...
My articles: view all articles by battye

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
User avatar
battye
Site Admin
Site Admin
 
Posts: 14273
Joined: Sun Jan 11, 2004 8:26 am
Location: Victoria Falls, Zimbabwe

PreviousNext

Return to Web Design

Who is online

Users browsing this forum: No registered users and 1 guest

cron