[ALPHA] Ultimate Quiz MOD v2.1.2 Progress
Moderator: CricketMX Forum Moderators
no other debug error, now is perfect for me
ACP modules are on the to-do list for the next version. At the moment the configuration values can be adjusted manually in includes/quiz/quiz_configuration.php:quahappy wrote:So far so good. Just testing it with normal user permissions now. No debug errors either (although I have debug off).
Quick question: Where is UQM configuration settings in ACP?
Code: Select all
$this->qc_config_value = array(
'qc_minimum_questions' => 3,
'qc_maximum_questions' => 5,
'qc_maximum_choices' => 3, // maximum multiple choices
'qc_show_answers' => 1, // show the answers after a quiz
'qc_quiz_author_edit' => 1, // allow the author to edit their own quiz
'qc_admin_submit_only' => 0, // only administrators are allowed to submit quizzes
// Cash compatibility
'qc_cash_enabled' => 0, // enable cash functionality
'qc_cash_column' => 'user_points', // associated column in the users table
'qc_cash_correct' => 20.54, // cash gained for a correct answer
'qc_cash_incorrect' => 10, // cash REMOVED for an incorect answer
);
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!
"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)
"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)
nice questionquahappy wrote:Quick question: Where is UQM configuration settings in ACP?
for italian language
- Attachments
-
- it.zip
- (2.14 KiB) Downloaded 315 times
Thank you for the Italian translation plasmino
I mentioned that the ACP module hadn't been written yet in the private message
I mentioned that the ACP module hadn't been written yet in the private message
The next version I hope to have:
- UMIL (instead of the quiz_installer.php file)
- ACP modules (at the moment I'm storing the configuration values in the quiz_configuration.php file)
- Categories (every quiz is going into one category right now)
- Input answer (only multiple choice/true+false are present in 2.1.0 because I realised if a user tried to use a number as input answer it could potentially give an error, because the text box names are a number relating to a particular answer... so I need to figure out a way to circumvent that)
- Perhaps time limits... I'm not sure yet.
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!
"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)
"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)
ops, I had not read the pm ^ _ ^
sorry
sorry
- quahappy
- Happy, not Quappy
- Posts: 2266
- Joined: Fri Oct 10, 2008 8:56 pm
- Location: South Yorkshire, UK
Thanks battye. Had overlooked that.
(I still had one remaining old UQM configurations file that appeared in ACP > General > Board Configuration > Board features. Threw me off track. Now removed).
(I still had one remaining old UQM configurations file that appeared in ACP > General > Board Configuration > Board features. Threw me off track. Now removed).
If you don't ask...
After a little convincing ( ) I've decided to add a couple more features before the first public release (namely categories and ACP functionality). Of course, if anyone wants an advance copy of Alpha 1 to help with testing that is not a problem - just let me know and I will send you the files.
I've already implemented categories (I did that tonight), so I just need to get the ACP modules working now before I make the public release. Here are some screenshots of the categories:
While I am posting screenshots, here is what the cash implementation looks like:
I've already implemented categories (I did that tonight), so I just need to get the ACP modules working now before I make the public release. Here are some screenshots of the categories:
While I am posting screenshots, here is what the cash implementation looks like:
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!
"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)
"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)
I've sent you a PM Abera
Thanks
Thanks
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!
"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)
"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)
This is what I get going live, or local:battye wrote:I've sent you a PM Abera
Thanks
It here a query that I can do manually?
[phpBB Debug] PHP Notice: in file /quiz_installer.php on line 55: mysql_query() [function.mysql-query]: Access denied for user 'SYSTEM'@'localhost' (using password: NO)
[phpBB Debug] PHP Notice: in file /quiz_installer.php on line 55: mysql_query() [function.mysql-query]: A link to the server could not be established
[phpBB Debug] PHP Notice: in file /quiz_installer.php on line 55: mysql_query() [function.mysql-query]: Access denied for user 'SYSTEM'@'localhost' (using password: NO)
[phpBB Debug] PHP Notice: in file /quiz_installer.php on line 55: mysql_query() [function.mysql-query]: A link to the server could not be established
[phpBB Debug] PHP Notice: in file /quiz_installer.php on line 55: mysql_query() [function.mysql-query]: Access denied for user 'SYSTEM'@'localhost' (using password: NO)
[phpBB Debug] PHP Notice: in file /quiz_installer.php on line 55: mysql_query() [function.mysql-query]: A link to the server could not be established
There was an error creating table phpbb_quiz...
There was an error creating table phpbb_quiz_questions...
There was an error creating table phpbb_quiz_statistics...
Installation is finished with errors.
Most likely me.
Thanks
- quahappy
- Happy, not Quappy
- Posts: 2266
- Joined: Fri Oct 10, 2008 8:56 pm
- Location: South Yorkshire, UK
Nope - not you. Same happened to me and battye kindly pointed out what I needed to do (via PM):Abera wrote:Most likely me.
Thanks
As battye mentioned, installation issue won't be encountered when the UMIL file is created.battye wrote:Open quiz_installer.php and find if( !mysql_query($query) )
Replace with if( !$db->sql_query($query) )
As long as the tables don't already exist, that should work fine
The only reason I was using mysql_query was because $db->sql_query doesn't return errors in the way I wanted. Of course, mysql_query goes against the coding standard because it's database specific - but once I make a UMIL file that will no longer be a problem
Hope that helps.
----------------------------------------------------------
I've playtested as Administrator and User and can confirm I have not encountered any issues. However, if I play and Submit a quiz without answering one or more questions, the results page shows as:
Code: Select all
Which home computer is the oldest? Incorrect: You selected , the correct answer was Sinclair ZX81.
Also, I noticed one additional variable missing from Configuration settings: Can quiz author play own quizzes. Is this intentional?
If you don't ask...
That did it.quahappy wrote:Nope - not you. Same happened to me and battye kindly pointed out what I needed to do (via PM):Abera wrote:Most likely me.
Thanks
As battye mentioned, installation issue won't be encountered when the UMIL file is created.battye wrote:Open quiz_installer.php and find if( !mysql_query($query) )
Replace with if( !$db->sql_query($query) )
As long as the tables don't already exist, that should work fine
The only reason I was using mysql_query was because $db->sql_query doesn't return errors in the way I wanted. Of course, mysql_query goes against the coding standard because it's database specific - but once I make a UMIL file that will no longer be a problem
Hope that helps.
Thank you
Code: Select all
Which home computer is the oldest? Incorrect: You selected , the correct answer was Sinclair ZX81.
The quiz is running fine for me.
Thanks
great news