HQ NETWORK:   XBOX ONE |  XBOX 360 |  AIDELUXE HQ Network: 11,024 | Guests: 1171 | 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 - v0.3plusplus on phpnuke 7.7 bug+fix
Xbox-Hq.Com Forum Index -> pnFlashGames Project
Post new topic Reply to topic    
 v0.3plusplus on phpnuke 7.7 bug+fix View previous topic :: View next topic  
 
 
 
 
MaSTeRMinD
V.I.P. Lifetime

Xbox Version: none
Modded: none

Joined: Jan 24, 2005
Posts: 16

Post Posted: Sat May 07, 2005 3:06 pm   
Post subject: v0.3plusplus on phpnuke 7.7 bug+fix
Reply with quote
 
First of all Works great Smile

Also I would like to report a small bug for 7.7 i guess the same problem is present for phpnuke v7.6

If you have a renamed admin.php file , the link ot the admin panel points to admin.php not to your renamed file. And here is the fix.

Open modules/Flash_Games/admin/links.php
and remove
Code:
if (!eregi("admin.php", $_SERVER['PHP_SELF'])) { die ("Access Denied"); }
adminmenu("admin.php?op=FlashGames", "Flash Games", "flashgames.gif");


add these lines instead

Code:
if (!defined('ADMIN_FILE')) {
   die ("Access Denied");
}

global $admin_file;
adminmenu("".$admin_file.".php?op=FlashGames", "Flash Games", "flashgames.gif");



Also modules/Flash_Games/index.php must be edited in order to fix the same bug.

Find this line
Code:
global $module_name, $admin, $user, $func, $prefix, $dbi, $bgcolor1;


and replace it with or in the end just add $admin_file
Code:
global $module_name, $admin, $user, $func, $prefix, $dbi, $bgcolor1, $admin_file ;


then one line below you will find
Code:
echo "<center><a href=\"admin.php?op=FlashGames\"><font color=\"red\">"._ADMINTOOLS."</a></font>";


replace it with

Code:
echo "<center><a href=\"".$admin_file.".php?op=FlashGames\"><font color=\"red\">"._ADMINTOOLS."</a></font>";


Thats all you are done Smile


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


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

Post Posted: Sun May 08, 2005 3:23 am   
Post subject: PHPNUKE 7.7 pnFlashGames Module!
Reply with quote
 
thanks for the info MASTERMIND! Smile
Glad it works! I havent tested myself.

_________________
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