battye...... it WORKED!!! Can't even begin to tell you how elated I am!!
Nope - everything you typed made perfect sense. I've installed so many MOD's since my site went live 2 years ago that I am beginning to understand how things work (I've tweaked some things myself - only cosmetic stuff). I was going to learn javascript at one time but settled for HTML (the basics off) just to set-up a couple of sites for friends.
One more thing to solve now then - the SQL to link the timer set in UQM. Here's the quiz_install.php section you requested:
Code: Select all
$sql[] = "ALTER TABLE " . SESSIONS_TABLE . " ADD `session_quiz_categories` VARCHAR( 255 ) NOT NULL;";
$sql[] = "INSERT INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('Quiz_show_answers', '" . ON . "')";
$sql[] = "INSERT INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('Quiz_Register_Play', '" . ON . "')";
$sql[] = "INSERT INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('Quiz_Post_Count_Play', '" . ON . "')";
$sql[] = "INSERT INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('Quiz_Post_Requirement', '1')";
$sql[] = "INSERT INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('Quiz_Play_Once', '" . ON . "')";
$sql[] = "INSERT INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('Quiz_Author_Play', '" . ON . "')";
$sql[] = "INSERT INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('Quiz_Min_Max_Questions', '5,10')";
$sql[] = "INSERT INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('Quiz_Author_Mod', '" . ON . "')";
$sql[] = "INSERT INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('Quiz_Banned', '')";
$sql[] = "INSERT INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('Quiz_Moderators', '')";
$sql[] = "INSERT INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('Quiz_Stats_Display', '10')";
$sql[] = "INSERT INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('Quiz_Mod_Submit', '" . ON . "')";
$sql[] = "INSERT INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('Quiz_Cash_Currency', 'user_points')";
$sql[] = "INSERT INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('Quiz_Cash_Incorrect', '1')";
$sql[] = "INSERT INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('Quiz_Cash_Correct', '1')";
$sql[] = "INSERT INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('Quiz_Cash_Tax', '2')";
$sql[] = "INSERT INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('Quiz_CashMOD_On', '" . ON . "')";
$sql[] = "INSERT INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('Quiz_packs_category', '1')";
$sql[] = "INSERT INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('Quiz_packs_bot', 'Quartz')";
$sql[] = "INSERT INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES ('Quiz_timeout', '10')";
At a guess I'd say it's Quiz_timeout ? lol. Of course, I wouldn't then know how to call the quiz timeout from SQL so I eagerly await your code!
Thank you so much for ALL your help. We are getting there. Such a shame that we now have phpBB3 although I will be making the switch early next year no doubt but I understand UQM is also in progress for phpBB3 too and that is great (hope it's got all that you've done for me)