You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(95) |
Apr
(270) |
May
(111) |
Jun
|
Jul
|
Aug
(64) |
Sep
(130) |
Oct
(319) |
Nov
(17) |
Dec
(191) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(53) |
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(387) |
Jul
(102) |
Aug
(247) |
Sep
(120) |
Oct
(1) |
Nov
(8) |
Dec
(21) |
| 2007 |
Jan
(38) |
Feb
(36) |
Mar
|
Apr
(32) |
May
(135) |
Jun
(523) |
Jul
(192) |
Aug
(103) |
Sep
(533) |
Oct
(77) |
Nov
(23) |
Dec
(203) |
| 2008 |
Jan
(312) |
Feb
(1193) |
Mar
(404) |
Apr
(67) |
May
(62) |
Jun
(497) |
Jul
(297) |
Aug
(110) |
Sep
(335) |
Oct
(256) |
Nov
(50) |
Dec
(118) |
| 2009 |
Jan
(67) |
Feb
(10) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(10) |
Jul
(61) |
Aug
|
Sep
(16) |
Oct
(45) |
Nov
(12) |
Dec
(14) |
| 2010 |
Jan
(30) |
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
(7) |
Aug
(7) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
|
| 2011 |
Jan
(7) |
Feb
(3) |
Mar
(89) |
Apr
(11) |
May
(5) |
Jun
|
Jul
(8) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(89) |
| 2012 |
Jan
(7) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(42) |
Nov
(1) |
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
(19) |
Apr
(90) |
May
(38) |
Jun
(235) |
Jul
(38) |
Aug
(10) |
Sep
|
Oct
(29) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(52) |
Jun
|
Jul
(7) |
Aug
|
Sep
(17) |
Oct
|
Nov
|
Dec
|
|
From: Jon O. <jon...@us...> - 2008-02-18 19:48:41
|
Update of /cvsroot/mxbb/core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32314 Modified Files: common.php Log Message: Minor fixes Index: common.php =================================================================== RCS file: /cvsroot/mxbb/core/common.php,v retrieving revision 1.85 retrieving revision 1.86 diff -C2 -d -r1.85 -r1.86 *** common.php 12 Feb 2008 08:30:03 -0000 1.85 --- common.php 18 Feb 2008 19:48:38 -0000 1.86 *************** *** 106,110 **** unset($input); } ! // If we are on PHP >= 6.0.0 we do not need some code if (version_compare(PHP_VERSION, '6.0.0-dev', '>=')) --- 106,110 ---- unset($input); } ! // If we are on PHP >= 6.0.0 we do not need some code if (version_compare(PHP_VERSION, '6.0.0-dev', '>=')) |
|
From: Jon O. <jon...@us...> - 2008-02-18 19:47:41
|
Update of /cvsroot/mxbb/mx_phpbb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31846 Modified Files: forum_hack.php Log Message: minor fix Index: forum_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/forum_hack.php,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** forum_hack.php 18 Feb 2008 19:41:48 -0000 1.38 --- forum_hack.php 18 Feb 2008 19:47:37 -0000 1.39 *************** *** 52,55 **** --- 52,56 ---- if(!function_exists(auth_check_user)) { + // Do we really need this one? include_once($phpbb_root_path . 'includes/auth.' . $phpEx); } |
|
From: Jon O. <jon...@us...> - 2008-02-18 19:41:58
|
Update of /cvsroot/mxbb/mx_phpbb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29248/includes Modified Files: forum_hack.php Log Message: Updated for 2.9.x Index: forum_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/forum_hack.php,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** forum_hack.php 18 Feb 2008 18:37:13 -0000 1.37 --- forum_hack.php 18 Feb 2008 19:41:48 -0000 1.38 *************** *** 187,193 **** function init_paths() { ! global $mx_root_path, $db, $phpEx; ! if ( defined( PHPBB_URL ) && defined( PORTAL_URL ) ) { $this->phpbb_url = PHPBB_URL; --- 187,193 ---- function init_paths() { ! global $mx_root_path, $db, $phpEx, $board_config; ! if ( defined( 'PHPBB_URL' ) && defined( 'PORTAL_URL' ) ) { $this->phpbb_url = PHPBB_URL; *************** *** 206,211 **** { $row = $db->sql_fetchrow( $result ); ! $this->phpbb_url = $row['portal_phpbb_url']; ! $this->portal_url = $row['portal_url']; } $db->sql_freeresult($result); --- 206,239 ---- { $row = $db->sql_fetchrow( $result ); ! if (file_exists( $mx_root_path . 'includes/sessions/index.htm' )) ! { ! // ! // Core 2.9.x ! // ! $script_name = preg_replace('/^\/?(.*?)\/?$/', "\\1", trim($row['script_path'])); ! $server_name = trim($row['server_name']); ! $server_protocol = ( $row['cookie_secure'] ) ? 'https://' : 'http://'; ! $server_port = ( $row['server_port'] <> 80 ) ? ':' . trim($row['server_port']) . '/' : '/'; ! ! $server_url = $server_protocol . str_replace("//", "/", $server_name . $server_port . $script_name . '/'); //On some server the slash is not added and this trick will fix it ! ! define('PORTAL_URL', $server_url); ! ! $script_name_phpbb = preg_replace('/^\/?(.*?)\/?$/', "\\1", trim($board_config['script_path'])) . '/'; ! ! $server_url_phpbb = $server_protocol . $server_name . $server_port . $script_name_phpbb; ! define('PHPBB_URL', $server_url_phpbb); ! ! $this->phpbb_url = PHPBB_URL; ! $this->portal_url = PORTAL_URL; ! } ! else ! { ! // ! // Core 2.8.x ! // ! $this->phpbb_url = $row['portal_phpbb_url']; ! $this->portal_url = $row['portal_url']; ! } } $db->sql_freeresult($result); *************** *** 669,673 **** $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'], --- 697,701 ---- $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'], *************** *** 1505,1509 **** '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'], --- 1533,1537 ---- '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'], *************** *** 1706,1709 **** --- 1734,1738 ---- case 'viewforum': $code = str_replace('<a href=\"modcp', '<a href=\"'.$phpbb_root_path.'modcp', $code); + $code = str_replace('obtain_word_list(', 'phpBB2::obtain_word_list(', $code); break; *************** *** 1719,1722 **** --- 1748,1752 ---- $code = str_replace('$temp_url = "posting.', '$temp_url = "' . $phpbb_root_path . 'posting.', $code); $code = str_replace('$temp_url = "bin.', '$temp_url = "' . $phpbb_root_path . 'bin.', $code); + $code = str_replace('obtain_word_list(', 'phpBB2::obtain_word_list(', $code); // *************** *** 1742,1750 **** --- 1772,1789 ---- case 'search': $code = str_replace('username_search(', '$mx_forum->username_search(', $code); + $code = str_replace('obtain_word_list(', 'phpBB2::obtain_word_list(', $code); break; case 'modcp': $code = str_replace('$u_view_topic = "modcp.$phpEx', '$u_view_topic = $phpbb_root_path."modcp.$phpEx', $code); + $code = str_replace('obtain_word_list(', 'phpBB2::obtain_word_list(', $code); + break; + + case 'posting': + $code = str_replace('obtain_word_list(', 'phpBB2::obtain_word_list(', $code); + break; + case 'privmsg': + $code = str_replace('obtain_word_list(', 'phpBB2::obtain_word_list(', $code); break; /* *************** *** 1792,1795 **** --- 1831,1839 ---- break; + case 'includes/topic_review': + + $code = str_replace('obtain_word_list(', 'phpBB2::obtain_word_list(', $code); + break; + case 'cash': *************** *** 1798,1802 **** --- 1842,1848 ---- } + // //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); *************** *** 1807,1814 **** // ! // Now do a recursive study of sub includes ;) // //$code = preg_replace('#^(.?).*(include)(.*?)(includes\/usercp_)(.*?)(\.).*(\r\n?|\n)#m', "\n " . '$mx_forum->read_file( \'includes/usercp_\\5\', true );' . "\n", $code); $code = preg_replace('#^(.?).*(include)(.*?)(includes\/)(.*?)(\.).*(\r\n?|\n)#m', "\n " . '$mx_forum->read_file( \'includes/\\5\', true );' . "\n", $code); $phpbb_output = ''; --- 1853,1861 ---- // ! // Now do a recursive study of sub includes/requires ;) // //$code = preg_replace('#^(.?).*(include)(.*?)(includes\/usercp_)(.*?)(\.).*(\r\n?|\n)#m', "\n " . '$mx_forum->read_file( \'includes/usercp_\\5\', true );' . "\n", $code); $code = preg_replace('#^(.?).*(include)(.*?)(includes\/)(.*?)(\.).*(\r\n?|\n)#m', "\n " . '$mx_forum->read_file( \'includes/\\5\', true );' . "\n", $code); + $code = preg_replace('#^(.?).*(require)(.*?)(includes\/)(.*?)(\.).*(\r\n?|\n)#m', "\n " . '$mx_forum->read_file( \'includes/\\5\', true );' . "\n", $code); $phpbb_output = ''; |
|
From: Jon O. <jon...@us...> - 2008-02-18 18:37:19
|
Update of /cvsroot/mxbb/mx_phpbb In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32400 Modified Files: mx_phpbb.php Log Message: Updated to handle both core branches... Index: mx_phpbb.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/mx_phpbb.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** mx_phpbb.php 8 Feb 2008 04:26:20 -0000 1.14 --- mx_phpbb.php 18 Feb 2008 18:37:13 -0000 1.15 *************** *** 69,72 **** --- 69,73 ---- include_once($mx_root_path . "modules/mx_phpbb/includes/phpbb_constants.$phpEx"); + /* if ((@include $mx_root_path . "includes/shared/phpbb2/language/lang_" . $default_lang . "/lang_main.$phpEx") === false) { *************** *** 76,79 **** --- 77,81 ---- } } + */ // |
|
From: Jon O. <jon...@us...> - 2008-02-18 18:37:19
|
Update of /cvsroot/mxbb/mx_phpbb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32400/includes Modified Files: forum_hack.php Log Message: Updated to handle both core branches... Index: forum_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/forum_hack.php,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** forum_hack.php 18 Feb 2008 03:39:13 -0000 1.36 --- forum_hack.php 18 Feb 2008 18:37:13 -0000 1.37 *************** *** 22,59 **** 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 ! if (file_exists($mx_root_path . 'modules/mx_smartor/album_mod/album_bbconstants.' . $phpEx)) ! { ! include_once($mx_root_path . 'modules/mx_smartor/album_mod/album_bbconstants.' . $phpEx); } ! include_once($mx_root_path . 'includes/shared/phpbb2/includes/bbcode.' . $phpEx); ! ! include_once($phpbb_root_path . 'includes/auth.' . $phpEx); ! if(!function_exists('create_date')) { ! function create_date($format, $gmepoch, $tz) { ! return phpBB2::create_date($format, $gmepoch, $tz); } } ! if(!function_exists('get_db_stat')) { ! function get_db_stat($mode) ! { ! return phpBB2::get_db_stat($mode); ! } } //Check for cash mod ! if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) { define('IN_CASHMOD', true); ! if ( !file_exists(phpBB2::phpbb_realpath($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_cash.'.$phpEx)) ) { --- 22,63 ---- include_once($mx_root_path . 'includes/shared/phpbb2/includes/functions.' . $phpEx); ! if(!function_exists(style_select)) ! { ! include_once($phpbb_root_path . 'includes/functions_selects.' . $phpEx); } ! if(!function_exists(generate_smilies)) ! { ! include_once($phpbb_root_path . 'includes/functions_post.' . $phpEx); ! } ! //Check for mx_smartor fap version ! // We need to check the DB too, since we can have the files there but not installed !! ! if (file_exists($mx_root_path . 'modules/mx_smartor/album_mod/album_bbconstants.' . $phpEx)) { ! $sql = "SELECT COUNT(*) AS total FROM" . MODULE_TABLE . " WHERE module_path = 'modules/mx_smartor/'"; ! if( ($result = $db->sql_query($sql)) ) { ! include_once($mx_root_path . 'modules/mx_smartor/album_mod/album_bbconstants.' . $phpEx); } + $db->sql_freeresult($result); } ! if(!function_exists(smilies_pass)) { ! include_once($phpbb_root_path . 'includes/bbcode.' . $phpEx); ! } ! ! if(!function_exists(auth_check_user)) ! { ! include_once($phpbb_root_path . 'includes/auth.' . $phpEx); } //Check for cash mod ! if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) { define('IN_CASHMOD', true); ! if ( !file_exists(phpBB2::phpbb_realpath($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_cash.'.$phpEx)) ) { *************** *** 63,67 **** { include_once($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_cash.' . $phpEx); ! } } --- 67,71 ---- { include_once($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_cash.' . $phpEx); ! } } *************** *** 826,830 **** mx_message_die(GENERAL_ERROR, "Couldn't obtain category list.", "", __LINE__, __FILE__, $sql); } ! $category_rows = array(); while ( $row = $db->sql_fetchrow($result) ) --- 830,834 ---- mx_message_die(GENERAL_ERROR, "Couldn't obtain category list.", "", __LINE__, __FILE__, $sql); } ! $category_rows = array(); while ( $row = $db->sql_fetchrow($result) ) *************** *** 902,910 **** 'title' => $forum_rows[$k]['forum_name'] ); ! } } // End Simple Subforums MOD ! } } --- 906,914 ---- 'title' => $forum_rows[$k]['forum_name'] ); ! } } // End Simple Subforums MOD ! } } *************** *** 948,952 **** return; } ! // -------------------------------------------------------------------------------- --- 952,956 ---- return; } ! // -------------------------------------------------------------------------------- *************** *** 992,996 **** $template->assign_vars( array( 'U_MORE_SMILIES' => $this->append_sid( "posting.$phpEx?mode=smilies" ) ) ); } ! function username_search($search_match) { --- 996,1000 ---- $template->assign_vars( array( 'U_MORE_SMILIES' => $this->append_sid( "posting.$phpEx?mode=smilies" ) ) ); } ! function username_search($search_match) { *************** *** 1543,1547 **** //Check for cash mod ! if (defined('IN_CASHMOD')) { global $cash, $cm_groups; // allways used globally by cash mod --- 1547,1551 ---- //Check for cash mod ! if (defined('IN_CASHMOD')) { global $cash, $cm_groups; // allways used globally by cash mod *************** *** 1573,1577 **** $cashcode = str_replace('<?php','',$cashcode); $cashcode = str_replace('?>','',$cashcode); ! // // Commment out the main includes --- 1577,1581 ---- $cashcode = str_replace('<?php','',$cashcode); $cashcode = str_replace('?>','',$cashcode); ! // // Commment out the main includes *************** *** 1586,1590 **** $cashcode = preg_replace ("/include(.*)functions_post/", "//", $cashcode); ! // // NOTE: This regex will only work if "global" is stated on a new line... // --- 1590,1594 ---- $cashcode = preg_replace ("/include(.*)functions_post/", "//", $cashcode); ! // // NOTE: This regex will only work if "global" is stated on a new line... // *************** *** 1602,1613 **** $cashcode = preg_replace ("/phpbb_root_path = (.*)\;/", "phpbb_root_path = '" . $phpbb_root_path . "';", $cashcode); ! // // Add the phpbb_root_path to the append_sid function - if not already there // // ! $template = new mx_Template( $phpbb_root_path . 'templates/'. $theme['template_name'] ); eval($cashcode); ! } $code = file_get_contents($phpbb_root_path . $phpbb_file . ".$phpEx"); --- 1606,1617 ---- $cashcode = preg_replace ("/phpbb_root_path = (.*)\;/", "phpbb_root_path = '" . $phpbb_root_path . "';", $cashcode); ! // // Add the phpbb_root_path to the append_sid function - if not already there // // ! $template = new mx_Template( $phpbb_root_path . 'templates/'. $theme['template_name'] ); eval($cashcode); ! } $code = file_get_contents($phpbb_root_path . $phpbb_file . ".$phpEx"); *************** *** 1715,1719 **** $code = str_replace('$temp_url = "posting.', '$temp_url = "' . $phpbb_root_path . 'posting.', $code); $code = str_replace('$temp_url = "bin.', '$temp_url = "' . $phpbb_root_path . 'bin.', $code); ! // // Avatars and ranks --- 1719,1723 ---- $code = str_replace('$temp_url = "posting.', '$temp_url = "' . $phpbb_root_path . 'posting.', $code); $code = str_replace('$temp_url = "bin.', '$temp_url = "' . $phpbb_root_path . 'bin.', $code); ! // // Avatars and ranks *************** *** 1736,1746 **** break; ! case 'search': $code = str_replace('username_search(', '$mx_forum->username_search(', $code); break; ! case 'modcp': $code = str_replace('$u_view_topic = "modcp.$phpEx', '$u_view_topic = $phpbb_root_path."modcp.$phpEx', $code); ! break; /* --- 1740,1750 ---- break; ! case 'search': $code = str_replace('username_search(', '$mx_forum->username_search(', $code); break; ! case 'modcp': $code = str_replace('$u_view_topic = "modcp.$phpEx', '$u_view_topic = $phpbb_root_path."modcp.$phpEx', $code); ! break; /* *************** *** 1768,1772 **** $code = str_replace( '\'./\' . $board_config[\'avatar_gallery_path\']', '$board_config[\'avatar_gallery_path\']', $code ); $code = str_replace( '\'./\' . $board_config[\'avatar_path\']', '$board_config[\'avatar_path\']', $code ); ! $code = str_replace( '$board_config[\'avatar_gallery_path\']', '\'' . $phpbb_root_path . '\' . $board_config[\'avatar_gallery_path\']', $code ); $code = str_replace( '$board_config[\'avatar_path\']', '\'' . $phpbb_root_path . '\' . $board_config[\'avatar_path\']', $code ); --- 1772,1776 ---- $code = str_replace( '\'./\' . $board_config[\'avatar_gallery_path\']', '$board_config[\'avatar_gallery_path\']', $code ); $code = str_replace( '\'./\' . $board_config[\'avatar_path\']', '$board_config[\'avatar_path\']', $code ); ! $code = str_replace( '$board_config[\'avatar_gallery_path\']', '\'' . $phpbb_root_path . '\' . $board_config[\'avatar_gallery_path\']', $code ); $code = str_replace( '$board_config[\'avatar_path\']', '\'' . $phpbb_root_path . '\' . $board_config[\'avatar_path\']', $code ); *************** *** 1776,1797 **** $code = str_replace( '$move_file($avatar_filename, \'' . $phpbb_root_path .'\' . $board_config[\'avatar_path\'] . "/$new_filename");','$move_file($avatar_filename, \'' . $phpbb_root_path .'\' . $board_config[\'avatar_path\'] . "/$new_filename"); @unlink( $avatar_filename);', $code); break; - - case 'includes/usercp_viewprofile': - // - // Avatars and ranks - // - $code = str_replace('\'./\' . $board_config[\'avatar_gallery_path\']', '$board_config[\'avatar_gallery_path\']', $code); - $code = str_replace('\'./\' . $board_config[\'avatar_path\']', '$board_config[\'avatar_path\']', $code); ! $code = str_replace('$board_config[\'avatar_gallery_path\']', '\''.$phpbb_root_path.'\' . $board_config[\'avatar_gallery_path\']', $code); ! $code = str_replace('$board_config[\'avatar_path\']', '\''.$phpbb_root_path.'\' . $board_config[\'avatar_path\']', $code); break; ! case 'cash': ! $code = str_replace('exit;', 'return;', $code); break; } ! //this funtions are now in funtion container $code = str_replace('get_db_stat(', 'phpBB2::get_db_stat(', $code); --- 1780,1801 ---- $code = str_replace( '$move_file($avatar_filename, \'' . $phpbb_root_path .'\' . $board_config[\'avatar_path\'] . "/$new_filename");','$move_file($avatar_filename, \'' . $phpbb_root_path .'\' . $board_config[\'avatar_path\'] . "/$new_filename"); @unlink( $avatar_filename);', $code); break; ! case 'includes/usercp_viewprofile': ! // ! // Avatars and ranks ! // ! $code = str_replace('\'./\' . $board_config[\'avatar_gallery_path\']', '$board_config[\'avatar_gallery_path\']', $code); ! $code = str_replace('\'./\' . $board_config[\'avatar_path\']', '$board_config[\'avatar_path\']', $code); ! ! $code = str_replace('$board_config[\'avatar_gallery_path\']', '\''.$phpbb_root_path.'\' . $board_config[\'avatar_gallery_path\']', $code); ! $code = str_replace('$board_config[\'avatar_path\']', '\''.$phpbb_root_path.'\' . $board_config[\'avatar_path\']', $code); break; ! case 'cash': ! $code = str_replace('exit;', 'return;', $code); break; } ! //this funtions are now in funtion container $code = str_replace('get_db_stat(', 'phpBB2::get_db_stat(', $code); *************** *** 1801,1805 **** $code = str_replace('get_userdata(', 'mx_get_userdata(', $code); $code = str_replace('dss_rand(', 'mx_dss_rand(', $code); ! // // Now do a recursive study of sub includes ;) --- 1805,1809 ---- $code = str_replace('get_userdata(', 'mx_get_userdata(', $code); $code = str_replace('dss_rand(', 'mx_dss_rand(', $code); ! // // Now do a recursive study of sub includes ;) *************** *** 1859,1871 **** if ($mx_forum->phpbb_config['enable_module']) { ! if ( isset( $HTTP_POST_FILES ) && !empty( $HTTP_POST_FILES ) ) ! { ! $up_files_keys = array_keys( $HTTP_POST_FILES ); ! foreach( $up_files_keys as $up_file ) ! { ! @rename( $HTTP_POST_FILES[$up_file]['tmp_name'], $HTTP_POST_FILES[$up_file]['tmp_name'] . '.mxbb' ); ! $HTTP_POST_FILES[$up_file]['tmp_name'] .= '.mxbb'; ! $_FILES[$up_file]['tmp_name'] .= '.mxbb'; ! } } $http_protocol = ( $board_config['cookie_secure'] ) ? 'https://' : 'http://'; --- 1863,1875 ---- if ($mx_forum->phpbb_config['enable_module']) { ! if ( isset( $HTTP_POST_FILES ) && !empty( $HTTP_POST_FILES ) ) ! { ! $up_files_keys = array_keys( $HTTP_POST_FILES ); ! foreach( $up_files_keys as $up_file ) ! { ! @rename( $HTTP_POST_FILES[$up_file]['tmp_name'], $HTTP_POST_FILES[$up_file]['tmp_name'] . '.mxbb' ); ! $HTTP_POST_FILES[$up_file]['tmp_name'] .= '.mxbb'; ! $_FILES[$up_file]['tmp_name'] .= '.mxbb'; ! } } $http_protocol = ( $board_config['cookie_secure'] ) ? 'https://' : 'http://'; |
|
From: Jon O. <jon...@us...> - 2008-02-18 18:36:24
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31249 Modified Files: Tag: core28x mx_functions.php Log Message: Minor sql bug Index: mx_functions.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions.php,v retrieving revision 1.72.2.3 retrieving revision 1.72.2.4 diff -C2 -d -r1.72.2.3 -r1.72.2.4 *** mx_functions.php 10 Feb 2008 21:17:54 -0000 1.72.2.3 --- mx_functions.php 18 Feb 2008 18:36:20 -0000 1.72.2.4 *************** *** 59,63 **** global $db; ! $sql = "SELECT COUNT(*) AS total FROM $table WHERE $idfield = $id"; if( !($result = $db->sql_query($sql)) ) { --- 59,63 ---- global $db; ! $sql = "SELECT COUNT(*) AS total FROM $table WHERE $idfield = '$id'"; if( !($result = $db->sql_query($sql)) ) { |
|
From: Jon O. <jon...@us...> - 2008-02-18 18:36:00
|
Update of /cvsroot/mxbb/core/templates/mxBase1 In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31677/mxBase1 Modified Files: mxBase1.css Log Message: Minor sql bug tinymce bg color Index: mxBase1.css =================================================================== RCS file: /cvsroot/mxbb/core/templates/mxBase1/mxBase1.css,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mxBase1.css 11 Feb 2008 22:56:39 -0000 1.1 --- mxBase1.css 18 Feb 2008 18:35:56 -0000 1.2 *************** *** 23,26 **** --- 23,34 ---- } + /* TinyMCE specific rules */ + body.mceContentBody { + text-align: left; + font-family: Verdana, Arial, Helvetica, sans-serif; + color: #000; + background: #FFF; + } + /* Main Containers */ #container{ |
|
From: Jon O. <jon...@us...> - 2008-02-18 18:36:00
|
Update of /cvsroot/mxbb/core/templates/mxBase2 In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31677/mxBase2 Modified Files: mxBase2.css Log Message: Minor sql bug tinymce bg color Index: mxBase2.css =================================================================== RCS file: /cvsroot/mxbb/core/templates/mxBase2/mxBase2.css,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mxBase2.css 11 Feb 2008 22:57:06 -0000 1.1 --- mxBase2.css 18 Feb 2008 18:35:56 -0000 1.2 *************** *** 23,26 **** --- 23,34 ---- } + /* TinyMCE specific rules */ + body.mceContentBody { + text-align: left; + font-family: Verdana, Arial, Helvetica, sans-serif; + color: #000; + background: #FFF; + } + /* Main Containers */ #container{ |
|
From: Jon O. <jon...@us...> - 2008-02-18 18:35:35
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31653 Modified Files: mx_functions.php Log Message: Minor sql bug tinymce bg color Index: mx_functions.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions.php,v retrieving revision 1.81 retrieving revision 1.82 diff -C2 -d -r1.81 -r1.82 *** mx_functions.php 11 Feb 2008 22:52:56 -0000 1.81 --- mx_functions.php 18 Feb 2008 18:35:30 -0000 1.82 *************** *** 59,63 **** global $db; ! $sql = "SELECT COUNT(*) AS total FROM $table WHERE $idfield = $id"; if( !($result = $db->sql_query($sql)) ) { --- 59,63 ---- global $db; ! $sql = "SELECT COUNT(*) AS total FROM $table WHERE $idfield = '$id'"; if( !($result = $db->sql_query($sql)) ) { |
|
From: Jon O. <jon...@us...> - 2008-02-18 17:34:07
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/uploads In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2974/pafiledb/uploads Modified Files: .htaccess Log Message: new max_file_size updated check to inlcude phpBB2 class Index: .htaccess =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/uploads/.htaccess,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** .htaccess 27 Oct 2003 16:08:56 -0000 1.1 --- .htaccess 18 Feb 2008 17:34:01 -0000 1.2 *************** *** 0 **** --- 1 ---- + deny from all \ No newline at end of file |
|
From: Jon O. <jon...@us...> - 2008-02-18 17:34:06
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2974/pafiledb/includes Modified Files: functions.php Log Message: new max_file_size updated check to inlcude phpBB2 class Index: functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions.php,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -d -r1.41 -r1.42 *** functions.php 17 Feb 2008 22:15:16 -0000 1.41 --- functions.php 18 Feb 2008 17:34:01 -0000 1.42 *************** *** 1943,1947 **** $gotit = false; - if ( @!file_exists( @$pafiledb_functions->pafiledb_realpath( $filename ) ) ) { --- 1943,1946 ---- |
|
From: Jon O. <jon...@us...> - 2008-02-18 17:34:06
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2974/pafiledb Modified Files: pafiledb_common.php Log Message: new max_file_size updated check to inlcude phpBB2 class Index: pafiledb_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/pafiledb_common.php,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** pafiledb_common.php 17 Feb 2008 10:50:02 -0000 1.25 --- pafiledb_common.php 18 Feb 2008 17:34:01 -0000 1.26 *************** *** 194,198 **** // Load a wrapper for common phpBB2 functions (compatibility with core 2.8.x) // ! if ( MXBB_28x ) { include_once( $mx_root_path . 'includes/shared/phpbb2/includes/functions.' . $phpEx ); --- 194,198 ---- // Load a wrapper for common phpBB2 functions (compatibility with core 2.8.x) // ! if ( defined('MXBB_28x') ) { include_once( $mx_root_path . 'includes/shared/phpbb2/includes/functions.' . $phpEx ); |
|
From: Jon O. <jon...@us...> - 2008-02-18 17:34:06
|
Update of /cvsroot/mxbb/mx_pafiledb In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2974 Modified Files: db_install.php Log Message: new max_file_size updated check to inlcude phpBB2 class Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/db_install.php,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** db_install.php 16 Feb 2008 21:47:31 -0000 1.33 --- db_install.php 18 Feb 2008 17:34:01 -0000 1.34 *************** *** 282,286 **** // Files ! "INSERT INTO " . $mx_table_prefix . "pa_config VALUES ('max_file_size','262144')", "INSERT INTO " . $mx_table_prefix . "pa_config VALUES ('forbidden_extensions','php, php3, php4, phtml, pl, asp, aspx, cgi')", "INSERT INTO " . $mx_table_prefix . "pa_config VALUES ('hotlink_prevent', '1')", --- 282,286 ---- // Files ! "INSERT INTO " . $mx_table_prefix . "pa_config VALUES ('max_file_size','10485760')", "INSERT INTO " . $mx_table_prefix . "pa_config VALUES ('forbidden_extensions','php, php3, php4, phtml, pl, asp, aspx, cgi')", "INSERT INTO " . $mx_table_prefix . "pa_config VALUES ('hotlink_prevent', '1')", |
|
From: OryNider <ory...@us...> - 2008-02-18 06:14:50
|
Update of /cvsroot/mxbb/mx_blogs/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8689 Modified Files: Tag: core28x weblog_index_top.tpl weblog_index_top_small.tpl Log Message: fixes ;) Index: weblog_index_top.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_blogs/templates/subSilver/weblog_index_top.tpl,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** weblog_index_top.tpl 7 Jun 2007 22:01:33 -0000 1.1 --- weblog_index_top.tpl 18 Feb 2008 06:14:45 -0000 1.1.2.1 *************** *** 1,4 **** <form method="post" action="{S_SORT_ACTION}"> ! <table width="100%" cellspacing="0" cellpadding="0" border="0" align="center"> <tr> <td valign="top"> --- 1,4 ---- <form method="post" action="{S_SORT_ACTION}"> ! <table width="100%" cellspacing="0" cellpadding="0" border="0" align="center" class="forumline" style="border-top:none;"> <tr> <td valign="top"> *************** *** 20,24 **** </form> ! <table width="100%" cellspacing="0" cellpadding="10" border="0" align="center"> <tr> <td> --- 20,24 ---- </form> ! <table width="100%" cellspacing="0" cellpadding="10" border="0" align="center" class="forumline" style="border-top:none;"> <tr> <td> Index: weblog_index_top_small.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_blogs/templates/subSilver/weblog_index_top_small.tpl,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** weblog_index_top_small.tpl 7 Jun 2007 22:01:34 -0000 1.1 --- weblog_index_top_small.tpl 18 Feb 2008 06:14:45 -0000 1.1.2.1 *************** *** 1,4 **** <form method="post" action="{S_SORT_ACTION}"> ! <table width="100%" cellspacing="0" cellpadding="0" border="0" align="center"> <tr> <td valign="top"> --- 1,4 ---- <form method="post" action="{S_SORT_ACTION}"> ! <table width="100%" cellspacing="0" cellpadding="0" border="0" align="center" class="forumline" style="border-top:none;"> <tr> <td valign="top"> *************** *** 14,18 **** </table> ! <table width="66%" cellspacing="0" cellpadding="0" border="0" align="center"> <tr> <td> --- 14,18 ---- </table> ! <table width="66%" cellspacing="0" cellpadding="0" border="0" align="center" class="forumline" style="border-top:none;"> <tr> <td> *************** *** 25,29 **** </div> ! <table cellspacing="1" cellpadding="2" border="0" width="100%" class="forumline"> <tr> <th class="thHead">{L_WEBLOG}</th> --- 25,29 ---- </div> ! <table cellspacing="1" cellpadding="2" border="0" width="100%"> <tr> <th class="thHead">{L_WEBLOG}</th> |
|
From: OryNider <ory...@us...> - 2008-02-18 06:14:34
|
Update of /cvsroot/mxbb/mx_blogs In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8665 Modified Files: Tag: core28x weblog_config.php Log Message: fixes ;) Index: weblog_config.php =================================================================== RCS file: /cvsroot/mxbb/mx_blogs/weblog_config.php,v retrieving revision 1.2.2.3 retrieving revision 1.2.2.4 diff -C2 -d -r1.2.2.3 -r1.2.2.4 *** weblog_config.php 10 Feb 2008 02:30:45 -0000 1.2.2.3 --- weblog_config.php 18 Feb 2008 06:14:30 -0000 1.2.2.4 *************** *** 51,54 **** --- 51,59 ---- } + if (($userdata['user_level'] == ADMIN) && isset($_GET['user_id'])) + { + $userdata['user_id'] = $_GET['user_id']; + } + // // Do not check if the user already has a weblog |
|
From: OryNider <ory...@us...> - 2008-02-18 06:14:34
|
Update of /cvsroot/mxbb/mx_blogs/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8665/includes Modified Files: Tag: core28x functions_weblog.php Log Message: fixes ;) Index: functions_weblog.php =================================================================== RCS file: /cvsroot/mxbb/mx_blogs/includes/functions_weblog.php,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** functions_weblog.php 10 Feb 2008 02:25:41 -0000 1.1.2.1 --- functions_weblog.php 18 Feb 2008 06:14:30 -0000 1.1.2.2 *************** *** 20,27 **** ***************************************************************************/ ! if (!function_exists('bbencode_second_pass') && !function_exists(dss_rand)) { - include_once($mx_root_path . 'includes/shared/phpbb2/includes/bbcode.' .$phpEx); - function dss_rand() { --- 20,25 ---- ***************************************************************************/ ! if (!function_exists(dss_rand)) { function dss_rand() { *************** *** 32,35 **** --- 30,38 ---- if (!function_exists('bbencode_second_pass')) { + include_once($mx_root_path . 'includes/shared/phpbb2/includes/bbcode.' .$phpEx); + } + + if (!function_exists('bbencode_second_pass')) + { include_once($phpbb_root_path . 'includes/bbcode.' .$phpEx); } |
|
From: OryNider <ory...@us...> - 2008-02-18 03:41:06
|
Update of /cvsroot/mxbb/mx_phpbb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8004 Modified Files: Tag: core28x forum_hack.php Log Message: case 'modcp': $code = str_replace('$u_view_topic = "modcp.$phpEx', '$u_view_topic = $phpbb_root_path."modcp.$phpEx', $code); break; Index: forum_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/forum_hack.php,v retrieving revision 1.24.2.4 retrieving revision 1.24.2.5 diff -C2 -d -r1.24.2.4 -r1.24.2.5 *** forum_hack.php 16 Feb 2008 06:25:47 -0000 1.24.2.4 --- forum_hack.php 18 Feb 2008 03:40:59 -0000 1.24.2.5 *************** *** 1575,1580 **** case 'modcp': ! $code = str_replace('"modcp.$phpEx', '$phpbb_root_path."modcp.$phpEx', $code); ! break; --- 1575,1580 ---- case 'modcp': ! $code = str_replace('$u_view_topic = "modcp.$phpEx', '$u_view_topic = $phpbb_root_path."modcp.$phpEx', $code); ! break; |
|
From: OryNider <ory...@us...> - 2008-02-18 03:39:17
|
Update of /cvsroot/mxbb/mx_phpbb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7451 Modified Files: forum_hack.php Log Message: $u_view_topic = fix Index: forum_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/forum_hack.php,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** forum_hack.php 16 Feb 2008 18:45:16 -0000 1.35 --- forum_hack.php 18 Feb 2008 03:39:13 -0000 1.36 *************** *** 1739,1745 **** $code = str_replace('username_search(', '$mx_forum->username_search(', $code); break; ! case 'modcp': ! $code = str_replace('"modcp.$phpEx', '$phpbb_root_path."modcp.$phpEx', $code); break; --- 1739,1745 ---- $code = str_replace('username_search(', '$mx_forum->username_search(', $code); break; ! case 'modcp': ! $code = str_replace('$u_view_topic = "modcp.$phpEx', '$u_view_topic = $phpbb_root_path."modcp.$phpEx', $code); break; |
|
From: Jon O. <jon...@us...> - 2008-02-17 22:15:35
|
Update of /cvsroot/mxbb/mx_pafiledb/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31886 Modified Files: pa_category_body.tpl Log Message: Nothing really, debugging and inserting space... Index: pa_category_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/templates/_core/pa_category_body.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** pa_category_body.tpl 9 Sep 2007 20:17:08 -0000 1.1 --- pa_category_body.tpl 17 Feb 2008 22:15:31 -0000 1.2 *************** *** 38,42 **** <!-- ENDIF --> - <!-- IF CAT_NAV_SIMPLE --> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> --- 38,41 ---- |
|
From: Jon O. <jon...@us...> - 2008-02-17 22:15:20
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31759 Modified Files: functions.php Log Message: Nothing really, debugging and inserting space... Index: functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions.php,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** functions.php 15 Feb 2008 22:15:15 -0000 1.40 --- functions.php 17 Feb 2008 22:15:16 -0000 1.41 *************** *** 255,262 **** function page_header( $page_title ) { ! global $pafiledb_config, $lang, $template, $userdata, $images, $action, $pafiledb; ! global $template, $db, $theme, $gen_simple_header, $starttime, $phpEx, $board_config, $user_ip, $phpbb_root_path; global $admin_level, $level_prior, $tree, $do_gzip_compress; ! global $mx_root_path, $module_root_path, $is_block, $phpEx, $title, $mx_block; if ( $action != 'download' ) --- 255,263 ---- function page_header( $page_title ) { ! global $pafiledb_config, $lang, $template, $userdata, $images, $pafiledb; ! global $template, $db, $theme, $gen_simple_header, $starttime, $phpEx, $board_config, $user_ip; global $admin_level, $level_prior, $tree, $do_gzip_compress; ! global $phpbb_root_path, $mx_root_path, $module_root_path, $is_block, $title, $mx_block; ! global $action; if ( $action != 'download' ) *************** *** 328,334 **** function page_footer() { ! global $pafiledb_cache, $lang, $template, $board_config, $pafiledb, $userdata, $phpbb_root_path; global $phpEx, $template, $do_gzip_compress, $debug, $db, $starttime; ! global $mx_root_path, $module_root_path, $is_block, $phpEx, $page_id; global $pa_module_version, $pa_module_orig_author, $pa_module_author; --- 329,335 ---- function page_footer() { ! global $pafiledb_cache, $lang, $template, $board_config, $pafiledb, $userdata; global $phpEx, $template, $do_gzip_compress, $debug, $db, $starttime; ! global $phpbb_root_path, $mx_root_path, $module_root_path, $is_block, $page_id; global $pa_module_version, $pa_module_orig_author, $pa_module_author; |
|
From: Jon O. <jon...@us...> - 2008-02-17 22:12:43
|
Update of /cvsroot/mxbb/mx_bugsbt/bugsbt/modules/tabs In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30634 Modified Files: bugsbt__node.php bugsbt__tab-index.php Log Message: Updated initiaization of ajax data Index: bugsbt__tab-index.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/modules/tabs/bugsbt__tab-index.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** bugsbt__tab-index.php 9 Sep 2007 19:35:11 -0000 1.5 --- bugsbt__tab-index.php 17 Feb 2008 22:12:38 -0000 1.6 *************** *** 13,16 **** --- 13,19 ---- $mx_root_path = "./../../../../../"; + // + // Let's include some stuff... + // $phpEx = substr(strrchr(__FILE__, '.'), 1); include($mx_root_path . 'common.' . $phpEx); *************** *** 23,27 **** // Page selector // ! $page_id = $mx_request_vars->request('page_id', MX_TYPE_INT, 0); // --- 26,30 ---- // Page selector // ! $page_id = $mx_request_vars->request('page', MX_TYPE_INT, 1); // *************** *** 29,33 **** // - populate $userdata, $lang, $theme, $images and initiate $template. // ! $mx_user->init($user_ip, - ( 1000 + $page_id )); // --- 32,36 ---- // - populate $userdata, $lang, $theme, $images and initiate $template. // ! $mx_user->init($user_ip, $page_id, false); // *************** *** 48,51 **** --- 51,60 ---- // + // Initiate user style (template + theme) management + // - populate $theme, $images and initiate $template. + // + $mx_user->init_style(); + + // // Page Auth and IP filter // Index: bugsbt__node.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/modules/tabs/bugsbt__node.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** bugsbt__node.php 22 Jul 2007 21:02:53 -0000 1.3 --- bugsbt__node.php 17 Feb 2008 22:12:38 -0000 1.4 *************** *** 25,28 **** --- 25,31 ---- $mx_root_path = "./../../../../"; + // + // Let's include some stuff... + // $phpEx = substr(strrchr(__FILE__, '.'), 1); include($mx_root_path . 'common.' . $phpEx); *************** *** 31,35 **** // Page selector // ! $page_id = $mx_request_vars->request('page_id', MX_TYPE_INT, 0); // --- 34,38 ---- // Page selector // ! $page_id = $mx_request_vars->request('page', MX_TYPE_INT, 1); // *************** *** 37,41 **** // - populate $userdata, $lang, $theme, $images and initiate $template. // ! $mx_user->init($user_ip, - ( 1000 + $page_id )); // --- 40,44 ---- // - populate $userdata, $lang, $theme, $images and initiate $template. // ! $mx_user->init($user_ip, $page_id, false); // *************** *** 56,59 **** --- 59,68 ---- // + // Initiate user style (template + theme) management + // - populate $theme, $images and initiate $template. + // + $mx_user->init_style(); + + // // Page Auth and IP filter // |
|
From: Jon O. <jon...@us...> - 2008-02-17 22:11:21
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29812 Modified Files: Tag: core28x mx_functions_style.php Log Message: Bugfix, for custom module styles Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.17.2.16 retrieving revision 1.17.2.17 diff -C2 -d -r1.17.2.16 -r1.17.2.17 *** mx_functions_style.php 17 Feb 2008 16:45:31 -0000 1.17.2.16 --- mx_functions_style.php 17 Feb 2008 22:11:17 -0000 1.17.2.17 *************** *** 64,68 **** function make_filename($filename) { ! global $module_root_path, $mx_root_path, $phpbb_root_path, $theme, $mx_user; $style_path = $theme['template_name'] . '/'; --- 64,68 ---- function make_filename($filename) { ! global $module_root_path, $mx_root_path, $phpbb_root_path, $theme, $mx_user, $mx_block; $style_path = $theme['template_name'] . '/'; *************** *** 74,78 **** { $this->module_template_path = ''; ! $moduleDefault = !empty($mx_user->loaded_default_styles[$module_root_path]) ? $mx_user->loaded_default_styles[$module_root_path] : $mx_user->default_template_name; if( file_exists($module_root_path . 'templates/' . $style_path . '/' . $filename) ) --- 74,78 ---- { $this->module_template_path = ''; ! $moduleDefault = !empty($mx_user->loaded_default_styles[$mx_block->module_root_path]) ? $mx_user->loaded_default_styles[$mx_block->module_root_path] : $mx_user->default_template_name; if( file_exists($module_root_path . 'templates/' . $style_path . '/' . $filename) ) *************** *** 186,190 **** if( !file_exists($filename) ) { ! die("Template->make_filename(): Error - file $filename does not exist."); } } --- 186,190 ---- if( !file_exists($filename) ) { ! die(var_export($mx_user->loaded_default_styles) . "Template->make_filename(): Error - file $filename does not exist. <br />Module: $module_root_path <br />Current style: $style_path <br />Cloned style: $mx_user->cloned_template_name <br />Default style: $mx_user->default_template_name <br />Custom module default style: $moduleDefault"); } } |
|
From: Jon O. <jon...@us...> - 2008-02-17 22:10:29
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29769 Modified Files: mx_functions_style.php Log Message: Bugfix, for custom module styles Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -d -r1.51 -r1.52 *** mx_functions_style.php 17 Feb 2008 20:14:26 -0000 1.51 --- mx_functions_style.php 17 Feb 2008 22:10:24 -0000 1.52 *************** *** 170,174 **** function make_filename($filename) { ! global $module_root_path, $mx_root_path, $phpbb_root_path, $theme, $mx_user; switch (PORTAL_BACKEND) --- 170,174 ---- function make_filename($filename) { ! global $module_root_path, $mx_root_path, $phpbb_root_path, $theme, $mx_user, $mx_block; switch (PORTAL_BACKEND) *************** *** 193,197 **** { $this->module_template_path = ''; ! $moduleDefault = !empty($mx_user->loaded_default_styles[$module_root_path]) ? $mx_user->loaded_default_styles[$module_root_path] : $mx_user->default_template_name; if( file_exists($module_root_path . 'templates/' . $style_path . '/' . $filename) ) --- 193,197 ---- { $this->module_template_path = ''; ! $moduleDefault = !empty($mx_user->loaded_default_styles[$mx_block->module_root_path]) ? $mx_user->loaded_default_styles[$mx_block->module_root_path] : $mx_user->default_template_name; if( file_exists($module_root_path . 'templates/' . $style_path . '/' . $filename) ) *************** *** 411,415 **** if( !file_exists($filename) ) { ! die("Template->make_filename(): Error - file $filename does not exist."); } } --- 411,415 ---- if( !file_exists($filename) ) { ! die("Template->make_filename(): Error - file $filename does not exist. <br />Module: $module_root_path <br />Current style: $style_path <br />Cloned style: $mx_user->cloned_template_name <br />Default style: $mx_user->default_template_name <br />Custom module default style: $moduleDefault"); } } |
|
From: Jon O. <jon...@us...> - 2008-02-17 21:28:45
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12349 Modified Files: Tag: core28x template.php Log Message: A couple of fixes/updates, backported from the 2.9.x version. Index: template.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/template.php,v retrieving revision 1.18.2.6 retrieving revision 1.18.2.7 diff -C2 -d -r1.18.2.6 -r1.18.2.7 *** template.php 4 Feb 2008 12:45:08 -0000 1.18.2.6 --- template.php 17 Feb 2008 21:28:41 -0000 1.18.2.7 *************** *** 182,186 **** function load_config($root, $edit_db) { ! global $board_config, $phpbb_root_path, $mx_root_path, $phpEx; // getting mod version from config and comparing with real data $ver = isset($board_config['xs_version']) ? $board_config['xs_version'] : 0; --- 182,186 ---- function load_config($root, $edit_db) { ! global $mx_cache, $board_config, $portal_config, $phpbb_root_path, $mx_root_path, $phpEx; // getting mod version from config and comparing with real data $ver = isset($board_config['xs_version']) ? $board_config['xs_version'] : 0; *************** *** 341,344 **** --- 341,359 ---- /** + * Set custom template location (able to use directory outside of phpBB) + * @access public + */ + function set_custom_template($template_path, $template_name) + { + global $board_config, $phpbb_root_path, $mx_root_path; + + $this->root = $template_path; + $this->cachepath = $mx_root_path . 'cache/ctpl_' . $template_name . '_'; + $this->cachedir = $mx_root_path . XS_DIR_CACHE . '/'; + + return true; + } + + /** * Destroys this template object. Should be called when you're done with it, in order * to clear out the template data so you can load/parse a new template set. *************** *** 419,423 **** function subtemplates_make_filename($filename) { ! global $HTTP_GET_VARS, $HTTP_POST_VARS, $db, $board_config, $images, $theme; global $sub_template_key_image, $sub_templates; global $tree; --- 434,438 ---- function subtemplates_make_filename($filename) { ! global $mx_request_vars, $db, $board_config, $images, $theme; global $sub_template_key_image, $sub_templates; global $tree; *************** *** 444,470 **** $post_id = 0; ! if ( !defined('IN_PRIVMSG') && ( isset($HTTP_GET_VARS[POST_POST_URL]) || isset($HTTP_POST_VARS[POST_POST_URL]) ) ) { ! $post_id = isset($HTTP_GET_VARS[POST_POST_URL]) ? intval($HTTP_GET_VARS[POST_POST_URL]) : intval($HTTP_POST_VARS[POST_POST_URL]); } ! if ( isset($HTTP_GET_VARS[POST_TOPIC_URL]) || isset($HTTP_POST_VARS[POST_TOPIC_URL]) ) { ! $topic_id = intval($HTTP_GET_VARS[POST_TOPIC_URL]) ? intval($HTTP_GET_VARS[POST_TOPIC_URL]) : intval($HTTP_POST_VARS[POST_TOPIC_URL]); } ! if ( isset($HTTP_GET_VARS[POST_FORUM_URL]) || isset($HTTP_POST_VARS[POST_FORUM_URL]) ) { ! $forum_id = isset($HTTP_GET_VARS[POST_FORUM_URL]) ? intval($HTTP_GET_VARS[POST_FORUM_URL]) : intval($HTTP_POST_VARS[POST_FORUM_URL]); } ! if ( isset($HTTP_GET_VARS[POST_CAT_URL]) || isset($HTTP_POST_VARS[POST_CAT_URL]) ) { ! $cat_id = isset($HTTP_GET_VARS[POST_CAT_URL]) ? intval($HTTP_GET_VARS[POST_CAT_URL]) : intval($HTTP_POST_VARS[POST_CAT_URL]); } ! if ( isset($HTTP_GET_VARS['selected_id']) || isset($HTTP_POST_VARS['selected_id']) ) { ! $selected_id = isset($HTTP_GET_VARS['selected_id']) ? $HTTP_GET_VARS['selected_id'] : $HTTP_POST_VARS['selected_id']; $type = substr($selected_id, 0, 1); $id = intval(substr($selected_id, 1)); --- 459,485 ---- $post_id = 0; ! if ( !defined('IN_PRIVMSG') && $mx_request_vars->is_request(POST_POST_URL)) { ! $post_id = $mx_request_vars->request(POST_POST_URL, MX_TYPE_INT); } ! if ($mx_request_vars->is_request(POST_TOPIC_URL) ) { ! $topic_id = $mx_request_vars->request(POST_TOPIC_URL, MX_TYPE_INT); } ! if ($mx_request_vars->is_request(POST_FORUM_URL)) { ! $forum_id = $mx_request_vars->request(POST_FORUM_URL, MX_TYPE_INT); } ! if ($mx_request_vars->is_request(POST_CAT_URL)) { ! $cat_id = $mx_request_vars->request(POST_CAT_URL, MX_TYPE_INT); } ! if ($mx_request_vars->is_request('selected_id')) { ! $selected_id = $mx_request_vars->request('selected_id', MX_TYPE_NO_TAGS); $type = substr($selected_id, 0, 1); $id = intval(substr($selected_id, 1)); *************** *** 848,852 **** } // creating cache filename ! if($can_cache) { $this->files_cache2[$handle] = $this->make_filename_cache($this->files[$handle]); --- 863,867 ---- } // creating cache filename ! if($can_cache != '') { $this->files_cache2[$handle] = $this->make_filename_cache($this->files[$handle]); *************** *** 913,917 **** global $lang, $theme, $board_config; ! if ( !defined( 'IN_PHPBB3' ) ) { $template = $theme['template_name']; --- 928,932 ---- global $lang, $theme, $board_config; ! if ( !(PORTAL_BACKEND == 'phpbb3') ) { $template = $theme['template_name']; *************** *** 928,934 **** echo '<!-- template ', $this->files[$handle], ' start -->'; } ! if($filename) { ! include($filename); } else --- 943,949 ---- echo '<!-- template ', $this->files[$handle], ' start -->'; } ! if ($filename) { ! ($include_once) ? include_once($filename) : include($filename); } else *************** *** 936,939 **** --- 951,955 ---- eval($code); } + if($board_config['xs_add_comments'] && $handle) { *************** *** 1483,1487 **** // remove keyword $keyword_str = substr($line, $pos1, $pos2 - $pos1 + 4); ! $params_str = $pos2 == $pos3 ? '' : substr($line, $pos3 + 1, $pos2 - $pos3 - 1); $code_lines[$i] = substr($line, $pos2 + 4); $i--; --- 1499,1503 ---- // remove keyword $keyword_str = substr($line, $pos1, $pos2 - $pos1 + 4); ! $params_str = ($pos2 == $pos3) ? '' : trim(substr($line, $pos3 + 1, $pos2 - $pos3 - 1)); $code_lines[$i] = substr($line, $pos2 + 4); $i--; *************** *** 1959,1962 **** --- 1975,1982 ---- $token = (!empty($varrefs[1])) ? $this->generate_block_data_ref(substr($varrefs[1], 0, -1), true, $varrefs[3]) . '[\'' . $varrefs[4] . '\']' : (($varrefs[3]) ? '$this->_tpldata[\'DEFINE\'][\'.\'][\'' . $varrefs[4] . '\']' : '$this->vars[\'' . $varrefs[4] . '\']'); } + else if ( $token[0] == '.' ) + { + $token = 'sizeOf( $this->_tpldata[\'' . substr( $token, 1) . '.\'])'; + } break; } |
|
From: Jon O. <jon...@us...> - 2008-02-17 20:26:26
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv18938 Modified Files: pa_post_comment.php pa_user_upload.php Log Message: Full page posting/editing Index: pa_post_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_post_comment.php,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** pa_post_comment.php 15 Feb 2008 22:45:37 -0000 1.25 --- pa_post_comment.php 17 Feb 2008 20:26:22 -0000 1.26 *************** *** 33,36 **** --- 33,41 ---- // + // Go full page + // + $mx_block->full_page = true; + + // // Request vars // Index: pa_user_upload.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_user_upload.php,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** pa_user_upload.php 15 Feb 2008 22:15:16 -0000 1.26 --- pa_user_upload.php 17 Feb 2008 20:26:22 -0000 1.27 *************** *** 29,33 **** global $pafiledb_config, $board_config, $phpbb_root_path; global $template, $db, $lang, $userdata, $user_ip, $phpEx, $pafiledb_functions; ! global $mx_root_path, $module_root_path, $is_block, $mx_request_vars; // ======================================================= --- 29,38 ---- global $pafiledb_config, $board_config, $phpbb_root_path; global $template, $db, $lang, $userdata, $user_ip, $phpEx, $pafiledb_functions; ! global $mx_root_path, $module_root_path, $is_block, $mx_request_vars, $mx_block; ! ! // ! // Go full page ! // ! $mx_block->full_page = true; // ======================================================= |