|
From: OryNider <ory...@us...> - 2008-02-04 23:42:26
|
Update of /cvsroot/mxbb/mx_phpbb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19633 Modified Files: forum_hack.php Log Message: not fixed yet but forum index working Index: forum_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/forum_hack.php,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** forum_hack.php 24 Jan 2008 18:13:27 -0000 1.27 --- forum_hack.php 4 Feb 2008 23:42:18 -0000 1.28 *************** *** 21,26 **** define( 'MX_FORUM_DEBUG', 1 ); ! include_once($phpbb_root_path . 'includes/functions_selects.' . $phpEx); ! include_once($phpbb_root_path . 'includes/functions_post.' . $phpEx); //Check for mx_smartor fap version --- 21,27 ---- define( 'MX_FORUM_DEBUG', 1 ); ! include_once($mx_root_path . 'includes/shared/phpbb2/includes/functions.' . $phpEx); ! include_once($mx_root_path . 'includes/shared/phpbb2/includes/functions_selects.' . $phpEx); ! include_once($mx_root_path . 'includes/shared/phpbb2/includes/functions_post.' . $phpEx); //Check for mx_smartor fap version *************** *** 30,35 **** } ! include_once($phpbb_root_path . 'includes/bbcode.' . $phpEx); ! include_once($phpbb_root_path . 'includes/auth.' . $phpEx); //Check for cash mod --- 31,36 ---- } ! include_once($mx_root_path . 'includes/shared/phpbb2/includes/bbcode.' . $phpEx); ! include_once($mx_root_path . 'includes/sessions/phpbb2/auth.' . $phpEx); //Check for cash mod *************** *** 645,649 **** $script_vars = array( 'LAST_VISIT_DATE' => sprintf( $lang['You_last_visit'], $s_last_visit ), ! 'CURRENT_TIME' => sprintf( $lang['Current_time'], create_date( $board_config['default_dateformat'], time(), $board_config['board_timezone'] ) ), 'L_SEARCH_NEW' => $lang['Search_new'], 'L_SEARCH_UNANSWERED' => $lang['Search_unanswered'], --- 646,650 ---- $script_vars = array( 'LAST_VISIT_DATE' => sprintf( $lang['You_last_visit'], $s_last_visit ), ! 'CURRENT_TIME' => sprintf( $lang['Current_time'], phpBB2::create_date( $board_config['default_dateformat'], time(), $board_config['board_timezone'] ) ), 'L_SEARCH_NEW' => $lang['Search_new'], 'L_SEARCH_UNANSWERED' => $lang['Search_unanswered'], *************** *** 1269,1273 **** 'TOTAL_USERS_ONLINE' => $l_online_users, 'LOGGED_IN_USER_LIST' => $online_userlist, ! 'RECORD_USERS' => sprintf($lang['Record_online_users'], $board_config['record_online_users'], create_date($board_config['default_dateformat'], $board_config['record_online_date'], $board_config['board_timezone'])), 'L_WHO_IS_ONLINE' => $lang['Who_is_Online'], --- 1270,1274 ---- 'TOTAL_USERS_ONLINE' => $l_online_users, 'LOGGED_IN_USER_LIST' => $online_userlist, ! 'RECORD_USERS' => sprintf($lang['Record_online_users'], $board_config['record_online_users'], phpBB2::create_date($board_config['default_dateformat'], $board_config['record_online_date'], $board_config['board_timezone'])), 'L_WHO_IS_ONLINE' => $lang['Who_is_Online'], *************** *** 1546,1549 **** --- 1547,1553 ---- break; } + //this funtions are now in funtion container + $code = str_replace('get_db_stat', 'phpBB2::get_db_stat', $code); + $code = str_replace('create_date', 'phpBB2::create_date', $code); // |