Acido
04-03-2006, 09:59 AM
After Upgrade to 2.5.5 all the tournament links redirect to forum home. I Solved the problem altering the PHP code of the plugin arcadeindex with this code:
//
$act = $_GET['act'];
$do = $_GET['do'];
$showuser= $_GET['showuser'];
if($act == "Arcade" OR $do == "viewtournaments" OR $do == "viewtourney" OR $do == "registertourney" OR $do == "createtourney" OR $do == "viewtourneyend" OR $do == "playtourney") {
include "arcade.php";
exit();
}
if(!empty($showuser) && $showuser >= 1) {
$u = $showuser;
$_GET['u'] = $showuser;
include "member.php";
exit();
}
//
I'm not sure is this is the best option, or may be i did sometingh wrong before?
Finally, all the tournament links are working fine, but i wish a expert opinion on this issue :knockedout:
//
$act = $_GET['act'];
$do = $_GET['do'];
$showuser= $_GET['showuser'];
if($act == "Arcade" OR $do == "viewtournaments" OR $do == "viewtourney" OR $do == "registertourney" OR $do == "createtourney" OR $do == "viewtourneyend" OR $do == "playtourney") {
include "arcade.php";
exit();
}
if(!empty($showuser) && $showuser >= 1) {
$u = $showuser;
$_GET['u'] = $showuser;
include "member.php";
exit();
}
//
I'm not sure is this is the best option, or may be i did sometingh wrong before?
Finally, all the tournament links are working fine, but i wish a expert opinion on this issue :knockedout: