XF Arcade
Cadet
If you are using XenPorta and you have the option "Set as Index Controller" turned on to use the portal page as your default index page, then some of your Arcade game scores may not save. In particular, IPB games will not have their scores saved.
If you are using XenPorta and if you have the option "Set as Index Controller" turned on and if you are using IPB games with your XenForo Arcade then the manual file edit below will need to be done.
File: {xf}/library/EWRporta/Listener/Init.php
Find this line...
... and change it to:
If you are using XenPorta and if you have the option "Set as Index Controller" turned on and if you are using IPB games with your XenForo Arcade then the manual file edit below will need to be done.
File: {xf}/library/EWRporta/Listener/Init.php
Find this line...
Code:
EWRporta_Helper_Index::setDefaultRoute($config, $data);
Code:
if ((!empty($_REQUEST['autocom']) AND (($_REQUEST['do'] == 'verifyscore' AND $_REQUEST['autocom'] == 'arcade') OR ($_REQUEST['do'] == 'savescore' AND $_REQUEST['autocom'] == 'arcade'))) OR ( !empty($_REQUEST['act']) AND ($_REQUEST['do'] == 'newscore' AND $_REQUEST['act'] == 'Arcade'))) {
// Do nothing! We want to let these requests be handled
// by XenForo so that they can they be caught by XFA.
} else {
EWRporta_Helper_Index::setDefaultRoute($config, $data);
}