HQ NETWORK:   XBOX ONE |  XBOX 360 |  AIDELUXE HQ Network: 7,534 | Guests: 1210 | Members: 0 


   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 - i really have a problem that i can't solve
Xbox-Hq.Com Forum Index -> pnFlashGames Project
Post new topic Reply to topic  Goto page 1, 2  Next  
 i really have a problem that i can't solve View previous topic :: View next topic  
 
 
 
 
bush3k
Xbox-HQ User
Xbox-HQ User



Joined: Feb 08, 2006
Posts: 10

Post Posted: Thu Feb 09, 2006 12:07 am   
Post subject: i really have a problem that i can't solve
Reply with quote
 
i have downloaded pnflashgames 0.6 and installed on my phpnuke7.0 ...
all works just fine! but i have some problems with my HighScores.
This is where it get bad:) I have 3 games (frogger, mrspacman and) that the highscore works, but the other ones just don't work. I saw that frogger, mrspacman and pingutrow Post The Scores auto, you don't have to press any buttons like " Submit Your Score ", but the others DOES ... and i push the button and nothing happens! what to do, pls help me!


View user's profile Send private message
 
 
 
 
forahobby
Administrator
Administrator


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

Post Posted: Thu Feb 09, 2006 1:39 am   
Post subject:
Reply with quote
 
phpnuke 7.0??? Thats very old mate.. Why dont you upgrade to something atleast a bit newer?? This topic may help but not sure:

PHPNUKE 7.7-7.9: FIX "No High Scores Recorded":
http://www.xbox-hq.com/html/postt10933.html

Once i finish withe XBOXHQ upgrades i will be rewriting the entire module to be compatilble with every single phpnuke version..

I will be tidying up all code and testing with BETA testers..

anyway, let us know how you go.

FH
http://flashgames.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
 
 
 
 
bush3k
Xbox-HQ User
Xbox-HQ User



Joined: Feb 08, 2006
Posts: 10

Post Posted: Thu Feb 09, 2006 2:02 am   
Post subject: ello again
Reply with quote
 
As I read in another topic about the code in mainfile.php. I try to replace this

Code:

if ($_SERVER['REQUEST_METHOD'] == "POST") {
if (isset($_SERVER['HTTP_REFERER'])) {
if (!stripos_clone($_SERVER['HTTP_REFERER'], $_SERVER['HTTP_HOST'])) {
die('Posting from another server not allowed!');
}
} else {
die($posttags);
}
}



with this

Code:

/*
if ($_SERVER['REQUEST_METHOD'] == "POST") {
if (isset($_SERVER['HTTP_REFERER'])) {
if (!stripos_clone($_SERVER['HTTP_REFERER'], $_SERVER['HTTP_HOST'])) {
die('Posting from another server not allowed!');
}
} else {
die($posttags);
}
}
*/



And it worked! Well, also in the mainfile.php, it shows that that code is used for against posting from other sites!

Any ideas? Is it risky?


*******************************

this is what that dude sayd! but i can't find that code anywhere!! where the hell is it? pls tell me


View user's profile Send private message
 
 
 
 
forahobby
Administrator
Administrator


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

Post Posted: Thu Feb 09, 2006 2:24 am   
Post subject:
Reply with quote
 
yes and no..
It depends whether your HOST has safe mode enabled i believe.

With safe mod enable i doubt there will be a prob.
Its just most hosts dont use safemod i believe.

But hey im no server guru.. Im a programmer.. lol

Glad you got it running.. In the newer versions i will sort out all this stuff.

cya

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
 
 
 
 
bush3k
Xbox-HQ User
Xbox-HQ User



Joined: Feb 08, 2006
Posts: 10

Post Posted: Thu Feb 09, 2006 11:51 am   
Post subject: hey
Reply with quote
 
i've showed you what was in that post you gave me 2 read! i didn't write that! i wrote after the asterix ***** ... please read again pls!!!!!
and i have also installed a phpnuke v7.8 and update it to 7.9 ... and still doesn't work Sad


View user's profile Send private message
 
 
 
 
forahobby
Administrator
Administrator


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

Post Posted: Fri Feb 10, 2006 1:22 am   
Post subject: Re: ello again
Reply with quote
 
bush3k wrote:
As I read in another topic about the code in mainfile.php. I try to replace this

Code:

if ($_SERVER['REQUEST_METHOD'] == "POST") {
if (isset($_SERVER['HTTP_REFERER'])) {
if (!stripos_clone($_SERVER['HTTP_REFERER'], $_SERVER['HTTP_HOST'])) {
die('Posting from another server not allowed!');
}
} else {
die($posttags);
}
}



with this

Code:

/*
if ($_SERVER['REQUEST_METHOD'] == "POST") {
if (isset($_SERVER['HTTP_REFERER'])) {
if (!stripos_clone($_SERVER['HTTP_REFERER'], $_SERVER['HTTP_HOST'])) {
die('Posting from another server not allowed!');
}
} else {
die($posttags);
}
}
*/



And it worked! Well, also in the mainfile.php, it shows that that code is used for against posting from other sites!

Any ideas? Is it risky?


*******************************

this is what that dude sayd! but i can't find that code anywhere!! where the hell is it? pls tell me


The code is in the mainfile.php of your PHPNUKE INSTALLATION.
Sorry.. I thought you wrote that you did it.. ehhehhe

mainfile.php

l8r

FH
http://www.xbox-hq.com
http://www.360-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
 
 
 
 
bush3k
Xbox-HQ User
Xbox-HQ User



Joined: Feb 08, 2006
Posts: 10

Post Posted: Fri Feb 10, 2006 2:06 am   
Post subject: hi again
Reply with quote
 
i kindda figure that out myself, but the problem is I don't have that code in my mainfile...
i will attach you my mainfiles from vers 7.0 and 7.8



mainfile7.0.zip
 Description:

Download
 Filename:  mainfile7.0.zip
 Filesize:  9.97 KB
 Downloaded:  1054 Time(s)


mainfile7.8.zip
 Description:

Download
 Filename:  mainfile7.8.zip
 Filesize:  12.22 KB
 Downloaded:  1088 Time(s)



View user's profile Send private message
 
 
 
 
forahobby
Administrator
Administrator


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

Post Posted: Fri Feb 10, 2006 2:45 am   
Post subject:
Reply with quote
 
well that doesnt help me bro.. Im not going to run through the code for you.
Do you have any games which are saving scores..??

What about ms.pacman, frogger and all of my games.. The should work sweet.. I need more info.

If you have some games saving and not others its easily fixed but if you dont have anything at all saving its going to be a bit hard to troubleshoot.

the more info you give the better.

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
 
 
 
 
bush3k
Xbox-HQ User
Xbox-HQ User



Joined: Feb 08, 2006
Posts: 10

Post Posted: Fri Feb 10, 2006 2:02 pm   
Post subject: ello
Reply with quote
 
i gave you that info in my first subject!
pingu trhrow, ms pacman, 501 darts, frogger, bloody pingu works just fine cuz they all have auto score! but with the others i have problems, on witch u have to click the Submit Score button.


View user's profile Send private message
 
 
 
 
forahobby
Administrator
Administrator


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

Post Posted: Sat Feb 11, 2006 2:45 am   
Post subject:
Reply with quote
 
hi bush3k,

I have read there is a fix for your problem in our forums??
Have you browsed through all our topics here?? All errors are fixed most of the time and the answers are already there..

hi !
in pnFlashGames module v0.6b (free version) for PHPNuke
cut in file oldcomponent.php
Code:
sql_query("INSERT INTO $prefix"._flashgames_hiscores." (hid,gid,gamename,playername,playerscore,date) VALUES ('','$game_id','$game_name', '$player_name','$player_score','$date')", $dbi);
and paste:
Code:
$result2 = $db->sql_query("INSERT INTO $prefix"._flashgames_hiscores." (hid,gid,gamename,playername,playerscore,date) VALUES ('','$game_id','$game_name', '$player_name','$player_score','$date')");


Try that.. Heres the original topic.
I would suggest you work your way through out topics..

I bet the answer is here.

http://www.xbox-hq.com/html/postt10933.html

_________________
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
 
 
 
 
bush3k
Xbox-HQ User
Xbox-HQ User



Joined: Feb 08, 2006
Posts: 10

Post Posted: Sat Feb 11, 2006 9:16 am   
Post subject:
Reply with quote
 
i usualy do that before i wrote anything, cuz is much easy, then to write a topic and then w8 for a reply! i already try that oldcomponent cut and paste ... and nothing. something else


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



Joined: Feb 08, 2006
Posts: 10

Post Posted: Mon Feb 13, 2006 8:33 pm   
Post subject: ello
Reply with quote
 
c'mon dude... can u answer me? u said it was easy 2 solve my prob?... plssss


View user's profile Send private message
 
 
 
 
forahobby
Administrator
Administrator


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

Post Posted: Tue Feb 14, 2006 3:31 am   
Post subject:
Reply with quote
 
Hi bush3k,

Unless you havent noticed i run many websites and provide instant support to my VIP members.. I can help you but i have many other users in front of you .

If you can send me a full .zip file of phpnuke 7.0 with a .sql file i will check into it for you. Why are you running phpnuke 7.0?? Are you a coder? I would upgrade personally but thats up to you.

shoot me a pm and then i will give you my email address to send the .zip file to .. I will test when i get more time.

hang in there. I wrote this entire thing by myself with no help. And i asked.. lol Plenty of times.

FH
http://www.xbox-hq.com
http://www.360-hq.com
http://www.pc-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
 
 
 
 
bush3k
Xbox-HQ User
Xbox-HQ User



Joined: Feb 08, 2006
Posts: 10

Post Posted: Wed Feb 15, 2006 2:08 pm   
Post subject:
Reply with quote
 
hey... i'm sorry 4 that... i didn't mean that, i just saw u answered me very fast at the begining... and now nothing, that's it! i've upgrade my php to 7-9... and still nothing!


View user's profile Send private message
 
 
 
 
forahobby
Administrator
Administrator


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

Post Posted: Wed Feb 15, 2006 11:30 pm   
Post subject:
Reply with quote
 
If you are running PHPNUKE 7.9 it should be working for you fine.
You only need to read the PHPNUKE 7.9 forums topic.

Apart from that you will need to give me full access to your webserver so i can fix for you.. I cant think of any otherway.

btw.. the module works fine.. Did you read the full install instructions on the readme.nfo (readme.txt) file which comes with it??

let me know

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
 
Display posts from previous:   
  Post new topic  
 
  Reply to topic  
Goto page 1, 2  Next |
 All times are GMT | Page 1 of 2
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