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: FlorinCB <ory...@us...> - 2008-10-06 00:27:25
|
Update of /cvsroot/mxbb/core/includes/utf/data In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv30545/data Log Message: Directory /cvsroot/mxbb/core/includes/utf/data added to the repository |
|
From: FlorinCB <ory...@us...> - 2008-10-06 00:26:49
|
Update of /cvsroot/mxbb/core/includes/utf In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv30525/utf Log Message: Directory /cvsroot/mxbb/core/includes/utf added to the repository |
|
From: FlorinCB <ory...@us...> - 2008-10-05 23:43:19
|
Update of /cvsroot/mxbb/core/language/lang_romanian In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv28539/language/lang_romanian Modified Files: lang_admin.php lang_main.php Log Message: romanian language file converted to utf-8 so that categories can be edited Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/core/language/lang_romanian/lang_main.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** lang_main.php 4 Oct 2008 07:13:11 -0000 1.4 --- lang_main.php 5 Oct 2008 23:43:08 -0000 1.5 *************** *** 20,24 **** $lang['USER_LANG'] = 'ro'; ! $lang['ENCODING'] = 'Windows-1250'; $lang['DIRECTION'] = 'ltr'; $lang['LEFT'] = 'left'; --- 20,24 ---- $lang['USER_LANG'] = 'ro'; ! $lang['ENCODING'] = 'UTF-8'; $lang['DIRECTION'] = 'ltr'; $lang['LEFT'] = 'left'; *************** *** 30,37 **** // General // ! $lang['Page_Not_Authorised'] = 'Ne pare rãu, dar nu eºti autorizat sã accesezi aceastã paginã.'; ! $lang['Execution_Stats'] = 'Pagina a generat %s querie - Timpul generãrii: %s secunde'; ! $lang['Redirect_login'] = 'Click %sAici%s sã te logezi.'; ! $lang['Show_admin_options'] = 'Aratã/Ascunde Opþiunile Admin pe Paginã: '; $lang['Block_updated_date'] = 'Updatat '; $lang['Block_updated_by'] = 'de '; --- 30,37 ---- // General // ! $lang['Page_Not_Authorised'] = 'Ne pare rÄu, dar nu eÅti autorizat sÄ accesezi aceastÄ paginÄ.'; ! $lang['Execution_Stats'] = 'Pagina a generat %s querie - Timpul generÄrii: %s secunde'; ! $lang['Redirect_login'] = 'Click %sAici%s sÄ te logezi.'; ! $lang['Show_admin_options'] = 'AratÄ/Ascunde OpÅ£iunile Admin pe PaginÄ: '; $lang['Block_updated_date'] = 'Updatat '; $lang['Block_updated_by'] = 'de '; *************** *** 42,54 **** $lang['No'] = 'Nu'; ! $lang['Link'] = 'Legãturã'; $lang['Hidden_block'] = 'Block ascuns...'; ! $lang['Hidden_block_explain'] = 'Acest bloc este \'ascuns\', dar visibil deoarece eºti un admin/moderator.'; // // Overall Navigation Navigation // ! $lang['MX_home'] = 'Acasã'; $lang['MX_forum'] = 'Forum'; --- 42,54 ---- $lang['No'] = 'Nu'; ! $lang['Link'] = 'LegÄturÄ'; $lang['Hidden_block'] = 'Block ascuns...'; ! $lang['Hidden_block_explain'] = 'Acest bloc este \'ascuns\', dar visibil deoarece eÅti un admin/moderator.'; // // Overall Navigation Navigation // ! $lang['MX_home'] = 'AcasÄ'; $lang['MX_forum'] = 'Forum'; *************** *** 56,78 **** // Core Blocks - Language // ! $lang['Change_default_lang'] = 'Seteazã Limba Implicitã'; ! $lang['Change_user_lang'] = 'Seteazã Limba Ta'; $lang['Portal_lang'] = 'LimbaCP'; ! $lang['Select_lang'] = 'Selecteazã Limba:'; // // Core Blocks - Theme // ! $lang['Change'] = 'Schimbã Acum'; ! $lang['Change_default_style'] = 'Seteazã Silul Implicit'; ! $lang['Change_user_style'] = 'Seteazã Stilul Tãu'; ! $lang['Theme'] = 'CP Temã/Stil'; // Blocktitle ! $lang['SelectTheme'] = 'Selecteazã Tema/Stilul:'; // // Core Blocks - Search // ! $lang['Mx_Page'] = 'Paginã'; ! $lang['Mx_Block'] = 'Secþiune'; // --- 56,78 ---- // Core Blocks - Language // ! $lang['Change_default_lang'] = 'SeteazÄ Limba ImplicitÄ'; ! $lang['Change_user_lang'] = 'SeteazÄ Limba Ta'; $lang['Portal_lang'] = 'LimbaCP'; ! $lang['Select_lang'] = 'SelecteazÄ Limba:'; // // Core Blocks - Theme // ! $lang['Change'] = 'SchimbÄ Acum'; ! $lang['Change_default_style'] = 'SeteazÄ Silul Implicit'; ! $lang['Change_user_style'] = 'SeteazÄ Stilul TÄu'; ! $lang['Theme'] = 'CP TemÄ/Stil'; // Blocktitle ! $lang['SelectTheme'] = 'SelecteazÄ Tema/Stilul:'; // // Core Blocks - Search // ! $lang['Mx_Page'] = 'PaginÄ'; ! $lang['Mx_Block'] = 'SecÅ£iune'; // *************** *** 85,98 **** // $lang['Block_Title'] = 'Titlu'; ! $lang['Block_Info'] = 'Informaþii'; ! $lang['Block_Config_updated'] = 'Configuraþia blocului actualizatã cu succes'; ! $lang['Block_Edit'] = 'Editeazã Bloc'; ! $lang['Block_Edit_dyn'] = 'Editeazã Blocul pãrinte dinamic'; ! $lang['Block_Edit_sub'] = 'Editeazã Blocul pãrinte împãrþit'; ! $lang['General_updated_return_settings'] = 'Configuraþia upgradatã cu succes...<br /><br />Click %saici%s pentru a continua.'; // %s petru parametrii URI - NU IL SCOATE ! $lang['General_update_error'] = 'Configuraþia nu se poate upgrada...'; // --- 85,98 ---- // $lang['Block_Title'] = 'Titlu'; ! $lang['Block_Info'] = 'InformaÅ£ii'; ! $lang['Block_Config_updated'] = 'ConfiguraÅ£ia blocului actualizatÄ cu succes'; ! $lang['Block_Edit'] = 'EditeazÄ Bloc'; ! $lang['Block_Edit_dyn'] = 'EditeazÄ Blocul pÄrinte dinamic'; ! $lang['Block_Edit_sub'] = 'EditeazÄ Blocul pÄrinte împÄrÅ£it'; ! $lang['General_updated_return_settings'] = 'ConfiguraÅ£ia upgradatÄ cu succes...<br /><br />Click %saici%s pentru a continua.'; // %s petru parametrii URI - NU IL SCOATE ! $lang['General_update_error'] = 'ConfiguraÅ£ia nu se poate upgrada...'; // *************** *** 104,108 **** $lang['Mx_search_pafiledb'] = 'Download-uri'; $lang['Mx_search_google'] = 'Google'; ! $lang['Mx_new_search'] = 'Nouã Cãutare'; --- 104,108 ---- $lang['Mx_search_pafiledb'] = 'Download-uri'; $lang['Mx_search_google'] = 'Google'; ! $lang['Mx_new_search'] = 'NouÄ CÄutare'; *************** *** 111,115 **** // $lang['mx_about_title'] = 'Despre mxBB Portal'; ! $lang['mx_copy_title'] = 'mxBB Portal Informaþii'; $lang['mx_copy_modules_title'] = 'Module mxBB Portal Instalate'; $lang['mx_copy_template_title'] = 'Despre stil'; --- 111,115 ---- // $lang['mx_about_title'] = 'Despre mxBB Portal'; ! $lang['mx_copy_title'] = 'mxBB Portal InformaÅ£ii'; $lang['mx_copy_modules_title'] = 'Module mxBB Portal Instalate'; $lang['mx_copy_template_title'] = 'Despre stil'; *************** *** 119,128 **** // along with our copyright message indicating you are the translator // please add it here. ! $lang['TRANSLATION_INFO_MXBB'] = 'Traducerea în Limba Românã de <a href="http://www.mx-publisher.com/phpBB2/profile.php?mode=viewprofile&u=6605" target="_blank">FlorinCB</a>'; // // Installation // ! $lang['Please_remove_install_contrib'] = 'Te rog asigurã-te cã amândouã directoarele install/ ºi contrib/ sunt ºterse'; // --- 119,128 ---- // along with our copyright message indicating you are the translator // please add it here. ! $lang['TRANSLATION_INFO_MXBB'] = 'Traducerea în Limba RomânÄ de <a href="http://www.mx-publisher.com/phpBB2/profile.php?mode=viewprofile&u=6605" target="_blank">FlorinCB</a>'; // // Installation // ! $lang['Please_remove_install_contrib'] = 'Te rog asigurÄ-te cÄ amândouÄ directoarele install/ Åi contrib/ sunt Återse'; // Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/core/language/lang_romanian/lang_admin.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** lang_admin.php 4 Oct 2008 07:23:00 -0000 1.7 --- lang_admin.php 5 Oct 2008 23:43:08 -0000 1.8 *************** *** 22,26 **** setlocale(LC_ALL, "ro"); ! $lang['MXP_adminCP'] = 'Mx-Publisher Administraþie'; // --- 22,33 ---- setlocale(LC_ALL, "ro"); ! ! $lang['ENCODING'] = 'UTF-8'; [...975 lines suppressed...] $lang['MXP_Current_version_info'] = 'Tu ai <b>MXP %s</b>.'; ! $lang['MXP_Mailing_list_subscribe_reminder'] = 'Pentru ultimile informaþii de ºtiri ºi actualizãri pentru MXP, de ce nu <a href="http://lists.sourceforge.net/lists/listinfo/MXP-news" target="_new">înscriete la lista de mailuri</a>.'; $lang['Trans_title'] = 'Translate to your Language'; --- 641,655 ---- $lang['menu_display_mode'] = 'Mod Plan'; $lang['menu_display_mode_explain '] = 'Mod plan Orizonal ori Vertical'; ! $lang['menu_page_sync'] = 'LuminezÄ cel curent?'; ! $lang['menu_page_sync_explain'] = 'LuminezÄ intrare la Meniul de Nav. curent...'; // // Version Checker // ! $lang['MXP_Version_up_to_date'] = 'Instalarea MXP este la zi. Nu existÄ actualizÄri pentru versiunea ta de MXP.'; ! $lang['MXP_Version_outdated'] = 'Se pare ca instalarea ta MXP <b>nu</b> este la zi. ActualizÄri existÄ pentru versiunea ta de MXP. Te rog vizitezÄ <a href="http://www.mx-publisher.com/index.php?page=4&action=file&file_id=2" target="_new">downloadare pachetul MXP Core</a> pt. a obÅ£ine ultima versiune.'; ! $lang['MXP_Latest_version_info'] = 'Ultima veriune disponibilÄ este <b>MXP %s</b>. '; $lang['MXP_Current_version_info'] = 'Tu ai <b>MXP %s</b>.'; ! $lang['MXP_Mailing_list_subscribe_reminder'] = 'Pentru ultimile informaÅ£ii de Åtiri Åi actualizÄri pentru MXP, de ce nu <a href="http://lists.sourceforge.net/lists/listinfo/MXP-news" target="_new">înscriete la lista de mailuri</a>.'; $lang['Trans_title'] = 'Translate to your Language'; |
|
From: FlorinCB <ory...@us...> - 2008-10-05 23:43:13
|
Update of /cvsroot/mxbb/core/includes/shared/phpbb2/language/lang_romanian In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv28539/includes/shared/phpbb2/language/lang_romanian Modified Files: lang_admin.php Log Message: romanian language file converted to utf-8 so that categories can be edited Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/shared/phpbb2/language/lang_romanian/lang_admin.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** lang_admin.php 4 Oct 2008 07:04:25 -0000 1.4 --- lang_admin.php 5 Oct 2008 23:43:08 -0000 1.5 *************** *** 37,41 **** ! $lang['ENCODING'] = 'iso-8859-2'; $lang['DIRECTION'] = 'ltr'; $lang['LEFT'] = 'stânga'; --- 37,41 ---- ! $lang['ENCODING'] = 'UTF-8'; $lang['DIRECTION'] = 'ltr'; $lang['LEFT'] = 'stânga'; |
|
From: FlorinCB <ory...@us...> - 2008-10-05 23:36:43
|
Update of /cvsroot/mxbb/core/contrib/phpbb3_backend_language/lang_romanian In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv28384 Removed Files: lang_admin.php lang_main.php Log Message: rem --- lang_main.php DELETED --- --- lang_admin.php DELETED --- |
|
From: FlorinCB <ory...@us...> - 2008-10-05 23:10:38
|
Update of /cvsroot/mxbb/core/templates/subsilver2 In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv27504/templates/subsilver2 Modified Files: subsilver2.cfg Log Message: fix to load phpBB3 images in images var Index: subsilver2.cfg =================================================================== RCS file: /cvsroot/mxbb/core/templates/subsilver2/subsilver2.cfg,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** subsilver2.cfg 17 Sep 2008 11:35:17 -0000 1.7 --- subsilver2.cfg 5 Oct 2008 23:10:24 -0000 1.8 *************** *** 157,161 **** // redefine those $image['xxx'] you want. Note: Many phpBB images are reused all over MX-Publisher (eg see below), thus if you redefine // common phpBB images, this will have immedaite effect for all MX-Publisher pages. ! // $images['icon_quote'] = "$current_template_phpbb_images/{LANG}/icon_quote.gif"; $images['icon_edit'] = "$current_template_phpbb_images/{LANG}/icon_edit.gif"; --- 157,161 ---- // redefine those $image['xxx'] you want. Note: Many phpBB images are reused all over MX-Publisher (eg see below), thus if you redefine // common phpBB images, this will have immedaite effect for all MX-Publisher pages. ! /* $images['icon_quote'] = "$current_template_phpbb_images/{LANG}/icon_quote.gif"; $images['icon_edit'] = "$current_template_phpbb_images/{LANG}/icon_edit.gif"; *************** *** 217,220 **** --- 217,221 ---- $images['topic_mod_move'] = "$current_template_phpbb_images/topic_move.gif"; $images['topic_mod_delete'] = "$current_template_phpbb_images/topic_delete.gif"; + */ $images['voting_graphic'][0] = "$current_template_phpbb_images/voting_bar.gif"; |
|
From: FlorinCB <ory...@us...> - 2008-10-05 23:10:30
|
Update of /cvsroot/mxbb/core/includes In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv27504/includes Modified Files: mx_functions_style.php Log Message: fix to load phpBB3 images in images var Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.98 retrieving revision 1.99 diff -C2 -d -r1.98 -r1.99 *** mx_functions_style.php 5 Oct 2008 01:16:26 -0000 1.98 --- mx_functions_style.php 5 Oct 2008 23:10:24 -0000 1.99 *************** *** 1021,1030 **** // - // Load images - // - $this->_load_phpbb_images(); - $this->_load_mxbb_images(); - - // // What template to use? // --- 1021,1024 ---- *************** *** 1265,1268 **** --- 1259,1265 ---- global $images, $board_config, $template, $phpbb_root_path, $mx_root_path, $theme, $current_module_images; global $mx_block, $mx_user; + + //This will keep loaded images + $mx3_images = $images; //unset($GLOBALS['MX_TEMPLATE_CONFIG']); *************** *** 1349,1352 **** --- 1346,1352 ---- $module_key = !empty($module_root_path) ? $module_root_path : 'core'; $this->template_names[$module_key] = $template_name; + + //This will keep loaded images + $images = &$mx3_images; unset($mx_images); *************** *** 1504,1507 **** --- 1504,1513 ---- // $this->_init_style(); + + // + // Load images + // + $this->_load_phpbb_images(); + $this->_load_mxbb_images(); } |
|
From: FlorinCB <ory...@us...> - 2008-10-05 22:59:18
|
Update of /cvsroot/mxbb/mx_smartor/album_mod/includes In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv26863 Modified Files: album_hierarchy_sql.php Log Message: fix Index: album_hierarchy_sql.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/includes/album_hierarchy_sql.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** album_hierarchy_sql.php 4 Oct 2008 21:13:54 -0000 1.9 --- album_hierarchy_sql.php 5 Oct 2008 22:59:10 -0000 1.10 *************** *** 981,985 **** $sql = "SELECT group_id, group_name FROM " . GROUPS_TABLE . " ! WHERE group_single_user <> 1 AND group_type <> " . GROUP_HIDDEN . " AND group_id IN (" . $cat['cat_moderator_groups'] . ") --- 981,985 ---- $sql = "SELECT group_id, group_name FROM " . GROUPS_TABLE . " ! WHERE group_id <> 1 AND group_type <> " . GROUP_HIDDEN . " AND group_id IN (" . $cat['cat_moderator_groups'] . ") |
|
From: FlorinCB <ory...@us...> - 2008-10-05 09:25:02
|
Update of /cvsroot/mxbb/core/install In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv13611 Modified Files: db_convert.php Log Message: upg Index: db_convert.php =================================================================== RCS file: /cvsroot/mxbb/core/install/db_convert.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** db_convert.php 5 Oct 2008 08:47:58 -0000 1.1 --- db_convert.php 5 Oct 2008 09:23:59 -0000 1.2 *************** *** 20,25 **** $tplEx = @file_exists($mx_root_path.'install/templates/mx_install_header.html') ? 'html' : 'tpl'; ! define('INSTALLER_VERSION', '0.0.1'); define('INSTALLER_NAME', 'MX-Publisher-DB-Converter'); --- 20,32 ---- $tplEx = @file_exists($mx_root_path.'install/templates/mx_install_header.html') ? 'html' : 'tpl'; + // + // Set MX-Publisher version here ! + // + $mx_portal_name = 'MX-Publisher Modular System'; + $mx_portal_version = '3.0.0-b3'; + $mx_php_version = '5.1.2'; + $mx_portal_copy = '<b>MX-Publisher Modular System!</b> <br /><br/> MX-Publisher is a fully modular system, portal and CMS, featuring dynamic pages, blocks, and themes, by means of a powerful yet flexible AdminCP. It is the classical phpBB portal add-on, improved and enhanced for every phpBB version released since 2001 (originally named MX-Publisher). <br /><br />Authors: The MX-Publisher Development Team. <br />Please visit <a href="http://www.mx-publisher.com/">www.mx-publisher.com</a> for further information.'; ! define('INSTALLER_VERSION', '0.9.0'); define('INSTALLER_NAME', 'MX-Publisher-DB-Converter'); *************** *** 42,47 **** --- 49,69 ---- include_once($mx_root_path . "includes/db/" . $dbms . ".$phpEx"); // Load dbal and initiate class + include_once($mx_root_path . 'includes/mx_functions_core.' . $phpEx); // CORE class include_once($mx_root_path . "install/includes/functions_install.$phpEx"); + // + // instatiate the mx_request_vars class + // make sure to do before it's ever used + $mx_request_vars = new mx_request_vars(); + + // + // phpInfo -------------------------------------------------- + // + if ($mx_request_vars->is_get('phpinfo')) + { + show_phpinfo(); + exit; + } + $db = new $sql_db(); if(!$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false)) *************** *** 51,54 **** --- 73,81 ---- unset($dbpasswd); + include_once($mx_root_path . "install/includes/template.$phpEx"); + + $template = new Template($mx_root_path . 'install/templates'); + + page_header_install($lang['Installation_error'], INSTALLER_NAME); switch ($db->sql_layer) *************** *** 153,156 **** --- 180,185 ---- } + page_footer_install(); + // // Close our DB connection. |
|
From: FlorinCB <ory...@us...> - 2008-10-05 08:52:23
|
Update of /cvsroot/mxbb/core/install In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv12036 Added Files: db_convert.php Log Message: fix --- NEW FILE: db_convert.php --- <?php /** * * @package MX-Publisher Core * @version $Id: db_convert.php,v 1.1 2008/10/05 08:47:58 orynider Exp $ * @copyright (c) 2002-2008 MX-Publisher Project Team * @based on tutorial by http://www.sveit.com * @link http://www.mx-publisher.com * */ // // Initialization // define('IN_PORTAL', true); define('IN_PHPBB', true); define('INSTALLING', true); $mx_root_path = '../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); $tplEx = @file_exists($mx_root_path.'install/templates/mx_install_header.html') ? 'html' : 'tpl'; define('INSTALLER_VERSION', '0.0.1'); define('INSTALLER_NAME', 'MX-Publisher-DB-Converter'); @ini_set( 'display_errors', '1' ); error_reporting(E_ALL ^ E_NOTICE ^ E_STRICT); if( @file_exists($mx_root_path . "config.$phpEx") ) { include($mx_root_path . "config.$phpEx"); } // // Redirect for fresh MX-Publisher install // if( !defined('MX_INSTALLED') || (MX_INSTALLED === false) ) { header('Location: ' . $mx_root_path . 'install/mx_install.' . $phpEx); exit; } include_once($mx_root_path . "includes/db/" . $dbms . ".$phpEx"); // Load dbal and initiate class include_once($mx_root_path . "install/includes/functions_install.$phpEx"); $db = new $sql_db(); if(!$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false)) { install_die("SQL Error: Could not connect to the database"); } unset($dbpasswd); switch ($db->sql_layer) { case 'mysql': case 'mysql4': case 'mysqli': $sql = 'SHOW TABLES'; break; case 'sqlite': $sql = 'SELECT name FROM sqlite_master WHERE type = "table"'; break; case 'mssql': case 'mssql_odbc': $sql = "SELECT name FROM sysobjects WHERE type='U'"; break; case 'postgres': $sql = 'SELECT relname FROM pg_stat_user_tables'; break; case 'firebird': $sql = 'SELECT rdb$relation_name FROM rdb$relations WHERE rdb$view_source is null AND rdb$system_flag = 0'; break; case 'oracle': $sql = 'SELECT table_name FROM USER_TABLES'; break; } if (!($result = $db->sql_query($sql))) { install_die('SQL Error: ' . 'Line: ' . __LINE__ . 'File: ' . __FILE__ . 'Query: ' . $sql); } // Loop through all tables in this database while ($row = $db->sql_fetchrow($result)) { $tables = array(); $tables[] = current($row); $db->sql_freeresult($result); $table = $tables[0]; $sql2 = "ALTER TABLE $table DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci"; if ( !($result2 = $db->sql_query($sql2)) ) { install_die('SQL Error: ' . 'Line: ' . __LINE__ . ' File: ' . __FILE__ . ' Query: ' . $sql2); break; } print "$table changed to UTF-8 successfully.<br>\n"; // Now loop through all the fields within this table $sql3 = "SHOW COLUMNS FROM $table"; if ( !($result3 = $db->sql_query($sql3)) ) { install_die('SQL Error: ' . 'Line: ' . __LINE__ . ' File: ' . __FILE__ . ' Query: ' . $sql3); break; } while ( $row3 = $db->sql_fetchrow($result3) ) { $field_name = $row3[0]; $field_type = $row3[1]; // Change text based fields $skipped_field_types = array('char', 'text', 'blob', 'enum', 'set'); foreach ( $skipped_field_types as $type ) { if ( strpos($field_type, $type) !== false ) { $sql4 = "ALTER TABLE $table CHANGE `$field_name` `$field_name` $field_type CHARACTER SET utf8 COLLATE utf8_bin"; if ( !($result4 = $db->sql_query($sql4)) ) { install_die('SQL Error: ' . 'Line: ' . __LINE__ . ' File: ' . __FILE__ . ' Query: ' . $sql4); break 3; } print "---- $field_name changed to UTF-8 successfully.<br>\n"; } } } print "<hr>\n"; } // // Close our DB connection. // $db->sql_close(); ?> |
|
From: FlorinCB <ory...@us...> - 2008-10-05 05:30:36
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb3blocks/includes In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv752/includes Modified Files: mx_functions_display.php Log Message: fix for mod-rewrite Index: mx_functions_display.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb3blocks/includes/mx_functions_display.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** mx_functions_display.php 4 Oct 2008 07:04:38 -0000 1.8 --- mx_functions_display.php 5 Oct 2008 05:30:32 -0000 1.9 *************** *** 287,291 **** 'FORUM_IMAGE' => ($row['forum_image']) ? '<img src="' . $phpbb_root_path . $row['forum_image'] . '" alt="' . $mx_user->lang['FORUM_CAT'] . '" />' : '', 'FORUM_IMAGE_SRC' => ($row['forum_image']) ? $phpbb_root_path . $row['forum_image'] : '', ! 'U_VIEWFORUM' => mx3_append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $row['forum_id'])) ); --- 287,291 ---- 'FORUM_IMAGE' => ($row['forum_image']) ? '<img src="' . $phpbb_root_path . $row['forum_image'] . '" alt="' . $mx_user->lang['FORUM_CAT'] . '" />' : '', 'FORUM_IMAGE_SRC' => ($row['forum_image']) ? $phpbb_root_path . $row['forum_image'] : '', ! 'U_VIEWFORUM' => mx3_append_sid(PHPBB_URL . "viewforum.$phpEx", 'f=' . $row['forum_id'])) ); *************** *** 311,315 **** { $subforums_list[] = array( ! 'link' => mx3_append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $subforum_id), 'name' => $subforum_row['name'], 'unread' => $subforum_unread, --- 311,315 ---- { $subforums_list[] = array( ! 'link' => mx3_append_sid(PHPBB_URL . "viewforum.$phpEx", 'f=' . $subforum_id), 'name' => $subforum_row['name'], 'unread' => $subforum_unread, *************** *** 361,365 **** $last_post_subject = $row['forum_last_post_subject']; $last_post_time = $mx_user->format_date($row['forum_last_post_time']); ! $last_post_url = mx3_append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id_last_post'] . '&p=' . $row['forum_last_post_id']) . '#p' . $row['forum_last_post_id']; } else --- 361,365 ---- $last_post_subject = $row['forum_last_post_subject']; $last_post_time = $mx_user->format_date($row['forum_last_post_time']); ! $last_post_url = mx3_append_sid(PHPBB_URL . "viewtopic.$phpEx", 'f=' . $row['forum_id_last_post'] . '&p=' . $row['forum_last_post_id']) . '#p' . $row['forum_last_post_id']; } else *************** *** 389,393 **** if ($row['forum_type'] != FORUM_LINK) { ! $u_viewforum = mx3_append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $row['forum_id']); } else --- 389,393 ---- if ($row['forum_type'] != FORUM_LINK) { ! $u_viewforum = mx3_append_sid(PHPBB_URL . "viewforum.$phpEx", 'f=' . $row['forum_id']); } else *************** *** 397,401 **** if (($row['forum_flags'] & FORUM_FLAG_LINK_TRACK) || $row['forum_password'] || !$phpbb_auth->acl_get('f_read', $forum_id)) { ! $u_viewforum = mx3_append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $row['forum_id']); } else --- 397,401 ---- if (($row['forum_flags'] & FORUM_FLAG_LINK_TRACK) || $row['forum_password'] || !$phpbb_auth->acl_get('f_read', $forum_id)) { ! $u_viewforum = mx3_append_sid(PHPBB_URL . "viewforum.$phpEx", 'f=' . $row['forum_id']); } else *************** *** 459,463 **** $template->assign_vars(array( ! 'U_MARK_FORUMS' => ($mx_user->data['is_registered'] || $board_config['load_anon_lastread']) ? mx3_append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $root_data['forum_id'] . '&mark=forums') : '', 'S_HAS_SUBFORUM' => ($visible_forums) ? true : false, 'L_SUBFORUM' => ($visible_forums == 1) ? $mx_user->lang['SUBFORUM'] : $mx_user->lang['SUBFORUMS'], --- 459,463 ---- $template->assign_vars(array( ! 'U_MARK_FORUMS' => ($mx_user->data['is_registered'] || $board_config['load_anon_lastread']) ? mx3_append_sid(PHPBB_URL . "viewforum.$phpEx", 'f=' . $root_data['forum_id'] . '&mark=forums') : '', 'S_HAS_SUBFORUM' => ($visible_forums) ? true : false, 'L_SUBFORUM' => ($visible_forums == 1) ? $mx_user->lang['SUBFORUM'] : $mx_user->lang['SUBFORUMS'], *************** *** 533,537 **** 'FORUM_NAME' => $parent_name, 'FORUM_ID' => $parent_forum_id, ! 'U_VIEW_FORUM' => mx3_append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $parent_forum_id)) ); } --- 533,537 ---- 'FORUM_NAME' => $parent_name, 'FORUM_ID' => $parent_forum_id, ! 'U_VIEW_FORUM' => mx3_append_sid(PHPBB_URL . "viewforum.$phpEx", 'f=' . $parent_forum_id)) ); } *************** *** 544,548 **** 'FORUM_NAME' => $forum_data['forum_name'], 'FORUM_ID' => $forum_data['forum_id'], ! 'U_VIEW_FORUM' => mx3_append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $forum_data['forum_id'])) ); --- 544,548 ---- 'FORUM_NAME' => $forum_data['forum_name'], 'FORUM_ID' => $forum_data['forum_id'], ! 'U_VIEW_FORUM' => mx3_append_sid(PHPBB_URL . "viewforum.$phpEx", 'f=' . $forum_data['forum_id'])) ); *************** *** 704,708 **** else { ! $forum_moderators[$row['forum_id']][] = '<a' . (($row['group_colour']) ? ' style="color:#' . $row['group_colour'] . ';"' : '') . ' href="' . mx3_append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=group&g=' . $row['group_id']) . '">' . (($row['group_type'] == GROUP_SPECIAL) ? $mx_user->lang['G_' . $row['group_name']] : $row['group_name']) . '</a>'; } } --- 704,708 ---- else { ! $forum_moderators[$row['forum_id']][] = '<a' . (($row['group_colour']) ? ' style="color:#' . $row['group_colour'] . ';"' : '') . ' href="' . mx3_append_sid(PHPBB_URL . "memberlist.$phpEx", 'mode=group&g=' . $row['group_id']) . '">' . (($row['group_type'] == GROUP_SPECIAL) ? $mx_user->lang['G_' . $row['group_name']] : $row['group_name']) . '</a>'; } } *************** *** 986,991 **** 'ACTIVE_TOPIC_POSTS' => ($active_t_count == 1) ? sprintf($mx_user->lang['USER_POST'], 1) : sprintf($mx_user->lang['USER_POSTS'], $active_t_count), 'ACTIVE_TOPIC_PCT' => sprintf($l_active_pct, $active_t_pct), ! 'U_ACTIVE_FORUM' => mx3_append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $active_f_id), ! 'U_ACTIVE_TOPIC' => mx3_append_sid("{$phpbb_root_path}viewtopic.$phpEx", 't=' . $active_t_id), 'S_SHOW_ACTIVITY' => true) ); --- 986,991 ---- 'ACTIVE_TOPIC_POSTS' => ($active_t_count == 1) ? sprintf($mx_user->lang['USER_POST'], 1) : sprintf($mx_user->lang['USER_POSTS'], $active_t_count), 'ACTIVE_TOPIC_PCT' => sprintf($l_active_pct, $active_t_pct), ! 'U_ACTIVE_FORUM' => mx3_append_sid(PHPBB_URL . "viewforum.$phpEx", 'f=' . $active_f_id), ! 'U_ACTIVE_TOPIC' => mx3_append_sid(PHPBB_URL . "viewtopic.$phpEx", 't=' . $active_t_id), 'S_SHOW_ACTIVITY' => true) ); *************** *** 1036,1040 **** } ! $redirect_url = mx3_append_sid("{$phpbb_root_path}view$mode.$phpEx", "$u_url=$match_id&start=$start"); meta_refresh(3, $redirect_url); --- 1036,1040 ---- } ! $redirect_url = mx3_append_sid(PHPBB_URL . "view$mode.$phpEx", "$u_url=$match_id&start=$start"); meta_refresh(3, $redirect_url); *************** *** 1070,1074 **** } ! $redirect_url = mx3_append_sid("{$phpbb_root_path}view$mode.$phpEx", "$u_url=$match_id&start=$start"); meta_refresh(3, $redirect_url); --- 1070,1074 ---- } ! $redirect_url = mx3_append_sid(PHPBB_URL . "view$mode.$phpEx", "$u_url=$match_id&start=$start"); meta_refresh(3, $redirect_url); *************** *** 1097,1101 **** if ($can_watch) { ! $s_watching['link'] = mx3_append_sid("{$phpbb_root_path}view$mode.$phpEx", "$u_url=$match_id&" . (($is_watching) ? 'unwatch' : 'watch') . "=$mode&start=$start"); $s_watching['title'] = $mx_user->lang[(($is_watching) ? 'STOP' : 'START') . '_WATCHING_' . strtoupper($mode)]; $s_watching['is_watching'] = $is_watching; --- 1097,1101 ---- if ($can_watch) { ! $s_watching['link'] = mx3_append_sid(PHPBB_URL . "view$mode.$phpEx", "$u_url=$match_id&" . (($is_watching) ? 'unwatch' : 'watch') . "=$mode&start=$start"); $s_watching['title'] = $mx_user->lang[(($is_watching) ? 'STOP' : 'START') . '_WATCHING_' . strtoupper($mode)]; $s_watching['is_watching'] = $is_watching; *************** *** 1149,1153 **** } ! $redirect_url = mx3_append_sid("{$phpbb_root_path}view$mode.$phpEx", "$u_url=$match_id&start=$start"); meta_refresh(3, $redirect_url); --- 1149,1153 ---- } ! $redirect_url = mx3_append_sid(PHPBB_URL . "view$mode.$phpEx", "$u_url=$match_id&start=$start"); meta_refresh(3, $redirect_url); *************** *** 1183,1187 **** } ! $redirect_url = mx3_append_sid("{$phpbb_root_path}view$mode.$phpEx", "$u_url=$match_id&start=$start"); meta_refresh(3, $redirect_url); --- 1183,1187 ---- } ! $redirect_url = mx3_append_sid(PHPBB_URL . "view$mode.$phpEx", "$u_url=$match_id&start=$start"); meta_refresh(3, $redirect_url); *************** *** 1210,1214 **** if ($can_watch) { ! $s_watching['link'] = mx3_append_sid("{$phpbb_root_path}view$mode.$phpEx", "$u_url=$match_id&" . (($is_watching) ? 'unwatch' : 'watch') . "=$mode&start=$start"); $s_watching['title'] = $mx_user->lang[(($is_watching) ? 'STOP' : 'START') . '_WATCHING_' . strtoupper($mode)]; $s_watching['is_watching'] = $is_watching; --- 1210,1214 ---- if ($can_watch) { ! $s_watching['link'] = mx3_append_sid(PHPBB_URL . "view$mode.$phpEx", "$u_url=$match_id&" . (($is_watching) ? 'unwatch' : 'watch') . "=$mode&start=$start"); $s_watching['title'] = $mx_user->lang[(($is_watching) ? 'STOP' : 'START') . '_WATCHING_' . strtoupper($mode)]; $s_watching['is_watching'] = $is_watching; |
|
From: FlorinCB <ory...@us...> - 2008-10-05 05:30:36
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb3blocks In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv752 Modified Files: mx_forum.php Log Message: fix for mod-rewrite Index: mx_forum.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb3blocks/mx_forum.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** mx_forum.php 25 Jun 2008 23:45:42 -0000 1.5 --- mx_forum.php 5 Oct 2008 05:30:32 -0000 1.6 *************** *** 98,102 **** else { ! $legend .= (($legend != '') ? ', ' : '') . '<a' . $colour_text . ' href="' . mx3_append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=group&g=' . $row['group_id']) . '">' . (($row['group_type'] == GROUP_SPECIAL) ? $mx_user->lang['G_' . $row['group_name']] : $row['group_name']) . '</a>'; } } --- 98,102 ---- else { ! $legend .= (($legend != '') ? ', ' : '') . '<a' . $colour_text . ' href="' . mx3_append_sid(PHPBB_URL . "memberlist.$phpEx", 'mode=group&g=' . $row['group_id']) . '">' . (($row['group_type'] == GROUP_SPECIAL) ? $mx_user->lang['G_' . $row['group_name']] : $row['group_name']) . '</a>'; } } *************** *** 147,155 **** 'FORUM_NEW_LOCKED_IMG' => $mx_user->img('forum_unread_locked', 'NO_NEW_POSTS_LOCKED'), ! 'S_LOGIN_ACTION' => mx3_append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=login'), 'S_DISPLAY_BIRTHDAY_LIST' => ($board_config['load_birthdays']) ? true : false, ! 'U_MARK_FORUMS' => ($mx_user->data['is_registered'] || $board_config['load_anon_lastread']) ? mx3_append_sid("{$phpbb_root_path}index.$phpEx", 'mark=forums') : '', ! 'U_MCP' => ($phpbb_auth->acl_get('m_') || $phpbb_auth->acl_getf_global('m_')) ? mx3_append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=main&mode=front', true, $mx_user->session_id) : '') ); --- 147,155 ---- 'FORUM_NEW_LOCKED_IMG' => $mx_user->img('forum_unread_locked', 'NO_NEW_POSTS_LOCKED'), ! 'S_LOGIN_ACTION' => mx3_append_sid(PHPBB_URL . "ucp.$phpEx", 'mode=login'), 'S_DISPLAY_BIRTHDAY_LIST' => ($board_config['load_birthdays']) ? true : false, ! 'U_MARK_FORUMS' => ($mx_user->data['is_registered'] || $board_config['load_anon_lastread']) ? mx3_append_sid(PHPBB_URL . "index.$phpEx", 'mark=forums') : '', ! 'U_MCP' => ($phpbb_auth->acl_get('m_') || $phpbb_auth->acl_getf_global('m_')) ? mx3_append_sid(PHPBB_URL . "mcp.$phpEx", 'i=main&mode=front', true, $mx_user->session_id) : '') ); |
|
From: FlorinCB <ory...@us...> - 2008-10-05 04:19:56
|
Update of /cvsroot/mxbb/core/includes/sessions/phpbb3 In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv14513 Modified Files: session.php Log Message: fix Index: session.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/sessions/phpbb3/session.php,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** session.php 5 Oct 2008 01:25:00 -0000 1.34 --- session.php 5 Oct 2008 04:19:02 -0000 1.35 *************** *** 1370,1381 **** AND t.template_path = m.template_name AND t.template_id = s.template_id"; ! if ( !($row = $db->sql_fetchrow($db->sql_query($sql))) ) { ! mx_message_die(CRITICAL_ERROR, "Could not query database for phpBB style_id info for mxp themes_id: $default_style", "", __LINE__, __FILE__, $sql); ! } else { ! $style = $row['style_id']; //User style ! } } --- 1370,1381 ---- AND t.template_path = m.template_name AND t.template_id = s.template_id"; ! ! if ($row = $db->sql_fetchrow($db->sql_query($sql))) { ! $style = $row['style_id']; //User style ! } else { ! $style = $this->data['user_style'] ? $this->data['user_style'] : $board_config['default_style']; } } |
|
From: FlorinCB <ory...@us...> - 2008-10-05 01:29:22
|
Update of /cvsroot/mxbb/core/includes/sessions/phpbb3 In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv8594 Modified Files: session.php Log Message: Fix fore mod-rewrite and phpBB Graphics Index: session.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/sessions/phpbb3/session.php,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** session.php 5 Oct 2008 01:16:26 -0000 1.33 --- session.php 5 Oct 2008 01:25:00 -0000 1.34 *************** *** 1896,1900 **** } ! $img_data['src'] = 'styles/' . $this->theme['imageset_path'] . '/imageset/' . ($this->img_array[$img]['image_lang'] ? $this->img_array[$img]['image_lang'] .'/' : '') . $this->img_array[$img]['image_filename']; $img_data['width'] = $this->img_array[$img]['image_width']; $img_data['height'] = $this->img_array[$img]['image_height']; --- 1896,1900 ---- } ! $img_data['src'] = PHPBB_URL . 'styles/' . $this->theme['imageset_path'] . '/imageset/' . ($this->img_array[$img]['image_lang'] ? $this->img_array[$img]['image_lang'] .'/' : '') . $this->img_array[$img]['image_filename']; $img_data['width'] = $this->img_array[$img]['image_width']; $img_data['height'] = $this->img_array[$img]['image_height']; *************** *** 1945,1949 **** } ! $img_data['src'] = $phpbb_root_path . 'styles/' . $this->theme['imageset_path'] . '/imageset/' . ($this->img_array[$img]['image_lang'] ? $this->img_array[$img]['image_lang'] .'/' : '') . $this->img_array[$img]['image_filename']; $img_data['width'] = $this->img_array[$img]['image_width']; $img_data['height'] = $this->img_array[$img]['image_height']; --- 1945,1949 ---- } ! $img_data['src'] = PHPBB_URL . 'styles/' . $this->theme['imageset_path'] . '/imageset/' . ($this->img_array[$img]['image_lang'] ? $this->img_array[$img]['image_lang'] .'/' : '') . $this->img_array[$img]['image_filename']; $img_data['width'] = $this->img_array[$img]['image_width']; $img_data['height'] = $this->img_array[$img]['image_height']; |
|
From: FlorinCB <ory...@us...> - 2008-10-05 01:17:28
|
Update of /cvsroot/mxbb/core/includes In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv8245 Modified Files: mx_functions_core.php mx_functions_style.php Log Message: fixed Index: mx_functions_core.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_core.php,v retrieving revision 1.107 retrieving revision 1.108 diff -C2 -d -r1.107 -r1.108 *** mx_functions_core.php 4 Oct 2008 07:04:25 -0000 1.107 --- mx_functions_core.php 5 Oct 2008 01:16:26 -0000 1.108 *************** *** 2053,2057 **** function output_stats() { ! global $layouttemplate, $board_config, $lang, $userdata; if ( $this->show_stats && !empty($this->block_time) && !empty($this->editor_id) ) --- 2053,2057 ---- function output_stats() { ! global $layouttemplate, $board_config, $lang, $userdata, $phpBB2; if ( $this->show_stats && !empty($this->block_time) && !empty($this->editor_id) ) Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.97 retrieving revision 1.98 diff -C2 -d -r1.97 -r1.98 *** mx_functions_style.php 4 Oct 2008 21:13:14 -0000 1.97 --- mx_functions_style.php 5 Oct 2008 01:16:26 -0000 1.98 *************** *** 831,840 **** break; case 'phpbb3': ! $sql = "SELECT bbt.*, stt.* ! FROM " . MX_THEMES_TABLE . " mxt, " . STYLES_TABLE . " bbt, " . STYLES_TEMPLATE_TABLE . " stt ! WHERE mxt.template_name = stt.template_path ! AND bbt.style_id = stt.template_id ! AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND mxt.themes_id = " . (int) $style; break; } --- 831,840 ---- break; case 'phpbb3': ! $sql = "SELECT mxt . *, stt . * , bbt . * ! FROM " . MX_THEMES_TABLE . " AS mxt, " . STYLES_TEMPLATE_TABLE . " AS stt, " . STYLES_TABLE . " AS bbt ! WHERE mxt.themes_id = " . (int) $style . " ! AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND stt.template_id = bbt.template_id ! AND bbt.style_name = mxt.template_name"; break; } |
|
From: FlorinCB <ory...@us...> - 2008-10-05 01:17:28
|
Update of /cvsroot/mxbb/core/includes/sessions/phpbb3 In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv8245/sessions/phpbb3 Modified Files: session.php Log Message: fixed Index: session.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/sessions/phpbb3/session.php,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** session.php 4 Oct 2008 07:04:25 -0000 1.32 --- session.php 5 Oct 2008 01:16:26 -0000 1.33 *************** *** 1353,1366 **** { $style = $this->style; ! // Set up style $style = ($style) ? $style : ((!$board_config['override_user_style'] && $this->data['user_id'] != ANONYMOUS) ? $this->data['user_style'] : $this->phpbb_style['style_id']); } ! $sql = 'SELECT s.style_id, t.template_storedb, t.template_path, t.template_id, t.bbcode_bitfield, c.theme_path, c.theme_name, c.theme_storedb, c.theme_id, i.imageset_path, i.imageset_id, i.imageset_name ! FROM ' . STYLES_TABLE . ' s, ' . STYLES_TEMPLATE_TABLE . ' t, ' . STYLES_THEME_TABLE . ' c, ' . STYLES_IMAGESET_TABLE . " i ! WHERE s.style_id = $style AND t.template_id = s.template_id AND c.theme_id = s.theme_id ! AND i.imageset_id = s.imageset_id"; if ( !($result = $db->sql_query($sql, 3600)) ) --- 1353,1395 ---- { $style = $this->style; ! ! if(!$board_config['override_user_style'] && ($this->data['user_id'] != ANONYMOUS)) ! { ! // Set up style ! $style = $this->data['user_style'] ? $this->data['user_style'] : $board_config['default_style']; ! } ! else ! { ! $default_style = $portal_config['default_style']; ! //If user have other style in mxp then the one from phpBB not to have forum page and modules graphics will be messaed up ! //Anonymouse users should see all block graphic corect ! //Query phpBB style_id corepondent to mxp themes_id ! $sql = "SELECT s.style_id ! FROM " . MX_THEMES_TABLE . " AS m, " . STYLES_TABLE . " AS s, " . STYLES_TEMPLATE_TABLE . " AS t ! WHERE m.themes_id = " . (int) $default_style . " ! AND t.template_path = m.template_name ! AND t.template_id = s.template_id"; ! if ( !($row = $db->sql_fetchrow($db->sql_query($sql))) ) ! { ! mx_message_die(CRITICAL_ERROR, "Could not query database for phpBB style_id info for mxp themes_id: $default_style", "", __LINE__, __FILE__, $sql); ! } ! else ! { ! $style = $row['style_id']; //User style ! ! } ! } ! ! // Set up style Temp code should be removed after bugtraking $style = ($style) ? $style : ((!$board_config['override_user_style'] && $this->data['user_id'] != ANONYMOUS) ? $this->data['user_style'] : $this->phpbb_style['style_id']); + } ! $sql = "SELECT s.style_id, t.template_storedb, t.template_path, t.template_id, t.bbcode_bitfield, c.theme_path, c.theme_name, c.theme_storedb, c.theme_id, i.imageset_path, i.imageset_id, i.imageset_name ! FROM " . STYLES_TABLE . " AS s, " . STYLES_TEMPLATE_TABLE . " AS t, " . STYLES_THEME_TABLE . " AS c, " . STYLES_IMAGESET_TABLE . " i ! WHERE s.style_id = " . (int) $style . " AND t.template_id = s.template_id AND c.theme_id = s.theme_id ! AND i.imageset_id = s.imageset_id"; if ( !($result = $db->sql_query($sql, 3600)) ) |
|
From: FlorinCB <ory...@us...> - 2008-10-04 22:17:33
|
Update of /cvsroot/mxbb/mx_smartor/templates/_core In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv31876/templates/_core Modified Files: album_cat_body.tpl album_index_body.tpl album_showpage_body.tpl Log Message: upgrade finaly Index: album_index_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/templates/_core/album_index_body.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** album_index_body.tpl 29 Aug 2008 10:31:40 -0000 1.3 --- album_index_body.tpl 4 Oct 2008 21:13:54 -0000 1.4 *************** *** 86,91 **** <tr><td class="catLeft" colspan="2" height="28"><span class="cattitle">{recent_comments_block.L_LAST_COMMENT_INFO}</span></td></tr> <tr> ! <th class="thTop" width="10%" height="25" nowrap="nowrap">{L_PIC_TITLE}</th> ! <th class="thTop" width="90%" height="25" nowrap="nowrap">{recent_comments_block.L_COMMENTS}</th> </tr> <!-- BEGIN comment_row --> --- 86,91 ---- <tr><td class="catLeft" colspan="2" height="28"><span class="cattitle">{recent_comments_block.L_LAST_COMMENT_INFO}</span></td></tr> <tr> ! <th class="thTop" width="10%" height="25">{L_PIC_TITLE}</th> ! <th class="thTop" width="90%" height="25>{recent_comments_block.L_COMMENTS}</th> </tr> <!-- BEGIN comment_row --> Index: album_showpage_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/templates/_core/album_showpage_body.tpl,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** album_showpage_body.tpl 12 Sep 2008 05:17:58 -0000 1.5 --- album_showpage_body.tpl 4 Oct 2008 21:13:54 -0000 1.6 *************** *** 184,197 **** <td class="row2 bg2 nav" align="right"> ! <form action="{PAFILEDB_SEARCH_ACTION}"> ! <span class="gensmall">Search for: ! <select name="mode"> ! <option value="user">User Name</option> ! <option value="name">Name</option> ! <option value="desc">Description</option> ! </select> ! <br />that contains: <input type="text" name="search" maxlength="20"> <input type="submit" value="Go"></span> ! {PAFILEDB_SEARCH_HIDDEN} ! </form> </td> </tr> --- 184,202 ---- <td class="row2 bg2 nav" align="right"> ! <form> ! <span> ! {L_SEARCH}: ! <select> ! <option>{L_USERNAME}</option> ! <option>{L_PIC_NAME}</option> ! <option>{L_DESCRIPTION}</option> ! </select> ! <br>{L_SEARCH_CONTENTS} ! <input> ! ! <input> ! </span> ! {PAFILEDB_SEARCH_HIDDEN} ! </form> </td> </tr> Index: album_cat_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/templates/_core/album_cat_body.tpl,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** album_cat_body.tpl 29 Aug 2008 13:34:38 -0000 1.4 --- album_cat_body.tpl 4 Oct 2008 21:13:54 -0000 1.5 *************** *** 205,214 **** <!-- BEGIN comment_row --> <tr> ! <td class="row1" align="center" valign="middle" onMouseOver="this.className='row2';" onMouseOut="this.className='row1';" nowrap="nowrap"> <table><tr><td><div class="picshadow"><div class="picframe"> <a href="{recent_comments_block.comment_row.U_PIC}" {TARGET_BLANK}><img src="{recent_comments_block.comment_row.THUMBNAIL}" {THUMB_SIZE} alt="{recent_comments_block.comment_row.DESC}" title="{recent_comments_block.comment_row.DESC}" vspace="10" border="0" {recent_comments_block.comment_row.PIC_PREVIEW} /></a> </div></div></td></tr></table> </td> ! <td class="row1" valign="top" onMouseOver="this.className='row2';" onMouseOut="this.className='row1';" nowrap="nowrap"> <div style="text-align: right; float: right;"><span class="gensmall"><b>{L_PIC_TITLE}</b>: {recent_comments_block.comment_row.TITLE}</span></div> <span class="gensmall"><b>{L_POSTER}</b>: {recent_comments_block.comment_row.POSTER} [{recent_comments_block.comment_row.TIME}]</span> --- 205,214 ---- <!-- BEGIN comment_row --> <tr> ! <td class="row1" align="center" valign="middle" onMouseOver="this.className='row2';" onMouseOut="this.className='row1';"> <table><tr><td><div class="picshadow"><div class="picframe"> <a href="{recent_comments_block.comment_row.U_PIC}" {TARGET_BLANK}><img src="{recent_comments_block.comment_row.THUMBNAIL}" {THUMB_SIZE} alt="{recent_comments_block.comment_row.DESC}" title="{recent_comments_block.comment_row.DESC}" vspace="10" border="0" {recent_comments_block.comment_row.PIC_PREVIEW} /></a> </div></div></td></tr></table> </td> ! <td class="row1" valign="top" onMouseOver="this.className='row2';" onMouseOut="this.className='row1';"> <div style="text-align: right; float: right;"><span class="gensmall"><b>{L_PIC_TITLE}</b>: {recent_comments_block.comment_row.TITLE}</span></div> <span class="gensmall"><b>{L_POSTER}</b>: {recent_comments_block.comment_row.POSTER} [{recent_comments_block.comment_row.TIME}]</span> |
|
From: FlorinCB <ory...@us...> - 2008-10-04 21:18:17
|
Update of /cvsroot/mxbb/mx_smartor In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv31876 Modified Files: album_lists.php db_install.php db_upgrade.php Log Message: upgrade finaly Index: album_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_lists.php,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** album_lists.php 25 Sep 2008 11:46:11 -0000 1.29 --- album_lists.php 4 Oct 2008 21:13:54 -0000 1.30 *************** *** 82,86 **** // Get Album Config // ! if (($mx_cache->get('album_cat_list')) && ($use_cache)) { $catrows_cache = $mx_cache->get('album_cat_list'); --- 82,86 ---- // Get Album Config // ! if ($mx_cache->get('album_cat_list') && $use_cache) { $catrows_cache = $mx_cache->get('album_cat_list'); *************** *** 136,140 **** if ($allowed_cat != '') { ! if (($mx_cache->get('album_recent_list')) && ($use_cache)) { $recentrow = $mx_cache->get('album_recent_list'); --- 136,140 ---- if ($allowed_cat != '') { ! if ($mx_cache->get('album_recent_list') && $use_cache) { $recentrow = $mx_cache->get('album_recent_list'); *************** *** 248,252 **** if ($allowed_cat != '') { ! if (($mx_cache->get('album_most_list')) && ($use_cache)) { $mostrow= $mx_cache->get('album_most_list'); --- 248,252 ---- if ($allowed_cat != '') { ! if ($mx_cache->get('album_most_list') && $use_cache) { $mostrow= $mx_cache->get('album_most_list'); *************** *** 363,367 **** if ($allowed_cat != '') { ! if (($mx_cache->get('album_highest_list')) && ($use_cache)) { $highestrow = $mx_cache->get('album_highest_list'); --- 363,367 ---- if ($allowed_cat != '') { ! if ($mx_cache->get('album_highest_list') && $use_cache) { $highestrow = $mx_cache->get('album_highest_list'); *************** *** 475,479 **** if ($allowed_cat != '') { ! if (($mx_cache->get('album_rand_list')) && ($use_cache)) { $randrow = $mx_cache->get('album_rand_list'); --- 475,479 ---- if ($allowed_cat != '') { ! if ($mx_cache->get('album_rand_list') && $use_cache) { $randrow = $mx_cache->get('album_rand_list'); Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/db_install.php,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** db_install.php 25 Sep 2008 11:46:12 -0000 1.27 --- db_install.php 4 Oct 2008 21:13:54 -0000 1.28 *************** *** 52,56 **** } ! $mx_module_version = '2.9.4'; $mx_module_copy = 'Mx-Publisher <i> - smartor album FAP </i> module by Mighty Gorgon & <a href="http://www.mxbb.net" target="_blank">The Mx-Publisher Development Team</a>'; --- 52,56 ---- } ! $mx_module_version = '2.9.5'; $mx_module_copy = 'Mx-Publisher <i> - smartor album FAP </i> module by Mighty Gorgon & <a href="http://www.mxbb.net" target="_blank">The Mx-Publisher Development Team</a>'; Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/db_upgrade.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** db_upgrade.php 25 Sep 2008 11:46:13 -0000 1.24 --- db_upgrade.php 4 Oct 2008 21:13:54 -0000 1.25 *************** *** 30,34 **** } ! $mx_module_version = '2.9.4'; $mx_module_copy = 'Mx-Publisher <i> - smartor album FAP </i> module by Mighty Gorgon & <a href="http://www.mxbb.net" target="_blank">The Mx-Publisher Development Team</a>'; --- 30,34 ---- } ! $mx_module_version = '2.9.5'; $mx_module_copy = 'Mx-Publisher <i> - smartor album FAP </i> module by Mighty Gorgon & <a href="http://www.mxbb.net" target="_blank">The Mx-Publisher Development Team</a>'; |
|
From: FlorinCB <ory...@us...> - 2008-10-04 21:17:24
|
Update of /cvsroot/mxbb/mx_smartor/album_mod/modules In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv31876/album_mod/modules Modified Files: album_delete.php Log Message: upgrade finaly Index: album_delete.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/modules/album_delete.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** album_delete.php 13 Mar 2008 08:35:54 -0000 1.3 --- album_delete.php 4 Oct 2008 21:13:54 -0000 1.4 *************** *** 144,148 **** $template->set_filenames(array( ! 'body' => 'confirm_body.tpl') ); --- 144,148 ---- $template->set_filenames(array( ! "body" => "confirm_body.$tplEx") ); *************** *** 164,171 **** $template->pparse('body'); ! if ( !$is_block ) ! { ! include($mx_root_path . 'includes/page_tail.'.$phpEx); ! } } --- 164,171 ---- $template->pparse('body'); ! if ( !$is_block ) ! { ! include($mx_root_path . 'includes/page_tail.'.$phpEx); ! } } *************** *** 218,221 **** --- 218,229 ---- mx_message_die(GENERAL_ERROR, 'Could not delete DB entry', '', __LINE__, __FILE__, $sql); } + + // -------------------------------- + // Delete Cache entry's + // -------------------------------- + $mx_cache->destroy('album_recent_list'); + $mx_cache->destroy('album_most_list'); + $mx_cache->destroy('album_highest_list'); + $mx_cache->destroy('album_rand_list'); |
|
From: FlorinCB <ory...@us...> - 2008-10-04 21:15:56
|
Update of /cvsroot/mxbb/core/includes In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv31848 Modified Files: mx_functions_style.php Log Message: queries for phpBB3 backend upgraded and fixed. there is still issue with portal_url in phpBB3 graphic Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.96 retrieving revision 1.97 diff -C2 -d -r1.96 -r1.97 *** mx_functions_style.php 4 Oct 2008 18:16:26 -0000 1.96 --- mx_functions_style.php 4 Oct 2008 21:13:14 -0000 1.97 *************** *** 737,741 **** global $template, $lang, $phpEx, $phpbb_root_path, $mx_root_path, $db; global $mx_page, $mx_request_vars; ! // // Build Portal style --- 737,741 ---- global $template, $lang, $phpEx, $phpbb_root_path, $mx_root_path, $db; global $mx_page, $mx_request_vars; ! // // Build Portal style *************** *** 797,801 **** $style = $mx_request_vars->post('default_style', MX_TYPE_INT, $init_style); $theme = $this->_setup_style($style); ! return; } --- 797,801 ---- $style = $mx_request_vars->post('default_style', MX_TYPE_INT, $init_style); $theme = $this->_setup_style($style); ! return; } *************** *** 811,815 **** { global $db, $board_config, $portal_config, $template, $phpbb_root_path, $mx_root_path, $theme; ! // // Get Style data. --- 811,815 ---- { global $db, $board_config, $portal_config, $template, $phpbb_root_path, $mx_root_path, $theme; ! // // Get Style data. *************** *** 859,863 **** break; case 'phpbb2': ! $sql = "SELECT bbt.* FROM " . MX_THEMES_TABLE . " mxt, " . THEMES_TABLE . " bbt WHERE mxt.style_name = bbt.template_name --- 859,863 ---- break; case 'phpbb2': ! $sql = "SELECT mxt.*, bbt.* FROM " . MX_THEMES_TABLE . " mxt, " . THEMES_TABLE . " bbt WHERE mxt.style_name = bbt.template_name *************** *** 866,879 **** break; case 'phpbb3': ! $sql = "SELECT bbt.*, stt.* ! FROM " . MX_THEMES_TABLE . " mxt, " . STYLES_TABLE . " bbt, " . STYLES_TEMPLATE_TABLE . " stt ! WHERE mxt.template_name = stt.template_path ! AND bbt.style_id = stt.template_id ! AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND stt.template_path = " . (int) $style; break; } ! if ( !($result = $db->sql_query($sql, 120)) ) { mx_message_die(CRITICAL_ERROR, "Could not query database for theme info", '', __LINE__, __FILE__, $sql); --- 866,890 ---- break; case 'phpbb3': ! //Try standard style name ! $sql = "SELECT mxt . *, stt . * , bbt . * ! FROM " . MX_THEMES_TABLE . " AS mxt, " . STYLES_TEMPLATE_TABLE . " AS stt, " . STYLES_TABLE . " AS bbt ! WHERE mxt.themes_id = " . (int) $style . " ! AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND stt.template_id = bbt.template_id ! AND bbt.style_name = mxt.template_name"; ! //If not standard style name or with spaces try someting else ! if ( !$db->sql_fetchrow($db->sql_query($sql) ) ) ! { ! $sql = "SELECT mxt . *, stt . * , bbt . * ! FROM " . MX_THEMES_TABLE . " AS mxt, " . STYLES_TEMPLATE_TABLE . " AS stt, " . STYLES_TABLE . " AS bbt ! WHERE mxt.themes_id = " . (int) $style . " ! AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND stt.template_id = bbt.template_id ! AND stt.template_path = mxt.template_name"; ! } break; } ! if ( !($result = $db->sql_query($sql)) ) { mx_message_die(CRITICAL_ERROR, "Could not query database for theme info", '', __LINE__, __FILE__, $sql); *************** *** 881,887 **** if ( !($row = $db->sql_fetchrow($result)) ) ! { $style = $portal_config['default_style']; ! switch (PORTAL_BACKEND) { --- 892,898 ---- if ( !($row = $db->sql_fetchrow($result)) ) ! { $style = $portal_config['default_style']; ! switch (PORTAL_BACKEND) { *************** *** 891,895 **** WHERE portal_backend = '" . PORTAL_BACKEND . "' AND themes_id = " . (int) $style; ! break; case 'phpbb2': $sql = "SELECT bbt.* --- 902,906 ---- WHERE portal_backend = '" . PORTAL_BACKEND . "' AND themes_id = " . (int) $style; ! break; case 'phpbb2': $sql = "SELECT bbt.* *************** *** 898,910 **** AND mxt.portal_backend = '" . PORTAL_BACKEND . "' AND mxt.themes_id = " . (int) $style; ! break; case 'phpbb3': ! $sql = "SELECT bbt.*, stt.* ! FROM " . MX_THEMES_TABLE . " mxt, " . STYLES_TABLE . " bbt, " . STYLES_TEMPLATE_TABLE . " stt ! WHERE mxt.template_name = stt.template_path ! AND bbt.style_id = stt.template_id ! AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND mxt.themes_id = " . (int) $style; ! break; } --- 909,932 ---- AND mxt.portal_backend = '" . PORTAL_BACKEND . "' AND mxt.themes_id = " . (int) $style; ! break; case 'phpbb3': ! //Try standard style name ! $sql = "SELECT mxt . *, stt . * , bbt . * ! FROM " . MX_THEMES_TABLE . " AS mxt, " . STYLES_TEMPLATE_TABLE . " AS stt, " . STYLES_TABLE . " AS bbt ! WHERE mxt.themes_id = " . (int) $style . " ! AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND stt.template_id = bbt.template_id ! AND bbt.style_name = mxt.template_name"; ! //If not standard style name or with spaces try someting else ! if ( !$db->sql_fetchrow($db->sql_query($sql) ) ) ! { ! $sql = "SELECT mxt . *, stt . * , bbt . * ! FROM " . MX_THEMES_TABLE . " AS mxt, " . STYLES_TEMPLATE_TABLE . " AS stt, " . STYLES_TABLE . " AS bbt ! WHERE mxt.themes_id = " . (int) $style . " ! AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND stt.template_id = bbt.template_id ! AND stt.template_path = mxt.template_name"; ! } ! break; } *************** *** 930,934 **** break; case 'phpbb3': ! $sql = "SELECT bbt.*, stt.* FROM " . MX_THEMES_TABLE . " mxt, " . STYLES_TABLE . " bbt, " . STYLES_TEMPLATE_TABLE . " stt WHERE mxt.template_name = stt.template_path"; --- 952,956 ---- break; case 'phpbb3': ! $sql = "SELECT mxt.*, bbt.*, stt.* FROM " . MX_THEMES_TABLE . " mxt, " . STYLES_TABLE . " bbt, " . STYLES_TEMPLATE_TABLE . " stt WHERE mxt.template_name = stt.template_path"; |
|
From: FlorinCB <ory...@us...> - 2008-10-04 18:16:38
|
Update of /cvsroot/mxbb/core/includes In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv25201 Modified Files: mx_functions_style.php Log Message: Big bug with phpbb3 backend we should not have so many "AND" when trying disaperatly. Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.95 retrieving revision 1.96 diff -C2 -d -r1.95 -r1.96 *** mx_functions_style.php 4 Oct 2008 07:04:25 -0000 1.95 --- mx_functions_style.php 4 Oct 2008 18:16:26 -0000 1.96 *************** *** 932,937 **** $sql = "SELECT bbt.*, stt.* FROM " . MX_THEMES_TABLE . " mxt, " . STYLES_TABLE . " bbt, " . STYLES_TEMPLATE_TABLE . " stt ! WHERE mxt.template_name = stt.template_path ! AND bbt.style_id = stt.template_id"; break; } --- 932,936 ---- $sql = "SELECT bbt.*, stt.* FROM " . MX_THEMES_TABLE . " mxt, " . STYLES_TABLE . " bbt, " . STYLES_TEMPLATE_TABLE . " stt ! WHERE mxt.template_name = stt.template_path"; break; } |
|
From: FlorinCB <ory...@us...> - 2008-10-04 18:01:40
|
Update of /cvsroot/mxbb/core/install/schemas In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv24724/install/schemas Modified Files: mysql_41_schema_install.sql Log Message: fix for mx_users module and added a global var Index: mysql_41_schema_install.sql =================================================================== RCS file: /cvsroot/mxbb/core/install/schemas/mysql_41_schema_install.sql,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** mysql_41_schema_install.sql 30 Sep 2008 07:04:46 -0000 1.9 --- mysql_41_schema_install.sql 4 Oct 2008 18:01:29 -0000 1.10 *************** *** 626,653 **** # DROP TABLE IF EXISTS `mx_table_users`; ! CREATE TABLE `mx_table_users` ( user_id mediumint(8) NOT NULL, ! user_active tinyint(1) DEFAULT '1', ! username varchar(25) NOT NULL, ! user_password varchar(32) NOT NULL, ! user_session_time int(11) DEFAULT '0' NOT NULL, ! user_session_page smallint(5) DEFAULT '0' NOT NULL, ! user_lastvisit int(11) DEFAULT '0' NOT NULL, ! user_regdate int(11) DEFAULT '0' NOT NULL, ! user_level tinyint(4) DEFAULT '0', ! user_login_tries smallint(5) UNSIGNED DEFAULT '0' NOT NULL, ! user_last_login_try int(11) DEFAULT '0' NOT NULL, ! user_email varchar(255), PRIMARY KEY (user_id), KEY user_session_time (user_session_time) ! ) CHARACTER SET `utf8` COLLATE `utf8_bin`; # -- Users ! INSERT INTO `mx_table_users` (user_id, username, user_level, user_regdate, user_password, user_email, user_active) VALUES ( -1, 'Anonymous', 0, 0, '', '', 0); # -- username: admin password: admin (change this or remove it once everything is working!) ! INSERT INTO `mx_table_users` (user_id, username, user_level, user_regdate, user_password, user_email, user_active) VALUES ( 2, 'Admin', 1, 0, '21232f297a57a5a743894a0e4a801fc3', 'ad...@yo...', 1); # -- Groups --- 626,653 ---- # DROP TABLE IF EXISTS `mx_table_users`; ! CREATE TABLE IF NOT EXISTS `mx_table_users` ( user_id mediumint(8) NOT NULL, ! user_active tinyint(1) default '1', ! username varchar(25) collate utf8_bin NOT NULL, ! user_password varchar(32) collate utf8_bin NOT NULL, ! user_session_time int(11) NOT NULL default '0', ! user_session_page smallint(5) NOT NULL default '0', ! user_lastvisit int(11) NOT NULL default '0', ! user_regdate int(11) NOT NULL default '0', ! user_level tinyint(4) default '0', ! user_login_tries smallint(5) unsigned NOT NULL default '0', ! user_last_login_try int(11) NOT NULL default '0', ! user_email varchar(255) collate utf8_bin default NULL, PRIMARY KEY (user_id), KEY user_session_time (user_session_time) ! ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin; # -- Users ! INSERT INTO `mx_table_users` (user_id, user_active, username, user_password, user_session_time, user_session_page, user_lastvisit, user_regdate, user_level, user_login_tries, user_last_login_try, user_email) VALUES('-1', '0', 'Anonymous', '', '0', '0', '0', '1221460256', '0', '0', '0', ''); # -- username: admin password: admin (change this or remove it once everything is working!) ! INSERT INTO `mx_table_users` (user_id, user_active, username, user_password, user_session_time, user_session_page, user_lastvisit, user_regdate, user_level, user_login_tries, user_last_login_try, user_email) VALUES('2', '1', 'Admin', '21232f297a57a5a743894a0e4a801fc3', '1223142439', '0', '1221524623', '1221460256', '1', '0', '0', 'admin@localhost'); # -- Groups |
|
From: FlorinCB <ory...@us...> - 2008-10-04 18:01:40
|
Update of /cvsroot/mxbb/core/includes In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv24724/includes Modified Files: mx_functions.php Log Message: fix for mx_users module and added a global var Index: mx_functions.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions.php,v retrieving revision 1.95 retrieving revision 1.96 diff -C2 -d -r1.95 -r1.96 *** mx_functions.php 4 Oct 2008 07:04:24 -0000 1.95 --- mx_functions.php 4 Oct 2008 18:01:29 -0000 1.96 *************** *** 757,761 **** function mx_get_userdata($user, $force_str = false) { ! global $db; if (!is_numeric($user) || $force_str) --- 757,761 ---- function mx_get_userdata($user, $force_str = false) { ! global $db, $phpBB2; if (!is_numeric($user) || $force_str) |
|
From: FlorinCB <ory...@us...> - 2008-10-04 17:30:39
|
Update of /cvsroot/mxbb/core/includes/db In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv23062 Modified Files: dbal.php mysql.php Log Message: downgrade to fix installer |
Update of /cvsroot/mxbb/mx_act/admin In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv11054 Modified Files: admin_activity.php admin_ina_ban.php admin_ina_category.php admin_ina_disable.php admin_ina_scores_edit.php admin_ina_xtras.php Log Message: fix Index: admin_ina_disable.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/admin/admin_ina_disable.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** admin_ina_disable.php 3 Jun 2008 20:06:57 -0000 1.7 --- admin_ina_disable.php 4 Oct 2008 12:30:21 -0000 1.8 *************** *** 52,56 **** } ! $link = append_sid( "admin_ina_disable." . $phpEx ); if ( $mode == "main" || !$mode ) --- 52,56 ---- } ! $link = mx_append_sid( "admin_ina_disable." . $phpEx ); if ( $mode == "main" || !$mode ) Index: admin_activity.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/admin/admin_activity.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** admin_activity.php 3 Jun 2008 20:06:56 -0000 1.10 --- admin_activity.php 4 Oct 2008 12:30:21 -0000 1.11 *************** *** 183,187 **** } ! $template->assign_vars( array( "S_GAME_ACTION" => append_sid( "admin_activity.$phpEx" ), "VERSION" => $version, "DASH" => $lang['game_dash'], --- 183,187 ---- } ! $template->assign_vars( array( "S_GAME_ACTION" => mx_append_sid( "admin_activity.$phpEx" ), "VERSION" => $version, "DASH" => $lang['game_dash'], Index: admin_ina_xtras.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/admin/admin_ina_xtras.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** admin_ina_xtras.php 3 Jun 2008 20:06:57 -0000 1.7 --- admin_ina_xtras.php 4 Oct 2008 12:30:21 -0000 1.8 *************** *** 50,54 **** } ! $link = append_sid( "admin_ina_xtras." . $phpEx ); global $table_prefix, $board_config, $act_config; --- 50,54 ---- } ! $link = mx_append_sid( "admin_ina_xtras." . $phpEx ); global $table_prefix, $board_config, $act_config; Index: admin_ina_category.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/admin/admin_ina_category.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** admin_ina_category.php 3 Jun 2008 20:06:57 -0000 1.7 --- admin_ina_category.php 4 Oct 2008 12:30:21 -0000 1.8 *************** *** 52,56 **** } ! $link = append_sid( "admin_ina_category." . $phpEx ); if ( $mode == "main" || !$mode ) --- 52,56 ---- } ! $link = mx_append_sid( "admin_ina_category." . $phpEx ); if ( $mode == "main" || !$mode ) Index: admin_ina_scores_edit.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/admin/admin_ina_scores_edit.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** admin_ina_scores_edit.php 3 Jun 2008 20:06:57 -0000 1.7 --- admin_ina_scores_edit.php 4 Oct 2008 12:30:21 -0000 1.8 *************** *** 51,55 **** } ! $link = append_sid( "admin_ina_scores_edit." . $phpEx ); echo "<table width='100%' border='0' class='forumline' cellspacing='2' align='center' valign='middle'>"; --- 51,55 ---- } ! $link = mx_append_sid( "admin_ina_scores_edit." . $phpEx ); echo "<table width='100%' border='0' class='forumline' cellspacing='2' align='center' valign='middle'>"; Index: admin_ina_ban.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/admin/admin_ina_ban.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** admin_ina_ban.php 3 Jun 2008 20:06:57 -0000 1.7 --- admin_ina_ban.php 4 Oct 2008 12:30:21 -0000 1.8 *************** *** 50,54 **** } ! $link = append_sid( "admin_ina_ban." . $phpEx ); if ( $mode == "main" || !$mode ) --- 50,54 ---- } ! $link = mx_append_sid( "admin_ina_ban." . $phpEx ); if ( $mode == "main" || !$mode ) |