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...> - 2005-12-17 13:10:36
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20870/includes Modified Files: mx_functions_admincp.php mx_functions_core.php Log Message: further fixes for new parameter field - updated paks Index: mx_functions_core.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_core.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** mx_functions_core.php 17 Dec 2005 00:31:43 -0000 1.22 --- mx_functions_core.php 17 Dec 2005 13:10:27 -0000 1.23 *************** *** 1292,1395 **** foreach( $this->block_parameters as $parameter_name => $parameter_data ) { - $parameter_id = $parameter_data['parameter_id']; - $parameter_value = isset($HTTP_POST_VARS[$parameter_id]) ? $HTTP_POST_VARS[$parameter_id] : $parameter_data['parameter_default']; - $parameter_opt = ''; - - switch ( $parameter_data['parameter_type'] ) - { - case 'Boolean': - case 'Text': - case 'TextArea': - $parameter_value = htmlspecialchars( trim( $parameter_value ) ); - break; - case 'BBText': - $bbcode_uid = $parameter_opt = make_bbcode_uid(); - $parameter_value = prepare_message($parameter_value, true, true, true, $bbcode_uid); - break; - case 'Html': - $parameter_value = prepare_message($parameter_value, true, false, false); - break; - case 'Number': - $parameter_value = intval($parameter_value); - break; - case 'Function': - if( is_array($parameter_value) ) - { - //$parameter_value = implode(',' , htmlspecialchars($parameter_value)); - $parameter_value = implode(',' , $parameter_value); - } - break; - - // Custom Fields - case 'Radio_single_select': - case 'Menu_single_select': - $parameter_value = htmlspecialchars( trim( $parameter_value ) ); - break; - case 'Menu_multiple_select': - case 'Checkbox_multiple_select': - $parameter_value = addslashes( serialize( $parameter_value ) ); - break; - case 'Separator': - break; - - default: - $parameter_custom = $this->_submit_custom_module_parameters($parameter_data, $block_id); - $parameter_value = $parameter_custom['parameter_value']; - $parameter_opt = $parameter_custom['parameter_opt']; - break; - } - // ! // Update block data // ! if ( $sub_id == $parameter_data['sub_id'] || true ) ! { ! // ! // If standard block // ! $sql = "UPDATE " . BLOCK_SYSTEM_PARAMETER_TABLE . " ! SET parameter_value = '" . str_replace("\'", "''", $parameter_value) . "', ! parameter_opt = '$parameter_opt' ! WHERE block_id = '$block_id' ! AND parameter_id = '$parameter_id' ! AND sub_id = '$sub_id'"; ! } ! else ! { ! /* // ! // If subblock ! // ! $sql = "INSERT INTO " . BLOCK_SYSTEM_PARAMETER_TABLE . "(block_id, parameter_id, parameter_value, parameter_opt, sub_id) ! VALUES('$block_id','$parameter_id','" . str_replace("\'", "''", $parameter_value) . "','$parameter_opt', '$sub_id')"; ! */ ! } ! ! if( !($db->sql_query($sql)) ) ! { ! mx_message_die(GENERAL_ERROR, "Couldn't update system parameter table", "", __LINE__, __FILE__, $sql); ! } ! ! // ! // Update block itself ! // ! if( $sub_id == 0 ) ! { ! $block_time = time(); ! $block_editor_id = $userdata['user_id']; ! ! $sql = "UPDATE " . BLOCK_TABLE . " ! SET block_time = '" . str_replace("\'", "''", $block_time) . "', ! block_editor_id = '" . intval($block_editor_id) . "' ! WHERE block_id = $block_id"; ! ! if( !($result = $db->sql_query($sql, BEGIN_TRANSACTION)) ) { ! mx_message_die(GENERAL_ERROR, "Could not update block title information.", "", __LINE__, __FILE__, $sql); } - } - } // // Update cache --- 1292,1400 ---- foreach( $this->block_parameters as $parameter_name => $parameter_data ) { // ! // Switch for admin only parameters // ! if ($parameter_data['parameter_auth'] == 0 || $userdata['user_level'] == ADMIN) ! { ! $parameter_id = $parameter_data['parameter_id']; ! $parameter_value = isset($HTTP_POST_VARS[$parameter_id]) ? $HTTP_POST_VARS[$parameter_id] : $parameter_data['parameter_default']; ! $parameter_opt = ''; ! ! switch ( $parameter_data['parameter_type'] ) ! { ! case 'Boolean': ! case 'Text': ! case 'TextArea': ! $parameter_value = htmlspecialchars( trim( $parameter_value ) ); ! break; ! case 'BBText': ! $bbcode_uid = $parameter_opt = make_bbcode_uid(); ! $parameter_value = prepare_message($parameter_value, true, true, true, $bbcode_uid); ! break; ! case 'Html': ! $parameter_value = prepare_message($parameter_value, true, false, false); ! break; ! case 'Number': ! $parameter_value = intval($parameter_value); ! break; ! case 'Function': ! if( is_array($parameter_value) ) ! { ! //$parameter_value = implode(',' , htmlspecialchars($parameter_value)); ! $parameter_value = implode(',' , $parameter_value); ! } ! break; ! ! // Custom Fields ! case 'Radio_single_select': ! case 'Menu_single_select': ! $parameter_value = htmlspecialchars( trim( $parameter_value ) ); ! break; ! case 'Menu_multiple_select': ! case 'Checkbox_multiple_select': ! $parameter_value = addslashes( serialize( $parameter_value ) ); ! break; ! case 'Separator': ! break; ! ! default: ! $parameter_custom = $this->_submit_custom_module_parameters($parameter_data, $block_id); ! $parameter_value = $parameter_custom['parameter_value']; ! $parameter_opt = $parameter_custom['parameter_opt']; ! break; ! } ! // ! // Update block data // ! if ( $sub_id == $parameter_data['sub_id'] || true ) { ! // ! // If standard block ! // ! $sql = "UPDATE " . BLOCK_SYSTEM_PARAMETER_TABLE . " ! SET parameter_value = '" . str_replace("\'", "''", $parameter_value) . "', ! parameter_opt = '$parameter_opt' ! WHERE block_id = '$block_id' ! AND parameter_id = '$parameter_id' ! AND sub_id = '$sub_id'"; ! } ! else ! { ! /* ! // ! // If subblock ! // ! $sql = "INSERT INTO " . BLOCK_SYSTEM_PARAMETER_TABLE . "(block_id, parameter_id, parameter_value, parameter_opt, sub_id) ! VALUES('$block_id','$parameter_id','" . str_replace("\'", "''", $parameter_value) . "','$parameter_opt', '$sub_id')"; ! */ ! } ! ! if( !($db->sql_query($sql)) ) ! { ! mx_message_die(GENERAL_ERROR, "Couldn't update system parameter table", "", __LINE__, __FILE__, $sql); } + // + // Update block itself + // + if( $sub_id == 0 ) + { + $block_time = time(); + $block_editor_id = $userdata['user_id']; + + $sql = "UPDATE " . BLOCK_TABLE . " + SET block_time = '" . str_replace("\'", "''", $block_time) . "', + block_editor_id = '" . intval($block_editor_id) . "' + WHERE block_id = $block_id"; + + if( !($result = $db->sql_query($sql, BEGIN_TRANSACTION)) ) + { + mx_message_die(GENERAL_ERROR, "Could not update block title information.", "", __LINE__, __FILE__, $sql); + } + } + } // allowed parameter + } // End foreach // // Update cache Index: mx_functions_admincp.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_admincp.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** mx_functions_admincp.php 17 Dec 2005 00:31:43 -0000 1.16 --- mx_functions_admincp.php 17 Dec 2005 13:10:27 -0000 1.17 *************** *** 2608,2612 **** // // 0: parameter, 1: function_id, 2: parameter_id, 3: parameter_name, ! // 4: parameter_type, 5: parameter_default, 6: parameter_function // case 'parameter': --- 2608,2612 ---- // // 0: parameter, 1: function_id, 2: parameter_id, 3: parameter_name, ! // 4: parameter_type, 5: parameter_default, 6: parameter_function, 7: parameter_auth // case 'parameter': *************** *** 2615,2627 **** $key = $module_data[2]; ! $sql_add = "INSERT INTO " . PARAMETER_TABLE . " (function_id, parameter_id, parameter_name, parameter_type, parameter_default, parameter_function) ! VALUES ( '" . intval($module_data[1]) . "', '" . intval($module_data[2]) . "', '" . str_replace("\'", "''", $module_data[3]) . "', '" . str_replace("\'", "''",$module_data[4]) . "', '" . str_replace("\'", "''", $module_data[5]) . "', '" . str_replace("\'", "''", $module_data[6]) . "' ) "; $sql_update = "UPDATE " . PARAMETER_TABLE . " ! SET function_id = '" . intval($module_data[1]) . "', ! parameter_name = '" . str_replace("\'", "''",$module_data[3]) . "', ! parameter_type = '" . str_replace("\'", "''",$module_data[4]) . "', ! parameter_default = '" . str_replace("\'", "''", $module_data[5]) . "', ! parameter_function = '" . str_replace("\'", "''",$module_data[6]) . "' WHERE parameter_id = '" . intval( $module_data[2] ) . "'"; --- 2615,2628 ---- $key = $module_data[2]; ! $sql_add = "INSERT INTO " . PARAMETER_TABLE . " (function_id, parameter_id, parameter_name, parameter_type, parameter_default, parameter_function, parameter_auth) ! VALUES ( '" . intval($module_data[1]) . "', '" . intval($module_data[2]) . "', '" . str_replace("\'", "''", $module_data[3]) . "', '" . str_replace("\'", "''",$module_data[4]) . "', '" . str_replace("\'", "''", $module_data[5]) . "', '" . str_replace("\'", "''", $module_data[6]) . "', '" . str_replace("\'", "''", $module_data[7]) . "' ) "; $sql_update = "UPDATE " . PARAMETER_TABLE . " ! SET function_id = '" . intval($module_data[1]) . "', ! parameter_name = '" . str_replace("\'", "''",$module_data[3]) . "', ! parameter_type = '" . str_replace("\'", "''",$module_data[4]) . "', ! parameter_default = '" . str_replace("\'", "''", $module_data[5]) . "', ! parameter_function = '" . str_replace("\'", "''",$module_data[6]) . "', ! parameter_auth = '" . str_replace("\'", "''",$module_data[7]) . "' WHERE parameter_id = '" . intval( $module_data[2] ) . "'"; *************** *** 2960,2964 **** // 0: parameter, 1: function_id, 2: parameter_id, 3: parameter_name, ! // 4: parameter_type, 5: parameter_default, 6: parameter_function for( $p = 0; $p < count($resultset_param); $p++ ) { --- 2961,2965 ---- // 0: parameter, 1: function_id, 2: parameter_id, 3: parameter_name, ! // 4: parameter_type, 5: parameter_default, 6: parameter_function, 7: parameter_auth for( $p = 0; $p < count($resultset_param); $p++ ) { *************** *** 2968,2972 **** $module_pak .= $resultset_param[$p]['parameter_type'] . $delimeter; $module_pak .= $resultset_param[$p]['parameter_default'] . $delimeter; ! $module_pak .= $resultset_param[$p]['parameter_function'] . "\n"; $paramater_id = $resultset_param[$p]['parameter_id']; --- 2969,2974 ---- $module_pak .= $resultset_param[$p]['parameter_type'] . $delimeter; $module_pak .= $resultset_param[$p]['parameter_default'] . $delimeter; ! $module_pak .= $resultset_param[$p]['parameter_function'] . $delimeter; ! $module_pak .= $resultset_param[$p]['parameter_auth'] . "\n"; $paramater_id = $resultset_param[$p]['parameter_id']; |
|
From: Jon O. <jon...@us...> - 2005-12-17 13:10:36
|
Update of /cvsroot/mxbb/core/install/schemas In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20870/install/schemas Modified Files: mysql_schema_install.sql Log Message: further fixes for new parameter field - updated paks Index: mysql_schema_install.sql =================================================================== RCS file: /cvsroot/mxbb/core/install/schemas/mysql_schema_install.sql,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** mysql_schema_install.sql 17 Dec 2005 00:33:10 -0000 1.14 --- mysql_schema_install.sql 17 Dec 2005 13:10:27 -0000 1.15 *************** *** 500,507 **** INSERT INTO mx_table_parameter VALUES("92", "10", "numOfEvents", "Number", "5", "", "0", "0"); INSERT INTO mx_table_parameter VALUES("65", "51", "msg_filter_date", "Function", "5", "get_list_static(\"{parameter_id}[]\",array(\"no limit\", \"1 day\", \"2 days\", \"3 days\", \"1 week\", \"2 weeks\", \"3 weeks\", \"1 month\", \"2 months\", \"3 months\", \"6 months\", \"1 year\"),\"{parameter_value}\")", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("57", "22", "allow_smilies", "Boolean", "TRUE", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("54", "22", "allow_html", "Boolean", "TRUE", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("56", "22", "allow_bbcode", "Boolean", "TRUE", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("55", "22", "html_tags", "Text", "b,i,u,img", "", "0", "0"); INSERT INTO mx_table_parameter VALUES("66", "51", "Nav menu", "nav_menu", "", "", "0", "10"); --- 500,507 ---- INSERT INTO mx_table_parameter VALUES("92", "10", "numOfEvents", "Number", "5", "", "0", "0"); INSERT INTO mx_table_parameter VALUES("65", "51", "msg_filter_date", "Function", "5", "get_list_static(\"{parameter_id}[]\",array(\"no limit\", \"1 day\", \"2 days\", \"3 days\", \"1 week\", \"2 weeks\", \"3 weeks\", \"1 month\", \"2 months\", \"3 months\", \"6 months\", \"1 year\"),\"{parameter_value}\")", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("57", "22", "allow_smilies", "Boolean", "TRUE", "", "1", "0"); ! INSERT INTO mx_table_parameter VALUES("54", "22", "allow_html", "Boolean", "TRUE", "", "1", "0"); ! INSERT INTO mx_table_parameter VALUES("56", "22", "allow_bbcode", "Boolean", "TRUE", "", "1", "0"); ! INSERT INTO mx_table_parameter VALUES("55", "22", "html_tags", "Text", "b,i,u,img", "", "1", "0"); INSERT INTO mx_table_parameter VALUES("66", "51", "Nav menu", "nav_menu", "", "", "0", "10"); |
|
From: Jon O. <jon...@us...> - 2005-12-17 00:34:20
|
Update of /cvsroot/mxbb/mx_phpbb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14697/modules/mx_phpbb Modified Files: mx_phpbb.php Log Message: reverted back to old state ;) Index: mx_phpbb.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/mx_phpbb.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** mx_phpbb.php 16 Dec 2005 03:12:57 -0000 1.5 --- mx_phpbb.php 17 Dec 2005 00:34:12 -0000 1.6 *************** *** 24,29 **** } - include_once( $phpbb_root_path . 'common' . $phpEx ); - // // Restore POST vars after redirect --- 24,27 ---- |
|
From: Jon O. <jon...@us...> - 2005-12-17 00:33:18
|
Update of /cvsroot/mxbb/core/install/schemas In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14518/install/schemas Modified Files: mysql_schema_install.sql mysql_schema_upgrade_to_2.8_rc5.sql mysql_schema_upgrade_to_2.8_rc7.sql Log Message: - updated schemas, adding new parameter_auth field - fix for regenerating cache during install/upgrade Index: mysql_schema_upgrade_to_2.8_rc5.sql =================================================================== RCS file: /cvsroot/mxbb/core/install/schemas/mysql_schema_upgrade_to_2.8_rc5.sql,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mysql_schema_upgrade_to_2.8_rc5.sql 9 Dec 2005 00:22:23 -0000 1.3 --- mysql_schema_upgrade_to_2.8_rc5.sql 17 Dec 2005 00:33:10 -0000 1.4 *************** *** 132,136 **** # INSERT INTO mx_table_page_templates VALUES("1", "NONE"); ! INSERT INTO mx_table_page_templates VALUES("2", "Two-Columns left1"); INSERT INTO mx_table_page_templates VALUES("3", "Two-Columns right"); INSERT INTO mx_table_page_templates VALUES("4", "Three-Columns"); --- 132,136 ---- # INSERT INTO mx_table_page_templates VALUES("1", "NONE"); ! INSERT INTO mx_table_page_templates VALUES("2", "Two-Columns left"); INSERT INTO mx_table_page_templates VALUES("3", "Two-Columns right"); INSERT INTO mx_table_page_templates VALUES("4", "Three-Columns"); Index: mysql_schema_install.sql =================================================================== RCS file: /cvsroot/mxbb/core/install/schemas/mysql_schema_install.sql,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** mysql_schema_install.sql 16 Dec 2005 18:58:45 -0000 1.13 --- mysql_schema_install.sql 17 Dec 2005 00:33:10 -0000 1.14 *************** *** 430,434 **** # INSERT INTO mx_table_page_templates VALUES("1", "NONE"); ! INSERT INTO mx_table_page_templates VALUES("2", "Two-Columns left1"); INSERT INTO mx_table_page_templates VALUES("3", "Two-Columns right"); INSERT INTO mx_table_page_templates VALUES("4", "Three-Columns"); --- 430,434 ---- # INSERT INTO mx_table_page_templates VALUES("1", "NONE"); ! INSERT INTO mx_table_page_templates VALUES("2", "Two-Columns left"); INSERT INTO mx_table_page_templates VALUES("3", "Two-Columns right"); INSERT INTO mx_table_page_templates VALUES("4", "Three-Columns"); *************** *** 447,450 **** --- 447,451 ---- `parameter_default` varchar(150) default NULL, `parameter_function` varchar(255) default NULL, + `parameter_auth` tinyint(2) NOT NULL default '0', `parameter_order` smallint(5) unsigned NOT NULL default '0', PRIMARY KEY (`parameter_id`) *************** *** 456,507 **** # Dumping data for table 'mx_table_parameter' # ! INSERT INTO mx_table_parameter VALUES("1", "2", "announce_nbr_display", "Number", "1", "", "0"); ! INSERT INTO mx_table_parameter VALUES("2", "2", "announce_nbr_days", "Number", "14", "", "0"); ! INSERT INTO mx_table_parameter VALUES("3", "2", "announce_display", "Boolean", "TRUE", "", "0"); ! INSERT INTO mx_table_parameter VALUES("4", "2", "announce_display_sticky", "Boolean", "TRUE", "", "0"); ! INSERT INTO mx_table_parameter VALUES("5", "2", "announce_display_normal", "Boolean", "FALSE", "", "0"); ! INSERT INTO mx_table_parameter VALUES("7", "2", "announce_img", "Text", "thumb_globe.gif", "", "0"); ! INSERT INTO mx_table_parameter VALUES("8", "2", "announce_img_sticky", "Text", "thumb_globe.gif", "", "0"); ! INSERT INTO mx_table_parameter VALUES("9", "2", "announce_img_normal", "Text", "thumb_globe.gif", "", "0"); ! INSERT INTO mx_table_parameter VALUES("6", "2", "announce_display_global", "Boolean", "TRUE", "", "0"); ! INSERT INTO mx_table_parameter VALUES("10", "2", "announce_img_global", "Text", "thumb_globe.gif", "", "0"); ! INSERT INTO mx_table_parameter VALUES("11", "2", "announce_forum", "Function", "", "get_list_multiple(\"{parameter_id}[]\", FORUMS_TABLE, \'forum_id\', \'forum_name\', \"{parameter_value}\", TRUE)", "0"); ! INSERT INTO mx_table_parameter VALUES("13", "14", "Poll_Display", "Function", "0", "poll_select( {parameter_value}, \"{parameter_id}\" )", "0"); ! INSERT INTO mx_table_parameter VALUES("36", "14", "poll_forum", "Function", "", "get_list_multiple(\"{parameter_id}[]\", FORUMS_TABLE, \'forum_id\', \'forum_name\', \"{parameter_value}\", TRUE)", "0"); ! INSERT INTO mx_table_parameter VALUES("15", "24", "Text", "phpBBTextBlock", "Insert your text here", "", "0"); ! INSERT INTO mx_table_parameter VALUES("16", "23", "Html", "WysiwygTextBlock", "Entre your Html code here", "", "0"); ! INSERT INTO mx_table_parameter VALUES("17", "31", "Last_Msg_Number_Title", "Number", "15", "", "0"); ! INSERT INTO mx_table_parameter VALUES("18", "31", "Last_Msg_Display_Date", "Boolean", "TRUE", "", "0"); ! INSERT INTO mx_table_parameter VALUES("19", "31", "Last_Msg_Title_Length", "Number", "30", "", "0"); ! INSERT INTO mx_table_parameter VALUES("20", "31", "Last_Msg_Target", "Values", "_blank", "", "0"); ! INSERT INTO mx_table_parameter VALUES("21", "31", "Last_Msg_Align", "Values", "left", "", "0"); ! INSERT INTO mx_table_parameter VALUES("22", "31", "Last_Msg_Display_Forum", "Boolean", "TRUE", "", "0"); ! INSERT INTO mx_table_parameter VALUES("37", "31", "Last_Msg_forum", "Function", "", "get_list_multiple(\"{parameter_id}[]\", FORUMS_TABLE, \'forum_id\', \'forum_name\', \"{parameter_value}\", TRUE)", "0"); ! INSERT INTO mx_table_parameter VALUES("38", "31", "Last_Msg_Display_Last_Author", "Boolean", "TRUE", "", "0"); ! INSERT INTO mx_table_parameter VALUES("39", "31", "Last_Msg_Display_Author", "Boolean", "FALSE", "", "0"); ! INSERT INTO mx_table_parameter VALUES("40", "31", "Last_Msg_Display_Icon_View", "Boolean", "TRUE", "", "0"); ! INSERT INTO mx_table_parameter VALUES("50", "22", "Text", "CustomizedTextBlock", "Enter your block text here", "", "0"); ! INSERT INTO mx_table_parameter VALUES("51", "22", "text_style", "Text", "none", "", "0"); ! INSERT INTO mx_table_parameter VALUES("52", "22", "block_style", "Boolean", "TRUE", "", "0"); ! INSERT INTO mx_table_parameter VALUES("53", "22", "title_style", "Boolean", "TRUE", "", "0"); ! INSERT INTO mx_table_parameter VALUES("91", "10", "log_filter_date", "Menu_single_select", "1 month", "a:12:{i:0;s:8:\"no limit\";i:1;s:5:\"1 day\";i:2;s:6:\"2 days\";i:3;s:6:\"3 days\";i:4;s:6:\"1 week\";i:5;s:7:\"2 weeks\";i:6;s:7:\"3 weeks\";i:7;s:7:\"1 month\";i:8;s:8:\"2 months\";i:9;s:8:\"3 months\";i:10;s:8:\"6 months\";i:11;s:6:\"1 year\";}", "0"); ! INSERT INTO mx_table_parameter VALUES("60", "11", "block_ids", "Function", "1,2,3", "get_list_multiple( \"{parameter_id}[]\", BLOCK_TABLE, \'block_id\', \'block_title\', \"{parameter_value}\", TRUE)", "0"); ! INSERT INTO mx_table_parameter VALUES("61", "11", "block_sizes", "Text", "20%,30%,*", "", "0"); ! INSERT INTO mx_table_parameter VALUES("62", "11", "space_between", "Number", "4", "", "0"); ! INSERT INTO mx_table_parameter VALUES("70", "5", "x_mode", "Menu_single_select", "x_iframe", "a:6:{i:0;s:8:\"x_listen\";i:1;s:8:\"x_iframe\";i:2;s:10:\"x_textfile\";i:3;s:12:\"x_multimedia\";i:4;s:5:\"x_pic\";i:5;s:8:\"x_format\";}", "0"); ! INSERT INTO mx_table_parameter VALUES("80", "3", "default_block_id", "Function", "0", "get_list_formatted(\"block_list\",\"{parameter_value}\",\"{parameter_id}[]\")", "0"); ! INSERT INTO mx_table_parameter VALUES("72", "5", "x_1", "Text", "", "", "0"); ! INSERT INTO mx_table_parameter VALUES("73", "5", "x_2", "Text", "", "", "0"); ! INSERT INTO mx_table_parameter VALUES("63", "51", "menu_display_mode", "Radio_single_select", "Vertical", "a:2:{i:0;s:8:\"Vertical\";i:1;s:10:\"Horizontal\";}", "20"); ! INSERT INTO mx_table_parameter VALUES("64", "51", "menu_page_sync", "Boolean", "0", "", "30"); ! INSERT INTO mx_table_parameter VALUES("71", "5", "x_3", "Text", "http://www.mx-system.com", "", "0"); ! INSERT INTO mx_table_parameter VALUES("81", "21", "Blog", "BBText", "Add your text here...", "", "0"); ! INSERT INTO mx_table_parameter VALUES("92", "10", "numOfEvents", "Number", "5", "", "0"); ! INSERT INTO mx_table_parameter VALUES("65", "51", "msg_filter_date", "Function", "5", "get_list_static(\"{parameter_id}[]\",array(\"no limit\", \"1 day\", \"2 days\", \"3 days\", \"1 week\", \"2 weeks\", \"3 weeks\", \"1 month\", \"2 months\", \"3 months\", \"6 months\", \"1 year\"),\"{parameter_value}\")", "0"); ! INSERT INTO mx_table_parameter VALUES("57", "22", "allow_smilies", "Boolean", "TRUE", "", "0"); ! INSERT INTO mx_table_parameter VALUES("54", "22", "allow_html", "Boolean", "TRUE", "", "0"); ! INSERT INTO mx_table_parameter VALUES("56", "22", "allow_bbcode", "Boolean", "TRUE", "", "0"); ! INSERT INTO mx_table_parameter VALUES("55", "22", "html_tags", "Text", "b,i,u,img", "", "0"); ! INSERT INTO mx_table_parameter VALUES("66", "51", "Nav menu", "nav_menu", "", "", "10"); --- 457,508 ---- # Dumping data for table 'mx_table_parameter' # ! INSERT INTO mx_table_parameter VALUES("1", "2", "announce_nbr_display", "Number", "1", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("2", "2", "announce_nbr_days", "Number", "14", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("3", "2", "announce_display", "Boolean", "TRUE", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("4", "2", "announce_display_sticky", "Boolean", "TRUE", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("5", "2", "announce_display_normal", "Boolean", "FALSE", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("7", "2", "announce_img", "Text", "thumb_globe.gif", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("8", "2", "announce_img_sticky", "Text", "thumb_globe.gif", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("9", "2", "announce_img_normal", "Text", "thumb_globe.gif", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("6", "2", "announce_display_global", "Boolean", "TRUE", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("10", "2", "announce_img_global", "Text", "thumb_globe.gif", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("11", "2", "announce_forum", "Function", "", "get_list_multiple(\"{parameter_id}[]\", FORUMS_TABLE, \'forum_id\', \'forum_name\', \"{parameter_value}\", TRUE)", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("13", "14", "Poll_Display", "Function", "0", "poll_select( {parameter_value}, \"{parameter_id}\" )", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("36", "14", "poll_forum", "Function", "", "get_list_multiple(\"{parameter_id}[]\", FORUMS_TABLE, \'forum_id\', \'forum_name\', \"{parameter_value}\", TRUE)", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("15", "24", "Text", "phpBBTextBlock", "Insert your text here", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("16", "23", "Html", "WysiwygTextBlock", "Entre your Html code here", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("17", "31", "Last_Msg_Number_Title", "Number", "15", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("18", "31", "Last_Msg_Display_Date", "Boolean", "TRUE", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("19", "31", "Last_Msg_Title_Length", "Number", "30", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("20", "31", "Last_Msg_Target", "Values", "_blank", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("21", "31", "Last_Msg_Align", "Values", "left", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("22", "31", "Last_Msg_Display_Forum", "Boolean", "TRUE", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("37", "31", "Last_Msg_forum", "Function", "", "get_list_multiple(\"{parameter_id}[]\", FORUMS_TABLE, \'forum_id\', \'forum_name\', \"{parameter_value}\", TRUE)", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("38", "31", "Last_Msg_Display_Last_Author", "Boolean", "TRUE", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("39", "31", "Last_Msg_Display_Author", "Boolean", "FALSE", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("40", "31", "Last_Msg_Display_Icon_View", "Boolean", "TRUE", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("50", "22", "Text", "CustomizedTextBlock", "Enter your block text here", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("51", "22", "text_style", "Text", "none", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("52", "22", "block_style", "Boolean", "TRUE", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("53", "22", "title_style", "Boolean", "TRUE", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("91", "10", "log_filter_date", "Menu_single_select", "1 month", "a:12:{i:0;s:8:\"no limit\";i:1;s:5:\"1 day\";i:2;s:6:\"2 days\";i:3;s:6:\"3 days\";i:4;s:6:\"1 week\";i:5;s:7:\"2 weeks\";i:6;s:7:\"3 weeks\";i:7;s:7:\"1 month\";i:8;s:8:\"2 months\";i:9;s:8:\"3 months\";i:10;s:8:\"6 months\";i:11;s:6:\"1 year\";}", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("60", "11", "block_ids", "Function", "1,2,3", "get_list_multiple( \"{parameter_id}[]\", BLOCK_TABLE, \'block_id\', \'block_title\', \"{parameter_value}\", TRUE)", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("61", "11", "block_sizes", "Text", "20%,30%,*", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("62", "11", "space_between", "Number", "4", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("70", "5", "x_mode", "Menu_single_select", "x_iframe", "a:6:{i:0;s:8:\"x_listen\";i:1;s:8:\"x_iframe\";i:2;s:10:\"x_textfile\";i:3;s:12:\"x_multimedia\";i:4;s:5:\"x_pic\";i:5;s:8:\"x_format\";}", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("80", "3", "default_block_id", "Function", "0", "get_list_formatted(\"block_list\",\"{parameter_value}\",\"{parameter_id}[]\")", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("72", "5", "x_1", "Text", "", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("73", "5", "x_2", "Text", "", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("63", "51", "menu_display_mode", "Radio_single_select", "Vertical", "a:2:{i:0;s:8:\"Vertical\";i:1;s:10:\"Horizontal\";}", "0", "20"); ! INSERT INTO mx_table_parameter VALUES("64", "51", "menu_page_sync", "Boolean", "0", "", "0", "30"); ! INSERT INTO mx_table_parameter VALUES("71", "5", "x_3", "Text", "http://www.mx-system.com", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("81", "21", "Blog", "BBText", "Add your text here...", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("92", "10", "numOfEvents", "Number", "5", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("65", "51", "msg_filter_date", "Function", "5", "get_list_static(\"{parameter_id}[]\",array(\"no limit\", \"1 day\", \"2 days\", \"3 days\", \"1 week\", \"2 weeks\", \"3 weeks\", \"1 month\", \"2 months\", \"3 months\", \"6 months\", \"1 year\"),\"{parameter_value}\")", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("57", "22", "allow_smilies", "Boolean", "TRUE", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("54", "22", "allow_html", "Boolean", "TRUE", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("56", "22", "allow_bbcode", "Boolean", "TRUE", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("55", "22", "html_tags", "Text", "b,i,u,img", "", "0", "0"); ! INSERT INTO mx_table_parameter VALUES("66", "51", "Nav menu", "nav_menu", "", "", "0", "10"); Index: mysql_schema_upgrade_to_2.8_rc7.sql =================================================================== RCS file: /cvsroot/mxbb/core/install/schemas/mysql_schema_upgrade_to_2.8_rc7.sql,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** mysql_schema_upgrade_to_2.8_rc7.sql 9 Dec 2005 23:22:03 -0000 1.6 --- mysql_schema_upgrade_to_2.8_rc7.sql 17 Dec 2005 00:33:10 -0000 1.7 *************** *** 44,46 **** # ALTER TABLE mx_table_menu_nav MODIFY auth_view tinyint(2) NOT NULL default '0'; ! ALTER TABLE mx_table_menu_nav MODIFY auth_view_group smallint(5) NOT NULL default '0'; \ No newline at end of file --- 44,52 ---- # ALTER TABLE mx_table_menu_nav MODIFY auth_view tinyint(2) NOT NULL default '0'; ! ALTER TABLE mx_table_menu_nav MODIFY auth_view_group smallint(5) NOT NULL default '0'; ! ! # ------------------------------------------------------------ ! # ! # New Fields in Table `mx_table_parameter` ! # ! ALTER TABLE mx_table_parameter ADD parameter_auth tinyint(2) NOT NULL default '0'; |
|
From: Jon O. <jon...@us...> - 2005-12-17 00:33:17
|
Update of /cvsroot/mxbb/core/install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14518/install Modified Files: mx_install.php Log Message: - updated schemas, adding new parameter_auth field - fix for regenerating cache during install/upgrade Index: mx_install.php =================================================================== RCS file: /cvsroot/mxbb/core/install/mx_install.php,v retrieving revision 1.58 retrieving revision 1.59 diff -C2 -d -r1.58 -r1.59 *** mx_install.php 16 Dec 2005 18:58:45 -0000 1.58 --- mx_install.php 17 Dec 2005 00:33:10 -0000 1.59 *************** *** 43,47 **** define('INSTALL_READONLY', true); - // // Set mxBB-Portal version here! --- 43,46 ---- *************** *** 72,76 **** define('U_MXBB_NEWS_NOW', 'http://lists.sourceforge.net/lists/listinfo/mxbb-news'); - // // Initialization --- 71,74 ---- *************** *** 81,85 **** $mx_root_path = '../'; - // // FYI: --- 79,82 ---- *************** *** 564,594 **** // //if( $install_mode == 'upgrade' && count($schemas) > 0 ) ! if( count($schemas) > 0 ) { ! if( version_compare($mx_portal_version, '2.8.0', '<') ) ! { ! // ! // FYI: This is how the cache worked before 2.8.0. ! // ! if( @file_exists($mx_root_path . 'cache/block_config.xml') ) ! { ! include($mx_root_path . "cache/mx_functions_core.$phpEx"); ! update_session_cache(MX_ALL_DATA); ! $process_msgs[] = $lang['Cache_generate']; ! } ! } ! else { ! // ! // FYI: update_session_cache() needs $portal_config to be filled. ! // ! $sql = 'SELECT * FROM '.PORTAL_TABLE.' WHERE portal_id = 1'; ! if( ($result = $db->sql_query($sql)) ) ! { ! $portal_config = $db->sql_fetchrow($result); ! include($mx_root_path . "includes/mx_functions_core.$phpEx"); ! update_session_cache(MX_CACHE_ALL); ! $process_msgs[] = $lang['Cache_generate']; ! } } } --- 561,576 ---- // //if( $install_mode == 'upgrade' && count($schemas) > 0 ) ! if( count($schemas) > 0 && file_exists($mx_root_path . "includes/mx_functions_core" . $phpEx) ) { ! // ! // FYI: update_session_cache() needs $portal_config to be filled. ! // ! $sql = 'SELECT * FROM '.PORTAL_TABLE.' WHERE portal_id = 1'; ! if( ($result = $db->sql_query($sql)) ) { ! $portal_config = $db->sql_fetchrow($result); ! include($mx_root_path . "includes/mx_functions_core" . $phpEx); ! update_session_cache(MX_CACHE_ALL); ! $process_msgs[] = $lang['Cache_generate']; } } |
|
From: Jon O. <jon...@us...> - 2005-12-17 00:31:55
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14206/includes Modified Files: mx_functions_admincp.php mx_functions_core.php mx_functions_phpbb.php Log Message: lots of updates, all covered in http://www.mx-system.com/forum/viewtopic.php?t=7945 Index: mx_functions_core.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_core.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** mx_functions_core.php 14 Dec 2005 13:49:08 -0000 1.21 --- mx_functions_core.php 17 Dec 2005 00:31:43 -0000 1.22 *************** *** 91,95 **** } ! if ( file_exists( $this->cache_dir . 'mx_config.' . $phpEx ) ) { foreach ( $this->vars_ts as $varname => $timestamp ) --- 91,95 ---- } ! if ( file_exists( $this->cache_dir . 'mx_config.' . $phpEx ) && is_array($this->vars_ts) ) { foreach ( $this->vars_ts as $varname => $timestamp ) *************** *** 497,501 **** $sql = "SELECT blk.*, sys.parameter_id, sys.parameter_value, sys.parameter_opt, ! par.parameter_name, par.parameter_type, par.parameter_function, par.parameter_default, par.parameter_order, mdl.module_path, fnc.function_file, fnc.function_id, fnc.function_admin --- 497,501 ---- $sql = "SELECT blk.*, sys.parameter_id, sys.parameter_value, sys.parameter_opt, ! par.parameter_name, par.parameter_type, par.parameter_auth, par.parameter_function, par.parameter_default, par.parameter_order, mdl.module_path, fnc.function_file, fnc.function_id, fnc.function_admin *************** *** 552,555 **** --- 552,556 ---- "parameter_name" => $row['parameter_name'], "parameter_type" => $row['parameter_type'], + "parameter_auth" => $row['parameter_auth'], "parameter_value" => $row['parameter_value'], "parameter_default" => $row['parameter_default'], *************** *** 1434,1438 **** function load_block_parameters( $block_id = false ) { ! global $mx_root_path, $template, $blockcptemplate, $board_config, $theme; $return = false; --- 1435,1439 ---- function load_block_parameters( $block_id = false ) { ! global $mx_root_path, $template, $blockcptemplate, $board_config, $theme, $userdata; $return = false; *************** *** 1443,1510 **** foreach( $this->block_parameters as $parameter_name => $parameter_data ) { ! ob_start(); ! $this->is_panel = false; ! $template = new mx_Template($mx_root_path . $this->module_root_path . 'templates/subSilver', $board_config); ! ! switch ( $parameter_data['parameter_type'] ) { ! case 'Separator': ! $this->display_edit_Separator( $block_id, $parameter_data['parameter_id'], $parameter_data ); ! break; ! case 'Text': ! $this->display_edit_PlainTextField( $block_id, $parameter_data['parameter_id'], $parameter_data ); ! break; ! case 'TextArea': ! $this->display_edit_PlainTextAreaField( $block_id, $parameter_data['parameter_id'], $parameter_data ); ! break; ! case 'BBText': ! $this->display_edit_BBText( $block_id, $parameter_data['parameter_id'], $parameter_data ); ! break; ! case 'Html': ! $this->display_edit_Html( $block_id, $parameter_data['parameter_id'], $parameter_data ); ! break; ! case 'Boolean': ! $this->display_edit_Boolean( $block_id, $parameter_data['parameter_id'], $parameter_data ); ! break; ! case 'Number': ! $this->display_edit_Number( $block_id, $parameter_data['parameter_id'], $parameter_data ); ! break; ! case 'Function': ! $this->display_edit_Function( $block_id, $parameter_data['parameter_id'], $parameter_data ); ! break; ! ! // Custom Fields ! case 'Radio_single_select': ! $this->display_edit_Radio_single_select( $block_id, $parameter_data['parameter_id'], $parameter_data ); ! break; ! case 'Menu_single_select': ! $this->display_edit_Menu_single_select( $block_id, $parameter_data['parameter_id'], $parameter_data ); ! break; ! case 'Menu_multiple_select': ! $this->display_edit_Menu_multiple_select( $block_id, $parameter_data['parameter_id'], $parameter_data ); ! break; ! case 'Checkbox_multiple_select': ! $this->display_edit_Checkbox_multiple_select( $block_id, $parameter_data['parameter_id'], $parameter_data ); break; ! default: ! $this->is_panel = $this->_get_custom_module_parameters($parameter_data, $block_id); ! break; ! } ! ! $block_output_data = ob_get_contents(); ! ob_end_clean(); ! ! if ($this->is_panel) ! { ! $blockcptemplate->assign_block_vars('blockcp_panel', array( ! 'BLOCKCP_PANELS' => ( !empty($block_output_data) ) ? $block_output_data : '' ! )); ! } ! else ! { ! $block_parameter_data .= $block_output_data; } - - $return = true; } --- 1444,1517 ---- foreach( $this->block_parameters as $parameter_name => $parameter_data ) { ! // ! // Switch for admin only parameters ! // ! if ($parameter_data['parameter_auth'] == 0 || $userdata['user_level'] == ADMIN) { ! ob_start(); ! $this->is_panel = false; ! $template = new mx_Template($mx_root_path . $this->module_root_path . 'templates/subSilver', $board_config); ! ! switch ( $parameter_data['parameter_type'] ) ! { ! case 'Separator': ! $this->display_edit_Separator( $block_id, $parameter_data['parameter_id'], $parameter_data ); ! break; ! case 'Text': ! $this->display_edit_PlainTextField( $block_id, $parameter_data['parameter_id'], $parameter_data ); ! break; ! case 'TextArea': ! $this->display_edit_PlainTextAreaField( $block_id, $parameter_data['parameter_id'], $parameter_data ); ! break; ! case 'BBText': ! $this->display_edit_BBText( $block_id, $parameter_data['parameter_id'], $parameter_data ); ! break; ! case 'Html': ! $this->display_edit_Html( $block_id, $parameter_data['parameter_id'], $parameter_data ); ! break; ! case 'Boolean': ! $this->display_edit_Boolean( $block_id, $parameter_data['parameter_id'], $parameter_data ); ! break; ! case 'Number': ! $this->display_edit_Number( $block_id, $parameter_data['parameter_id'], $parameter_data ); ! break; ! case 'Function': ! $this->display_edit_Function( $block_id, $parameter_data['parameter_id'], $parameter_data ); ! break; ! ! // Custom Fields ! case 'Radio_single_select': ! $this->display_edit_Radio_single_select( $block_id, $parameter_data['parameter_id'], $parameter_data ); ! break; ! case 'Menu_single_select': ! $this->display_edit_Menu_single_select( $block_id, $parameter_data['parameter_id'], $parameter_data ); ! break; ! case 'Menu_multiple_select': ! $this->display_edit_Menu_multiple_select( $block_id, $parameter_data['parameter_id'], $parameter_data ); ! break; ! case 'Checkbox_multiple_select': ! $this->display_edit_Checkbox_multiple_select( $block_id, $parameter_data['parameter_id'], $parameter_data ); ! break; ! default: ! $this->is_panel = $this->_get_custom_module_parameters($parameter_data, $block_id); break; ! } ! ! $block_output_data = ob_get_contents(); ! ob_end_clean(); ! ! if ($this->is_panel) ! { ! $blockcptemplate->assign_block_vars('blockcp_panel', array( ! 'BLOCKCP_PANELS' => ( !empty($block_output_data) ) ? $block_output_data : '' ! )); ! } ! else ! { ! $block_parameter_data .= $block_output_data; ! } ! ! $return = true; } } Index: mx_functions_phpbb.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_phpbb.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** mx_functions_phpbb.php 8 Dec 2005 14:41:48 -0000 1.16 --- mx_functions_phpbb.php 17 Dec 2005 00:31:43 -0000 1.17 *************** *** 283,287 **** global $db, $template, $board_config, $theme, $lang, $phpEx, $phpbb_root_path, $nav_links, $gen_simple_header, $images, $mx_root_path; global $userdata, $user_ip, $session_length; ! global $mx_starttime; if(defined('HAS_DIED')) --- 283,287 ---- global $db, $template, $board_config, $theme, $lang, $phpEx, $phpbb_root_path, $nav_links, $gen_simple_header, $images, $mx_root_path; global $userdata, $user_ip, $session_length; ! global $mx_starttime, $mx_page; if(defined('HAS_DIED')) *************** *** 292,296 **** define('HAS_DIED', 1); - $sql_store = $sql; --- 292,295 ---- *************** *** 337,347 **** --- 336,350 ---- { include($mx_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.'.$phpEx); + include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.'.$phpEx); } else { include($mx_root_path . 'language/lang_english/lang_main.'.$phpEx); + include($phpbb_root_path . 'language/lang_english/lang_main.'.$phpEx); } } + $mx_page->page_title = $lang['Information']; + if ( empty($template) ) { *************** *** 412,415 **** --- 415,420 ---- break; } + + // Index: mx_functions_admincp.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_admincp.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** mx_functions_admincp.php 11 Dec 2005 16:13:39 -0000 1.15 --- mx_functions_admincp.php 17 Dec 2005 00:31:43 -0000 1.16 *************** *** 204,207 **** --- 204,208 ---- $parameter_name = $mx_request_vars->post('parameter_name', MX_TYPE_NO_TAGS, ''); $parameter_type = $mx_request_vars->post('parameter_type', MX_TYPE_NO_TAGS, ''); + $parameter_auth = $mx_request_vars->post('parameter_auth', MX_TYPE_INT, '0'); $parameter_default = $mx_request_vars->post('parameter_default', MX_TYPE_POST_VARS, ''); $data = $mx_request_vars->post('parameter_function', MX_TYPE_POST_VARS, ''); *************** *** 243,250 **** // Insert New Parameter // ! $sql = "INSERT INTO " . PARAMETER_TABLE . " (function_id, parameter_name, parameter_type, parameter_default, parameter_function) VALUES( " . $function_id . ", '" . str_replace("\'", "''", $parameter_name) . "', '" . str_replace("\'", "''", $parameter_type) . "', '" . str_replace("\'", "''", $parameter_default) . "', '" . str_replace("\'", "''", $data) . "' )"; --- 244,252 ---- // Insert New Parameter // ! $sql = "INSERT INTO " . PARAMETER_TABLE . " (function_id, parameter_name, parameter_type, parameter_auth, parameter_default, parameter_function) VALUES( " . $function_id . ", '" . str_replace("\'", "''", $parameter_name) . "', '" . str_replace("\'", "''", $parameter_type) . "', + '" . str_replace("\'", "''", $parameter_auth) . "', '" . str_replace("\'", "''", $parameter_default) . "', '" . str_replace("\'", "''", $data) . "' )"; *************** *** 494,497 **** --- 496,500 ---- $block_id = $mx_request_vars->post('block_id', MX_TYPE_INT, 0); + echo('a'.$column_id.' '.$block_id); $sql = "SELECT MAX(block_order) AS max_order FROM " . COLUMN_BLOCK_TABLE . " WHERE column_id = '" . $column_id . "'"; if( !($result = $db->sql_query($sql)) ) *************** *** 503,507 **** $max_order = $row['max_order']; $next_order = intval($max_order + 10); - $sql = "INSERT INTO " . COLUMN_BLOCK_TABLE . " (column_id, block_id, block_order) --- 506,509 ---- *************** *** 692,695 **** --- 694,698 ---- $parameter_name = $mx_request_vars->post('parameter_name', MX_TYPE_NO_TAGS, ''); $parameter_type = $mx_request_vars->post('parameter_type', MX_TYPE_NO_TAGS, ''); + $parameter_auth = $mx_request_vars->post('parameter_auth', MX_TYPE_INT, '0'); $parameter_default = $mx_request_vars->post('parameter_default', MX_TYPE_POST_VARS, ''); $data = $mx_request_vars->post('parameter_function', MX_TYPE_POST_VARS, ''); *************** *** 735,738 **** --- 738,742 ---- SET parameter_name = '" . str_replace("\'", "''", $parameter_name) . "', parameter_type = '" . str_replace("\'", "''", $parameter_type) . "', + parameter_auth = '" . str_replace("\'", "''", $parameter_auth) . "', parameter_default = '" . str_replace("\'", "''", $parameter_default) . "', parameter_function = '" . str_replace("\'", "''", $data) . "' |
|
From: Jon O. <jon...@us...> - 2005-12-17 00:31:55
|
Update of /cvsroot/mxbb/core/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14206/admin Modified Files: admin_mx_module.php admin_mx_module_cp.php admin_mx_page_cp.php Log Message: lots of updates, all covered in http://www.mx-system.com/forum/viewtopic.php?t=7945 Index: admin_mx_module_cp.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_module_cp.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** admin_mx_module_cp.php 11 Dec 2005 16:13:38 -0000 1.9 --- admin_mx_module_cp.php 17 Dec 2005 00:31:42 -0000 1.10 *************** *** 41,50 **** // - // Instatiate the $mx_dynamic_select class (dynamic block select javascript) - // - //$mx_dynamic_select = new mx_dynamic_select(); - //$mx_dynamic_select->generate(); - - // // Mode & Action setting // --- 41,44 ---- *************** *** 52,56 **** --- 46,52 ---- $action = $mx_request_vars->request('action', MX_TYPE_NO_TAGS, ''); + // // Main module id, to load the adminCP blocks and parameter data + // $nav_module_id = $mx_request_vars->request('module_id', MX_TYPE_INT, ''); *************** *** 62,66 **** // ! // SUBMIT? // if( !empty($mode) && !empty($action) ) --- 58,62 ---- // ! // Update // if( !empty($mode) && !empty($action) ) *************** *** 168,172 **** // Start page proper // - $block_auth_fields = array('auth_view', 'auth_edit'); --- 164,167 ---- *************** *** 284,288 **** 'L_SHOW_STATS_EXPLAIN' => $lang['Show_stats_explain'], 'L_GROUPS' => $lang['Usergroups'], ! 'L_IS_MODERATOR' => $lang['Is_Moderator'], // // Graphics --- 279,284 ---- 'L_SHOW_STATS_EXPLAIN' => $lang['Show_stats_explain'], 'L_GROUPS' => $lang['Usergroups'], ! 'L_IS_MODERATOR' => $lang['Is_Moderator'], ! // // Graphics *************** *** 352,356 **** // Get current/active module // - $sql = "SELECT * FROM " . MODULE_TABLE . " --- 348,351 ---- *************** *** 372,376 **** // Get the rest modules // - $sql = "SELECT * FROM " . MODULE_TABLE . " --- 367,370 ---- *************** *** 571,575 **** // Function loop // - //$modulelist = mx_get_list('module_id', MODULE_TABLE, 'module_id', 'module_name', $module_id, true); for( $function_count = 0; $function_count < $total_functions + 1; $function_count++ ) { --- 565,568 ---- *************** *** 723,726 **** --- 716,723 ---- $parameter_function = !$new_parameter && !empty($parameter_function) ? ( $parameter_rows[$parameter_count]['parameter_type'] != 'Function' ? implode( "\n", unserialize( stripslashes( $parameter_function ) ) ) : $parameter_function ) : ''; + $parameter_auth = !$new_parameter ? $parameter_rows[$parameter_count]['parameter_auth'] : 0; + $parameter_auth_yes = ( $parameter_auth == 1 ) ? 'checked="checked"' : ''; + $parameter_auth_no = ( $parameter_auth == 0 ) ? 'checked="checked"' : ''; + $parameter_default = !$new_parameter ? $parameter_rows[$parameter_count]['parameter_default'] : ''; *************** *** 730,734 **** . '<br /><br />'; - // Replace htmlentites for < and > with actual character. //$row_color = ( !( $i % 2 ) ) ? $theme['td_color1'] : $theme['td_color2']; $row_class = ( !( $parameter_count % 2 ) ) ? 'row1' : 'row1'; --- 727,730 ---- *************** *** 772,775 **** --- 768,772 ---- 'L_PARAMETER_FUNCTION' => $lang['Parameter_function'], 'L_PARAMETER_FUNCTION_EXPLAIN' => $lang['Parameter_function_explain'], + 'L_PARAMETER_AUTH' => $lang['Parameter_auth'], "L_PARAMETER_TEXT" => $lang['Parameter_admin_explain'], 'L_PARAMETER_ID' => $lang['Parameter_id'], *************** *** 779,782 **** --- 776,781 ---- 'E_PARAMETER_TYPE' => $parameter_type, 'E_PARAMETER_FUNCTION' => $parameter_function, + 'E_PARAMETER_AUTH_YES' => $parameter_auth_yes, + 'E_PARAMETER_AUTH_NO' => $parameter_auth_no, 'E_PARAMETER_DEFAULT' => $parameter_default, *************** *** 798,802 **** // Now continue with the function blocks // - $sql = "SELECT blk.*, function_admin, fnc.function_name, fnc.function_id, fnc.function_desc, fnc.module_id FROM " . BLOCK_TABLE . " blk, --- 797,800 ---- *************** *** 1056,1061 **** $template->assign_block_vars('module.function.block.is_block.include_block_edit', array()); } - - } // for ... blocks } // for ... functions --- 1054,1057 ---- Index: admin_mx_page_cp.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_page_cp.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** admin_mx_page_cp.php 11 Dec 2005 16:13:38 -0000 1.10 --- admin_mx_page_cp.php 17 Dec 2005 00:31:42 -0000 1.11 *************** *** 52,56 **** --- 52,58 ---- $action = $mx_request_vars->request('action', MX_TYPE_NO_TAGS, ''); + // // Main page id, to load the adminCP + // $nav_page_id = $mx_request_vars->request('page_id', MX_TYPE_INT, ''); *************** *** 61,66 **** } ! setcookie($board_config['cookie_name'] . '_adminPage_page_id', $nav_page_id, time() + 10000000, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']); ! if( !empty($mode) && !empty($action) ) { --- 63,69 ---- } ! // ! // Update ! // if( !empty($mode) && !empty($action) ) { *************** *** 89,92 **** --- 92,97 ---- } // if .. !empty($mode) + setcookie($board_config['cookie_name'] . '_adminPage_page_id', $nav_page_id, time() + 10000000, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']); + // // Load states *************** *** 169,176 **** // -------------------------------------------------------------------------------------------------------------------- // -------------------------------------------------------------------------------------------------------------------- // // Start page proper // - $auth_fields = array('auth_view'); $auth_ary = array('auth_view' => AUTH_ALL); --- 174,181 ---- // -------------------------------------------------------------------------------------------------------------------- // -------------------------------------------------------------------------------------------------------------------- + // // Start page proper // $auth_fields = array('auth_view'); $auth_ary = array('auth_view' => AUTH_ALL); *************** *** 198,203 **** $admin_icon['edit_block'] = $page_nav_icon_url . 'icon_edit.gif'; - // $pagelist = get_list_formatted('page_list', $nav_page_id); - // // Send General Vars to template --- 203,206 ---- *************** *** 324,328 **** // Start Page Template // - $sql = "SELECT * FROM " . PAGE_TEMPLATES . " WHERE page_template_id <> 1 ORDER BY page_template_id"; --- 327,330 ---- *************** *** 453,457 **** } - // // Okay, let's build the index --- 455,458 ---- *************** *** 481,485 **** // Subpanel - column edit // - $column_title = $new_column ? '' : $column_rows[$column]['column_title']; $column_size = $new_column ? '100%' : $column_rows[$column]['column_size']; --- 482,485 ---- *************** *** 489,493 **** . '<br /><br />' . sprintf($lang['Click_page_template_column_delete_yes'], '<a href="' . append_sid("admin_mx_page_cp.$phpEx" . $deletemode) . '">', '</a>') . '<br /><br />'; - $visible_column_edit = in_array('adminTemplateColumnEdit_' . $page_template_id . '_' . $column_template_id, $cookie_states); --- 489,492 ---- *************** *** 525,529 **** --- 524,530 ---- 'S_SUBMIT' => $new_column ? $lang['Create_column'] : $lang['Update'], + // // Quick Panels + // 'MESSAGE_DELETE' => $message_delete, *************** *** 538,542 **** --- 539,545 ---- // + // // Get the list of phpBB usergroups + // $sql = "SELECT group_id, group_name FROM " . GROUPS_TABLE . " *************** *** 563,567 **** // Get current/active module // - $sql = "SELECT * FROM " . PAGE_TABLE . " --- 566,569 ---- *************** *** 583,587 **** // Get the rest modules // - $sql = "SELECT * FROM " . PAGE_TABLE . " --- 585,588 ---- *************** *** 770,774 **** // Auth // - for( $j = 0; $j < count($auth_fields); $j++ ) { --- 771,774 ---- *************** *** 782,787 **** $custom_auth[$j] .= '</select> '; - // $custom_group_auth = mx_get_groups($page_group_auth_id); - $cell_title = $field_names[$auth_fields[$j]]; --- 782,785 ---- *************** *** 841,845 **** // PRIVATE Auth // - $view_groups = @explode(',', $page_rows[$page_count]['auth_view_group']); --- 839,842 ---- *************** *** 861,867 **** $input_private = '-'; } - - $template->assign_block_vars('pages.grouprow', array( 'GROUP_ID' => $group_id, --- 858,862 ---- *************** *** 873,877 **** --- 868,874 ---- } + // // Get blocklist for alternative add_block + // $blocklist = get_list_formatted('block_list', 0, 'block_id'); *************** *** 940,944 **** // Subpanel - column edit // - $column_title = $new_column ? '' : $column_rows[$column]['column_title']; $column_size = $new_column ? '100%' : $column_rows[$column]['column_size']; --- 937,940 ---- *************** *** 1017,1021 **** { $block_id = $block_rows[$block]['block_id']; ! $mx_block->init( $block_id ); $block_order = $block_rows[$block]['block_order']; --- 1013,1017 ---- { $block_id = $block_rows[$block]['block_id']; ! $mx_block->init( $block_id, true ); $block_order = $block_rows[$block]['block_order']; *************** *** 1092,1098 **** $template->assign_block_vars('pages.columnrow.is_columnrow', array()); - } - } // for ... column } --- 1088,1092 ---- *************** *** 1101,1105 **** // Create quick nav box // - $page_select_box = get_list_static('page_id', $page_rows_select, $nav_page_id, false); --- 1095,1098 ---- *************** *** 1120,1126 **** )); - include_once('./page_header_admin.' . $phpEx); $template->pparse('body'); include_once('./page_footer_admin.' . $phpEx); ?> \ No newline at end of file --- 1113,1119 ---- )); include_once('./page_header_admin.' . $phpEx); $template->pparse('body'); include_once('./page_footer_admin.' . $phpEx); + ?> \ No newline at end of file Index: admin_mx_module.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_module.php,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** admin_mx_module.php 22 Oct 2005 10:51:01 -0000 1.38 --- admin_mx_module.php 17 Dec 2005 00:31:42 -0000 1.39 *************** *** 51,55 **** --- 51,57 ---- $action = $mx_request_vars->request('action', MX_TYPE_NO_TAGS, ''); + // // Main module id, to load the adminCP blocks and parameter data + // $nav_module_id = $mx_request_vars->request('module_id', MX_TYPE_INT, ''); *************** *** 60,70 **** } - // Load states - $cookie_tmp = $board_config['cookie_name'].'_admincp_blockstates'; - $cookie_states = !empty($HTTP_COOKIE_VARS[$cookie_tmp]) ? explode(",", $HTTP_COOKIE_VARS[$cookie_tmp]) : array(); - - $this_module_path = $mx_request_vars->request('this_module_path', MX_TYPE_NO_TAGS, ''); if( !empty($mode) && !empty($action) ) { --- 62,70 ---- } $this_module_path = $mx_request_vars->request('this_module_path', MX_TYPE_NO_TAGS, ''); + // + // Update + // if( !empty($mode) && !empty($action) ) { *************** *** 95,98 **** --- 95,104 ---- } // if .. !empty($mode) + // + // Load states + // + $cookie_tmp = $board_config['cookie_name'].'_admincp_blockstates'; + $cookie_states = !empty($HTTP_COOKIE_VARS[$cookie_tmp]) ? explode(",", $HTTP_COOKIE_VARS[$cookie_tmp]) : array(); + // -------------------------------------------------------------------------------------------------------------------- // -------------------------------------------------------------------------------------------------------------------- *************** *** 127,131 **** <input type="hidden" name="id" value="' . $module_id . '" /> <input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />'; - $result_message_height = $is_pak ? '300px' : '50px'; --- 133,136 ---- *************** *** 202,206 **** // Get current/active module // - $sql = "SELECT * FROM " . MODULE_TABLE . " --- 207,210 ---- *************** *** 222,226 **** // Get the rest modules // - $sql = "SELECT * FROM " . MODULE_TABLE . " --- 226,229 ---- *************** *** 298,304 **** } - //$pak_row = search_pak($module_rows[$module_count]['module_path']); - //$pak_list = get_list_static('file_select', $pak_row, ''); - $message_uninstall = $lang['Module_delete'] . '<br /><br />' . sprintf($lang['Click_module_delete_yes'], '<a href="' . append_sid("admin_mx_module.$phpEx" . $deletemode) . '">', '</a>') --- 301,304 ---- *************** *** 361,366 **** $template->assign_block_vars('module.settings', array()); } - - } --- 361,364 ---- *************** *** 368,372 **** // Create quick nav box // - $module_select_box = get_list_static('module_id', $module_rows_select, $nav_module_id, false); --- 366,369 ---- |
|
From: Jon O. <jon...@us...> - 2005-12-17 00:31:55
|
Update of /cvsroot/mxbb/core/templates/subSilver/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14206/templates/subSilver/admin Modified Files: mx_modulecp_admin_body.tpl Log Message: lots of updates, all covered in http://www.mx-system.com/forum/viewtopic.php?t=7945 Index: mx_modulecp_admin_body.tpl =================================================================== RCS file: /cvsroot/mxbb/core/templates/subSilver/admin/mx_modulecp_admin_body.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_modulecp_admin_body.tpl 22 Oct 2005 10:51:03 -0000 1.2 --- mx_modulecp_admin_body.tpl 17 Dec 2005 00:31:43 -0000 1.3 *************** *** 518,521 **** --- 518,525 ---- <td>{module.function.parameter.E_PARAMETER_TYPE}</td> </tr> + <tr> + <td width="50%" align="right">{module.function.parameter.L_PARAMETER_AUTH}</span></td> + <td><input type="radio" name="parameter_auth" value="1" {module.function.parameter.E_PARAMETER_AUTH_YES} /> <span class="gensmall">{L_YES}</span> <input type="radio" name="parameter_auth" value="0" {module.function.parameter.E_PARAMETER_AUTH_NO} /> <span class="gensmall">{L_NO}</span></td> + </tr> <tr> <td width="50%" align="right">{module.function.parameter.L_PARAMETER_DEFAULT}</td> |
|
From: Jon O. <jon...@us...> - 2005-12-17 00:31:52
|
Update of /cvsroot/mxbb/core/modules/mx_coreblocks In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14206/modules/mx_coreblocks Modified Files: mx_includex.php Log Message: lots of updates, all covered in http://www.mx-system.com/forum/viewtopic.php?t=7945 Index: mx_includex.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/mx_includex.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** mx_includex.php 23 Oct 2005 18:48:21 -0000 1.7 --- mx_includex.php 17 Dec 2005 00:31:43 -0000 1.8 *************** *** 29,35 **** $title = $mx_block->block_info['block_title']; ! $select_row = array('x_listen', 'x_iframe', 'x_textfile', 'x_multimedia', 'x_pic', 'x_format'); ! ! $iframe_mode = $select_row[$mx_block->get_parameters( 'x_mode' )]; $x_mode = ( $iframe_mode == 'x_listen' && !empty($HTTP_GET_VARS['x_mode']) ? $HTTP_GET_VARS['x_mode'] : $iframe_mode ); --- 29,33 ---- $title = $mx_block->block_info['block_title']; ! $iframe_mode = $mx_block->get_parameters( 'x_mode' ); $x_mode = ( $iframe_mode == 'x_listen' && !empty($HTTP_GET_VARS['x_mode']) ? $HTTP_GET_VARS['x_mode'] : $iframe_mode ); |
|
From: Jon O. <jon...@us...> - 2005-12-17 00:31:52
|
Update of /cvsroot/mxbb/core/language/lang_english In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14206/language/lang_english Modified Files: lang_admin.php Log Message: lots of updates, all covered in http://www.mx-system.com/forum/viewtopic.php?t=7945 Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/core/language/lang_english/lang_admin.php,v retrieving revision 1.57 retrieving revision 1.58 diff -C2 -d -r1.57 -r1.58 *** lang_admin.php 15 Dec 2005 21:59:46 -0000 1.57 --- lang_admin.php 17 Dec 2005 00:31:43 -0000 1.58 *************** *** 193,196 **** --- 193,197 ---- $lang['Parameter_function_explain'] = "<b>Function</b> (when using the 'Function' type)<br />- You may pass the parameter data to an external function <br /> to generate the parameter form field.<br />- For example: <br />get_list_formatted(\"block_list\",\"{parameter_value}\",\"{parameter_id}[]\")"; $lang['Parameter_function_explain'] .= "<br /><br /><b>Option(s)</b> (when using 'Selection' parameter types)<br />- For all selection parameters (radiobuttons, checkboxes and menus) all options are listed here, one option per line."; + $lang['Parameter_auth'] = "<b>Admin/Block Moderator only</b>"; $lang['Parameters'] = "Parameters"; *************** *** 498,502 **** $lang['x_mode_explain'] = '- The IncludeX block operates in one of the following modes. If mode \'Listen (GET)\' is selected, the mode may be set by a url \'x_mode=mode\' and associated parameters with \'x_1=, x_2=, etc\'.<br />Example: To pass a url to a iframe use \'domain/index.php?page=x&x_mode=iframe&x_1=http://domain\' '; $lang['x_1'] = 'Variable 1:'; ! $lang['x_1_explain'] = '- <i>IFrame:</i> url<br /><i>Textfile:</i> file (located in \'/include_file\')<br /><i>Multimedia:</i> file (located in \'/include_file\')<br /><i>Pic:</i> file (located in \'/include_file\')<br /><i>Formatted textfile:</i> not available'; $lang['x_2'] = 'Variable 2:'; $lang['x_2_explain'] = '- <i>IFrame:</i> frame height (pixels)<br /><i>Multimedia:</i> width (pixles)'; --- 499,503 ---- $lang['x_mode_explain'] = '- The IncludeX block operates in one of the following modes. If mode \'Listen (GET)\' is selected, the mode may be set by a url \'x_mode=mode\' and associated parameters with \'x_1=, x_2=, etc\'.<br />Example: To pass a url to a iframe use \'domain/index.php?page=x&x_mode=iframe&x_1=http://domain\' '; $lang['x_1'] = 'Variable 1:'; ! $lang['x_1_explain'] = '- <i>IFrame:</i> url<br /><i>Textfile:</i> relative path from root (eg in \'/include_file/my_file.xxx\')<br /><i>Multimedia:</i> relative path from root (eg in \'/include_file/my_file.xxx\')<br /><i>Pic:</i> relative path from root (eg in \'/include_file/my_file.xxx\')<br /><i>Formatted textfile:</i> not available'; $lang['x_2'] = 'Variable 2:'; $lang['x_2_explain'] = '- <i>IFrame:</i> frame height (pixels)<br /><i>Multimedia:</i> width (pixles)'; |
|
From: Andrew <men...@us...> - 2005-12-16 22:21:18
|
Update of /cvsroot/mxbb/core/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16200/doc Added Files: index.xml Log Message: Preparing for DocBook... watch out for more commits regarding this! --- NEW FILE: index.xml --- <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V5.0//EN" "http://www.oasis-open.org/docbook/xml/5.0/docbook.dtd"> <book> <info> <author>MHobbit, on behalf of the Documentation Team</author> <type>mxBB Core Documentation</type> <package>Core</package> <version>2.7.6</version> </info> <section number="1" title="Introduction"> <chapter title="About the mxBB-Portal/CMS" value="a"> <data>Welcome to the MX System Portal. You have made the right choice. The MX-System Portal is the only fully modular portal system that works with the free phpBB forums software. This means that it functions without ever touching your forums data! It uses integrated features without touching phpBB, which the MX-System Portal requires to run, and currently supports the mySQL and postgreSQL databases. The system is still in development and as such may be unsuitable for novices. MX was founded by Marc Moris, but the MX site is currently supervised by Haplo and Drift. The Development Team is a bunch of great coders and MX visionaries who assist in developing the portal. </data> </chapter> <chapter title="What is mxBB for?" value="b"> <data>The MX-System Portal is a portal for your phpBB forums. A portal is a script separate from your portal that gathers/fetches, and manages, your forums information. If you want a site based around your phpBB forums, that still can maintain all of your present forums info, a portal is the solution. Thus, you have wisely chosen MX. </data> </chapter> <chapter title="Requirements" value="c"> <data>There are a couple of minor requirements for installing and running mxBB. They are: <list type="number"> <item>A phpBB forum already up and running</item> <item>PHP support on your server (though if you already have a phpBB forum up, then this is already set.) Versions greater than 4.3.0 of PHP are required; any PHP version 4 and up to 5.0 are recommended. As of 2.7.6, PHP5 is not fully supported.</item> <item>Either mySQL or postgreSQL databases</item> <item>An FTP client capable of uploading your content to the Internet, retaining the folders and directories. FileZilla is one of the best FTP clients (it is GPL).</item> </list> </data> </chapter> </section> <section number="2" title="Installation"> <chapter title="Verification" value="a"> <data>Now, before you attempt installing anything, make sure you have downloaded the most recent version of MX. You can always find it here: <link>http://www.mx-system.com/forum/viewtopic.php?t=1224</link> If you are sure you have done that, then download this, if you haven't already, to your computer. Make sure that you know which directory on your computer you have uploaded it to. </data> </chapter> <chapter title="Uploading" value="b"> <data>Now, once you have downloaded the whole MX Core archives, unzip it using WinZIP or some other file decompression utility onto your hard drive. Now, you must upload the folder /mxroot/, wherever it's on you hard drive, into the web. To do this you need an FTP client such as AceFTP, CuteFTP, or WS_FTP. I recommend WS_FTP for its top speeds and AceFTP for its ease of use. Whenever you've picked which one, open up your FTP client. Make sure you have the upload settings to "auto-detect" if it has it. PHP, INC, TXT, and HTML files should be uploaded in ASCII mode, while TPL, JPG, GIF, and other graphics files should be uploaded in binary mode. In the following screenshots of an FTP client, I will be using AceFTP freeware. This does not mean that this is the only FTP client, it just means it's the one I'm using. Below are some links to FTP clients: <link>http://filezilla.sourceforge.net</link> - FileZilla (GPL, free) <link>http://www.ipswitch.com</link> WS_FTP LE (freeware for educational purposes) Okay, if you've set your FTP client upload mode to auto, so that all PHP, INC, TXT, and HTML files are uploaded in ASCII mode, while TPL, JPG, GIF, and other graphics files are uploaded in BINARY mode, you're set to go. Here's a picture of where you're supposed to be: <image title="Uploading using FileZilla"></image> As you can see you should highlight, on the computer/local side, the /mxroot/ folder, wherever it's located on your Hard Disk. So, simply click on the button that's circled in the screenshot, or wherever it is for your FTP client. It's a pretty big upload (a little more than 1MB) so depending on your connection, you'll have to wait a while. Once you're done, you should see the index of the location, on the right hand side (that's been uploaded), of the /mxroot/ folder. If this is confirmed, then double click on /mxroot/ to go into it. </data> </chapter> <chapter title="CHMOD/Permissions Changing" value="c"> <data> <emphasis>FOR LINUX/ *NIX AND APACHE SERVERS:</emphasis> Now, you must CHMOD two things: the /mxroot/cache/ directory and the mx_meta.inc file. What this means is you're giving read/write access to the MX Portal, which is required. Note: no security hazard exists with this. First, we're going to CHMOD the /mxroot/cache directory. So, to do this, depending on your FTP client, you must right click on the folder /mxroot/cache/, click on Properties, and put in the CHMOD value of 777. If a number text box doesn't exist, simply check off all "Read", "Write", and "Execute" under all users ("Owner", "Group", "Everyone"). Of course the user names vary from FTP client, but try to find something similar. So, if it's done, your little log box (if you have one) should say something like "SITE CHMOD SUCCESSFUL - 777". After that, follow the same steps to CHMOD mx_meta.inc. And you're done uploading things to your site onto the Internet. <emphasis>FOR NON-*NIX SERVERS (SUCH AS WINDOWS):</emphasis> You must change these directories' permissions: <list type="bulleted"> <item>/mxroot/cache/</item> <item>/mx_meta.inc/</item> </list> to: <quote>"Owner- Read, Write, Access", "Group- Read, Write, Access", and "All- Read, Write, Access."</quote> </data> </chapter> <chapter title="Install Configuration" value="d"> <data> Now, to install MX, you must visit the link in your favorite browser. Go to the URL (web address) http://www.YOURDOMAIN.com/mx . From there it will redirect you to this page: <image></image> The text fields are filled out with the descriptions of the info you're supposed to put in. At the top (it's not in the screenshot) you should select "install" if you're installing MX for the first time. Then, pick which DB software your server uses (mySQL or postgreSQL). Then, fill in the info. Here's a description of each: <list type="bulleted"> <item> <emphasis>Database Server Hostname/DSN:</emphasis> This is the hostname of your DB server. Most of the time this is "localhost" (without the quotations), so type in that. </item> <item> <emphasis>Your Database Name</emphasis> This is pretty much self-explanatory. If you have mySQL, you probably have a DB name. Fill in the blank with the DB name. </item> <item><emphasis>Database Username</emphasis> This usually is the username you use for your web hosting/server. Fill this out correctly... casing probably counts. </item> Database Password This is basically just the password to your DB username. MX-Portal Prefix in DB This is the table prefix that will appear in your DB. ie mx_blahblah. By default it should be mx_, so type that in. phpBB prefix in DB Now, this is very important. You must figure out what prefix your phpBB forums used, and fill it out. In most cases it's phpbb_, so use that, unless you know otherwise. MX will search in all tables preceded by "phpbb_", where it will get its info. phpBB relative path This is the directory path to /phpBB/ (or wherever your forums are located), relative from /mxroot/. This should be ../phpBB (or wherever your forums are located). Note the two periods. This tells MX to go back a folder, then into /yourforums/. Full Portal URL This is pretty much self-explanatory. Type in the whole URL location of your /mxroot/ folder. It should be something like www.YOURDOMAIN.com/mx. Full phpBB URL This is again pretty much self-explanatory. Type in the whole URL location of your /yourforums/ folder. It should be something like www.YOURDOMAIN.com/phpBB2/.</list> </data> </chapter> </section> </book> |
|
From: Jon O. <jon...@us...> - 2005-12-16 19:07:38
|
Update of /cvsroot/mxbb/mx_phpbb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12097/modules/mx_phpbb Modified Files: mx_phpbb.pak Log Message: updated pak Index: mx_phpbb.pak =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/mx_phpbb.pak,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_phpbb.pak 20 Sep 2005 15:40:17 -0000 1.1 --- mx_phpbb.pak 16 Dec 2005 19:07:30 -0000 1.2 *************** *** 1,7 **** module=+:57=+:mx_phpbb=+:modules/mx_phpbb/=+:mxBB Forum Integration=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:57=+:101=+:phpBB=+:mxBB Forum Integration=+:mx_phpbb.php=+: ! parameter=+:101=+:336=+:Source_phpBB_Forums=+:phpbb_type_select=+:=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - phpBB=+:Demo block=+:101=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 --- 1,7 ---- module=+:57=+:mx_phpbb=+:modules/mx_phpbb/=+:mxBB Forum Integration=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:57=+:100=+:phpBB=+:mxBB Forum Integration=+:mx_phpbb.php=+: ! parameter=+:100=+:335=+:Source_phpBB_Forums=+:phpbb_type_select=+:=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - phpBB=+:Demo block=+:100=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 |
|
From: Jon O. <jon...@us...> - 2005-12-16 19:07:03
|
Update of /cvsroot/mxbb/mx_pafiledb/language/lang_english In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11983/modules/mx_pafiledb/language/lang_english Modified Files: lang_main.php Log Message: merging some of MH fixes Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/language/lang_english/lang_main.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** lang_main.php 23 Oct 2005 20:52:01 -0000 1.4 --- lang_main.php 16 Dec 2005 19:06:54 -0000 1.5 *************** *** 57,61 **** $lang['Viewall'] = 'View All Files'; $lang['Vainfo'] = 'View all of the files in the database'; ! $lang['Jump'] = 'Select a category'; $lang['Sub_category'] = 'Sub Category'; $lang['Last_file'] = 'Last File'; --- 57,63 ---- $lang['Viewall'] = 'View All Files'; $lang['Vainfo'] = 'View all of the files in the database'; ! $lang['Quick_nav'] = 'Quick Navigation'; ! $lang['Quick_jump'] = 'Select Category'; ! $lang['Quick_go'] = 'Go'; $lang['Sub_category'] = 'Sub Category'; $lang['Last_file'] = 'Last File'; *************** *** 243,247 **** $lang['Quickdl'] = 'Default Pa Cat'; ! $lang['Quickdl_explain'] = 'This is the default pafileDN category to display, if no mapping is activated'; $lang['Pa_updated_return_settings'] = "pafileDB QuickDL configuration updated successfully.<br /><br />Click %shere%s to return to main page."; // %s's for URI params - DO NOT REMOVE --- 245,249 ---- $lang['Quickdl'] = 'Default Pa Cat'; ! $lang['Quickdl_explain'] = 'This is the default pafileDB category to display, if no mapping is activated'; $lang['Pa_updated_return_settings'] = "pafileDB QuickDL configuration updated successfully.<br /><br />Click %shere%s to return to main page."; // %s's for URI params - DO NOT REMOVE *************** *** 263,265 **** --- 265,286 ---- $lang['kb_no_ratings'] = 'Disabled in this category'; + $lang['PA_Rules_upload_can'] = 'You <b>can</b> upload new files in this category'; + $lang['PA_Rules_upload_cannot'] = 'You <b>cannot</b> upload new files in this category'; + $lang['PA_Rules_download_can'] = 'You <b>can</b> download files in this category'; + $lang['PA_Rules_download_cannot'] = 'You <b>cannot</b> download files in this category'; + $lang['PA_Rules_post_comment_can'] = 'You <b>can</b> comment files in this category'; + $lang['PA_Rules_post_comment_cannot'] = 'You <b>cannot</b> comment files in this category'; + $lang['PA_Rules_view_comment_can'] = 'You <b>can</b> view comments in this category'; + $lang['PA_Rules_view_comment_cannot'] = 'You <b>cannot</b> view comments in this category'; + $lang['PA_Rules_view_file_can'] = 'You <b>can</b> see files in this category'; + $lang['PA_Rules_view_file_cannot'] = 'You <b>cannot</b> see files in this category'; + $lang['PA_Rules_edit_file_can'] = 'You <b>can</b> edit your files in this category'; + $lang['PA_Rules_edit_file_cannot'] = 'You <b>cannot</b> edit your files in this category'; + $lang['PA_Rules_delete_file_can'] = 'You <b>can</b> delete your files in this category'; + $lang['PA_Rules_delete_file_cannot'] = 'You <b>cannot</b> delete your files in this category'; + $lang['PA_Rules_rate_can'] = 'You <b>can</b> rate files in this category'; + $lang['PA_Rules_rate_cannot'] = 'You <b>cannot</b> rate files in this category'; + $lang['PA_Rules_moderate'] = 'You <b>can</b> %smoderate this category%s'; // %s replaced by a href links, do not remove! + $lang['PA_Rules_moderate_can'] = 'You <b>can</b> moderate this category'; // %s replaced by a href links, do not remove! + ?> \ No newline at end of file |
|
From: Jon O. <jon...@us...> - 2005-12-16 19:06:12
|
Update of /cvsroot/mxbb/mx_newssuite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11764/modules/mx_newssuite Modified Files: NewsSuite.pak Log Message: updated pak Index: NewsSuite.pak =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/NewsSuite.pak,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** NewsSuite.pak 22 Oct 2005 10:55:12 -0000 1.18 --- NewsSuite.pak 16 Dec 2005 19:06:04 -0000 1.19 *************** *** 19,26 **** parameter=+:47=+:100=+:news_mode_switch=+:Menu_single_select=+:Default_Block_Mode=+:a:3:{i:0;s:18:"Default_Block_Mode";i:1;s:14:"Newspaper_Mode";i:2;s:17:"Category_Nav_Mode";} parameter=+:47=+:312=+:news_mode_tagging=+:Boolean=+:0=+: ! parameter=+:47=+:331=+:news_sep_formatting=+:Separator=+:=+: ! parameter=+:47=+:332=+:news_sep_layout=+:Separator=+:=+: ! parameter=+:47=+:333=+:news_sep_sort=+:Separator=+:=+: ! parameter=+:47=+:334=+:news_sep_style=+:Separator=+:=+: parameter=+:47=+:95=+:news_show_title=+:Boolean=+:1=+: parameter=+:47=+:96=+:news_sort_method=+:Menu_single_select=+:Latest=+:a:5:{i:0;s:6:"Latest";i:1;s:8:"Creation";i:2;s:2:"Id";i:3;s:8:"Userrank";i:4;s:10:"Alphabetic";} --- 19,26 ---- parameter=+:47=+:100=+:news_mode_switch=+:Menu_single_select=+:Default_Block_Mode=+:a:3:{i:0;s:18:"Default_Block_Mode";i:1;s:14:"Newspaper_Mode";i:2;s:17:"Category_Nav_Mode";} parameter=+:47=+:312=+:news_mode_tagging=+:Boolean=+:0=+: ! parameter=+:47=+:326=+:news_sep_formatting=+:Separator=+:=+: ! parameter=+:47=+:327=+:news_sep_layout=+:Separator=+:=+: ! parameter=+:47=+:328=+:news_sep_sort=+:Separator=+:=+: ! parameter=+:47=+:329=+:news_sep_style=+:Separator=+:=+: parameter=+:47=+:95=+:news_show_title=+:Boolean=+:1=+: parameter=+:47=+:96=+:news_sort_method=+:Menu_single_select=+:Latest=+:a:5:{i:0;s:6:"Latest";i:1;s:8:"Creation";i:2;s:2:"Id";i:3;s:8:"Userrank";i:4;s:10:"Alphabetic";} |
|
From: Jon O. <jon...@us...> - 2005-12-16 19:04:20
|
Update of /cvsroot/mxbb/mx_kb/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11121/modules/mx_kb/includes Removed Files: functions_kb.php functions_kb_auth.php functions_kb_field.php functions_kb_mx.php kb_article.php kb_cat.php kb_constants.php kb_defs.php kb_footer.php kb_header.php kb_moderator.php kb_pages.php kb_post.php kb_rate.php kb_stats.php Log Message: some old functions were still left in the repository --- kb_stats.php DELETED --- --- kb_header.php DELETED --- --- kb_constants.php DELETED --- --- functions_kb_field.php DELETED --- --- functions_kb.php DELETED --- --- kb_footer.php DELETED --- --- kb_post.php DELETED --- --- kb_moderator.php DELETED --- --- kb_defs.php DELETED --- --- kb_pages.php DELETED --- --- functions_kb_mx.php DELETED --- --- functions_kb_auth.php DELETED --- --- kb_rate.php DELETED --- --- kb_cat.php DELETED --- --- kb_article.php DELETED --- |
|
From: Jon O. <jon...@us...> - 2005-12-16 19:04:17
|
Update of /cvsroot/mxbb/mx_kb/templates/subSilver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11121/modules/mx_kb/templates/subSilver Removed Files: kb_search_results.tpl Log Message: some old functions were still left in the repository --- kb_search_results.tpl DELETED --- |
|
From: Jon O. <jon...@us...> - 2005-12-16 19:01:17
|
Update of /cvsroot/mxbb/mx_gallery2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10097/modules/mx_gallery2 Modified Files: mx_gallery2.pak Log Message: updated pak Index: mx_gallery2.pak =================================================================== RCS file: /cvsroot/mxbb/mx_gallery2/mx_gallery2.pak,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_gallery2.pak 1 Oct 2005 08:52:41 -0000 1.2 --- mx_gallery2.pak 16 Dec 2005 19:01:04 -0000 1.3 *************** *** 1,20 **** module=+:58=+:mx_gallery2=+:modules/mx_gallery2/=+:Gallery Album Integration=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:58=+:102=+:GalleryBlock=+:This is a gallery embed object=+:gallery2.php=+: ! parameter=+:102=+:337=+:base_album=+:Text=+:=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - GalleryBlock=+:Demo block=+:102=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:58=+:103=+:Toplist=+:Recent - random - block=+:gallery2_toplist.php=+: ! parameter=+:103=+:345=+:g2_albumFrame=+:Text=+:=+: ! parameter=+:103=+:338=+:g2_blocks=+:Menu_single_select=+:randomImage=+:a:10:{i:0;s:11:"randomImage";i:1;s:11:"recentImage";i:2;s:11:"viewedImage";i:3;s:11:"randomAlbum";i:4;s:11:"recentAlbum";i:5;s:11:"viewedAlbum";i:6;s:10:"dailyImage";i:7;s:11:"weeklyImage";i:8;s:10:"dailyAlbum";i:9;s:11:"weeklyAlbum";} ! parameter=+:103=+:344=+:g2_itemFrame=+:Text=+:=+: ! parameter=+:103=+:343=+:g2_linkTarget=+:Radio_single_select=+:none=+:a:2:{i:0;s:4:"none";i:1;s:6:"_blank";} ! parameter=+:103=+:342=+:g2_maxSize=+:Number=+:150=+: ! parameter=+:103=+:339=+:g2_num_of_blocks=+:Number=+:3=+: ! parameter=+:103=+:340=+:g2_show=+:Checkbox_multiple_select=+:=+:a:7:{i:0;s:4:"none";i:1;s:5:"title";i:2;s:4:"date";i:3;s:5:"views";i:4;s:5:"owner";i:5;s:7:"heading";i:6;s:8:"fullSize";} ! parameter=+:103=+:341=+:g2_subtreeId=+:Number=+:=+: ! parameter=+:103=+:346=+:target_block=+:Function=+:=+:get_list_formatted("block_list","{parameter_value}","{parameter_id}[]", "gallery2.php") parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Toplist=+:Demo block=+:103=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 --- 1,20 ---- module=+:58=+:mx_gallery2=+:modules/mx_gallery2/=+:Gallery Album Integration=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:58=+:101=+:GalleryBlock=+:This is a gallery embed object=+:gallery2.php=+: ! parameter=+:101=+:336=+:base_album=+:Text=+:=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - GalleryBlock=+:Demo block=+:101=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:58=+:102=+:Toplist=+:Recent - random - block=+:gallery2_toplist.php=+: ! parameter=+:102=+:337=+:g2_albumFrame=+:Text=+:=+: ! parameter=+:102=+:338=+:g2_blocks=+:Menu_single_select=+:randomImage=+:a:10:{i:0;s:11:"randomImage";i:1;s:11:"recentImage";i:2;s:11:"viewedImage";i:3;s:11:"randomAlbum";i:4;s:11:"recentAlbum";i:5;s:11:"viewedAlbum";i:6;s:10:"dailyImage";i:7;s:11:"weeklyImage";i:8;s:10:"dailyAlbum";i:9;s:11:"weeklyAlbum";} ! parameter=+:102=+:339=+:g2_itemFrame=+:Text=+:=+: ! parameter=+:102=+:340=+:g2_linkTarget=+:Radio_single_select=+:none=+:a:2:{i:0;s:4:"none";i:1;s:6:"_blank";} ! parameter=+:102=+:341=+:g2_maxSize=+:Number=+:150=+: ! parameter=+:102=+:342=+:g2_num_of_blocks=+:Number=+:3=+: ! parameter=+:102=+:343=+:g2_show=+:Checkbox_multiple_select=+:=+:a:7:{i:0;s:4:"none";i:1;s:5:"title";i:2;s:4:"date";i:3;s:5:"views";i:4;s:5:"owner";i:5;s:7:"heading";i:6;s:8:"fullSize";} ! parameter=+:102=+:344=+:g2_subtreeId=+:Number=+:=+: ! parameter=+:102=+:345=+:target_block=+:Function=+:=+:get_list_formatted("block_list","{parameter_value}","{parameter_id}[]", "gallery2.php") parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Toplist=+:Demo block=+:102=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 |
|
From: Jon O. <jon...@us...> - 2005-12-16 19:00:01
|
Update of /cvsroot/mxbb/mx_calsnails In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9529/modules/mx_calsnails Modified Files: CalSnails_Lite.pak Log Message: updated pak Index: CalSnails_Lite.pak =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/CalSnails_Lite.pak,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** CalSnails_Lite.pak 12 Oct 2005 16:16:11 -0000 1.7 --- CalSnails_Lite.pak 16 Dec 2005 18:59:52 -0000 1.8 *************** *** 22,26 **** New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:42=+:44=+:CalSnails Mini=+:Calendar Lite (mini function)=+:mx_calendar_mini.php=+: ! parameter=+:44=+:329=+:target_block=+:Function=+:0=+:get_list_formatted("block_list","{parameter_value}","{parameter_id}[]", "calendar.php") parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - CalSnails Mini=+:Demo block=+:44=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 --- 22,26 ---- New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:42=+:44=+:CalSnails Mini=+:Calendar Lite (mini function)=+:mx_calendar_mini.php=+: ! parameter=+:44=+:325=+:target_block=+:Function=+:0=+:get_list_formatted("block_list","{parameter_value}","{parameter_id}[]", "calendar.php") parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - CalSnails Mini=+:Demo block=+:44=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 |
|
From: Jon O. <jon...@us...> - 2005-12-16 18:59:01
|
Update of /cvsroot/mxbb/core/modules/mx_textblocks/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9316/modules/mx_textblocks/admin Modified Files: mx_module_defs.php Log Message: a couple of commits - sprung from last day's intense bugtracking at mxbb-portal.com. be prepaired for more tonight. Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_textblocks/admin/mx_module_defs.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** mx_module_defs.php 14 Dec 2005 14:49:20 -0000 1.10 --- mx_module_defs.php 16 Dec 2005 18:58:45 -0000 1.11 *************** *** 78,82 **** $html_on = $parameter_opt['allow_html'] ? true : true; $smilies_on = $parameter_opt['allow_smilies'] ? true : true; ! //$board_config['allow_html_tags'] = $parameter_opt['allow_html_tags']; if( $bbcode_on ) --- 78,85 ---- $html_on = $parameter_opt['allow_html'] ? true : true; $smilies_on = $parameter_opt['allow_smilies'] ? true : true; ! ! // Remove allowed html tags ! $html_entities_match = array(); ! $html_entities_replace = array(); if( $bbcode_on ) *************** *** 89,96 **** $bbcode_on = false; $html_on = true; ! $smilies_on = false; $html_entities_match = array(); $html_entities_replace = array(); ! $bbcode_uid = 0; break; --- 92,102 ---- $bbcode_on = false; $html_on = true; ! $smilies_on = false; ! $bbcode_uid = 0; ! ! // Remove allowed html tags $html_entities_match = array(); $html_entities_replace = array(); ! break; *************** *** 247,251 **** function display_edit_CustomizedTextBlock( $block_id, $parameter_id, $parameter_data ) { ! global $template, $board_config, $db, $theme, $lang, $images, $mx_blockcp, $mx_root_path, $phpEx, $mx_table_prefix, $table_prefix; global $HTTP_POST_VARS; --- 253,257 ---- function display_edit_CustomizedTextBlock( $block_id, $parameter_id, $parameter_data ) { ! global $template, $board_config, $db, $theme, $lang, $images, $mx_blockcp, $mx_root_path, $phpEx, $mx_table_prefix, $table_prefix, $html_entities_match, $html_entities_replace; global $HTTP_POST_VARS; *************** *** 256,260 **** $html_on = true? true : false; $smilies_on = true? true : false; ! $board_config['allow_html_tags'] = ''; $bbcode_uid = $parameter_data['parameter_opt']; --- 262,270 ---- $html_on = true? true : false; $smilies_on = true? true : false; ! ! // Remove allowed html tags ! $html_entities_match = array(); ! $html_entities_replace = array(); ! $bbcode_uid = $parameter_data['parameter_opt']; *************** *** 357,361 **** function display_edit_WysiwygTextBlock( $block_id, $parameter_id, $parameter_data ) { ! global $template, $board_config, $db, $theme, $lang, $images, $mx_blockcp, $mx_root_path, $phpEx, $mx_table_prefix, $table_prefix; global $HTTP_POST_VARS; --- 367,371 ---- function display_edit_WysiwygTextBlock( $block_id, $parameter_id, $parameter_data ) { ! global $template, $board_config, $db, $theme, $lang, $images, $mx_blockcp, $mx_root_path, $phpEx, $mx_table_prefix, $table_prefix, $html_entities_match, $html_entities_replace; global $HTTP_POST_VARS; *************** *** 366,370 **** $html_on = true; $smilies_on = false; ! $board_config['allow_html_tags'] = ''; // --- 376,383 ---- $html_on = true; $smilies_on = false; ! ! // Remove allowed html tags ! $html_entities_match = array(); ! $html_entities_replace = array(); // *************** *** 437,441 **** function preview($text, $html_on, $bbcode_on, $smilies_on, $is_html_textblock = false) { ! global $board_config, $template, $lang; $preview_text = $text; --- 450,454 ---- function preview($text, $html_on, $bbcode_on, $smilies_on, $is_html_textblock = false) { ! global $board_config, $template, $lang, $html_entities_match, $html_entities_replace; $preview_text = $text; *************** *** 445,453 **** obtain_word_list($orig_word, $replacement_word); ! if (!$is_html_textblock) ! { ! $bbcode_uid = ( $bbcode_on ) ? make_bbcode_uid() : ''; ! $preview_text = stripslashes(prepare_message(addslashes(unprepare_message($preview_text)), $html_on, $bbcode_on, $smilies_on, $bbcode_uid)); ! } if( $bbcode_on ) --- 458,463 ---- obtain_word_list($orig_word, $replacement_word); ! $bbcode_uid = ( $bbcode_on ) ? make_bbcode_uid() : ''; ! $preview_text = stripslashes(prepare_message(addslashes(unprepare_message($preview_text)), $html_on, $bbcode_on, $smilies_on, $bbcode_uid)); if( $bbcode_on ) |
|
From: Jon O. <jon...@us...> - 2005-12-16 18:58:56
|
Update of /cvsroot/mxbb/core/modules/mx_textblocks In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9316/modules/mx_textblocks Modified Files: TextBlocks.pak Log Message: a couple of commits - sprung from last day's intense bugtracking at mxbb-portal.com. be prepaired for more tonight. Index: TextBlocks.pak =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_textblocks/TextBlocks.pak,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** TextBlocks.pak 22 Oct 2005 10:51:03 -0000 1.9 --- TextBlocks.pak 16 Dec 2005 18:58:45 -0000 1.10 *************** *** 1,3 **** ! module=+:20=+:Text Blocks=+:modules/mx_textblocks/=+:Textblocks module=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:20=+:20=+:TextBlock (phpBB)=+:BBcodes, html and smilies usage defined by phpBB config=+:mx_textblock_bbcode.php=+: --- 1,3 ---- ! module=+:20=+:Text Blocks=+:modules/mx_textblocks/=+:Textblocks module=+: New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:20=+:20=+:TextBlock (phpBB)=+:BBcodes, html and smilies usage defined by phpBB config=+:mx_textblock_bbcode.php=+: *************** *** 17,25 **** New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:20=+:22=+:TextBlock (Customized)=+:Textblock, featuring block defined settings=+:mx_textblock_multi.php=+: ! parameter=+:22=+:325=+:allow_bbcode=+:Boolean=+:TRUE=+: ! parameter=+:22=+:326=+:allow_html=+:Boolean=+:TRUE=+: ! parameter=+:22=+:327=+:allow_smilies=+:Boolean=+:TRUE=+: parameter=+:22=+:52=+:block_style=+:Boolean=+:TRUE=+: ! parameter=+:22=+:328=+:html_tags=+:Text=+:b,i,u,img=+: parameter=+:22=+:50=+:Text=+:CustomizedTextBlock=+:Enter your block text here=+: parameter=+:22=+:51=+:text_style=+:Text=+:none=+: --- 17,25 ---- New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:20=+:22=+:TextBlock (Customized)=+:Textblock, featuring block defined settings=+:mx_textblock_multi.php=+: ! parameter=+:22=+:330=+:allow_bbcode=+:Boolean=+:TRUE=+: ! parameter=+:22=+:331=+:allow_html=+:Boolean=+:TRUE=+: ! parameter=+:22=+:332=+:allow_smilies=+:Boolean=+:TRUE=+: parameter=+:22=+:52=+:block_style=+:Boolean=+:TRUE=+: ! parameter=+:22=+:333=+:html_tags=+:Text=+:b,i,u,img=+: parameter=+:22=+:50=+:Text=+:CustomizedTextBlock=+:Enter your block text here=+: parameter=+:22=+:51=+:text_style=+:Text=+:none=+: |
|
From: Jon O. <jon...@us...> - 2005-12-16 18:58:56
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9316/modules/mx_navmenu Modified Files: NavigationMenu.pak Log Message: a couple of commits - sprung from last day's intense bugtracking at mxbb-portal.com. be prepaired for more tonight. Index: NavigationMenu.pak =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_navmenu/NavigationMenu.pak,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** NavigationMenu.pak 22 Oct 2005 10:51:02 -0000 1.2 --- NavigationMenu.pak 16 Dec 2005 18:58:45 -0000 1.3 *************** *** 4,8 **** parameter=+:11=+:63=+:menu_display_mode=+:Radio_single_select=+:Vertical=+:a:2:{i:0;s:8:"Vertical";i:1;s:10:"Horizontal";} parameter=+:11=+:64=+:menu_page_sync=+:Boolean=+:0=+: ! parameter=+:11=+:330=+:Nav menu=+:nav_menu=+:=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - Navigation Menu=+:Demo block=+:11=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 --- 4,8 ---- parameter=+:11=+:63=+:menu_display_mode=+:Radio_single_select=+:Vertical=+:a:2:{i:0;s:8:"Vertical";i:1;s:10:"Horizontal";} parameter=+:11=+:64=+:menu_page_sync=+:Boolean=+:0=+: ! parameter=+:11=+:334=+:Nav menu=+:nav_menu=+:=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - Navigation Menu=+:Demo block=+:11=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 |
|
From: Jon O. <jon...@us...> - 2005-12-16 18:58:53
|
Update of /cvsroot/mxbb/core/modules/mx_coreblocks In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9316/modules/mx_coreblocks Modified Files: CoreBlocks.pak mx_poll.php Log Message: a couple of commits - sprung from last day's intense bugtracking at mxbb-portal.com. be prepaired for more tonight. Index: mx_poll.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/mx_poll.php,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** mx_poll.php 24 Oct 2005 20:12:59 -0000 1.25 --- mx_poll.php 16 Dec 2005 18:58:45 -0000 1.26 *************** *** 226,230 **** { $vote_percent = ( $vote_results_sum > 0 ) ? $vote_info[$i]['vote_result'] / $vote_results_sum : 0; ! $vote_graphic_length = is_numeric($block_size) ? round($vote_percent * ( $block_size - 50 )) : $vote_percent * 400; $vote_graphic_img = $images['voting_graphic'][$vote_graphic]; --- 226,230 ---- { $vote_percent = ( $vote_results_sum > 0 ) ? $vote_info[$i]['vote_result'] / $vote_results_sum : 0; ! $vote_graphic_length = is_numeric($block_size) ? round($vote_percent * ( $block_size - 50 )) : $vote_percent * 200; $vote_graphic_img = $images['voting_graphic'][$vote_graphic]; Index: CoreBlocks.pak =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/CoreBlocks.pak,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** CoreBlocks.pak 20 Sep 2005 15:30:58 -0000 1.7 --- CoreBlocks.pak 16 Dec 2005 18:58:45 -0000 1.8 *************** *** 46,50 **** New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:10=+:19=+:Multiple Horizontal Blocks=+:Block that can arrange other blocks in a horizontal line.=+:mx_multiple_blocks.php=+: ! parameter=+:19=+:60=+:block_ids=+:Function=+:1,2,3=+:get_list_multiple( "{parameter_id}[]", BLOCK_TABLE, 'block_id', 'block_title', "{parameter_value}", TRUE) parameter=+:19=+:61=+:block_sizes=+:Text=+:20%,30%,*=+: parameter=+:19=+:62=+:space_between=+:Number=+:4=+: --- 46,50 ---- New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:10=+:19=+:Multiple Horizontal Blocks=+:Block that can arrange other blocks in a horizontal line.=+:mx_multiple_blocks.php=+: ! parameter=+:19=+:60=+:block_ids=+:Function=+:1,2,3=+:get_list_multiple( "{parameter_id}[]", BLOCK_TABLE, 'block_id', 'block_title', "{parameter_value}", TRUE, 'block_desc') parameter=+:19=+:61=+:block_sizes=+:Text=+:20%,30%,*=+: parameter=+:19=+:62=+:space_between=+:Number=+:4=+: *************** *** 62,65 **** --- 62,69 ---- block=+:=+:Demo - Polls=+:Demo block=+:12=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 + function=+:10=+:104=+:Search=+:Site Search=+:mx_search.php=+: + parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 + block=+:=+:Demo - Search=+:Demo block=+:104=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 + New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:10=+:97=+:Site Log=+:Site change monitor=+:mx_site_log.php=+: parameter=+:97=+:317=+:log_filter_date=+:Menu_single_select=+:1 month=+:a:12:{i:0;s:8:"no limit";i:1;s:5:"1 day";i:2;s:6:"2 days";i:3;s:6:"3 days";i:4;s:6:"1 week";i:5;s:7:"2 weeks";i:6;s:7:"3 weeks";i:7;s:7:"1 month";i:8;s:8:"2 months";i:9;s:8:"3 months";i:10;s:8:"6 months";i:11;s:6:"1 year";} |
|
From: Jon O. <jon...@us...> - 2005-12-16 18:58:53
|
Update of /cvsroot/mxbb/core/modules/mx_rebuild_search_tables In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9316/modules/mx_rebuild_search_tables Modified Files: Rebuild Search Tables.pak Log Message: a couple of commits - sprung from last day's intense bugtracking at mxbb-portal.com. be prepaired for more tonight. Index: Rebuild Search Tables.pak =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_rebuild_search_tables/Rebuild Search Tables.pak,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Rebuild Search Tables.pak 22 Oct 2005 23:54:37 -0000 1.1 --- Rebuild Search Tables.pak 16 Dec 2005 18:58:45 -0000 1.2 *************** *** 1,2 **** ! module=+:54=+:Rebuild Search Tables=+:modules/mx_rebuild_search_tables/=+:=+:1 ! function=+:0=+:0=+:0=+:endoflist=+:0=+:0 \ No newline at end of file --- 1,2 ---- ! module=+:54=+:Reguild Search Tables=+:modules/mx_rebuild_search_tables/=+:=+:1 ! function=+:0=+:0=+:0=+:endoflist=+:0=+:0 |
|
From: Jon O. <jon...@us...> - 2005-12-16 18:58:53
|
Update of /cvsroot/mxbb/core/install/schemas In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9316/install/schemas Modified Files: mysql_schema_install.sql Log Message: a couple of commits - sprung from last day's intense bugtracking at mxbb-portal.com. be prepaired for more tonight. Index: mysql_schema_install.sql =================================================================== RCS file: /cvsroot/mxbb/core/install/schemas/mysql_schema_install.sql,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** mysql_schema_install.sql 14 Dec 2005 13:24:44 -0000 1.12 --- mysql_schema_install.sql 16 Dec 2005 18:58:45 -0000 1.13 *************** *** 1,5 **** # MySQL-Front Dump 2.4 # ! # Host: localhost Database: core_28 #-------------------------------------------------------- # Server version 3.23.51-nt --- 1,5 ---- # MySQL-Front Dump 2.4 # ! # Host: localhost Database: core 2.8.x #-------------------------------------------------------- # Server version 3.23.51-nt |
|
From: Jon O. <jon...@us...> - 2005-12-16 18:58:52
|
Update of /cvsroot/mxbb/core/install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9316/install Modified Files: mx_install.php Log Message: a couple of commits - sprung from last day's intense bugtracking at mxbb-portal.com. be prepaired for more tonight. Index: mx_install.php =================================================================== RCS file: /cvsroot/mxbb/core/install/mx_install.php,v retrieving revision 1.57 retrieving revision 1.58 diff -C2 -d -r1.57 -r1.58 *** mx_install.php 14 Dec 2005 13:49:08 -0000 1.57 --- mx_install.php 16 Dec 2005 18:58:45 -0000 1.58 *************** *** 48,52 **** // $mx_portal_name = 'mxBB-Portal'; ! $mx_portal_version = '2.8.1 rc7'; // --- 48,52 ---- // $mx_portal_name = 'mxBB-Portal'; ! $mx_portal_version = '2.8.0b1'; // *************** *** 54,58 **** // This is shown in the top right corner of the installation panels. // ! define('INSTALLER_VERSION', '2.0.2'); define('INSTALLER_NAME', 'mxBB-IWizard'); --- 54,58 ---- // This is shown in the top right corner of the installation panels. // ! define('INSTALLER_VERSION', '2.0.3'); define('INSTALLER_NAME', 'mxBB-IWizard'); |