View Full Version : Games with AND and OR Not Saving Scores
Pocket Aces
08-31-2018, 05:38 AM
Is there a fix for games with AND (eg. cANDy) and OR (eg. wORms) in their names unable to submit the score?
blind-eddie
08-31-2018, 11:35 PM
I have never heard of this happening before, share with me the exact game names and I will see if I have this issue.
MarkFL
09-01-2018, 12:28 AM
I have never heard of this happening before, share with me the exact game names and I will see if I have this issue.
I recently noticed "Candy Crush" never saving scores. I'm still using version 2.7.3 of the arcade, because it was never clear to me what the recent grade was about, and it took quite a bit of doing to get it to work with PHP 7.x, and I didn't want to potentially have to mess with all that again.
stangger5
09-01-2018, 12:07 PM
Dave gave me this two years ago.
Replace the whole ibp_cleansql function (at the bottom of arcade.php) with:
function ibp_cleansql($value)
{
global $vbulletin;
return $vbulletin->db->escape_string($value);
}
:up:
MarkFL
09-01-2018, 04:17 PM
Dave gave me this two years ago.
Replace the whole ibp_cleansql function (at the bottom of arcade.php) with:
function ibp_cleansql($value)
{
global $vbulletin;
return $vbulletin->db->escape_string($value);
}
:up:
Yes, now Candy Crush saves high scores. Thanks for that!
MrZeropage
10-26-2018, 04:09 PM
Problem removed in ibProArcade v2.7.5+ :cool:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.