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-03-09 23:38:07
|
Update of /cvsroot/mxbb/core/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv17021/admin Modified Files: admin_mx_block_cp.php admin_mx_page_cp.php Log Message: Virtual pages See notes is Dev area Index: admin_mx_page_cp.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_page_cp.php,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** admin_mx_page_cp.php 11 Feb 2008 11:13:16 -0000 1.30 --- admin_mx_page_cp.php 9 Mar 2008 23:37:59 -0000 1.31 *************** *** 975,979 **** } ! $sql = "SELECT cbl.*, blk.*, function_admin FROM " . COLUMN_BLOCK_TABLE . " cbl, " . BLOCK_TABLE . " blk, --- 975,979 ---- } ! $sql = "SELECT cbl.*, blk.*, fnc.function_file, function_admin FROM " . COLUMN_BLOCK_TABLE . " cbl, " . BLOCK_TABLE . " blk, *************** *** 1034,1037 **** --- 1034,1039 ---- } + $controller_block = $block_rows[$block]['function_file'] == 'mx_multiple_blocks.php' || $block_rows[$block]['function_file'] == 'mx_dynamic.php' || $block_rows[$block]['function_file'] == 'mx_virtual.php'; + $template->assign_block_vars('pages.columnrow.blockrow', array( 'L_SETTING' => $l_setting, *************** *** 1043,1046 **** --- 1045,1049 ---- 'BLOCK_LAST_EDITED' => ( $editor_name != '' ) ? ' (' . $lang['Block_updated_by'] . $editor_name . ', ' . $edit_time . ')' : '', + 'IMG_ICON_BLOCK' => $controller_block ? $admin_icon['page'] : $admin_icon['block'], 'ROW_COLOR' => $row_color, *************** *** 1072,1075 **** --- 1075,1084 ---- 'LIST_BLOCK' => $blocklist, 'S_SUBMIT' => $lang['Add_Block'], + 'S_SUBMIT_SPLIT' => $lang['Add_Split_Block'], + 'S_SUBMIT_SPLIT_EXPLAIN' => $lang['Add_Split_Block_explain'], + 'S_SUBMIT_DYNAMIC' => $lang['Add_Dynamic_Block'], + 'S_SUBMIT_DYNAMIC_EXPLAIN' => $lang['Add_Dynamic_Block_explain'], + 'S_SUBMIT_VIRTUAL' => $lang['Add_Virtual_Block'], + 'S_SUBMIT_VIRTUAL_EXPLAIN' => $lang['Add_Virtual_Block_explain'], 'S_HIDDEN_FIELDS' => $s_hidden_page_fields Index: admin_mx_block_cp.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_block_cp.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** admin_mx_block_cp.php 22 Feb 2008 23:02:49 -0000 1.21 --- admin_mx_block_cp.php 9 Mar 2008 23:37:59 -0000 1.22 *************** *** 144,148 **** $block_id = ''; $message = $lang['BlockCP_Config_updated'] . '<br /><br />' . sprintf($lang['Click_return_blockCP_admin'], '<a href="' . mx_append_sid(PORTAL_URL . "admin/admin_mx_block_cp.".$phpEx, "block_id=$block_id&module_id=$module_id&function_id=$function_id&portalpage=$portalpage$has_dyn_block_id&sid=".$userdata['session_id'],true) . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_portalpage_admin'], '<a href="' . mx_append_sid(PORTAL_URL . "index.$phpEx?page=$portalpage$has_dyn_block_id") . '">', '</a>'); ! mx_message_die(GENERAL_MESSAGE, $message); } } --- 144,148 ---- $block_id = ''; $message = $lang['BlockCP_Config_updated'] . '<br /><br />' . sprintf($lang['Click_return_blockCP_admin'], '<a href="' . mx_append_sid(PORTAL_URL . "admin/admin_mx_block_cp.".$phpEx, "block_id=$block_id&module_id=$module_id&function_id=$function_id&portalpage=$portalpage$has_dyn_block_id&sid=".$userdata['session_id'],true) . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_portalpage_admin'], '<a href="' . mx_append_sid(PORTAL_URL . "index.$phpEx?page=$portalpage$has_dyn_block_id") . '">', '</a>'); ! mx_message_die(GENERAL_MESSAGE, $message ); } } |
|
From: OryNider <ory...@us...> - 2008-03-09 12:03:28
|
Update of /cvsroot/mxbb/mx_music/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27480/subSilver Modified Files: subSilver.cfg Log Message: fix Index: subSilver.cfg =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/subSilver/subSilver.cfg,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** subSilver.cfg 1 Aug 2007 23:34:52 -0000 1.2 --- subSilver.cfg 9 Mar 2008 12:02:28 -0000 1.3 *************** *** 31,39 **** // Do not alter this line! // ! if( !defined('MX_TEMPLATE_CONFIG')) ! { ! define(MX_TEMPLATE_CONFIG, TRUE); ! $mx_template_config = true; ! } $mx_template_name = 'subSilver'; --- 31,36 ---- // Do not alter this line! // ! @define(MX_TEMPLATE_CONFIG, TRUE); ! $mx_template_config = true; $mx_template_name = 'subSilver'; |
|
From: OryNider <ory...@us...> - 2008-03-09 12:02:42
|
Update of /cvsroot/mxbb/mx_music/templates/prosilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27480/prosilver Modified Files: prosilver.cfg Log Message: fix Index: prosilver.cfg =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/prosilver/prosilver.cfg,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** prosilver.cfg 29 Jan 2008 07:54:18 -0000 1.1 --- prosilver.cfg 9 Mar 2008 12:02:27 -0000 1.2 *************** *** 31,43 **** // Do not alter this line! // ! if( !defined('MX_TEMPLATE_CONFIG')) ! { ! define(MX_TEMPLATE_CONFIG, TRUE); ! $mx_template_config = true; ! } $mx_template_name = 'subSilver'; - // ------------------------------------------------------------------------- // Prefix with PORTAL_URL --- 31,39 ---- // Do not alter this line! // ! @define(MX_TEMPLATE_CONFIG, TRUE); ! $mx_template_config = true; $mx_template_name = 'subSilver'; // ------------------------------------------------------------------------- // Prefix with PORTAL_URL |
|
From: OryNider <ory...@us...> - 2008-03-09 12:02:37
|
Update of /cvsroot/mxbb/mx_music/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27480/_core Modified Files: _core.cfg Log Message: fix Index: _core.cfg =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/_core/_core.cfg,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** _core.cfg 29 Jan 2008 07:54:18 -0000 1.1 --- _core.cfg 9 Mar 2008 12:02:25 -0000 1.2 *************** *** 31,39 **** // Do not alter this line! // ! if( !defined('MX_TEMPLATE_CONFIG')) ! { ! define(MX_TEMPLATE_CONFIG, TRUE); ! $mx_template_config = true; ! } $mx_template_name = 'subSilver'; --- 31,36 ---- // Do not alter this line! // ! @define(MX_TEMPLATE_CONFIG, TRUE); ! $mx_template_config = true; $mx_template_name = 'subSilver'; |
|
From: OryNider <ory...@us...> - 2008-03-09 12:01:02
|
Update of /cvsroot/mxbb/mx_music/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25881 Modified Files: Tag: core28x subSilver.cfg Log Message: fix Index: subSilver.cfg =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/subSilver/subSilver.cfg,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -C2 -d -r1.2 -r1.2.2.1 *** subSilver.cfg 1 Aug 2007 23:34:52 -0000 1.2 --- subSilver.cfg 9 Mar 2008 12:00:41 -0000 1.2.2.1 *************** *** 31,39 **** // Do not alter this line! // ! if( !defined('MX_TEMPLATE_CONFIG')) ! { ! define(MX_TEMPLATE_CONFIG, TRUE); ! $mx_template_config = true; ! } $mx_template_name = 'subSilver'; --- 31,36 ---- // Do not alter this line! // ! @define(MX_TEMPLATE_CONFIG, TRUE); ! $mx_template_config = true; $mx_template_name = 'subSilver'; |
|
From: OryNider <ory...@us...> - 2008-03-09 11:55:26
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19768 Modified Files: Tag: core28x mx_functions_style.php Log Message: fix Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.17.2.22 retrieving revision 1.17.2.23 diff -C2 -d -r1.17.2.22 -r1.17.2.23 *** mx_functions_style.php 9 Mar 2008 11:35:05 -0000 1.17.2.22 --- mx_functions_style.php 9 Mar 2008 11:55:14 -0000 1.17.2.23 *************** *** 749,752 **** --- 749,768 ---- $default_template_path = $module_root_path . $this->default_current_template_path; $template_name = $this->template_name; + + // + // If use default template with difrent modules config file name + // + if (!empty($this->module_cfg_name[$module_root_path])) + { + $module_cfg_info = "<br />Custom module config file: " . $this->module_cfg_name[$module_root_path]; + $default_cfg_file = $this->module_cfg_name[$module_root_path]; + + } + else + { + $module_cfg_info = "<br />Custom module config file: Not set"; + $default_cfg_file = false; + } + @include($mx_root_path . $module_root_path . $this->current_template_path . '/' . $this->template_name . '.cfg'); *************** *** 759,764 **** $current_template_path = $module_root_path . $this->cloned_current_template_path; $template_name = $this->cloned_template_name; ! @include($mx_root_path . $module_root_path . $this->cloned_current_template_path . '/' . $this->cloned_template_name . '.cfg'); } --- 775,781 ---- $current_template_path = $module_root_path . $this->cloned_current_template_path; $template_name = $this->cloned_template_name; + $default_cfg_file = ($default_cfg_file) ? $default_cfg_file : $this->cloned_template_name; ! @include($mx_root_path . $module_root_path . $this->cloned_current_template_path . '/' . $default_cfg_file . '.cfg'); } *************** *** 770,775 **** $current_template_path = $module_root_path . $this->default_current_template_path; $template_name = $this->default_template_name; ! @include($mx_root_path . $module_root_path . $this->default_current_template_path . '/' . $this->default_template_name . '.cfg'); } --- 787,793 ---- $current_template_path = $module_root_path . $this->default_current_template_path; $template_name = $this->default_template_name; + $default_cfg_file = ($default_cfg_file) ? $default_cfg_file : $this->default_template_name; ! @include($mx_root_path . $module_root_path . $this->default_current_template_path . '/' . $default_cfg_file . '.cfg'); } *************** *** 781,804 **** $current_template_path = $module_root_path . $this->default_module_style; $template_name = $this->default_module_style; ! @include($mx_root_path . $module_root_path . $this->default_module_style . '/' . $this->default_module_style . '.cfg'); ! } ! ! // ! // If use default template with difrent modules config file name ! // ! if ( (!$mx_template_config) && !empty($this->module_cfg_name[$module_root_path])) ! { ! $current_template_path = $module_root_path . $this->default_current_template_path; ! $template_name = $this->default_template_name; ! $module_cfg_info = "<br />Custom module config file: " . $this->module_cfg_name[$module_root_path]; ! ! @include($module_root_path . $this->default_current_template_path . '/' . $this->module_cfg_name[$module_root_path] . '.cfg'); ! } ! else ! { ! $module_cfg_info = "<br />Custom module config file: Not set"; } ! // // We have no template to use - die --- 799,807 ---- $current_template_path = $module_root_path . $this->default_module_style; $template_name = $this->default_module_style; + $default_cfg_file = ($default_cfg_file) ? $default_cfg_file : $this->default_module_style; ! @include($mx_root_path . $module_root_path . $this->default_module_style . '/' . $default_cfg_file . '.cfg'); } ! // // We have no template to use - die |
|
From: OryNider <ory...@us...> - 2008-03-09 11:53:21
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15623 Modified Files: mx_functions_style.php Log Message: fix Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.60 retrieving revision 1.61 diff -C2 -d -r1.60 -r1.61 *** mx_functions_style.php 9 Mar 2008 09:52:41 -0000 1.60 --- mx_functions_style.php 9 Mar 2008 11:51:55 -0000 1.61 *************** *** 1251,1254 **** --- 1251,1270 ---- $default_template_path = $module_root_path . $this->default_current_template_path; $template_name = $this->template_name; + + // + // If use default template with difrent modules config file name + // + if (!empty($this->module_cfg_name[$module_root_path])) + { + $module_cfg_info = "<br />Custom module config file: " . $this->module_cfg_name[$module_root_path]; + $default_cfg_file = $this->module_cfg_name[$module_root_path]; + + } + else + { + $module_cfg_info = "<br />Custom module config file: Not set"; + $default_cfg_file = false; + } + @include($mx_root_path . $module_root_path . $this->current_template_path . '/' . $this->template_name . '.cfg'); *************** *** 1261,1266 **** $current_template_path = $module_root_path . $this->cloned_current_template_path; $template_name = $this->cloned_template_name; ! @include($mx_root_path . $module_root_path . $this->cloned_current_template_path . '/' . $this->cloned_template_name . '.cfg'); } --- 1277,1283 ---- $current_template_path = $module_root_path . $this->cloned_current_template_path; $template_name = $this->cloned_template_name; + $default_cfg_file = ($default_cfg_file) ? $default_cfg_file : $this->cloned_template_name; ! @include($mx_root_path . $module_root_path . $this->cloned_current_template_path . '/' . $default_cfg_file . '.cfg'); } *************** *** 1272,1290 **** $current_template_path = $module_root_path . $this->default_current_template_path; $template_name = $this->default_template_name; ! @include($mx_root_path . $module_root_path . $this->default_current_template_path . '/' . $this->default_template_name . '.cfg'); } // ! // If use default template with difrent modules config file name // ! if ( (!$mx_template_config) && !empty($this->module_cfg_name[$module_root_path])) { ! $current_template_path = $module_root_path . $this->default_current_template_path; ! $template_name = $this->default_template_name; ! @include($module_root_path . $this->default_current_template_path . '/' . $this->module_cfg_name[$module_root_path] . '.cfg'); } ! // // We have no template to use - die --- 1289,1309 ---- $current_template_path = $module_root_path . $this->default_current_template_path; $template_name = $this->default_template_name; + $default_cfg_file = ($default_cfg_file) ? $default_cfg_file : $this->default_template_name; ! @include($mx_root_path . $module_root_path . $this->default_current_template_path . '/' . $default_cfg_file . '.cfg'); } // ! // If use default module template intead // ! if ( !$mx_template_config ) { ! $current_template_path = $module_root_path . $this->default_module_style; ! $template_name = $this->default_module_style; ! $default_cfg_file = ($default_cfg_file) ? $default_cfg_file : $this->default_module_style; ! @include($mx_root_path . $module_root_path . $this->default_module_style . '/' . $default_cfg_file . '.cfg'); } ! // // We have no template to use - die *************** *** 1292,1296 **** if ( !$mx_template_config ) { ! mx_message_die(CRITICAL_ERROR, "Could not open MX-Publisher " . $module_root_path . $this->default_current_template_path . " style config file", '', __LINE__, __FILE__); } --- 1311,1315 ---- if ( !$mx_template_config ) { ! mx_message_die(CRITICAL_ERROR, "Could not open " . $mx_root_path . $module_root_path . $this->cloned_current_template_path . '/' . $this->cloned_template_name . '.cfg' . " style config file or file can not be validated. <br /> Current style: $this->template_name <br />Cloned style: $this->cloned_template_name <br />Default style: $this->default_template_name <br />Custom module default style: $this->default_module_style $module_cfg_info", '', __LINE__, __FILE__); } |
|
From: OryNider <ory...@us...> - 2008-03-09 11:35:32
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2701 Modified Files: Tag: core28x mx_functions_style.php Log Message: Could not open ./modules/mx_music/templates/subSilver/subSilver.cfg style config file or file can not be validated. Current style: nt2007 Cloned style: subSilver Default style: _core Custom module default style: _core Custom module config file: Not set Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.17.2.21 retrieving revision 1.17.2.22 diff -C2 -d -r1.17.2.21 -r1.17.2.22 *** mx_functions_style.php 9 Mar 2008 09:50:51 -0000 1.17.2.21 --- mx_functions_style.php 9 Mar 2008 11:35:05 -0000 1.17.2.22 *************** *** 775,778 **** --- 775,789 ---- // + // If use default module template intead + // + if ( !$mx_template_config ) + { + $current_template_path = $module_root_path . $this->default_module_style; + $template_name = $this->default_module_style; + + @include($mx_root_path . $module_root_path . $this->default_module_style . '/' . $this->default_module_style . '.cfg'); + } + + // // If use default template with difrent modules config file name // *************** *** 781,787 **** $current_template_path = $module_root_path . $this->default_current_template_path; $template_name = $this->default_template_name; ! @include($module_root_path . $this->default_current_template_path . '/' . $this->module_cfg_name[$module_root_path] . '.cfg'); } // --- 792,803 ---- $current_template_path = $module_root_path . $this->default_current_template_path; $template_name = $this->default_template_name; ! $module_cfg_info = "<br />Custom module config file: " . $this->module_cfg_name[$module_root_path]; ! @include($module_root_path . $this->default_current_template_path . '/' . $this->module_cfg_name[$module_root_path] . '.cfg'); } + else + { + $module_cfg_info = "<br />Custom module config file: Not set"; + } // *************** *** 790,794 **** if ( !$mx_template_config ) { ! mx_message_die(CRITICAL_ERROR, "Could not open mxBB " . $module_root_path . $this->default_current_template_path . " style config file", '', __LINE__, __FILE__); } --- 806,810 ---- if ( !$mx_template_config ) { ! mx_message_die(CRITICAL_ERROR, "Could not open " . $mx_root_path . $module_root_path . $this->cloned_current_template_path . '/' . $this->cloned_template_name . '.cfg' . " style config file or file can not be validated. <br /> Current style: $this->template_name <br />Cloned style: $this->cloned_template_name <br />Default style: $this->default_template_name <br />Custom module default style: $this->default_module_style $module_cfg_info", '', __LINE__, __FILE__); } |
|
From: OryNider <ory...@us...> - 2008-03-09 09:53:33
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4859 Modified Files: Tag: core28x mx_functions_style.php Log Message: Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.17.2.20 retrieving revision 1.17.2.21 diff -C2 -d -r1.17.2.20 -r1.17.2.21 *** mx_functions_style.php 8 Mar 2008 08:28:34 -0000 1.17.2.20 --- mx_functions_style.php 9 Mar 2008 09:50:51 -0000 1.17.2.21 *************** *** 857,861 **** if ((@include $module_lang_path . "language/lang_english/lang_main.$phpEx") === false) { ! mx_message_die(CRITICAL_ERROR, 'Module main language file ' . $mx_root_path . $mx_block->module_root_path . "language/lang_" . $default_lang . "/lang_main.$phpEx" . ' couldn\'t be opened.'); } } --- 857,861 ---- if ((@include $module_lang_path . "language/lang_english/lang_main.$phpEx") === false) { ! mx_message_die(CRITICAL_ERROR, 'Module main language file ' . $mx_root_path . $module_lang_path . "language/lang_" . $default_lang . "/lang_main.$phpEx" . ' couldn\'t be opened.'); } } *************** *** 871,875 **** if ((@include $module_lang_path . "language/lang_english/lang_admin.$phpEx") === false) { ! mx_message_die(CRITICAL_ERROR, 'Modiule admin language file ' . $mx_root_path . $mx_block->module_root_path . "language/lang_" . $default_lang . "/lang_admin.$phpEx" . ' couldn\'t be opened.'); } } --- 871,875 ---- if ((@include $module_lang_path . "language/lang_english/lang_admin.$phpEx") === false) { ! mx_message_die(CRITICAL_ERROR, 'Modiule admin language file ' . $mx_root_path . $module_lang_path . "language/lang_" . $default_lang . "/lang_admin.$phpEx" . ' couldn\'t be opened.'); } } |
|
From: OryNider <ory...@us...> - 2008-03-09 09:53:00
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5805 Modified Files: mx_functions_style.php Log Message: Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.59 retrieving revision 1.60 diff -C2 -d -r1.59 -r1.60 *** mx_functions_style.php 8 Mar 2008 08:29:20 -0000 1.59 --- mx_functions_style.php 9 Mar 2008 09:52:41 -0000 1.60 *************** *** 1359,1363 **** if ((@include $module_lang_path . "language/lang_english/lang_main.$phpEx") === false) { ! mx_message_die(CRITICAL_ERROR, 'Module main language file ' . $mx_root_path . $mx_block->module_root_path . "language/lang_" . $default_lang . "/lang_main.$phpEx" . ' couldn\'t be opened.'); } } --- 1359,1363 ---- if ((@include $module_lang_path . "language/lang_english/lang_main.$phpEx") === false) { ! mx_message_die(CRITICAL_ERROR, 'Module main language file ' . $mx_root_path . $module_lang_path . "language/lang_" . $default_lang . "/lang_main.$phpEx" . ' couldn\'t be opened.'); } } *************** *** 1373,1377 **** if ((@include $module_lang_path . "language/lang_english/lang_admin.$phpEx") === false) { ! mx_message_die(CRITICAL_ERROR, 'Modiule admin language file ' . $mx_root_path . $mx_block->module_root_path . "language/lang_" . $default_lang . "/lang_admin.$phpEx" . ' couldn\'t be opened.'); } } --- 1373,1377 ---- if ((@include $module_lang_path . "language/lang_english/lang_admin.$phpEx") === false) { ! mx_message_die(CRITICAL_ERROR, 'Modiule admin language file ' . $mx_root_path . $module_lang_path . "language/lang_" . $default_lang . "/lang_admin.$phpEx" . ' couldn\'t be opened.'); } } |
|
From: OryNider <ory...@us...> - 2008-03-08 21:01:15
|
Update of /cvsroot/mxbb/mx_music/music_box/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2492/music_box/language/lang_english Modified Files: Tag: core28x lang_admin.php lang_main.php Log Message: |
|
From: OryNider <ory...@us...> - 2008-03-08 21:01:13
|
Update of /cvsroot/mxbb/mx_music/music_box/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2492/music_box/includes Modified Files: Tag: core28x music_functions.php music_integration.php Log Message: |
|
From: OryNider <ory...@us...> - 2008-03-08 21:01:12
|
Update of /cvsroot/mxbb/mx_music/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2492/language/lang_english Modified Files: Tag: core28x lang_admin.php Removed Files: Tag: core28x lang_admin_music.php lang_main_music.php Log Message: --- lang_main_music.php DELETED --- --- lang_admin_music.php DELETED --- |
|
From: OryNider <ory...@us...> - 2008-03-08 21:00:52
|
Update of /cvsroot/mxbb/mx_music/language/lang_romanian In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2492/language/lang_romanian Removed Files: Tag: core28x lang_admin_music.php lang_main_music.php Log Message: --- lang_main_music.php DELETED --- --- lang_admin_music.php DELETED --- |
|
From: OryNider <ory...@us...> - 2008-03-08 20:56:15
|
Update of /cvsroot/mxbb/mx_music/language/lang_romanian In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31455/lang_romanian Modified Files: Tag: core28x lang_admin.php Log Message: Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/language/lang_romanian/lang_admin.php,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -C2 -d -r1.2 -r1.2.2.1 *** lang_admin.php 1 Aug 2007 23:34:36 -0000 1.2 --- lang_admin.php 8 Mar 2008 20:56:08 -0000 1.2.2.1 *************** *** 18,21 **** --- 18,28 ---- // setlocale(LC_ALL, "en"); + /* + Translation: Românã (Romanian) + Rev date: September 02, 2006 + Copyright: (C) 2006 Romanian phpBB online community - http://www.phpbb.ro/ + Translator: Aliniuz < al...@ya... > + */ + $lang['display_most_posts'] = "Display most posts"; $lang['display_random_posts'] = "Display random posts"; *************** *** 50,53 **** --- 57,156 ---- $lang['override_yes'] = 'Use Block Settings'; $lang['override_no'] = 'Use fixed mappings (see below)'; + + // + // Configuration + // + $lang['Music_config'] = 'Configuraþia Melodiilor'; + $lang['Music_config_explain'] = 'Aici poþi schimba setãrile generale Music Online-ului instalat pe forumul tãu'; + $lang['Music_config_updated'] = 'Configuraþia Melodiilor a fost actualizatã cu succes'; + $lang['Click_return_music_config'] = 'Click %saici%s pentru a te întoarce la Configuraþia Melodiilor'; + $lang['Max_songs'] = 'Numãrul maxim de melodii pentru fiecare categorie (-1 = nelimitat)'; + $lang['User_songs_limit'] = 'Limita de melodii pe fiecare categorie pentru fiecare membru (-1 = nelimitat)'; + $lang['Moderator_songs_limit'] = 'Limita de melodii pe fiecare categorie pentru fiecare moderator (-1 = nelimitat)'; + $lang['Songs_Approval'] = 'Aprobarea melodiilor'; + $lang['Rows_per_page'] = 'Numãrul de rânduri'; + $lang['Cols_per_page'] = 'Numãrul de coloane'; + $lang['Rows_per_page_music_pic_cat'] = 'Numãrul de rânduri în subcategorie virtualã de imagini'; + $lang['Cols_per_page_music_pic_cat'] = 'Numãrul de coloane în subcategorie virtualã de imagini'; + $lang['Rows_per_page_music_media_cat'] = 'Number of rows în subcategorie virtualã media'; + $lang['Cols_per_page_music_media_cat'] = 'Number of columns în subcategorie virtualã media'; + $lang['Top'] = 'Numãrul de melodii pe lista Top Melodii'; + $lang['Song_Desc_Max_Length'] = 'Lungimea maximã a versurilor/comentariilor melodiilor (bytes)'; + $lang['Hotlink_prevent'] = 'Prevenire HotLink'; + $lang['Hotlink_allowed'] = 'Domenii acceptate pentru hotlink (separate printr-o virgulã)'; + $lang['Rate_system'] = 'Activare sistemul de votare'; + $lang['Rate_Scale'] =' Scala notelor (pentru rating)'; + $lang['Comment_system'] = 'Activeazã sistemul pentru comentarii'; + $lang['Download_system'] = 'Activeazã sistemul pentru download'; + $lang['Extra_Settings'] = 'Setãri suplimentare'; + $lang['Default_Sort_Method'] = 'Metoda implicitã de sortare'; + $lang['Default_Sort_Order'] = 'Ordinea implicitã de sortare'; + + //Index + $lang['Music_Index_Settings'] = 'Music Index'; + $lang['Show_Index_Subcats'] = 'Aratã subcategorii în index'; + + // + // Categories + // + $lang['Music_Categories_Title'] = 'Configuraþia Categoriilor de Melodii'; + $lang['Music_Categories_Explain'] = 'În aceastã secþiune îþi poþi conduce categoriile: creazã, modificã, ºterge, sorteazã, etc.'; + $lang['Category_Permissions'] = 'Permisiunile Categoriilor'; + $lang['Category_Title'] = 'Titlul Categoriei'; + $lang['Category_Desc'] = 'Descrierea Categoriei'; + $lang['View_level'] = 'Nivelul de vizualizãri'; + $lang['Upload_level'] = 'Nivelul de upload'; + $lang['Rate_level'] = 'Nivelul de votare'; + $lang['Comment_level'] = 'Nivelul de comentarii'; + $lang['Edit_level'] = ' Nivelul de editare'; + $lang['Delete_level'] = 'Nivelul de ºtergere'; + $lang['New_category_created'] = 'Categoria a fost creatã cu succes'; + $lang['Click_return_music_category'] = 'Click %saici%s pentru a te intoarce la Configuraþia Categoriilor de Melodii'; + $lang['Category_updated'] = 'Categoria a fost actualizatã cu succes'; + $lang['Delete_Category'] = 'ºterge categoria'; + $lang['Delete_Category_Explain'] = 'Formularul de mai jos îþi vã permite sã ºtergi o categorie ºi sã decizi unde vrei sã pui melodiile pe care le conþine categoria respectivã'; + $lang['Delete_all_songs'] = 'ºterge toate melodiile'; + $lang['Category_deleted'] = 'Categoria a fost ºtearsã cu succes'; + $lang['Category_changed_order'] = 'Categoria s-a mutat cu succes'; + $lang['Create_music'] = 'Create new music'; + $lang['Create_sub_music'] = 'Create sub-music'; + + // + // Permissions + // + $lang['Music_Auth_Title'] = 'Permisiuni'; + $lang['Music_Auth_Explain'] = 'Aici poþi alege ce grupuri pot deveni moderator pentru fiecare categorie de muzicã sau sã aibã doar acces privat'; + $lang['Select_a_Category'] = 'Selecteazã o categorie'; + $lang['Look_up_Category'] = 'Vezi aceastã categorie'; + $lang['Music_Auth_successfully'] = 'Permisiunile au fost actualizate cu succes'; + $lang['Click_return_music_auth'] = 'Click %saici%s pentru a te intoarce la Permisiuni'; + + $lang['Upload'] = 'Upload'; + $lang['Rate'] = 'Vot'; + $lang['Comment'] = 'Comentariu'; + + //Allowed File Types + $lang['MP3_allowed'] = 'MP3 Acceptatã'; + $lang['WAV_allowed'] = 'WAV Acceptatã'; + $lang['WMA_allowed'] = 'WMA Acceptatã'; + $lang['WMV_allowed'] = 'WMV Acceptatã'; + $lang['MIDI_allowed'] = 'MIDI Acceptatã'; + $lang['RAM_allowed'] = 'RAM Acceptatã'; + $lang['AU_allowed'] = 'AU Acceptatã'; + $lang['MPEG_allowed'] = 'MPEG Acceptatã'; + $lang['AVI_allowed'] = 'AVI Acceptatã'; + $lang['SWF_allowed'] = 'SWF Acceptatã'; + $lang['QT_allowed'] = 'QT Acceptatã'; + $lang['FLV_allowed'] = 'FLV Acceptatã'; + $lang['RM_allowed'] = 'RM Acceptatã'; + $lang['IMG_allowed'] = 'JPG, GIF and PNG Acceptate'; + + // + // Song Image + // + $lang['Max_image_size'] = 'Max song image size (bytes)'; + $lang['Max_image_width'] = 'Max song image width (pixel)'; + $lang['Max_image_height'] = 'Max song image height (pixel)'; + // // That's all Folks! |
|
From: OryNider <ory...@us...> - 2008-03-08 20:56:12
|
Update of /cvsroot/mxbb/mx_music/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31455/lang_english Modified Files: Tag: core28x lang_admin.php Log Message: Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/language/lang_english/lang_admin.php,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -C2 -d -r1.2 -r1.2.2.1 *** lang_admin.php 1 Aug 2007 23:34:35 -0000 1.2 --- lang_admin.php 8 Mar 2008 20:56:07 -0000 1.2.2.1 *************** *** 50,53 **** --- 50,149 ---- $lang['override_yes'] = 'Use Block Settings'; $lang['override_no'] = 'Use fixed mappings (see below)'; + + // + // Configuration + // + $lang['Music_config'] = 'Music Configuration'; + $lang['Music_config_explain'] = 'You can change the general settings of your Music Online here'; + $lang['Music_config_updated'] = 'Music Configuration has been updated successfully'; + $lang['Click_return_music_config'] = 'Click %sHere%s to return to the Music Configuration'; + $lang['Max_songs'] = 'Maximum songs for each Category (-1 = unlimited)'; + $lang['User_songs_limit'] = 'Songs limit per category for each user (-1 = unlimited)'; + $lang['Moderator_songs_limit'] = 'Songs limit per category for each moderator (-1 = unlimited)'; + $lang['Songs_Approval'] = 'Songs Approval'; + $lang['Rows_per_page'] = 'Number of rows'; + $lang['Cols_per_page'] = 'Number of columns'; + $lang['Rows_per_page_music_pic_cat'] = 'Number of rows in virtual images subcategories'; + $lang['Cols_per_page_music_pic_cat'] = 'Number of columns in virtual images subcategories'; + $lang['Rows_per_page_music_media_cat'] = 'Number of rows in virtual media subcategories'; + $lang['Cols_per_page_music_media_cat'] = 'Number of columns in virtual media subcategories'; + $lang['Top'] = 'Number of songs on Top Hit List'; + $lang['Song_Desc_Max_Length'] = 'Song Lyric/Comment Max Length (bytes)'; + $lang['Hotlink_prevent'] = 'Hotlink Prevention'; + $lang['Hotlink_allowed'] = 'Allowed domains for hotlink (separated by a comma)'; + $lang['Rate_system'] = 'Enable rate system'; + $lang['Rate_Scale'] =' Rating Scale'; + $lang['Comment_system'] = 'Enable comment system'; + $lang['Download_system'] = 'Enable download system'; + $lang['Extra_Settings'] = 'Extra Settings'; + $lang['Default_Sort_Method'] = 'Default Sort Method'; + $lang['Default_Sort_Order'] = 'Default Sort Order'; + + //Index + $lang['Music_Index_Settings'] = 'Music Index'; + $lang['Show_Index_Subcats'] = 'Show sub categories in index table'; + + // + // Categories + // + $lang['Music_Categories_Title'] = 'Music Categories Control'; + $lang['Music_Categories_Explain'] = 'On this screen you can manage your categories: create, alter, delete, sort, etc.'; + $lang['Category_Permissions'] = 'Category Permissions'; + $lang['Category_Title'] = 'Category Title'; + $lang['Category_Desc'] = 'Category Description'; + $lang['View_level'] = 'View Level'; + $lang['Upload_level'] = 'Upload Level'; + $lang['Rate_level'] = 'Rate Level'; + $lang['Comment_level'] = 'Comment Level'; + $lang['Edit_level'] = ' Edit Level'; + $lang['Delete_level'] = 'Delete Level'; + $lang['New_category_created'] = 'New category has been created successfully'; + $lang['Click_return_music_category'] = 'Click %sHere%s to return to the Music Categories Manager'; + $lang['Category_updated'] = 'This category has been updated successfully'; + $lang['Delete_Category'] = 'Delete Category'; + $lang['Delete_Category_Explain'] = 'The form below will allow you to delete a category and decide where you want to put songs it contained'; + $lang['Delete_all_songs'] = 'Delete all songs'; + $lang['Category_deleted'] = 'This category has been deleted successfully'; + $lang['Category_changed_order'] = 'This category has been changed order successfully'; + $lang['Create_music'] = 'Create new music'; + $lang['Create_sub_music'] = 'Create sub-music'; + + // + // Permissions + // + $lang['Music_Auth_Title'] = 'Music Permissions'; + $lang['Music_Auth_Explain'] = 'Here you can choose which usergroup(s) can be the moderators for each Music category or just has the private access'; + $lang['Select_a_Category'] = 'Select a Category'; + $lang['Look_up_Category'] = 'Look up Category'; + $lang['Music_Auth_successfully'] = 'Auth has been updated successfully'; + $lang['Click_return_music_auth'] = 'Click %sHere%s to return to the Music Permissions'; + + $lang['Upload'] = 'Upload'; + $lang['Rate'] = 'Rate'; + $lang['Comment'] = 'Comment'; + + //Allowed File Types + $lang['MP3_allowed'] = 'MP3 Allowed'; + $lang['WAV_allowed'] = 'WAV Allowed'; + $lang['WMA_allowed'] = 'WMA Allowed'; + $lang['WMV_allowed'] = 'WMV Allowed'; + $lang['MIDI_allowed'] = 'MIDI Allowed'; + $lang['RAM_allowed'] = 'RAM Allowed'; + $lang['AU_allowed'] = 'AU Allowed'; + $lang['MPEG_allowed'] = 'MPEG Allowed'; + $lang['AVI_allowed'] = 'AVI Allowed'; + $lang['SWF_allowed'] = 'SWF Allowed'; + $lang['QT_allowed'] = 'QT Allowed'; + $lang['FLV_allowed'] = 'FLV Allowed'; + $lang['RM_allowed'] = 'RM Allowed'; + $lang['IMG_allowed'] = 'JPG, GIF and PNG Allowed'; + + // + // Song Image + // + $lang['Max_image_size'] = 'Max song image size (bytes)'; + $lang['Max_image_width'] = 'Max song image width (pixel)'; + $lang['Max_image_height'] = 'Max song image height (pixel)'; + // // That's all Folks! |
|
From: OryNider <ory...@us...> - 2008-03-08 20:55:24
|
Update of /cvsroot/mxbb/mx_music/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30464/language/lang_english Modified Files: lang_admin.php lang_main.php Log Message: |
|
From: OryNider <ory...@us...> - 2008-03-08 20:55:24
|
Update of /cvsroot/mxbb/mx_music/language/lang_romanian In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30464/language/lang_romanian Modified Files: lang_admin.php lang_main.php Removed Files: lang_admin_music.php lang_main_music.php Log Message: --- lang_main_music.php DELETED --- --- lang_admin_music.php DELETED --- |
|
From: OryNider <ory...@us...> - 2008-03-08 20:55:24
|
Update of /cvsroot/mxbb/mx_music/music_box/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30464/music_box/includes Modified Files: music_constants.php Log Message: |
|
From: OryNider <ory...@us...> - 2008-03-08 20:54:57
|
Update of /cvsroot/mxbb/mx_music/music_box/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30464/music_box/modules Modified Files: music_cat.php music_media_cat.php music_page.php music_pic_cat.php music_rss.php music_stream.php Log Message: Index: music_pic_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music_box/modules/music_pic_cat.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** music_pic_cat.php 29 Jan 2008 07:51:05 -0000 1.2 --- music_pic_cat.php 8 Mar 2008 20:54:51 -0000 1.3 *************** *** 442,446 **** if ( $thissong['song_imagename'] == '' ) { ! $img_id = $mx_images['no_image']; } else --- 442,446 ---- if ( $thissong['song_imagename'] == '' ) { ! $img_id = $images['no_image']; } else *************** *** 926,930 **** 'U_UPLOAD_SONG' => mx_append_sid(this_mo_mxurl("music_mode=music_upload&cat_id=$cat_id")), ! 'UPLOAD_SONG_IMG' => $mx_images['upload_song'], 'L_UPLOAD_SONG' => $lang['Upload_Song'], --- 926,930 ---- 'U_UPLOAD_SONG' => mx_append_sid(this_mo_mxurl("music_mode=music_upload&cat_id=$cat_id")), ! 'UPLOAD_SONG_IMG' => $images['upload_song'], 'L_UPLOAD_SONG' => $lang['Upload_Song'], Index: music_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music_box/modules/music_cat.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** music_cat.php 29 Jan 2008 07:51:05 -0000 1.2 --- music_cat.php 8 Mar 2008 20:54:50 -0000 1.3 *************** *** 439,443 **** if ( $thissong['song_imagename'] == '' ) { ! $img_id = $mx_images['no_image']; } else --- 439,443 ---- if ( $thissong['song_imagename'] == '' ) { ! $img_id = $images['no_image']; } else *************** *** 929,933 **** 'U_UPLOAD_SONG' => mx_append_sid(this_mo_mxurl("music_mode=music_upload&cat_id=$cat_id")), ! 'UPLOAD_SONG_IMG' => $mx_images['upload_song'], 'L_UPLOAD_SONG' => $lang['Upload_Song'], --- 929,933 ---- 'U_UPLOAD_SONG' => mx_append_sid(this_mo_mxurl("music_mode=music_upload&cat_id=$cat_id")), ! 'UPLOAD_SONG_IMG' => $images['upload_song'], 'L_UPLOAD_SONG' => $lang['Upload_Song'], Index: music_stream.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music_box/modules/music_stream.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** music_stream.php 29 Jan 2008 07:51:05 -0000 1.2 --- music_stream.php 8 Mar 2008 20:54:51 -0000 1.3 *************** *** 174,194 **** */ ! // Settings by lsn ! $host = explode("//", $thissong['song_url']); ! $host = $host[1]; ! $host = explode(":", $host); ! $ip = $host[0]; // Shoutcast Ip or Host $port = explode("/", $host[1]); - $port = $port[0]; // Shoutcast Port - $mount = "/"; // Used for alternate path to "Streaming URL" -- leave as "/" for the default setup. - $artist = "Shotcast Steam -via- Mx Music Center"; - $title = "Radio Steam - Mx Music Center!"; - $album = "Live"; ! if ( $port == '' ) { $port = '80'; } ! // Make socket connection $errno = "errno"; --- 174,235 ---- */ ! // Settings by lsn (hb...@ho...) ! $hostandport = explode("//", $thissong['song_url']); ! ! //Trasfer Protocol ! if ($hostandport[0]) ! { ! $protocol_type = $hostandport[0]; ! } ! else ! { ! $protocol_type = 'http:'; ! } ! ! //Domain ! $hostname = $hostandport[1]; ! ! // Shoutcast Ip or Host ! $host = explode(":", $hostname); ! ! if ($host[0]) ! { ! $ip = $host[0]; ! } ! elseif ($hostname) ! { ! $ip = $hostname; ! } ! else ! { ! $ip = '127.0.0.0'; //localhost ! } ! ! // Shoutcast Port $port = explode("/", $host[1]); ! if ($port[0]) ! { ! $port = $port[0]; ! } ! elseif ($host[1]) ! { ! $port = $host[1]; ! } ! else { $port = '80'; } ! ! $mount = "/"; // Used for alternate path to "Streaming URL" -- leave as "/" for the default setup. ! ! $wmpmode = ($protocol_type == 'icyx:') ? 'icyx://' : 'http://'; // AAC VS MPEG ! $mimetype = ($protocol_type == 'icyx:') ? 'audio/aacp' : 'audio/x-mpeg'; // AAC VS MPEG ! ! //Other ! $artist = "Shotcast Steam -via- Mx Music Center"; ! $title = "Radio Steam - Mx Music Center!"; ! $album = "Live"; ! // Make socket connection $errno = "errno"; *************** *** 199,203 **** // Establish response headers header("HTTP/1.0 200 OK"); ! header("Content-Type: audio/x-mpeg, audio/x-mpeg-3, audio/mpeg3"); header("Content-Transfer-Encoding: binary"); --- 240,244 ---- // Establish response headers header("HTTP/1.0 200 OK"); ! header("Content-Type: $mimetype, audio/x-mpeg-3, audio/mpeg3"); header("Content-Transfer-Encoding: binary"); *************** *** 229,232 **** --- 270,276 ---- echo $outData; } + elseif (!stristr($outData, "icyx") && !stristr($outData, "content")){ + echo $outData; + } } Index: music_rss.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music_box/modules/music_rss.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** music_rss.php 29 Jan 2008 07:51:05 -0000 1.2 --- music_rss.php 8 Mar 2008 20:54:51 -0000 1.3 *************** *** 231,235 **** if ( $thissong['song_imagename'] == '' ) { ! $img_id = $mx_images['no_image']; } else --- 231,235 ---- if ( $thissong['song_imagename'] == '' ) { ! $img_id = $images['no_image']; } else Index: music_media_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music_box/modules/music_media_cat.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** music_media_cat.php 29 Jan 2008 07:51:05 -0000 1.2 --- music_media_cat.php 8 Mar 2008 20:54:50 -0000 1.3 *************** *** 469,473 **** if ( $thissong['song_imagename'] == '' ) { ! $img_id = $mx_images['no_image']; } else --- 469,473 ---- if ( $thissong['song_imagename'] == '' ) { ! $img_id = $images['no_image']; } else *************** *** 1198,1202 **** 'U_UPLOAD_SONG' => mx_append_sid(this_mo_mxurl("music_mode=music_upload&cat_id=$cat_id")), ! 'UPLOAD_SONG_IMG' => $mx_images['upload_song'], 'L_UPLOAD_SONG' => $lang['Upload_Song'], --- 1198,1202 ---- 'U_UPLOAD_SONG' => mx_append_sid(this_mo_mxurl("music_mode=music_upload&cat_id=$cat_id")), ! 'UPLOAD_SONG_IMG' => $images['upload_song'], 'L_UPLOAD_SONG' => $lang['Upload_Song'], Index: music_page.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music_box/modules/music_page.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** music_page.php 29 Jan 2008 07:51:05 -0000 1.2 --- music_page.php 8 Mar 2008 20:54:50 -0000 1.3 *************** *** 33,37 **** $music_root_path = $module_root_path . 'music_box/'; $song_image_path = MUSIC_IMAGE_PATH; ! $song_image_default = $mx_images['no_image']; // The default image // ------------------------------------ --- 33,37 ---- $music_root_path = $module_root_path . 'music_box/'; $song_image_path = MUSIC_IMAGE_PATH; ! $song_image_default = $images['no_image']; // The default image // ------------------------------------ |
|
From: OryNider <ory...@us...> - 2008-03-08 20:54:57
|
Update of /cvsroot/mxbb/mx_music/music_box In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30464/music_box Modified Files: music_common.php Log Message: Index: music_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music_box/music_common.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** music_common.php 29 Jan 2008 07:48:55 -0000 1.6 --- music_common.php 8 Mar 2008 20:54:50 -0000 1.7 *************** *** 28,35 **** include_once($music_root_path . 'includes/' . 'music_constants.'.$phpEx); // ********************************************************************** // Read language definition // ********************************************************************** - if ( !MXBB_MODULE ) { --- 28,35 ---- include_once($music_root_path . 'includes/' . 'music_constants.'.$phpEx); + /* // ********************************************************************** // Read language definition // ********************************************************************** if ( !MXBB_MODULE ) { *************** *** 58,62 **** } } ! // ********************************************************************** // Read theme definition and language in theme definition --- 58,63 ---- } } ! */ ! /* // ********************************************************************** // Read theme definition and language in theme definition *************** *** 69,73 **** if ( !($result = $db->sql_query($sql)) ) { ! mx_message_die(CRITICAL_ERROR, 'Could not query database for theme info'); } --- 70,74 ---- if ( !($result = $db->sql_query($sql)) ) { ! message_die(CRITICAL_ERROR, 'Could not query database for theme info'); } *************** *** 89,93 **** if ( !($result = $db->sql_query($sql)) ) { ! mx_message_die(CRITICAL_ERROR, 'Could not query database for theme info'); } --- 90,94 ---- if ( !($result = $db->sql_query($sql)) ) { ! message_die(CRITICAL_ERROR, 'Could not query database for theme info'); } *************** *** 99,108 **** else { ! mx_message_die(CRITICAL_ERROR, "Could not get theme data for themes_id [$style]"); } } else { ! mx_message_die(CRITICAL_ERROR, "Could not get theme data for themes_id [$style]"); } } --- 100,109 ---- else { ! message_die(CRITICAL_ERROR, "Could not get theme data for themes_id [$style]"); } } else { ! message_die(CRITICAL_ERROR, "Could not get theme data for themes_id [$style]"); } } *************** *** 165,168 **** --- 166,170 ---- } } + */ // *************** *** 173,177 **** if(!$result = $db->sql_query($sql)) { ! mx_message_die(GENERAL_ERROR, "Could not query music config information", "", __LINE__, __FILE__, $sql); } while( $row = $db->sql_fetchrow($result) ) --- 175,179 ---- if(!$result = $db->sql_query($sql)) { ! message_die(GENERAL_ERROR, "Could not query music config information", "", __LINE__, __FILE__, $sql); } while( $row = $db->sql_fetchrow($result) ) *************** *** 236,245 **** 'MUSIC_COPYRIGHT' => $music_module_copyright, 'L_INDEX' => '<<', ! 'U_INDEX' => mx_append_sid($mx_root_path . "index.".$phpEx), 'L_MUSIC_INDEX' => $lang['Music'], 'L_MUSIC' => $lang['Music'], ! 'U_MUSIC' => mx_append_sid(this_mo_mxurl()), 'L_SEARCH' => $lang['Search'], ! 'U_MX_MUSIC' => mx_append_sid(this_mo_portalurl()) ) ); --- 238,247 ---- 'MUSIC_COPYRIGHT' => $music_module_copyright, 'L_INDEX' => '<<', ! 'U_INDEX' => append_sid($mx_root_path . "index.".$phpEx), 'L_MUSIC_INDEX' => $lang['Music'], 'L_MUSIC' => $lang['Music'], ! 'U_MUSIC' => append_sid(this_mo_mxurl()), 'L_SEARCH' => $lang['Search'], ! 'U_MX_MUSIC' => append_sid(this_mo_portalurl()) ) ); |
|
From: OryNider <ory...@us...> - 2008-03-08 20:54:56
|
Update of /cvsroot/mxbb/mx_music/phpbb2/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30464/phpbb2/admin Modified Files: admin_music_auth.php admin_music_cat.php admin_music_cfg.php Log Message: |
|
From: OryNider <ory...@us...> - 2008-03-08 20:54:56
|
Update of /cvsroot/mxbb/mx_music In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30464 Modified Files: music.php music_db_install.php music_db_uninstall.php Log Message: |
|
From: OryNider <ory...@us...> - 2008-03-08 20:09:12
|
Update of /cvsroot/mxbb/mx_music/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv6081/admin Modified Files: admin_music_auth.php admin_music_cat.php admin_music_cfg.php admin_music_ext.php Log Message: Index: admin_music_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/admin/admin_music_cat.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** admin_music_cat.php 29 Jan 2008 07:48:55 -0000 1.6 --- admin_music_cat.php 8 Mar 2008 20:07:59 -0000 1.7 *************** *** 36,54 **** // Read language definition // ********************************************************************** ! if ( file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin_music.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin_music.' . $phpEx ); } ! else if ( file_exists( $module_root_path . 'language/lang_english/lang_admin_music.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_english/lang_admin_music.' . $phpEx ); } ! if ( file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main_music.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main_music.' . $phpEx ); } ! else if ( file_exists( $module_root_path . 'language/lang_english/lang_main_music.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_english/lang_main_music.' . $phpEx ); } --- 36,54 ---- // Read language definition // ********************************************************************** ! if ( file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); } ! else if ( file_exists( $module_root_path . 'language/lang_english/lang_admin.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_english/lang_admin.' . $phpEx ); } ! if ( file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ); } ! else if ( file_exists( $module_root_path . 'language/lang_english/lang_main.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_english/lang_main.' . $phpEx ); } Index: admin_music_auth.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/admin/admin_music_auth.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** admin_music_auth.php 29 Jan 2008 07:48:55 -0000 1.5 --- admin_music_auth.php 8 Mar 2008 20:07:59 -0000 1.6 *************** *** 36,54 **** // Read language definition // ********************************************************************** ! if ( file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin_music.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin_music.' . $phpEx ); } ! else if ( file_exists( $module_root_path . 'language/lang_english/lang_admin_music.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_english/lang_admin_music.' . $phpEx ); } ! if ( file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main_music.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main_music.' . $phpEx ); } ! else if ( file_exists( $module_root_path . 'language/lang_english/lang_main_music.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_english/lang_main_music.' . $phpEx ); } --- 36,54 ---- // Read language definition // ********************************************************************** ! if ( file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); } ! else if ( file_exists( $module_root_path . 'language/lang_english/lang_admin.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_english/lang_admin.' . $phpEx ); } ! if ( file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ); } ! else if ( file_exists( $module_root_path . 'language/lang_english/lang_main.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_english/lang_main.' . $phpEx ); } Index: admin_music_cfg.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/admin/admin_music_cfg.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** admin_music_cfg.php 29 Jan 2008 07:48:55 -0000 1.8 --- admin_music_cfg.php 8 Mar 2008 20:07:59 -0000 1.9 *************** *** 36,54 **** // Read language definition // ********************************************************************** ! if ( file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin_music.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin_music.' . $phpEx ); } ! else if ( file_exists( $module_root_path . 'language/lang_english/lang_admin_music.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_english/lang_admin_music.' . $phpEx ); } ! if ( file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main_music.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main_music.' . $phpEx ); } ! else if ( file_exists( $module_root_path . 'language/lang_english/lang_main_music.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_english/lang_main_music.' . $phpEx ); } --- 36,54 ---- // Read language definition // ********************************************************************** ! if ( file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); } ! else if ( file_exists( $module_root_path . 'language/lang_english/lang_admin.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_english/lang_admin.' . $phpEx ); } ! if ( file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ); } ! else if ( file_exists( $module_root_path . 'language/lang_english/lang_main.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_english/lang_main.' . $phpEx ); } |
|
From: OryNider <ory...@us...> - 2008-03-08 20:09:11
|
Update of /cvsroot/mxbb/mx_music In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv6081 Modified Files: music.php Added Files: music_db_install.php music_db_uninstall.php Log Message: --- NEW FILE: music_db_install.php --- <?php /** * * @package phpBB Mod - Media Center * @version $Id: music_db_install.php,v 1.2 2008/03/08 20:08:29 orynider Exp $ * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ $phpEx = substr(strrchr(__FILE__, '.'), 1); if ( !defined('PORTAL_BACKEND') && @file_exists( './viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { define( 'MXBB_MODULE', false ); define( 'IN_PHPBB', true ); $phpbb_root_path = $module_root_path = './'; $mx_mod_path = $phpbb_root_path . 'mx_mod/'; include($phpbb_root_path . 'common.' . $phpEx); include($mx_mod_path . "includes/functions_required.$phpEx"); //Check if forum_hack is installed if (!isset($mx_root_path)) { $mx_root_path = './'; @define('IN_PORTAL', true); include_once($mx_mod_path . "includes/mx_constants.$phpEx"); include_once($mx_mod_path . "includes/shared/phpbb2/includes/functions.$phpEx"); } else { @define('IN_PORTAL', true); include_once($mx_root_path . "includes/mx_constants.$phpEx"); include_once($mx_root_path . "includes/shared/phpbb2/includes/functions.$phpEx"); } require($mx_mod_path . "includes/functions_core.$phpEx"); require($mx_mod_path . "includes/functions_styles.$phpEx"); //Check for cash mod if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) { define('IN_CASHMOD', true); } //@ini_set( 'display_errors', '1' ); error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables //error_reporting(E_ALL & ~E_NOTICE); define( 'PAGE_KB', -502 ); // If this id generates a conflict with other mods, change it ;) // // Instatiate the mx_cache class // $mx_cache = new mx_cache(); // // Get mxBB config settings // //$portal_config = $mx_cache->obtain_mxbb_config(); // // instatiate the mx_request_vars class // $mx_request_vars = new mx_request_vars(); // // Page selector // $page_id = $mx_request_vars->request('page', MX_TYPE_INT, 1); $is_block = false; // // instatiate the mx_user class // $mx_user = new mx_user(); if (file_exists("./modcp.$phpEx")) // phpBB2 { define('PORTAL_BACKEND', 'phpbb2'); $tplEx = 'tpl'; // // Start user session // - populate $userdata and $lang // $mx_user->init($user_ip, $page_id, false); init_userprefs($userdata); $mx_user->set_module_default_style('prosilver'); // For compatibility with core 2.8.x if (!$userdata['user_level'] == ADMIN) { die('Only admins may run this script!!!'); } } else if (@file_exists("./mcp.$phpEx")) // phpBB3 { define('PORTAL_BACKEND', 'phpbb3'); $tplEx = 'html'; // // Start user session // - populate $userdata and $lang // $mx_user->init($user_ip, $page_id, false); $user->setup(); // // End session management // $mx_user->set_module_default_style('prosilver'); // For compatibility with core 2.8.x if ($userdata['user_type'] != USER_FOUNDER) { die('Only admins may run this script!!!'); } } else { die('Copy this file in phpbb_root_path were is your viewtopic.php file!!!'); } } else // --------------------------------------------------------------------------------- mxBB Module MODE { define( 'MXBB_MODULE', true ); if ( !function_exists( 'read_block_config' ) ) { define( 'IN_PORTAL', true ); $mx_root_path = './../../'; $module_root_path = './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include_once( $mx_root_path . 'common.' . $phpEx ); // Start session management $mx_user->init($user_ip, PAGE_INDEX); // End session management define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.' . $phpEx ) ); } else { if( !defined('IN_PORTAL') || !is_object($mx_block)) { die("Hacking attempt"); } // // Read Block Settings (default mode) // $title = !empty( $mx_block->block_info['block_title'] ) ? $mx_block->block_info['block_title'] : $lang['KB_title']; $desc = $mx_block->block_info['block_desc']; $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); //Check for cash mod if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) { define('IN_CASHMOD', true); } $is_block = true; global $images; } define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.'.$phpEx ) ); } // // Check if mx_common Mod is prezent // if (!file_exists($mx_mod_path . "includes/functions_admincp.$phpEx")) { die('mx mod is not uploaded!!!'); } else { require($mx_mod_path . "includes/functions_admincp.$phpEx"); } // // Check if mx_common Mod is prezent // if ( !file_exists( $mx_mod_path . 'includes/' . 'functions_admincp.' . $phpEx ) ) { die('mx_mod folder is not uploaded!!!'); } else { include_once( $mx_mod_path . 'includes/' . 'functions_admincp.' . $phpEx ); include_once( $mx_mod_path . 'includes/functions_required.' . $phpEx ); } $page_title = 'Installing/Upgrading Media Center'; include($phpbb_root_path . 'includes/page_header.'.$phpEx); $sql = array(); // If fresh install if ( !$result = $db->sql_query( "SELECT config_name from " . $table_prefix . "music_config" ) ) { $message = "<b>This is a fresh install!</b><br/><br/>"; $sql[] = "DROP TABLE IF EXISTS " . $table_prefix . "music"; $sql[] = "DROP TABLE IF EXISTS " . $table_prefix . "music_rate"; $sql[] = "DROP TABLE IF EXISTS " . $table_prefix . "music_comment"; $sql[] = "DROP TABLE IF EXISTS " . $table_prefix . "music_cat"; $sql[] = "DROP TABLE IF EXISTS " . $table_prefix . "music_config"; $sql[] = "CREATE TABLE ". $table_prefix . "music ( song_id int(11) UNSIGNED NOT NULL auto_increment, song_filename varchar(255) NOT NULL, song_filetype varchar(255) NOT NULL, song_imagename varchar(255) NOT NULL, song_title varchar(255) NOT NULL, song_url varchar(255) NOT NULL, song_desc text, song_singer varchar(255) NOT NULL, song_user_id mediumint(8) NOT NULL, song_username varchar(32), song_user_ip char(8) NOT NULL DEFAULT '0', song_time int(11) UNSIGNED NOT NULL, song_cat_id mediumint(8) UNSIGNED NOT NULL DEFAULT '1', song_view_count int(11) UNSIGNED NOT NULL DEFAULT '0', song_lock tinyint(3) NOT NULL DEFAULT '0', song_approval tinyint(3) NOT NULL DEFAULT '1', song_download_count varchar(255) NOT NULL, PRIMARY KEY (song_id), KEY song_cat_id (song_cat_id), KEY song_user_id (song_user_id), KEY song_time (song_time) ) TYPE=MyISAM"; $sql[] = "CREATE TABLE ". $table_prefix . "music_rate ( rate_song_id int(11) UNSIGNED NOT NULL, rate_user_id mediumint(8) NOT NULL, rate_user_ip char(8) NOT NULL, rate_point tinyint(3) UNSIGNED NOT NULL, KEY rate_song_id (rate_song_id), KEY rate_user_id (rate_user_id), KEY rate_user_ip (rate_user_ip), KEY rate_point (rate_point) ) TYPE=MyISAM"; $sql[] = "CREATE TABLE ". $table_prefix . "music_comment ( comment_id int(11) UNSIGNED NOT NULL auto_increment, comment_song_id int(11) UNSIGNED NOT NULL, comment_user_id mediumint(8) NOT NULL, comment_username varchar(32), comment_user_ip char(8) NOT NULL, comment_time int(11) UNSIGNED NOT NULL, comment_text TEXT, comment_edit_time int(11) UNSIGNED, comment_edit_count smallint(5) UNSIGNED NOT NULL DEFAULT '0', comment_edit_user_id mediumint(8), PRIMARY KEY(comment_id), KEY comment_song_id (comment_song_id), KEY comment_user_id (comment_user_id), KEY comment_user_ip (comment_user_ip), KEY comment_time (comment_time) ) TYPE=MyISAM"; $sql[] = "CREATE TABLE ". $table_prefix . "music_cat ( cat_id mediumint(8) UNSIGNED NOT NULL auto_increment, cat_parent mediumint(8) UNSIGNED NOT NULL DEFAULT '0', cat_type tinyint NOT NULL DEFAULT '0', cat_title varchar(255) NOT NULL, cat_desc text, cat_order mediumint(8) NOT NULL, cat_views mediumint(8) NOT NULL, cat_view_level tinyint(3) NOT NULL DEFAULT '-1', cat_upload_level tinyint(3) NOT NULL DEFAULT '0', cat_rate_level tinyint(3) NOT NULL DEFAULT '0', cat_comment_level tinyint(3) NOT NULL DEFAULT '0', cat_edit_level tinyint(3) NOT NULL DEFAULT '0', cat_delete_level tinyint(3) NOT NULL DEFAULT '2', cat_view_groups varchar(255), cat_upload_groups varchar(255), cat_rate_groups varchar(255), cat_comment_groups varchar(255), cat_edit_groups varchar(255), cat_delete_groups varchar(255), cat_moderator_groups varchar(255), cat_approval tinyint(3) NOT NULL DEFAULT '0', PRIMARY KEY (cat_id), KEY cat_order (cat_order) ) TYPE=MyISAM"; $sql[] = "CREATE TABLE " . $table_prefix . "music_config ( config_name VARCHAR(255) NOT NULL default '', config_value varchar(255) NOT NULL default '', PRIMARY KEY (config_name) ) TYPE=MyISAM"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('max_songs', '1024')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('user_songs_limit', '50')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('mod_songs_limit', '250')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('max_file_size', '3145728')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('rows_per_page', '20')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('cols_per_page', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('top', '5')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('sort_method', 'song_time')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('sort_order', 'DESC')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('mp3_allowed', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('wav_allowed', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('wma_allowed', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('wmv_allowed', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('mid_allowed', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('ram_allowed', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('au_allowed', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('mpeg_allowed', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('avi_allowed', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('swf_allowed', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('qt_allowed', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('rm_allowed', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('desc_length', '512000')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('hotlink_prevent', '0')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('hotlink_allowed', 'cfmanager.gate2vn.net')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('rate', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('rate_scale', '10')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('comment', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('music_version', '.1.0')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('max_image_size', '1024000')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('max_image_width', '800')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('max_image_height', '600')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('download', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('enable_integration', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('override_default_pages', '0')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('index', '5')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('xs_enabled', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('img_allowed', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('flv_allowed', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('show_index_subcats', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('rows_per_page_pic', '5')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('cols_per_page_pic', '5')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('rows_per_page_media', '10')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('cols_per_page_media', '1')"; $message .= mx_do_install_upgrade( $sql ); } else { // // Upgrade checks // $upgrade_206 = 0; $upgrade_207 = 0; // // validate before 2.06 // $result = $db->sql_query( "SELECT config_value from " . $table_prefix . "music_config WHERE config_name = 'enable_integration'" ); if ( $db->sql_numrows( $result ) == 0 ) { $upgrade_206 = 1; } // // validate before 2.07 // $result = $db->sql_query( "SELECT config_value from " . $table_prefix . "music_config WHERE config_name = 'xs_enabled'" ); if ( $db->sql_numrows( $result ) == 0 ) { $upgrade_207 = 1; } $message = "<b>Upgrading!</b><br/><br/>"; if ( $upgrade_206 == 1 ) { $message .= "<b>Upgrading to v. 2.06 ...</b><br/><br/>"; $sql[] = "ALTER TABLE " . $table_prefix . "music ADD song_imagename VARCHAR(255) not null AFTER song_filename"; $sql[] = "ALTER TABLE " . $table_prefix . "music ADD song_download_count VARCHAR(255) not null DEFAULT '0' AFTER song_approval"; $sql[] = "ALTER TABLE " . $table_prefix . "music_cat ADD cat_views mediumint(8) NOT NULL"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('wmv_allowed', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('mid_allowed', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('ram_allowed', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('au_allowed', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('mpeg_allowed', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('avi_allowed', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('swf_allowed', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('qt_allowed', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('rm_allowed', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('max_image_size', '1024000')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('max_image_width', '800')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('max_image_height', '600')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('download', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('enable_integration', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('override_default_pages', '0')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('index', '5')"; } if ( $upgrade_207 == 1 ) { $message .= "<b>Upgrading to v. 2.0.7...</b><br/><br/>"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('xs_enabled', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('img_allowed', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('flv_allowed', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('show_index_subcats', '1')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('rows_per_page_pic', '5')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('cols_per_page_pic', '5')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('rows_per_page_media', '10')"; $sql[] = "INSERT INTO " . $table_prefix . "music_config VALUES ('cols_per_page_media', '1')"; $sql[] = "ALTER TABLE " . $table_prefix . "music_cat ADD cat_parent mediumint(8) UNSIGNED NOT NULL DEFAULT '0' AFTER cat_id"; $sql[] = "ALTER TABLE " . $table_prefix . "music_cat ADD cat_type tinyint NOT NULL DEFAULT '0' AFTER cat_parent"; $sql[] = "ALTER TABLE " . $table_prefix . "music ADD song_filetype varchar(255) NOT NULL AFTER song_filename"; $sql[] = "UPDATE ". $table_prefix ."music_config SET config_value = '0.7' WHERE config_name = 'music_version'"; } else { $message .= "<b>Nothing to upgrade...</b><br/><br/>"; } $message .= mx_do_install_upgrade( $sql ); // // Empty module cache // include_once( $mx_mod_path . 'includes/functions_tools.' . $phpEx ); $module_cache = new module_cache($root_path); $module_cache->tidy(); $module_cache->save(); } echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Mod Installation/Upgrading/Uninstalling Information - mod specific db tables</th></tr>"; echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $message . "</span></td></tr>"; echo "</table><br />"; include($phpbb_root_path . 'includes/page_tail.'.$phpEx); ?> --- NEW FILE: music_db_uninstall.php --- <?php /** * * @package phpBB2 Mod - pafileDB * @version $Id: music_db_uninstall.php,v 1.2 2008/03/08 20:08:30 orynider Exp $ * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ $phpEx = substr(strrchr(__FILE__, '.'), 1); if ( !defined('PORTAL_BACKEND') && @file_exists( './viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { define( 'MXBB_MODULE', false ); define( 'IN_PHPBB', true ); $phpbb_root_path = $module_root_path = './'; $mx_mod_path = $phpbb_root_path . 'mx_mod/'; include($phpbb_root_path . 'common.' . $phpEx); include($mx_mod_path . "includes/functions_required.$phpEx"); //Check if forum_hack is installed if (!isset($mx_root_path)) { $mx_root_path = './'; @define('IN_PORTAL', true); include_once($mx_mod_path . "includes/mx_constants.$phpEx"); include_once($mx_mod_path . "includes/shared/phpbb2/includes/functions.$phpEx"); } else { @define('IN_PORTAL', true); include_once($mx_root_path . "includes/mx_constants.$phpEx"); include_once($mx_root_path . "includes/shared/phpbb2/includes/functions.$phpEx"); } require($mx_mod_path . "includes/functions_core.$phpEx"); require($mx_mod_path . "includes/functions_styles.$phpEx"); //Check for cash mod if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) { define('IN_CASHMOD', true); } //@ini_set( 'display_errors', '1' ); error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables //error_reporting(E_ALL & ~E_NOTICE); define( 'PAGE_KB', -502 ); // If this id generates a conflict with other mods, change it ;) // // Instatiate the mx_cache class // $mx_cache = new mx_cache(); // // Get mxBB config settings // //$portal_config = $mx_cache->obtain_mxbb_config(); // // instatiate the mx_request_vars class // $mx_request_vars = new mx_request_vars(); // // Page selector // $page_id = $mx_request_vars->request('page', MX_TYPE_INT, 1); $is_block = false; // // instatiate the mx_user class // $mx_user = new mx_user(); if (file_exists("./modcp.$phpEx")) // phpBB2 { define('PORTAL_BACKEND', 'phpbb2'); $tplEx = 'tpl'; // // Start user session // - populate $userdata and $lang // $mx_user->init($user_ip, $page_id, false); init_userprefs($userdata); $mx_user->set_module_default_style('prosilver'); // For compatibility with core 2.8.x if (!$userdata['user_level'] == ADMIN) { die('Only admins may run this script!!!'); } } else if (@file_exists("./mcp.$phpEx")) // phpBB3 { define('PORTAL_BACKEND', 'phpbb3'); $tplEx = 'html'; // // Start user session // - populate $userdata and $lang // $mx_user->init($user_ip, $page_id, false); $user->setup(); // // End session management // $mx_user->set_module_default_style('prosilver'); // For compatibility with core 2.8.x if ($userdata['user_type'] != USER_FOUNDER) { die('Only admins may run this script!!!'); } } else { die('Copy this file in phpbb_root_path were is your viewtopic.php file!!!'); } } else // --------------------------------------------------------------------------------- mxBB Module MODE { define( 'MXBB_MODULE', true ); if ( !function_exists( 'read_block_config' ) ) { define( 'IN_PORTAL', true ); $mx_root_path = './../../'; $module_root_path = './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include_once( $mx_root_path . 'common.' . $phpEx ); // Start session management $mx_user->init($user_ip, PAGE_INDEX); // End session management define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.' . $phpEx ) ); } else { if( !defined('IN_PORTAL') || !is_object($mx_block)) { die("Hacking attempt"); } // // Read Block Settings (default mode) // $title = !empty( $mx_block->block_info['block_title'] ) ? $mx_block->block_info['block_title'] : $lang['KB_title']; $desc = $mx_block->block_info['block_desc']; $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); //Check for cash mod if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) { define('IN_CASHMOD', true); } $is_block = true; global $images; } define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.'.$phpEx ) ); } // // Check if mx_common Mod is prezent // if (!file_exists($mx_mod_path . "includes/functions_admincp.$phpEx")) { die('mx mod is not uploaded!!!'); } else { require($mx_mod_path . "includes/functions_admincp.$phpEx"); } $page_title = 'Uninstalling Media Center'; include($phpbb_root_path . 'includes/page_header.'.$phpEx); $sql = array( "DROP TABLE " . $table_prefix . "music", "DROP TABLE " . $table_prefix . "music_rate", "DROP TABLE " . $table_prefix . "music_comment", "DROP TABLE " . $table_prefix . "music_config" ); echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Mod Installation/Upgrading/Uninstalling Information - mod specific db tables</th></tr>"; echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . mx_do_install_upgrade( $sql ) . "</span></td></tr>"; echo "</table><br />"; include($phpbb_root_path . 'includes/page_tail.'.$phpEx); ?> Index: music.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** music.php 29 Jan 2008 07:48:55 -0000 1.13 --- music.php 8 Mar 2008 20:08:27 -0000 1.14 *************** *** 15,53 **** @ini_set( 'display_errors', '1' ); ! if ( file_exists( './viewtopic.php' ) ) // -------------------------------------------- phpBB MOD MODE ! { ! define( 'MXBB_MODULE', false ); ! define( 'IN_PHPBB', true ); ! define( 'IN_PORTAL', true ); ! define( 'IN_DOWNLOAD', true ); ! // When run as a phpBB mod these paths are identical ;) ! $phpbb_root_path = $module_root_path = $mx_root_path = './'; $mx_mod_path = $phpbb_root_path . 'mx_mod/'; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); ! include( $phpbb_root_path . 'common.' . $phpEx ); ! ! include_once( $phpbb_root_path . 'includes/bbcode.' . $phpEx ); ! include_once( $phpbb_root_path . 'includes/functions_post.' . $phpEx ); ! include_once( $mx_mod_path . 'includes/functions_required.' . $phpEx ); ! include_once( $mx_mod_path . 'includes/functions_core.' . $phpEx ); ! define( 'PAGE_DOWNLOAD', -501 ); // If this id generates a conflict with other mods, change it ;) ! // Start session management ! $userdata = session_pagestart( $user_ip, PAGE_DOWNLOAD ); ! init_userprefs( $userdata ); - // End session management // // Instatiate the mx_cache class // $mx_cache = new mx_cache(); ! // // Get mxBB config settings // ! $portal_config = $mx_cache->obtain_mxbb_config(); // --- 15,73 ---- @ini_set( 'display_errors', '1' ); ! $phpEx = substr(strrchr(__FILE__, '.'), 1); ! if ( !defined('PORTAL_BACKEND') && @file_exists( './viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE ! { ! define('MXBB_MODULE', false); ! define('IN_PHPBB', true); ! ! $phpbb_root_path = $module_root_path = './'; $mx_mod_path = $phpbb_root_path . 'mx_mod/'; + + include($phpbb_root_path . 'common.' . $phpEx); + include($mx_mod_path . "includes/functions_required.$phpEx"); + + //Check if forum_hack is installed + if (!isset($mx_root_path)) + { + $mx_root_path = './'; + @define('IN_PORTAL', true); + include_once($mx_mod_path . "includes/mx_constants.$phpEx"); + include_once($mx_mod_path . "includes/shared/phpbb2/includes/functions.$phpEx"); + } + else + { + @define('IN_PORTAL', true); + include_once($mx_root_path . "includes/mx_constants.$phpEx"); + include_once($mx_root_path . "includes/shared/phpbb2/includes/functions.$phpEx"); ! //Redefine mx_root_path to include phpbb page_tail.php ! $mx_root_path = $phpbb_root_path; ! } ! ! require($mx_mod_path . "includes/functions_core.$phpEx"); ! require($mx_mod_path . "includes/functions_styles.$phpEx"); ! ! //Check for cash mod ! if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) ! { ! define('IN_CASHMOD', true); ! } ! //@ini_set( 'display_errors', '1' ); ! error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables ! //error_reporting(E_ALL & ~E_NOTICE); ! define( 'PAGE_KB', -502 ); // If this id generates a conflict with other mods, change it ;) // // Instatiate the mx_cache class // $mx_cache = new mx_cache(); ! // // Get mxBB config settings // ! //$portal_config = $mx_cache->obtain_mxbb_config(); // *************** *** 55,60 **** --- 75,144 ---- // $mx_request_vars = new mx_request_vars(); + + // + // Page selector + // + $page_id = $mx_request_vars->request('page', MX_TYPE_INT, 1); $is_block = false; + + // + // instatiate the mx_user class + // + $mx_user = new mx_user(); + + if (file_exists("./modcp.$phpEx")) // phpBB2 + { + define('PORTAL_BACKEND', 'phpbb2'); + $tplEx = 'tpl'; + + // + // Start user session + // - populate $userdata and $lang + // + $mx_user->init($user_ip, $page_id, false); + //init_userprefs($userdata); + $mx_user->init_style(); //Overwrite template class + + /* + $mx_user->set_module_default_style('_core'); // For compatibility with core 2.8.x + if (!$userdata['user_level'] == ADMIN) + { + die('Only admins may run this script!!!'); + } + */ + include_once($phpbb_root_path . 'includes/bbcode.' . $phpEx); + include_once($phpbb_root_path . 'includes/functions_post.' . $phpEx); + + } + else if (@file_exists("./mcp.$phpEx")) // phpBB3 + { + define('PORTAL_BACKEND', 'phpbb3'); + $tplEx = 'html'; + + // + // Start user session + // - populate $userdata and $lang + // + $mx_user->init($user_ip, $page_id, false); + $user->setup(); + // + // End session management + // + + /* + $mx_user->set_module_default_style('_core'); // For compatibility with core 2.8.x + if ($userdata['user_type'] != USER_FOUNDER) + { + die('Only admins may run this script!!!'); + } + */ + include_once($mx_mod_path . "includes/shared/phpbb2/includes/bbcode.$phpEx"); + include_once($mx_mod_path . "includes/shared/phpbb2/includes/functions_post.$phpEx"); + } + else + { + die('Copy this file in phpbb_root_path were is your viewtopic.php file!!!'); + } } else *************** *** 82,86 **** if(!$result = $db->sql_query($sql)) { ! mx_message_die(GENERAL_ERROR, "Could not query Music Center module information", "", __LINE__, __FILE__, $sql); } $row = $db->sql_fetchrow($result); --- 166,170 ---- if(!$result = $db->sql_query($sql)) { ! message_die(GENERAL_ERROR, "Could not query Music Center module information", "", __LINE__, __FILE__, $sql); } $row = $db->sql_fetchrow($result); *************** *** 104,108 **** } ! global $images, $mx_images; } } --- 188,192 ---- } ! global $images; } } *************** *** 216,219 **** --- 300,316 ---- else { + + /* + +---------------------------------------------------------- + | Start output the page + +---------------------------------------------------------- + */ + + $page_title = $lang['Music']; + + if ( !is_object($mx_block)) + { + include($mx_root_path . 'includes/page_header.'.$phpEx); + } /* *************** *** 237,244 **** $template->assign_vars(array( ! 'U_VIEW_CAT_PARENT' => mx_append_sid(this_mo_mxurl("c=" . $thiscat_parent['cat_id'])), ! 'SUBCAT_NAV' => ' ' . $lang['Nav_Separator'] . ' <a class="nav" href="' . mx_append_sid(this_mo_mxurl("c=" . $thiscat_parent['cat_id'])) . '">' . $thiscat_parent['cat_title'] . '</a>', 'CAT_PARENT_TITLE' => $thiscat_parent['cat_title'], ! 'U_RSS' => mx_append_sid(this_mo_mxurl("music_mode=music_rss&c=" . $thiscat_parent['cat_id'] . "&sid=" . $userdata['session_id'], true)), 'CAT_PARENT' => $thiscat_parent['cat_id']) ); --- 334,341 ---- $template->assign_vars(array( ! 'U_VIEW_CAT_PARENT' => append_sid(this_mo_mxurl("c=" . $thiscat_parent['cat_id'])), ! 'SUBCAT_NAV' => ' ' . $lang['Nav_Separator'] . ' <a class="nav" href="' . append_sid(this_mo_mxurl("c=" . $thiscat_parent['cat_id'])) . '">' . $thiscat_parent['cat_title'] . '</a>', 'CAT_PARENT_TITLE' => $thiscat_parent['cat_title'], ! 'U_RSS' => append_sid(this_mo_mxurl("music_mode=music_rss&c=" . $thiscat_parent['cat_id'] . "&sid=" . $userdata['session_id'], true)), 'CAT_PARENT' => $thiscat_parent['cat_id']) ); *************** *** 248,252 **** { $template->assign_vars(array( ! 'U_RSS' => mx_append_sid(this_mo_mxurl("music_mode=music_rss" . "&sid=" . $userdata['session_id'], true)) )); --- 345,349 ---- { $template->assign_vars(array( ! 'U_RSS' => append_sid(this_mo_mxurl("music_mode=music_rss" . "&sid=" . $userdata['session_id'], true)) )); *************** *** 324,328 **** for ($j = 0; $j < count($grouprows); $j++) { ! $group_link = '<a href="'. mx_append_sid($phpbb_root_path. "groupcp.$phpEx?". POST_GROUPS_URL .'='. $grouprows[$j]['group_id']) .'">'. $grouprows[$j]['group_name'] .'</a>'; $moderators_list .= ($moderators_list == '') ? $group_link : ', ' . $group_link; --- 421,425 ---- for ($j = 0; $j < count($grouprows); $j++) { ! $group_link = '<a href="'. append_sid($phpbb_root_path. "groupcp.$phpEx?". POST_GROUPS_URL .'='. $grouprows[$j]['group_id']) .'">'. $grouprows[$j]['group_name'] .'</a>'; $moderators_list .= ($moderators_list == '') ? $group_link : ', ' . $group_link; *************** *** 380,384 **** // Write the Date // ---------------------------- ! $last_song_info = (@function_exists( 'create_date' )) ? create_date($board_config['default_dateformat'], $lastrow['song_time'], $board_config['board_timezone']) : phpBB2::create_date($board_config['default_dateformat'], $lastrow['song_time'], $board_config['board_timezone']); $last_song_info .= '<br />'; --- 477,483 ---- // Write the Date // ---------------------------- ! ! $last_song_info = create_date($board_config['default_dateformat'], $lastrow['song_time'], $board_config['board_timezone']); ! $last_song_info .= '<br />'; *************** *** 394,398 **** else { ! $last_song_info .= $lang['Poster'] .': <a href="'. mx_append_sid($phpbb_root_path . "profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $lastrow['user_id']) .'">'. $lastrow['username'] .'</a>'; } --- 493,497 ---- else { ! $last_song_info .= $lang['Poster'] .': <a href="'. append_sid($phpbb_root_path . "profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $lastrow['user_id']) .'">'. $lastrow['username'] .'</a>'; } *************** *** 417,421 **** $last_song_info .= '<br />'. $lang['Song_Title'] .': <a href="'; ! $last_song_info .= mx_append_sid(this_mo_mxurl("music_mode=music_page&song_id=". $lastrow['song_id'])) .'">' ; $last_song_info .= $lastrow['song_title'] .'</a>'; --- 516,520 ---- $last_song_info .= '<br />'. $lang['Song_Title'] .': <a href="'; ! $last_song_info .= append_sid(this_mo_mxurl("music_mode=music_page&song_id=". $lastrow['song_id'])) .'">' ; $last_song_info .= $lastrow['song_title'] .'</a>'; *************** *** 424,430 **** $template->assign_block_vars('catrow', array( ! 'U_VIEW_CAT' => mx_append_sid(this_mo_mxurl("music_mode=music_cat&cat_id=". $catrows[$i]['cat_id'])), ! 'U_VIEW_PIC_CAT' => mx_append_sid(this_mo_mxurl("music_mode=music_pic_cat&cat_id=". $catrows[$i]['cat_id'])), ! 'U_VIEW_MEDIA_CAT' => mx_append_sid(this_mo_mxurl("music_mode=music_media_cat&cat_id=". $catrows[$i]['cat_id'])), 'CAT_TITLE' => $catrows[$i]['cat_title'], 'CAT_DESC' => $catrows[$i]['cat_desc'], --- 523,529 ---- $template->assign_block_vars('catrow', array( ! 'U_VIEW_CAT' => append_sid(this_mo_mxurl("music_mode=music_cat&cat_id=". $catrows[$i]['cat_id'])), ! 'U_VIEW_PIC_CAT' => append_sid(this_mo_mxurl("music_mode=music_pic_cat&cat_id=". $catrows[$i]['cat_id'])), ! 'U_VIEW_MEDIA_CAT' => append_sid(this_mo_mxurl("music_mode=music_media_cat&cat_id=". $catrows[$i]['cat_id'])), 'CAT_TITLE' => $catrows[$i]['cat_title'], 'CAT_DESC' => $catrows[$i]['cat_desc'], *************** *** 512,516 **** if ( !($sc_result = $db->sql_query($sc_sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Could not query sub categories', '', __LINE__, __FILE__, $sql); } --- 611,615 ---- if ( !($sc_result = $db->sql_query($sc_sql)) ) { ! message_die(GENERAL_ERROR, 'Could not query sub categories', '', __LINE__, __FILE__, $sql); } *************** *** 531,540 **** while ( $subcatrow = $db->sql_fetchrow($sc_result) ) { ! $subcats .= ' - <a class="gensmall" href="' . mx_append_sid(this_mo_mxurl('music_mode=music_cat&cat_id='. $subcatrow['cat_id'])) . '">' . $subcatrow['cat_title'] . '</a><br />'; } $subcats .= '</span><br />'; $template->assign_block_vars('catrow', array( ! 'U_VIEW_CAT' => mx_append_sid(this_mo_mxurl("music_mode=music_index&c=". $catrows[$i]['cat_id'])), 'CAT_TITLE' => $catrows[$i]['cat_title'], 'CAT_DESC' => $catrows[$i]['cat_desc'], --- 630,639 ---- while ( $subcatrow = $db->sql_fetchrow($sc_result) ) { ! $subcats .= ' - <a class="gensmall" href="' . append_sid(this_mo_mxurl('music_mode=music_cat&cat_id='. $subcatrow['cat_id'])) . '">' . $subcatrow['cat_title'] . '</a><br />'; } $subcats .= '</span><br />'; $template->assign_block_vars('catrow', array( ! 'U_VIEW_CAT' => append_sid(this_mo_mxurl("music_mode=music_index&c=". $catrows[$i]['cat_id'])), 'CAT_TITLE' => $catrows[$i]['cat_title'], 'CAT_DESC' => $catrows[$i]['cat_desc'], *************** *** 721,725 **** $template->assign_block_vars('top_songs.top_row', array( ! 'U_SONG' => mx_append_sid(this_mo_mxurl("music_mode=music_page&song_id=". $topsongrow[$j]['song_id'])), 'DESC' => $topsongrow[$j]['song_desc'] ) --- 820,824 ---- $template->assign_block_vars('top_songs.top_row', array( ! 'U_SONG' => append_sid(this_mo_mxurl("music_mode=music_page&song_id=". $topsongrow[$j]['song_id'])), 'DESC' => $topsongrow[$j]['song_desc'] ) *************** *** 732,757 **** else { ! $top_poster = '<a href="'. mx_append_sid($phpbb_root_path . "profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $topsongrow[$j]['user_id']) .'">'. $topsongrow[$j]['username'] .'</a>'; } - $song_user_ip = (@function_exists( 'decode_ip' )) ? decode_ip($topsongrow[$j]['song_user_ip']) : phpBB2::decode_ip($topsongrow[$j]['song_user_ip']); - - $template->assign_block_vars('top_songs.top_detail', array( ! 'TITLE' => '<a href="'. mx_append_sid(this_mo_mxurl("music_mode=music_page&song_id=". $topsongrow[$j]['song_id'])) . '">' . $topsongrow[$j]['song_title'] . '</a>', ! 'SINGER' => $topsongrow[$j]['song_singer'], - 'POSTER' => $top_poster, ! ! 'TIME' => (@function_exists( 'create_date' )) ? create_date($board_config['default_dateformat'], $topsongrow[$j]['song_time'], $board_config['board_timezone']) : phpBB2::create_date($board_config['default_dateformat'], $topsongrow[$j]['song_time'], $board_config['board_timezone']), 'VIEW' => $topsongrow[$j]['song_view_count'], ! 'RATING' => ($music_config['rate'] == 1) ? ( '<a href="'. mx_append_sid(this_mo_mxurl("music_mode=music_rate&song_id=". $topsongrow[$j]['song_id'])) . '">' . $topsongrow[$j]['rating'] . '</a>' ) : '', ! 'COMMENTS' => ($music_config['comment'] == 1) ? ( '<a href="'. mx_append_sid(this_mo_mxurl("music_mode=music_comment&song_id=". $topsongrow[$j]['song_id'])) . '">' . $topsongrow[$j]['comments'] . '</a>' ) : '', ! 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . $song_user_ip . '" target="_blank">' . $song_user_ip .'</a><br />' : '' ) ); --- 831,850 ---- else { ! $top_poster = '<a href="'. append_sid($phpbb_root_path . "profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $topsongrow[$j]['user_id']) .'">'. $topsongrow[$j]['username'] .'</a>'; } $template->assign_block_vars('top_songs.top_detail', array( ! 'TITLE' => '<a href="'. append_sid(this_mo_mxurl("music_mode=music_page&song_id=". $topsongrow[$j]['song_id'])) . '">' . $topsongrow[$j]['song_title'] . '</a>', 'SINGER' => $topsongrow[$j]['song_singer'], 'POSTER' => $top_poster, ! 'TIME' => create_date($board_config['default_dateformat'], $topsongrow[$j]['song_time'], $board_config['board_timezone']), 'VIEW' => $topsongrow[$j]['song_view_count'], ! 'RATING' => ($music_config['rate'] == 1) ? ( '<a href="'. append_sid(this_mo_mxurl("music_mode=music_rate&song_id=". $topsongrow[$j]['song_id'])) . '">' . $topsongrow[$j]['rating'] . '</a>' ) : '', ! 'COMMENTS' => ($music_config['comment'] == 1) ? ( '<a href="'. append_sid(this_mo_mxurl("music_mode=music_comment&song_id=". $topsongrow[$j]['song_id'])) . '">' . $topsongrow[$j]['comments'] . '</a>' ) : '', ! 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip($topsongrow[$j]['song_user_ip']) . '" target="_blank">' . decode_ip($topsongrow[$j]['song_user_ip']) .'</a><br />' : '' ) ); *************** *** 840,844 **** $template->assign_block_vars('top_songs.top_row', array( ! 'U_SONG' => mx_append_sid(this_mo_mxurl("music_mode=music_page&song_id=". $topsongrow[$j]['song_id'])), 'DESC' => $topsongrow[$j]['song_desc'] ) --- 933,937 ---- $template->assign_block_vars('top_songs.top_row', array( ! 'U_SONG' => append_sid(this_mo_mxurl("music_mode=music_page&song_id=". $topsongrow[$j]['song_id'])), 'DESC' => $topsongrow[$j]['song_desc'] ) *************** *** 851,875 **** else { ! $top_poster = '<a href="'. mx_append_sid($phpbb_root_path . "profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $topsongrow[$j]['user_id']) .'">'. $topsongrow[$j]['username'] .'</a>'; } - $song_user_ip = (@function_exists( 'decode_ip' )) ? decode_ip($topsongrow[$j]['song_user_ip']) : phpBB2::decode_ip($topsongrow[$j]['song_user_ip']); - $template->assign_block_vars('top_songs.top_detail', array( ! 'TITLE' => '<a href="'. mx_append_sid(this_mo_mxurl("music_mode=music_page&song_id=". $topsongrow[$j]['song_id'])) . '">' . $topsongrow[$j]['song_title'] . '</a>', ! 'SINGER' => $topsongrow[$j]['song_singer'], - 'POSTER' => $top_poster, ! ! 'TIME' => (@function_exists( 'create_date' )) ? create_date($board_config['default_dateformat'], $topsongrow[$j]['song_time'], $board_config['board_timezone']) : phpBB2::create_date($board_config['default_dateformat'], $topsongrow[$j]['song_time'], $board_config['board_timezone']), 'VIEW' => $topsongrow[$j]['song_view_count'], ! 'RATING' => ($music_config['rate'] == 1) ? ( '<a href="'. mx_append_sid(this_mo_mxurl("music_mode=music_rate&song_id=". $topsongrow[$j]['song_id'])) . '">' . $topsongrow[$j]['rating'] . '</a>' ) : '', ! 'COMMENTS' => ($music_config['comment'] == 1) ? ( '<a href="'. mx_append_sid(this_mo_mxurl("music_mode=music_comment&song_id=". $topsongrow[$j]['song_id'])) . '">' . $topsongrow[$j]['comments'] . '</a>' ) : '', ! 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . $song_user_ip . '" target="_blank">' . $song_user_ip .'</a><br />' : '' ) ); --- 944,963 ---- else { ! $top_poster = '<a href="'. append_sid($phpbb_root_path . "profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $topsongrow[$j]['user_id']) .'">'. $topsongrow[$j]['username'] .'</a>'; } $template->assign_block_vars('top_songs.top_detail', array( ! 'TITLE' => '<a href="'. append_sid(this_mo_mxurl("music_mode=music_page&song_id=". $topsongrow[$j]['song_id'])) . '">' . $topsongrow[$j]['song_title'] . '</a>', 'SINGER' => $topsongrow[$j]['song_singer'], 'POSTER' => $top_poster, ! 'TIME' => create_date($board_config['default_dateformat'], $topsongrow[$j]['song_time'], $board_config['board_timezone']), 'VIEW' => $topsongrow[$j]['song_view_count'], ! 'RATING' => ($music_config['rate'] == 1) ? ( '<a href="'. append_sid(this_mo_mxurl("music_mode=music_rate&song_id=". $topsongrow[$j]['song_id'])) . '">' . $topsongrow[$j]['rating'] . '</a>' ) : '', ! 'COMMENTS' => ($music_config['comment'] == 1) ? ( '<a href="'. append_sid(this_mo_mxurl("music_mode=music_comment&song_id=". $topsongrow[$j]['song_id'])) . '">' . $topsongrow[$j]['comments'] . '</a>' ) : '', ! 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip($topsongrow[$j]['song_user_ip']) . '" target="_blank">' . decode_ip($topsongrow[$j]['song_user_ip']) .'</a><br />' : '' ) ); *************** *** 933,949 **** - /* - +---------------------------------------------------------- - | Start output the page - +---------------------------------------------------------- - */ - - $page_title = $lang['Music']; - - if ( !is_object($mx_block)) - { - include($mx_root_path . 'includes/page_header.'.$phpEx); - } - $template->set_filenames(array( 'body' => 'music_index_body.tpl') --- 1021,1024 ---- *************** *** 956,960 **** 'L_LAST_SONG' => $lang['Last_Song'], ! 'S_MUSIC_ACTION' => mx_append_sid(this_mo_mxurl()), 'S_ROWS' => $music_config['rows_per_page'], --- 1031,1035 ---- 'L_LAST_SONG' => $lang['Last_Song'], ! 'S_MUSIC_ACTION' => append_sid(this_mo_mxurl()), 'S_ROWS' => $music_config['rows_per_page'], *************** *** 972,976 **** 'L_PUBLIC_CATS' => $lang['Public_Categories'], 'L_SEARCH_SONGS' => $lang['Search_song'], ! 'S_MUSIC_LIST' => mx_append_sid(this_mo_mxurl("music_mode=music_list")), 'L_TIME' => $lang['Time'], --- 1047,1051 ---- 'L_PUBLIC_CATS' => $lang['Public_Categories'], 'L_SEARCH_SONGS' => $lang['Search_song'], ! 'S_MUSIC_LIST' => append_sid(this_mo_mxurl("music_mode=music_list")), 'L_TIME' => $lang['Time'], |