[ALPHA] Ultimate Quiz MOD v2.1.2 Progress

All web design discussion, including Ultimate Quiz MOD support.

Moderator: CricketMX Forum Moderators

Re: Ultimate Quiz MOD v2.0.0 Progress

Postby uk_martin » Sat Mar 07, 2009 7:51 pm

I don't envy you the task of sorting BBCode out. I'm in the process of migrating my phpBB2 site over to phpBB3. The database transfer went well, and all the messages are there, but some of the custom BBCode that I had added into phpBB2 with various MODs didn't translate over, so I had to recreate Custom BBCode in phpBB3, and then edit/save every post so that the BBCode would re-parse. It also means now that I have 2 lots of BBCode in my new phpBB3 set up that replicate the same functionality (e.g. aligning images etc) What fun!

From some of the above posts, I gather that you are going to include the facility to insert media into the quiz questions. I'ms especially looking forward to that as I would like questions with a short video clip and a "what happened next" theme to them.

Looking forward to seeing how things develop.

Martin
uk_martin
Greenhorn
Greenhorn
 
Posts: 2
Joined: Fri Mar 06, 2009 8:50 am

Re: Ultimate Quiz MOD v2.0.0 Progress

Postby quahappy » Sat Mar 07, 2009 9:55 pm

Hi uk_martin and welcome to CMX!

I'll also be migrating to phpBB3 at some stage although I'm not looking forward to that job as I'm the only one technically-minded to do that at my site lol. In terms of BBCode, I have a few extras like YouTube, Align, and HTML (which only is active for me). So I'm "really" hoping the transfer will go easy but the thought of checking every single post...

The great thing with UQM this time round is that when submitting a quiz, "Step 3 of 3 - Check all is correct!" is like a preview so you'll be able to see any BBCode used in full effect, which is extremely handy!

battye - the link: quiz.php?mode=submit at present is only showing two categories and clicking on either doesn't do anything. Is the Submit a Quiz section temporarily disabled? ;)
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: Ultimate Quiz MOD v2.0.0 Progress

Postby battye » Sun Mar 08, 2009 2:32 am

To sum up the progress just made:
-> Submission page complete, should work with bbCode as well. I realised I am missing a field to give the time of the quiz submission but that can be done at any time
-> Started work on the quiz index page (quiz.php)
-> Started work on displaying the categories (ie. quiz.php?category=2)
-> Added a few new functions (to "get category name" or "find number of quizzes in a category", etc).

The quiz index/category displays shouldn't take too long, so the next phase is to do the "playing quiz" page.

----------------------------------------------

uk_martin/quahappy: I imagine that embedding Youtube videos and things like that would be fine provided that it is done through the custom bbCode feature of phpBB3. I will test that out soon, it might stretch the layout a bit but that is unavoidable. I am sure there are small Youtube players that could be embedded instead of the full sized one.

quahappy: I think I forgot to add something to the "else" statement :cry:
quiz.php <-- Main quiz page, and if you click the categories it will list the quizzes within. It's pretty primitive as I have only just started doing that bit.
quiz.php?mode=submit <-- submission link, which should be working now.

Thanks :D
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: 14275
Joined: Sun Jan 11, 2004 8:26 am
Location: Victoria Falls, Zimbabwe

Re: Ultimate Quiz MOD v2.0.0 Progress

Postby battye » Mon Mar 23, 2009 3:14 pm

I found a bit of time today, so I cleaned up the category view page. An example can be seen at:
quiz.php?category=2

Also, I added the "quiz submission date" - I must have forgotten to add it before. Obviously the dates aren't correct at the moment (24 Jun 2009 03:25 pm?!?!), I just made those up so it would say 1970 :P
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: 14275
Joined: Sun Jan 11, 2004 8:26 am
Location: Victoria Falls, Zimbabwe

Re: Ultimate Quiz MOD v2.0.0 Progress

Postby olalavui » Thu Mar 26, 2009 3:31 am

Wait rs
My phpBB3 site: http://best4teen.com (site on dev by Vietnamese popular, not sp if en and vi)
olalavui
Greenhorn
Greenhorn
 
Posts: 1
Joined: Thu Mar 26, 2009 3:25 am
Location: Vietnamese

Re: Ultimate Quiz MOD v2.0.0 Progress

Postby battye » Thu Mar 26, 2009 3:09 pm

Welcome to the forum olalavui :)
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: 14275
Joined: Sun Jan 11, 2004 8:26 am
Location: Victoria Falls, Zimbabwe

Re: Ultimate Quiz MOD v2.0.0 Progress

Postby battye » Tue Apr 14, 2009 3:58 pm

Okay - done a bit more on the play quiz page today. Example: quiz.php?mode=play&q=3
As you can see, the bbCode works well as does the overall display. At the moment, submit/save does not function but hopefully that will tomorrow (haven't written that part yet). There is a blank input box down the bottom - that is not a mistake. It will hopefully appear the "time limits/countdown" thing, I don't know why it isn't working to be honest. I tested it on a blank HTML page and it worked. It's late, so it is something I will have to look into tomorrow :)
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: 14275
Joined: Sun Jan 11, 2004 8:26 am
Location: Victoria Falls, Zimbabwe

Re: Ultimate Quiz MOD v2.0.0 Progress

Postby Lugsciath » Wed Apr 15, 2009 9:16 am

Okay,

just waiting for ;) ... happy eastern ;) !

LG

Uwe
Lugsciath
Frequent Poster
Frequent Poster
 
Posts: 34
Joined: Wed Nov 19, 2008 6:29 am

Re: Ultimate Quiz MOD v2.0.0 Progress

Postby battye » Wed Apr 15, 2009 3:44 pm

Happy Easter to you too Lugsciath :D

I have finished the "playing quiz" feature now, so it will tally your results and give you answers, etc. Please test it out and let me know what you think :D

I have yet to complete the "save quiz" feature, which will just be a simple thing so that people can stop a quiz and resume it later (it will list what your saved answers were, but won't automatically fill out the fields - maybe a later version will). I will write it so it works within the "time limits" and is an optional feature. Maybe it will be finished tomorrow? That is my aim.

Overall, once this is done I am happy to release an alpha type version that people can play with. Or I can wait until I have written an admin panel module - whatever you guys want. Then after the alpha release, I will add the refinements (the smaller features) and the editing/deleting/move category function (which will be a whole new file - quiz_cp.php like in the phpBB2 version of UQM)

Just for interest:
quiz.php - 828 lines
functions_quiz - 135 lines

File structure so far:
UQM file structure.png
UQM file structure
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: 14275
Joined: Sun Jan 11, 2004 8:26 am
Location: Victoria Falls, Zimbabwe

Re: Ultimate Quiz MOD v2.0.0 Progress

Postby Lugsciath » Thu Apr 16, 2009 3:23 pm

Here we go:

At first: It looks great. The submitting of quiz is ok, the saving of quiz (saving means in separate cookie or sql query?) seams ok, too.

One Thing:

if i use the backbutton of my browser (after submitting/saving) i get:

Code: Select all
SQL ERROR [ mysql4 ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 [1064]


Think this message is produced through a empty query / variable ... don´t panic. Most People doesnt use the backbutton of browsers :)

Thats all, looking for the very first alpha :) - ready for takeoff.

Greetings

Uwe
Lugsciath
Frequent Poster
Frequent Poster
 
Posts: 34
Joined: Wed Nov 19, 2008 6:29 am

Re: Ultimate Quiz MOD v2.0.0 Progress

Postby battye » Thu Apr 16, 2009 3:29 pm

Thanks :)

Lugsciath wrote:if i use the backbutton of my browser (after submitting/saving) i get:

Code: Select all
SQL ERROR [ mysql4 ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 [1064]


Think this message is produced through a empty query / variable ... don´t panic. Most People doesnt use the backbutton of browsers :)


Hmm, I can't reproduce this? Did you do anything in particular during the quiz like leaving answers blank, or waiting until the timer had gone down to 0, etc - before you submitted and clicked the back button? :?
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: 14275
Joined: Sun Jan 11, 2004 8:26 am
Location: Victoria Falls, Zimbabwe

Re: Ultimate Quiz MOD v2.0.0 Progress

Postby Lugsciath » Thu Apr 16, 2009 6:37 pm

No. nothing such things. I only use the backbutton (and i wonder about the message). But it might cause by my browsercache ... normally i´m using firefox. Thought it would be helpful to tell you that errormessage ...

hm. I can reproduce that.

First i press "submit" and i get the resultpage. Then i press backbutton by browser.
i startet again on quiz with marked answers. Then i press "save", but then i got that error message.

quiz.php?mode=play&action=submit

Code: Select all
General Error
SQL ERROR [ mysql4 ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 [1064]

An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.

Please notify the board administrator or webmaster: administration@online-scrabble.com
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group


As so far :/ , didnt know what occur or happend.

Greetings

Uwe
Lugsciath
Frequent Poster
Frequent Poster
 
Posts: 34
Joined: Wed Nov 19, 2008 6:29 am

Re: Ultimate Quiz MOD v2.0.0 Progress

Postby moongirl » Fri Apr 17, 2009 1:54 am

Works for me. Thanks Battye :wink:
Yep, the back button gets this message every time if I try to re-submit the quiz.

General Error
SQL ERROR [ mysql4 ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 [1064]

An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.

Please notify the board administrator or webmaster: administration@online-scrabble.com
....................................ImageImage ImageImage
Nanananana na.. I get to celebrate Christmas with a bunch of friends!! ;)
Click To Play Online-Scrabble
~~~In the year 2040...I'll have 100,000 posts!!~~~
User avatar
moongirl
Moderator
Moderator
 
Posts: 18885
Joined: Mon Jan 12, 2004 8:07 am

Re: Ultimate Quiz MOD v2.0.0 Progress

Postby battye » Fri Apr 17, 2009 4:38 am

Ah, I think it is a browser thing. Caching as you said Lugsciath. I use Safari and it's reloading the page each time, that's why I'm not getting the error.

I've tried in Firefox and I also get the SQL error. I've changed it so you should now get a more informative error message "It appears you have tried to submit this quiz multiple times." - please try it again and let me know if it is working now? :D

Thank you Lugsciath and moongirl
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: 14275
Joined: Sun Jan 11, 2004 8:26 am
Location: Victoria Falls, Zimbabwe

Re: Ultimate Quiz MOD v2.0.0 Progress

Postby moongirl » Fri Apr 17, 2009 4:47 am

Yes I'm using Mozilla, the error message is no longer there. Instead the new Message:
"It appears you have tried to submit this quiz multiple times."

Thanks Battye.
....................................ImageImage ImageImage
Nanananana na.. I get to celebrate Christmas with a bunch of friends!! ;)
Click To Play Online-Scrabble
~~~In the year 2040...I'll have 100,000 posts!!~~~
User avatar
moongirl
Moderator
Moderator
 
Posts: 18885
Joined: Mon Jan 12, 2004 8:07 am

PreviousNext

Return to Web Design

Who is online

Users browsing this forum: No registered users and 2 guests

cron