View Single Post
  #5 (permalink)  
Old 01-14-2005, 11:33 AM
4rminius 4rminius is offline
Junior Member
 
Join Date: Jan 2005
Posts: 3
You should be able now, i changed it.

But can anybody help me please?
I think its a mistake in the index.php of the forum but Im a noob at php scripting:
Code:
if (!eregi("modules.php", $_SERVER['PHP_SELF']))
    {
        die ("You can't access this file directly...");
    }
if ($popup != "1")
    {
        $module_name = basename(dirname(__FILE__));
        require("modules/".$module_name."/nukebb.php");
    }
    else
    {
        $phpbb_root_path = 'modules/Forums/';
    }
define('IN_PHPBB', true);
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);

//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX, $nukeuser);
init_userprefs($userdata);
//
// End session management
//

$viewcat = ( !empty($HTTP_GET_VARS[POST_CAT_URL]) ) ? $HTTP_GET_VARS[POST_CAT_URL] : -1;

if( isset($HTTP_GET_VARS['mark']) || isset($HTTP_POST_VARS['mark']) )
{
        $mark_read = ( isset($HTTP_POST_VARS['mark']) ) ? $HTTP_POST_VARS['mark'] : $HTTP_GET_VARS['mark'];
}
else
{
        $mark_read = '';
}

//
// Handle marking posts
//
if( $mark_read == 'forums' )
Reply With Quote