The Arcive of vBulletin Modifications Site. |
|
Games with AND and OR Not Saving Scores Details »»
|
|||||||||||||||||||||||||
Is there a fix for games with AND (eg. cANDy) and OR (eg. wORms) in their names unable to submit the score?
Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
I have never heard of this happening before, share with me the exact game names and I will see if I have this issue.
|
|
#3
|
||||
|
||||
|
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.
|
|
#4
|
||||
|
||||
|
Dave gave me this two years ago.
Replace the whole ibp_cleansql function (at the bottom of arcade.php) with: Code:
function ibp_cleansql($value)
{
global $vbulletin;
return $vbulletin->db->escape_string($value);
}
|
| 3 благодарности(ей) от: | ||
| blind-eddie, MarkFL, Pocket Aces | ||
|
#5
|
||||
|
||||
|
Yes, now Candy Crush saves high scores. Thanks for that!
|
|
#6
|
||||
|
||||
|
Problem removed in ibProArcade v2.7.5+
|
![]() |
|
|