Quote:
Originally Posted by Paul M
Make sure the code at the top of your index.php looks like this
PHP Code:
// ibproarcade modification
$act = $_GET['act'];
$showuser = $_GET['showuser'];
if($act == "Arcade") {
include "arcade.php";
exit();
}
if(!empty($showuser) && $showuser >= 1) {
$u = $showuser;
$_GET['u'] = $showuser;
include "member.php";
exit();
}
// end of ibproarcade modification
As I recall, I think the orignal supplied code assumed that register globals was turned on.
|
You fixed it. Thanks a bunch!! I've been frustrated with this for the last two hours. I appreciate your help, thanks.
----
Another error, though not as serious as the last one.
In the admin panel when I click the 'games list' option I see this error...
"Fatal error: Cannot use object of type admin_functions as array in /home/username/public_html/forums/admincp/arcade.php on line 1594"
Here is line 1594
$top['name'] = "<a href='".$ADMIN['base_url']."index.php?showuser=".$top['champ_mid']."' target='_blank' title='".$top['champ_name']."s Profile'>".$top['champ_name']."</a>";