Hello,
I'm sorry for my bad english, I'm french and I don't speak and write english very well
I installed the UQM on my forum, it's working very well but there is bug when a member anwsers correctly to all the questions.
I 've got the following trouble message :
Warning: sprintf(): Too few arguments in /home/n/xxxxxxxxx/www/forum/quizzer.php on line 152
Thank you in advance for your precious help and answers
Quizzer.php
Moderator: CricketMX Forum Moderators
Hi
Could you please post line 151 - 154 of quizzer.php?
Thanks
Could you please post line 151 - 154 of quizzer.php?
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)
Hello battye
Line 151-154 of quizzer.php
But when I replace in language/lang_french/lang_main.php
by
The UQM working very well
Line 151-154 of quizzer.php
Code: Select all
$display = sprintf($lang['congrats_quiz_100'], $userdata['username']);
if($board_config['quiz_cash_on'] == "On")
{
Code: Select all
$lang['congrats_quiz_100'] = 'Félicitations %s! Vous avez fait un score de 100% , bravo !';
Code: Select all
$lang['congrats_quiz_100'] = 'Félicitations %s! Vous avez fait un score parfait, bravo !';
Ahh, it might have had a problem with the % sign.Lion wrote:Hello battye
Line 151-154 of quizzer.php
But when I replace in language/lang_french/lang_main.phpCode: Select all
$display = sprintf($lang['congrats_quiz_100'], $userdata['username']); if($board_config['quiz_cash_on'] == "On") {
byCode: Select all
$lang['congrats_quiz_100'] = 'Félicitations %s! Vous avez fait un score de 100% , bravo !';
The UQM working very wellCode: Select all
$lang['congrats_quiz_100'] = 'Félicitations %s! Vous avez fait un score parfait, bravo !';
I will remember that fix, glad it is working for you mate
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)
Thank's battye