phpAS v4.1 Bug Fix List
phpAS v4.1 Bug Fix List
Feb 21Changes made:
Here is the list of changes made with v4.1.
- Root File Changes:
- Index.php:
- Updated report game to work if script is installed on a subdomain.
- Referral urls didn’t make the transition from v3 to v4. They are now brought back.
- Reportgame.php:
- Updated to function properly when image verification is turned on.
- Rss.php:
- Rss items did not contain dates and would therefore not work properly with services such as twitterfeed. Date is added in.
- Index.php:
- Admin File Changes:
- admin/Index.php:
- If “My Notes” were saved containing a ‘ or ” and the site settings were updated afterwards, the cache would save incorrectly resulting the entire site to go white.
- Updating category description to contain ‘ or ” would prevent changes from being saved.
- While adding a new game, entering a ‘ or ” in the description, keywords or instructions would prevent the game from being saved.
- While editing a game, entering a ‘ or ” or failing to remove automatically populated ‘ or ” in the description, keywords or instructions field would prevent the game from being updated.
- When deleting a game, only the database entry would be deleted. Now the game file and image files will be removed from the server..
- Mochi system upgraded to support the offset value, corresponding function updated to save this value to database.
- admin/Adminfunctions.php:
- Updated sitemap generation to prevent duplicate urls with – and _ in links.
- admin/Configcache.php:
- Cache config file updated to cache the Mochi grab offset variable.
- admin/Siteconfig.php:
- Site config form updated with a new field to input the Mochi offset variable.
- Site config form updated to prevent the form from adding addtional spaces in the banned text and offline message textboxes. Each time it is updated.
- admin/Index.php:
- Include File Changes:
- includes/Config.php:
- File changed to get the Mochi offset from the database if caching is off.
- Mochifeed url is updated to use the offset value.
- includes/Functions.php:
- AllGamesDropdown (aka. Jumplist) function fixed to display correct urls if installed on a subfolder and auto_chmod is off
- includes/Tellafriend.php:
- Tell a friend form updated to function as intended when image verification is turned on.
- includes/Config.php:
- Include File Changes:
- mochi/grabgames.php and mochi/grabnightly.php
- Category id’s update to no longer need a (partly) seperate category structure for the mochi games. Mochi games and autopopulate files now use the same category id’s.
- A random string is added to the front of filenames from mochifeed. This is updated from 3 to 9 characters to help prevent duplicates on large game databases.
- Filenames from the Mochifeed with spaces were previously saved incorrectly resulting in the game not being playable. The space in the filename is now removed.
- mochi/grabgames.php and mochi/grabnightly.php
- Templates Changes – Arcade Blue:
- templates/arcadeblue/right.html:
- Jumplist function Updated to display correct url if installed on a subfolder and auto_chmod is off.
- templates/arcadeblue/left.html:
- Custom Page List updated to display correct url if installed on a subfolder.
- templates/arcadeblue/template_functions.php:
- Jumplist function and custom page function updated with the correct variables for the changes in right.html and left.html
- templates/arcadeblue/profile.html:
- Profile updated to show the referral url if this is on in the admin.
- templates/arcadeblue/right.html:
- Templates Changes – Arcade Classic:
- templates/arcadeclassic/profile.html:
- Profile updated to show the referral url if this is on in the admin.
- templates/arcadeclassic/profile.html:
- Templates Changes – Arcade Color:
- templates/arcadecolor/overall.html:
- Jumplist function Updated to display correct url if installed on a subfolder and auto_chmod is off.
- templates/arcadecolor/profile.html:
- Profile updated to show the referral url if this is on in the admin.
- templates/arcadecolor/overall.html:
- Templates Changes – Arcade Pink:
- templates/arcadepink/overall.html:
- Jumplist function Updated to display correct url if installed on a subfolder and auto_chmod is off.
- Loading for custom pages have been fixed.
- templates/arcadepink/profile.html:
- Profile updated to show the referral url if this is on in the admin.
- templates/arcadepink/overall.html:
- Templates Changes – Arcade Red:
- templates/arcadered/left.html:
- Jumplist function Updated to display correct url if installed on a subfolder and auto_chmod is off.
- Custom Page List updated to display correct url if installed on a subfolder.
- templates/arcadered/template_functions.php:
- Custom page function updated with the correct variables.
- templates/arcadered/profile.html:
- Profile updated to show the referral url if this is on in the admin.
- templates/arcadered/left.html:
- Templates Changes – Your Arcade:
- templates/yourarcade/overall.html:
- Display Categories Vertical have been updated.
- Loading for custom pages have been fixed.
- templates/yourarcade/template_functions.php:
- Display Categories Vertical have been updated.
- templates/yourarcade/profile.html:
- Profile updated to show the referral url if this is on in the admin.
- templates/yourarcade/overall.html: