View Single Post
Old
  (#4 (permalink))
mikem
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
12-17-2002, 10:07 AM

Yeah? And mine looks exactly liek this and it works perfectly.

Code:
if (!eregi("modules.php", $PHP_SELF)) {
    die ("You can't access this file directly...");
}
$module_name = basename(dirname(__FILE__));
require("modules/".$module_name."/nukebb.php");
    if (is_user($user)) {
	include("modules/Your_Account/navbar.php");
	OpenTable();
	nav();
	CloseTable();
	echo "
";
    }
 else {
    $phpbb_root_path = 'modules/Forums/';
    $nuke_file_path = 'modules.php?name=Forums&file=';
}   
define('IN_PHPBB', true);
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
    
//
// Start session management
//
HOWEVER, it DOES NTO WORK if I add the little code helper lines before and after the code I told you to add as you did. Try taking those lines out.


HAH..ok wait a minute. Make sure you are logged in...hehe
mikem
   
Reply With Quote