HQ NETWORK:   XBOX ONE |  XBOX 360 |  AIDELUXE HQ Network: 8,628 | Guests: 1272 | Members: 1 


   Current Location: Forums New Game - Fursan al-Aqsa - Knights of al-Aqsa Mosque   |   Old Xbox boot but wont load games or MS Dashboard   |   New google drive   |   Which modchip is this?   |   Anyone here capable or interested in restarting XBConnect?   |   Error code 05   |   original xbox with 0 memory   |   Why cell damage is low with ratings   |   Xbox-Hq.Com VIP Member Testimonials   |   XBHD: A Full-Featured Original Xbox Adapter from EON Gaming,   |   
  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 - High scores not recording
Xbox-Hq.Com Forum Index -> pnFlashGames Project
Post new topic Reply to topic    
 High scores not recording View previous topic :: View next topic  
 
 
 
 
Jibaba
Xbox-HQ Newbie
Xbox-HQ Newbie



Joined: Jun 30, 2005
Posts: 2

Post Posted: Thu Jun 30, 2005 6:25 pm   
Post subject: High scores not recording
Reply with quote
 
Not sure if this is posted anywhere or not. But on my site the high scores are not getting entered to the Database and shown on the site...

also why there is an index in the root that i did not upload, the code looks like it calls to a file that stores the scores is that true or am i miss reading the code?


View user's profile Send private message
 
 
 
 
forahobby
Administrator
Administrator


Joined: May 22, 2003
Posts: 23944
Location: NSW, Australia

Post Posted: Fri Jul 01, 2005 7:40 am   
Post subject:
Reply with quote
 
Hi Jibaba,

The index which is supplied in the !ROOT! is there to show you the code you need to add to your own phpnuke index.php root file..

There a two lines of code you need to insert for all highscores to record into the database.. the two lines are:

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

Open your index.php root phpnuke file in a editor and look for this line:

Code:
require_once("mainfile.php");


Straight after the line shown above add the SAVE SCORE code.

This is what it shold look like when finished:

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


thats all you have missed... Hope that helps.
Please reply and let me know how you go.

l8r

FH
http://www.xbox-hq.com

_________________
HQ Network:
www.xbox-hq.com | www.xboxone-hq.com | www.360-hq.com | www.c64-hq.com


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
Jibaba
Xbox-HQ Newbie
Xbox-HQ Newbie



Joined: Jun 30, 2005
Posts: 2

Post Posted: Fri Jul 01, 2005 1:15 pm   
Post subject:
Reply with quote
 
Thanks FH

will try it and let you know the outcome...


Jibaba


View user's profile Send private message
 
 
 
 
forahobby
Administrator
Administrator


Joined: May 22, 2003
Posts: 23944
Location: NSW, Australia

Post Posted: Mon Jul 04, 2005 7:23 am   
Post subject:
Reply with quote
 
hi jib,

Im sure it will work mate..
Enjoy! Smile

_________________
HQ Network:
www.xbox-hq.com | www.xboxone-hq.com | www.360-hq.com | www.c64-hq.com


View user's profile Send private message Send e-mail Visit poster's website
 
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