HQ NETWORK:   XBOX ONE |  XBOX 360 |  AIDELUXE HQ Network: 1,843 | Guests: 355 | Members: 2 

   Current Location: Forums How do i use PBL?   |   TRUE MS DASH 2.0   |   XBMC4GAMERS crashes everytime because of this file   |   Xbox HDMI mod   |   My Items for sale   |   Hitman Trilogy & Rainbow Six Extraction Join Game Pass   |   View 'Date Created' of Files & Folders FATX   |   im new here   |   New Game - Fursan al-Aqsa - Knights of al-Aqsa Mosque   |   Where are the websites listing the files you can delete from   |   
  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..

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  
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,

// Save Score for Old pnFlashGames Component

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'");
Header("Location: $row[clickurl]");


$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\">";

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
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

 Members Online (2) / Guests Online (355)
Members Browsing
kreamdream, BRANITOR,

Administrator  Moderator  VIP Member  Registered User  Banned Users

McAfee US