Page 23 of 32

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

Posted: Mon Feb 14, 2011 9:40 am
by quahappy
Abera wrote:

Code: Select all

Which home computer is the oldest?     Incorrect: You selected , the correct answer was Sinclair ZX81. 
Off subject here, but quahappy... You have a Sinclair? My very first with all of the 4 meg and don't forget the burst mode. Then the Tandy. I don't remember the number on. Sold it in 1984. Then to the Vic 20, Commodore 64 and 128. I still have all of them and peripherals that go with them. Those were the days my friend. :)
The quiz is running fine for me.
Thanks
There's a great topic called What was your first home computer and game? for what you mentioned. By the way, welcome to CMX! ;)

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

Posted: Tue Feb 15, 2011 8:46 am
by plasmino
battye wrote:I've sent you a PM Abera :)

Thanks
Send file with modify for categories?

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

Posted: Wed Feb 16, 2011 4:43 pm
by battye
Unfortunately I haven't packaged the changes for categories yet, I'm currently writing the ACP modules (without which you wouldn't be able to create a category anyway :))

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

Posted: Thu Feb 17, 2011 4:34 pm
by battye
I hope to package the updated Alpha 1 release (with categories and ACP) tomorrow night and send it to everyone who tested the last version :) . I've pretty much finished the ACP now, the only thing I haven't done yet is the delete categories page.

Here are some screenshots:

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

Posted: Thu Feb 17, 2011 5:42 pm
by darkonia
looks good.

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

Posted: Thu Feb 17, 2011 10:58 pm
by Abera
darkonia wrote:looks good.
I have to agree. It looks great.
Thanks

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

Posted: Fri Feb 18, 2011 9:23 am
by plasmino
:D super good

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

Posted: Fri Feb 18, 2011 3:20 pm
by battye
Okay, v2.1.1 (Alpha 2) is finished. Is someone able to have a quick look at it before I PM everyone to make sure I haven't done something silly like miss a file? if you can help just post a reply here and I will PM you. I'm pretty sure I've updated everything correctly but sometimes something can slip through the cracks. :D

Installation notes for v2.1.1:

If installing for the first time, the process is the same as v2.1.0 (ie. upload the files, make the code changes and run quiz_installer.php). Also be sure to create a category from the ACP right away.

If you are upgrading you still need to run quiz_installer.php to add the category table and the config values. But you need to comment out the other queries. ie. open quiz_installer.php and FIND

Code: Select all

$sql[QUIZ_TABLE] = "CREATE TABLE " . QUIZ_TABLE . " (
quiz_id INT(5) NOT NULL AUTO_INCREMENT PRIMARY KEY,
quiz_name VARCHAR(255) NOT NULL,
quiz_time INT(20) NOT NULL,
quiz_category INT(5) NOT NULL,
user_id INT(8) NOT NULL,
username VARCHAR(255) NOT NULL,
user_colour VARCHAR(10) NOT NULL
)";

$sql[QUIZ_QUESTIONS_TABLE] = "CREATE TABLE " . QUIZ_QUESTIONS_TABLE . " (
question_id INT(5) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
question_name VARCHAR(255) NOT NULL ,
question_correct VARCHAR(255) NOT NULL ,
question_answers VARCHAR(255) NOT NULL ,
question_quiz INT(5) NOT NULL
)";

$sql[QUIZ_STATISTICS_TABLE] = "CREATE TABLE " . QUIZ_STATISTICS_TABLE . " (
quiz_statistic_id INT(5) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
quiz_question_id INT(5) NOT NULL,
quiz_user_answer VARCHAR(255) NOT NULL ,
quiz_actual_answer VARCHAR(255) NOT NULL ,
quiz_is_correct INT(5) NOT NULL,
quiz_user INT(5) NOT NULL
)";
BEFORE (ie. at the top of the list of queries) ADD:

Code: Select all

/*
AFTER (ie. at the end of the statistics table query) ADD

Code: Select all

*/
To install the module, do this: "ACP -> System -> Module Management -> Administration Control Panel -> and select "Quiz" from the "add module list" on the bottom right."

To do list for 2.1.2:
- UMIL
- User can only play quiz once setting
- Clean up some SQL queries so they use sql_build_array instead of just being a long string
- Feature requests? Depending on the request and how it will fit in with the code :)

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

Posted: Fri Feb 18, 2011 3:47 pm
by Abera
I have my installer modified.
Thanks

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

Posted: Fri Feb 18, 2011 4:09 pm
by battye
Thanks Abera, a PM is waiting in your inbox :)

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

Posted: Fri Feb 18, 2011 4:23 pm
by Abera
battye wrote:Thanks Abera, a PM is waiting in your inbox :)
Got it and looking at it now.
Thanks for all of our work! :)

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

Posted: Fri Feb 18, 2011 4:25 pm
by battye
Thank you Abera, let me know if you see any problems! :D

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

Posted: Fri Feb 18, 2011 4:36 pm
by Clenzowen
bonjour
j'aimerais tester la mise à jour.
ou puis je trouver le mod svp ?

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

Posted: Fri Feb 18, 2011 4:39 pm
by Abera
You bet. :D

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

Posted: Fri Feb 18, 2011 4:39 pm
by battye
Clenzowen wrote:bonjour
j'aimerais tester la mise à jour.
ou puis je trouver le mod svp ?
Hi Clenzowen, I have sent you a private message. :)