Quote:
Originally Posted by amykhar
Is anybody else having problems commenting on scores? On the comment screen, the links in the header don't point to the right place and if I submit a score, I get a file not found error.
|
i did use the post above that solve my problem
Code:
[QUOTE=micheal332001]Hi there
I use CPMS as my main index.php file too and i have added this code to it to save the scores of the arcade.
PHP Code:
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();
}
Just put that at the top of the cmps index.php file under <?php
Then upload it and all should be fine[/QUOT