Oke de fout zou moeten zitten in deze mod 
http://www.tascrafts.com/tascrafts_copy ... odtemp.zip
Blank Template MOD
En dan gaat het om deze 2 stukken
Admin index.
Code: Selecteer alles
# 
#-----[ OPEN ]------------------------------------------ 
# 
admin/index.php
# 
#-----[ FIND ]------------------------------------------ 
# 
	  switch($onlinerow_reg[$i]['user_session_page'])
# 
#-----[ BEFORE, ADD ]------------------------------------------ 
# 
      
          // BEGIN Blank Template MOD
          if( $onlinerow_reg[$i]['user_session_page'] < PAGE_TEMPLATE )
          {
            $page_id = - ($onlinerow_reg[$i]['user_session_page'] + PAGE_TEMPLATE);
            $sql_tpl = "SELECT page_name WHERE page_id = $page_id";
            if ( !($result_tpl = $db->sql_query($sql_tpl)) )
            {
	      message_die(GENERAL_ERROR, 'Could not obtain regd user/online information', '', __LINE__, __FILE__, $sql);
            }
            while( $rowtpl = $db->sql_fetchrow($result_tpl) )
            {
              $location = $rowtpl['page_name'];
	      $location_url = "template.$phpEx?page=$page_id";
	    }	
          }
          // END Blank Template MOD
# 
#-----[ FIND ]------------------------------------------ 
# 
	switch( $onlinerow_guest[$i]['session_page'] )						
# 
#-----[ BEFORE, ADD ]------------------------------------------ 
# 
      
      // BEGIN Blank Template MOD
      if( $onlinerow_guest[$i]['session_page'] < PAGE_TEMPLATE )
      {
        $page_id = - ($onlinerow_guest[$i]['session_page'] + PAGE_TEMPLATE);
        $sql_tpl = "SELECT page_name WHERE page_id = $page_id";
        if ( !($result_tpl = $db->sql_query($sql_tpl)) )
        {
	  message_die(GENERAL_ERROR, 'Could not obtain regd user/online information', '', __LINE__, __FILE__, $sql);
        }
        while( $rowtpl = $db->sql_fetchrow($result_tpl) )
        {
          $location = $rowtpl['page_name'];
	  $location_url = "template.$phpEx?page=$page_id";
	}	
      }
      // END Blank Template MOD
View online
Code: Selecteer alles
viewonline.php
# 
#-----[ FIND ]------------------------------------------ 
# 
      switch( $row['session_page'] )
# 
#-----[ BEFORE, ADD ]------------------------------------------ 
# 
      
      // BEGIN Blank Template MOD
      if( $row['session_page'] < PAGE_TEMPLATE )
      {
        $page_id = - ($row['session_page'] + PAGE_TEMPLATE);
        $sql_tpl = "SELECT page_name WHERE page_id = $page_id";
        if ( !($result_tpl = $db->sql_query($sql_tpl)) )
        {
	  message_die(GENERAL_ERROR, 'Could not obtain regd user/online information', '', __LINE__, __FILE__, $sql);
        }
        while( $rowtpl = $db->sql_fetchrow($result_tpl) )
        {
          $location = $rowtpl['page_name'];
	  $location_url = "template.$phpEx?page=$page_id";
	}	
      }
      // END Blank Template MOD
De sql code die je moet opvoeren staat hier buiten zie:
Code: Selecteer alles
CREATE TABLE phpbb_add_pages (
page_id MEDIUMINT(8) NOT NULL,
page_name VARCHAR(100) NOT NULL,
page_content TEXT,
page_auth TINYINT(1) NOT NULL
);
Dus wat is er mis met die 2 stukken van de admin en viewonline.
Viewonline
http://www.vr6clubholland.nl/board/fout/viewonline.txt
Admin index
http://www.vr6clubholland.nl/board/fout/index.txt