HQ NETWORK:   XBOX ONE |  XBOX 360 |  AIDELUXE HQ Network: 1,690 | Guests: 589 | Members: 3 


   Current Location: Forums Pcsxbox Compatibility List   |   Anybody have a 720/1080 Screen Cap Device?   |   XBOX STARTUP PROBLEM!   |   Xbox Collections Show Off your Xbox's   |   Net Builder Lite (Download Manager)   |   Xbox One Homebrew (Emulators) SNES/N64 & More   |   RE3 The New Easy   |   Resident Evil 3 NO LETTER BOX   |   Hidden Gems Collection RELEASED   |   How To Replace DVD ROM Drive? - Xbox V1.0   |   
  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 - PHP-Nuke-7.9.0.3.1a with the phflashgames v0.4
Xbox-Hq.Com Forum Index -> pnFlashGames Beta Testers/Bug Reports
Post new topic Reply to topic    
 PHP-Nuke-7.9.0.3.1a with the phflashgames v0.4 View previous topic :: View next topic  
 
 
 
 
Thrill
Xbox-HQ Experienced
Xbox-HQ Experienced

Xbox Version: V1.1
Modded: Xecuter 2 lite

Joined: Feb 13, 2005
Posts: 138
Location: UK

Post Posted: Wed Oct 05, 2005 4:27 pm   
Post subject: PHP-Nuke-7.9.0.3.1a with the phflashgames v0.4
Reply with quote
 
Hi m8,

Running PHP-Nuke-7.9.0.3.1a with the phflashgames v0.4 Plus Plus ++(vip version) and the scores are not working?

Im going to check everything my end just incase I forgot something but I dont think so..

I'll be back.

_________________
Mega Flash Game packs @ http://main.games4nuke.com


Last edited by Thrill on Wed Oct 05, 2005 11:03 pm; edited 1 time in total


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

Xbox Version: V1.1
Modded: Xecuter 2 lite

Joined: Feb 13, 2005
Posts: 138
Location: UK

Post Posted: Wed Oct 05, 2005 11:00 pm   
Post subject:
Reply with quote
 
3 installs later and still nothing, checked double checked then checked again, im not doing nothing wrong, they must have changed php-nuke again.. hmmmm

Any help would be cool Smile

Download hosted for 24hours then removed thx Cool

Heres the new 7.9 !ROOT!/Index.php:

Code:

<?php

/************************************************************************/
/* PHP-NUKE: Advanced Content Management System                         */
/* ============================================                         */
/*                                                                      */
/* Copyright (c) 2005 by Francisco Burzi                                */
/* http://phpnuke.org                                                   */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/

require_once("mainfile.php");
global $prefix, $db, $admin_file;

// Save Score for Old pnFlashGames Component - START
include("modules/Flash_Games/includes/oldcomponent.php");
// Save Score for Old pnFlashGames Component - END

if (isset($op) AND ($op == "ad_click") AND isset($bid)) {
   $bid = intval($bid);
   $sql = "SELECT clickurl FROM ".$prefix."_banner WHERE bid='$bid'";
   $result = $db->sql_query($sql);
   list($clickurl) = $db->sql_fetchrow($result);
   $db->sql_query("UPDATE ".$prefix."_banner SET clicks=clicks+1 WHERE bid='$bid'");
   update_points(21);
   Header("Location: ".htmlentities($clickurl));
   die();
}

$modpath = '';
define('MODULE_FILE', true);
$_SERVER['PHP_SELF'] = "modules.php";
$row = $db->sql_fetchrow($db->sql_query("SELECT main_module from ".$prefix."_main"));
$name = $row['main_module'];
define('HOME_FILE', true);

if (isset($url) AND is_admin($admin)) {
   Header("Location: $url");
   die();
}

if ($httpref == 1) {
    if (isset($_SERVER['HTTP_REFERER'])) {
    $referer = $_SERVER['HTTP_REFERER'];
    $referer = check_html($referer, "nohtml");
    }
    if (!empty($referer) && !stripos_clone($referer, "unknown") && !stripos_clone($referer, "bookmark") && !stripos_clone($referer, $_SERVER['HTTP_HOST'])) {
    $result = $db->sql_query("INSERT INTO ".$prefix."_referer VALUES (NULL, '".$referer."')");
    }
    $numrows = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_referer"));
    if($numrows>=$httprefmax) {
        $result2 = $db->sql_query("DELETE FROM ".$prefix."_referer");
    }
}
if (!isset($mop)) { $mop="modload"; }
if (!isset($mod_file)) { $mod_file="index"; }
$name = trim($name);
if (isset($file)) { $file = trim($file); }
$mod_file = trim($mod_file);
$mop = trim($mop);
if (stripos_clone($name,"..") || (isset($file) && stripos_clone($file,"..")) || stripos_clone($mod_file,"..") || stripos_clone($mop,"..")) {
   die("You are so cool...");
} else {
   $ThemeSel = get_theme();
   if (file_exists("themes/$ThemeSel/module.php")) {
      include("themes/$ThemeSel/module.php");
      if (is_active("$default_module") AND file_exists("modules/$default_module/".$mod_file.".php")) {
         $name = $default_module;
      }
   }
   if (file_exists("themes/$ThemeSel/modules/$name/".$mod_file.".php")) {
      $modpath = "themes/$ThemeSel/";
   }
   $modpath .= "modules/$name/".$mod_file.".php";
   if (file_exists($modpath)) {
      include($modpath);
   } else {
      define('INDEX_FILE', true);
      include("header.php");
      OpenTable();
      if (is_admin($admin)) {
         echo "<center><font class=\"\"><b>"._HOMEPROBLEM."</b></font><br><br>[ <a href=\"".$admin_file.".php?op=modules\">"._ADDAHOME."</a> ]</center>";
      } else {
         echo "<center>"._HOMEPROBLEMUSER."</center>";
      }
      CloseTable();
      include("footer.php");
   }
}

?>

_________________
Mega Flash Game packs @ http://main.games4nuke.com


Last edited by Thrill on Thu Oct 06, 2005 8:58 am; edited 1 time in total


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
forahobby
Administrator
Administrator


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

Post Posted: Thu Oct 06, 2005 3:15 am   
Post subject:
Reply with quote
 
what so you couldnt get it working either??
Thats so weird.. Is there anything written in a PHPNUKE changelog or something that may explain what they have added.

Personally i think they have added POST protection from everywhere..
Im right in the middle of the HQ upgrade so ill have to test it soon when i have more time.

Thanks for the heads up.. If your having issues thrill no wonder other guys cant get it working.

Anyway, another tip:

I would not seriously run phpnuke 7.7 or higher since they have added that java form and it does not check for malicious code.. Therefore if a member adds some javascript etc they can get your cookies..

not very smart idea to run any phpnuke which has the java form entry addon

l8r

Fh
thtp://www.xbox-hq.com

_________________
HQ Network - Xbox - Xbox 360 - Xbox One
Registered HQ Network users can access all of our websites using the one username and password.


View user's profile Send private message Send e-mail
 
 
 
 
forahobby
Administrator
Administrator


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

Post Posted: Thu Oct 06, 2005 3:20 am   
Post subject:
Reply with quote
 
I just download phpnuke 7.9 from your link but it has no SQL file to inject..
Can you attach that file please..

Ill quickly take a look now.. It cant be anything to large.

l8r

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

_________________
HQ Network - Xbox - Xbox 360 - Xbox One
Registered HQ Network users can access all of our websites using the one username and password.


View user's profile Send private message Send e-mail
 
 
 
 
Thrill
Xbox-HQ Experienced
Xbox-HQ Experienced

Xbox Version: V1.1
Modded: Xecuter 2 lite

Joined: Feb 13, 2005
Posts: 138
Location: UK

Post Posted: Thu Oct 06, 2005 7:40 am   
Post subject:
Reply with quote
 
You mean the Nuke sql tables??

Well I added the nuke tables & the 178 flash games tables..
If thats not what you looking for drop us a post.

Thx for the tip! 'Therefore if a member adds some javascript etc they can get your cookies.. '
I never knew this Shocked

_________________
Mega Flash Game packs @ http://main.games4nuke.com


Last edited by Thrill on Thu Oct 06, 2005 8:57 am; edited 1 time in total


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
forahobby
Administrator
Administrator


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

Post Posted: Thu Oct 06, 2005 8:15 am   
Post subject:
Reply with quote
 
hi,

your phpnuke 7.9 is corrupted mate.. I got most of the files but missing the main module.php and index.php from the root.

Can you re zip the phpnuke 7.9 and email me?? You still have my email im sure.. So just send it on..

Thanks.. Ill check it out for ya

_________________
HQ Network - Xbox - Xbox 360 - Xbox One
Registered HQ Network users can access all of our websites using the one username and password.


View user's profile Send private message Send e-mail
 
 
 
 
Thrill
Xbox-HQ Experienced
Xbox-HQ Experienced

Xbox Version: V1.1
Modded: Xecuter 2 lite

Joined: Feb 13, 2005
Posts: 138
Location: UK

Post Posted: Thu Oct 06, 2005 8:56 am   
Post subject:
Reply with quote
 
http://downloads.games4nuke.com/downloads/PHP-Nuke-7.9.0.3.1a.tar.tar

Try this one, its untouched from where i downloaded from. just uploaded it to my server Smile

_________________
Mega Flash Game packs @ http://main.games4nuke.com


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
forahobby
Administrator
Administrator


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

Post Posted: Thu Oct 06, 2005 2:55 pm   
Post subject:
Reply with quote
 
cheers...

ill get back to ya when i get a chance to play mate.. Smile

talk soon

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

_________________
HQ Network - Xbox - Xbox 360 - Xbox One
Registered HQ Network users can access all of our websites using the one username and password.


View user's profile Send private message Send e-mail
 
 
 
 
Thrill
Xbox-HQ Experienced
Xbox-HQ Experienced

Xbox Version: V1.1
Modded: Xecuter 2 lite

Joined: Feb 13, 2005
Posts: 138
Location: UK

Post Posted: Thu Oct 06, 2005 9:18 pm   
Post subject:
Reply with quote
 
Thx forahobby Smile theres no rush as for the mo, I down graded my nuke so phflashgames is working again, but still it would be good to have 7.9 suport Smile
_________________
Mega Flash Game packs @ http://main.games4nuke.com


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

Xbox Version: V1.1
Modded: Xecuter 2 lite

Joined: Oct 20, 2005
Posts: 4

Post Posted: Thu Oct 27, 2005 11:44 pm   
Post subject:
Reply with quote
 
Hi, I seem to have same problem. I am runnin php nuke 7.9 and the flashgame 4 vip block. Everything seems fine other than scores. It seems that none of scores are saved whatsoever.


View user's profile Send private message
 
 
 
 
forahobby
Administrator
Administrator


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

Post Posted: Fri Oct 28, 2005 12:46 am   
Post subject:
Reply with quote
 
hang in there guys,, Im over 50% of the way through the xboxhq upgrades.. Also the 360.xbox-hq.com website is now testing tooo..

ill do my best to get it fixed for you all as soon as humanly possible.

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

_________________
HQ Network - Xbox - Xbox 360 - Xbox One
Registered HQ Network users can access all of our websites using the one username and password.


View user's profile Send private message Send e-mail
 
 
 
 
Thrill
Xbox-HQ Experienced
Xbox-HQ Experienced

Xbox Version: V1.1
Modded: Xecuter 2 lite

Joined: Feb 13, 2005
Posts: 138
Location: UK

Post Posted: Sun Feb 19, 2006 2:35 pm   
Post subject:
Reply with quote
 
I now gave up on nuke 7.9

I found nuke 7.6 the best to run so thats that! now running nuke 7.6 with your phflashgames and its fine..

_________________
Mega Flash Game packs @ http://main.games4nuke.com


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

Xbox Version: V1.1
Modded: Xecuter 2 lite

Joined: Dec 14, 2008
Posts: 2

Post Posted: Tue Dec 23, 2008 6:51 am   
Post subject: Leaders Board
Reply with quote
 
Will the leaders board update by itself or do I have to manually insert he points?

Thanks


View user's profile Send private message
 
 
 
 
davmp
Xbox-HQ Newbie
Xbox-HQ Newbie

Xbox Version: V1.1
Modded: Xecuter 2 lite

Joined: Dec 14, 2008
Posts: 2

Post Posted: Tue Dec 23, 2008 6:32 pm   
Post subject:
Reply with quote
 
Ok, I figured it out.

I'm using ver. 7.9 and here is what I did to fix the following.

1. I used the above index.php.
2. I removed the flash_games ver 4.0 ++ (VIP) database.
3. Then I reinstalled the database with a new/clean slate.

and Presto! It's Working


View user's profile Send private message
 
 
 
 
forahobby
Administrator
Administrator


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

Post Posted: Mon Dec 29, 2008 8:47 pm   
Post subject:
Reply with quote
 
Hi guys,

Im so sorry i havent been able to get online and reply etc as i have had all sorts of dramas going on as well as being sick at the same time.

I did plan to have a new FLASHGAMES module written by the end of this year but its looking like next year again.. Sad.. If only i could get more team members helping around the HQ sites submitting news, cheats and stuff so it would let me code and improve more.

We have a great team already but we are spread very thin.

anyway, please forgive me and i promise to sit down very soon and get started on a new version for you all to play! Maybe even some cool games of mine to add..

l8r all and thanx so much for replying with your fixes for the other guys looking for help!

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


View user's profile Send private message Send e-mail
 
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 cannot attach files in this forum
You cannot download files in this forum
 

 Members Online (3) / Guests Online (589)
Members Browsing
Wolf_2015, ArchAngle, shakramusic,

Legend
Administrator  Moderator  VIP Member  Registered User  Banned Users