PDA

View Full Version : CMPS help


dj chico
01-18-2007, 03:38 PM
Hi, looking for help on this. Its really annoying me.

Had cmps working fine using the index.php and forums.php renaming idea.

I then installed ibproarcade and now the cmps has disappeared.

I was told to add this text in forum.php just after <?php, basically 2nd line
// ibProArcade modification
if($_POST['module'] == "pnFlashGames"){
$_GET[act] = "Arcade";
$_GET['module'] = "arcade";
}
if($_POST['func'] == "storeScore"){
$_GET['do'] = "pnFStoreScore";
}
if($_POST['func'] == "saveGame"){
$_GET['do'] = "pnFSaveGame";
}
if($_POST['func'] == "loadGame"){
$_GET['do'] = "pnFLoadGame";
}
$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

I now get this error on my homepage:

Parse error: parse error, unexpected T_DEC, expecting T_VARIABLE or '$' in (web-addy)/forum/index.php on line 2

Can someone plz help as its driving me crazy.

Thanks

EDIT : Seems to be most forum pages doing this now. I can still acees admincp by typing address

Brian
01-19-2007, 10:25 AM
Sounds more like a problem with ibproarcade, so you'd need to ask for help from them.