![]() |
[BUG] Game Background color problem
I'm running Version 2.6.5 and have made a few tedious edits to several php files, so I really don't want to upgrade to 2.6.7 just to fix this problem.
The problem is this: In adminCP, if I try to set the game background color to anything higher than hex 99FFFF, or something like that, the value I enter is not saved but it reverts back to hex 000. There are several games that I had to disable because they require the background color set to white, which I cannot do because of this bug. Has this bug been previously discussed, and is there a fix without upgrading, and in my case, doing alll the php file edits over? If not, I'll just leave things alone. |
NO answer???
|
Try this one without upgrading:
In /admincp/arcade.php Find: if (intval($config['bgcolor'])==0) { $config['bgcolor']="000000"; } Replace: if (!(intval($config['bgcolor'],16))) { $config['bgcolor']="000000"; } Repeat this with another instance. Find: if (intval($IN['bgcolor'])==0) { $IN['bgcolor'] = "000000"; } Replace: if (!(intval($IN['bgcolor'],16))) { $IN['bgcolor']="000000"; } Hope this help :) |
That works! Thank you!
|
anyway, you should upgrade to v2.6.7+ to avoid any security-problems that got fixed in the last release...
|
Quote:
|
backup /arcade.php and the /arcade folder before updating to make sure ...
|
All times are GMT. The time now is 05:01 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|