HQ NETWORK:   XBOX ONE |  XBOX 360 |  AIDELUXE HQ Network: 8,744 | Guests: 2098 | Members: 0 


   Current Location: Forums WTB : x ecuter 3 modded part(s)   |   anywhere at where i can source some part(s) out   |   please help. trying to use core ftp   |   need help on an og XBOX modchip   |   Replacing A Broken HDD   |   Help Identifying: 2ND Hand XB Chip   |   A box without the X?   |   20 years ago...   |   No HD   |   Can I reduce F: partition to increase E:?   |   
  Home | Active Topics | CD/DVD Media | Downloads | Forums | Feedback | Games | HardDrives | Homebrew | My Profile | ModChips | Reviews | Search | SoftMods | Tutorials

Xbox Forums

Discuss all aspects of the original Xbox Console in our Interactive Xbox Forums..

Get Xbox Game Pass Ultimate
Xbox-Hq.Com :: View topic - Score Upload Problem
Xbox-Hq.Com Forum Index -> pnFlashGames Project
Post new topic Reply to topic    
 Score Upload Problem View previous topic :: View next topic  
 
 
 
 
melihkry
Xbox-HQ User
Xbox-HQ User



Joined: Jun 24, 2005
Posts: 11

Post Posted: Thu Apr 19, 2007 12:51 pm   
Post subject: Score Upload Problem
Reply with quote
 
i have vip version of pnflashgames, and php nuke and thats my index.php files first lines,


require_once("mainfile.php");
// Save Score for Old pnFlashGames Component
include("modules/Flash_Games/includes/oldcomponent.php");

global $prefix, $db, $admin_file;


if ($op == "ad_click" AND isset($bid)) {

$bid = intval($bid);
$sql = "SELECT clickurl FROM ".$prefix."_banner WHERE bid='$bid'";
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
$db->sql_query("UPDATE ".$prefix."_banner SET clicks=clicks+1 WHERE bid='$bid'");
update_points(21);
Header("Location: $row[clickurl]");
die();

}

$modpath = '';
define('MODULE_FILE', true);
$_SERVER['SCRIPT_NAME'] = "modules.php";

$row = $db->sql_fetchrow($db->sql_query("SELECT main_module from ".$prefix."_main"));
$name = $row['main_module'];
$home = 1;

if (isset($url) AND is_admin($admin)) {
echo "<meta http-equiv=\"refresh\" content=\"0; url=$url\">";
die();
}

if ($httpref==1) {

$referer = $_SERVER["HTTP_REFERER"];
$referer = check_html($referer, nohtml);
if ($referer=="" OR eregi("^unknown", $referer) OR substr("$referer",0,strlen($nukeurl))==$nukeurl OR eregi("^bookmark",$referer)) {

} else {

$result = $db->sql_query("INSERT INTO ".$prefix."_referer VALUES (NULL, '$referer')");

}


my phpnuke version is 7.8 i think, but i had added a security patch, i dont know if it will disable the hiscores, by the way

frogger works fine...
pingu works fine

ms pacman doesnt upload scores, and blocks game doesnt upload scores,

im waiting for a reply, thanks


View user's profile Send private message
 
 
 
 
melihkry
Xbox-HQ User
Xbox-HQ User



Joined: Jun 24, 2005
Posts: 11

Post Posted: Thu Apr 19, 2007 3:32 pm   
Post subject: solved the problem
Reply with quote
 
hi friends, php 5 , vip version 4++ , phpnuke 7.8 ..


add index.php file (phpnuke) include oldcomponent line , and all the things are working without any problem...

i had a problem and i had installed some security patches... i just recopied the original phpnuke 7.8 files to the server and now all the games are working well.. see you Smile


View user's profile Send private message
 
Display posts from previous:   
  Post new topic  
 
  Reply to topic  
|
 All times are GMT | Page 1 of 1
Jump to:  
 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
 


Get Xbox Game Pass Ultimate