Quote:
Originally Posted by C_P
You beat me to this post! 
Thank you!
I can understand the bickering but I just would like to get a step by step in reolving my issue:
when completing any game and it goes to update score. Post #301 has got me more baffled than help. If anyone has exact steps of the file and where to get it and what exactly to add or modify please?
|
this is the info i got from this post in the same thread hope u can understand now
Code:
Today, 11:40 #285
micheal332001
Coder
Join Date: Apr 2004
Posts: 242
vB Version: 3.5.1
Style: Dark Blue 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