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-09-22 10:12:10
|
Update of /cvsroot/mxbb/mx_profilecp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8623/modules/mx_profilecp Modified Files: db_install.php db_uninstall.php db_upgrade.php Log Message: updating Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/db_uninstall.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** db_uninstall.php 16 Jan 2005 01:04:14 -0000 1.4 --- db_uninstall.php 22 Sep 2005 10:11:46 -0000 1.5 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 24,33 **** if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); - // Start session management - $userdata = session_pagestart( $user_ip, PAGE_INDEX ); mx_init_userprefs( $userdata ); --- 23,30 ---- if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); // Start session management $userdata = session_pagestart( $user_ip, PAGE_INDEX ); mx_init_userprefs( $userdata ); *************** *** 35,49 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } - // End session management - } $sql = array( "ALTER TABLE " . $table_prefix . "users DROP user_realname ", --- 32,45 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } + $sql = array( "ALTER TABLE " . $table_prefix . "users DROP user_realname ", *************** *** 81,90 **** ); - $message .= mx_do_install_upgrade( $sql ); - echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; ! echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $message . "</span></td></tr>"; echo "</table><br />"; --- 77,84 ---- ); echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; ! echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . mx_do_install_upgrade( $sql ) . "</span></td></tr>"; echo "</table><br />"; Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/db_install.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** db_install.php 6 Mar 2005 01:13:15 -0000 1.5 --- db_install.php 22 Sep 2005 10:11:46 -0000 1.6 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 22,37 **** define( 'IN_PORTAL', true ); - - $mx_module_version = 'mxBB profileCP Module 2.0.0'; - $mx_module_copy = 'Based on <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=150925" target="_phpbb" >Ptirhiik - RPGnet-fr ©2002</a>'; - if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); - // Start session management - $userdata = session_pagestart( $user_ip, PAGE_INDEX ); mx_init_userprefs( $userdata ); --- 21,30 ---- define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); // Start session management $userdata = session_pagestart( $user_ip, PAGE_INDEX ); mx_init_userprefs( $userdata ); *************** *** 39,53 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } - // End session management - } if ( !$result = $db->sql_query( "SELECT user_realname from " . $mx_table . "users" ) ) { --- 32,48 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } + + $mx_module_version = 'mxBB profileCP Module 2.0.0'; + $mx_module_copy = 'Based on <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=150925" target="_phpbb" >Ptirhiik Profile Control Panel 2.0 - rpgnet.clanmckeen.com ©2002</a>'; + if ( !$result = $db->sql_query( "SELECT user_realname from " . $mx_table . "users" ) ) { Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/db_upgrade.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** db_upgrade.php 6 Mar 2005 01:13:15 -0000 1.4 --- db_upgrade.php 22 Sep 2005 10:11:46 -0000 1.5 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 22,37 **** define( 'IN_PORTAL', true ); - - $mx_module_version = 'mxBB profileCP Module 2.0.0'; - $mx_module_copy = 'Based on <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=150925" target="_phpbb" >Ptirhiik - RPGnet-fr ©2002</a>'; - if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); - // Start session management - $userdata = session_pagestart( $user_ip, PAGE_INDEX ); mx_init_userprefs( $userdata ); --- 21,30 ---- define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); // Start session management $userdata = session_pagestart( $user_ip, PAGE_INDEX ); mx_init_userprefs( $userdata ); *************** *** 39,54 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } - // End session management - } $sql = array(); --- 32,48 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } + $mx_module_version = 'mxBB profileCP Module 2.0.0'; + $mx_module_copy = 'Based on <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=150925" target="_phpbb" >Ptirhiik - RPGnet-fr ©2002</a>'; + $sql = array(); |
|
From: Jon O. <jon...@us...> - 2005-09-22 10:12:09
|
Update of /cvsroot/mxbb/mx_profilecp/templates/subSilver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8623/modules/mx_profilecp/templates/subSilver Modified Files: buddy_body.tpl privmsgs_body.tpl Log Message: updating Index: buddy_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/templates/subSilver/buddy_body.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** buddy_body.tpl 18 Feb 2005 10:09:23 -0000 1.3 --- buddy_body.tpl 22 Sep 2005 10:11:46 -0000 1.4 *************** *** 151,155 **** <tr> <td valign="top" align="center" colspan="2"> ! <table cellpadding="4" cellspacing="1" border="0" class="forumline" width="100%"> <tr> <th width="1%" align="center"><span class="genmed">#</span></th> --- 151,155 ---- <tr> <td valign="top" align="center" colspan="2"> ! <table cellpadding="3" cellspacing="1" border="0" class="forumline" width="100%"> <tr> <th width="1%" align="center"><span class="genmed">#</span></th> *************** *** 174,183 **** <!-- BEGIN select --> <tr> ! <td class="catBottom" colspan="{ROW_SPAN}" align="left" valign="top" nowrap="nowrap"> ! <span class="genmed"> ! <input type="text" class="post" name="username" maxlength="50" size="20" /> ! <input type="submit" name="adduser" value="{L_ADD_MEMBER}" class="mainoption" /> <input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="liteoption" onClick="window.open('{U_SEARCH_USER}', '_phpbbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" /> ! <input type="submit" name="remove" class="liteoption" value="{L_REMOVE_SELECTED}"> </span> </td> --- 174,183 ---- <!-- BEGIN select --> <tr> ! <td class="catBottom" colspan="{ROW_SPAN}" align="center" valign="top" nowrap="nowrap"> ! <span class="gensmall"> ! <input type="text" class="post" name="username" maxlength="40" size="20" /> ! <input type="submit" name="adduser" value="{L_ADD_MEMBER}" class="mainoption" /> <input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="liteoption" onClick="window.open('{U_SEARCH_USER}', '_phpbbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" /> ! <input type="submit" name="remove" class="liteoption" value="{L_REMOVE_SELECTED}" /> </span> </td> Index: privmsgs_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/templates/subSilver/privmsgs_body.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** privmsgs_body.tpl 29 Jun 2004 22:27:48 -0000 1.1 --- privmsgs_body.tpl 22 Sep 2005 10:11:46 -0000 1.2 *************** *** 79,87 **** <table border="0" cellpadding="3" cellspacing="1" width="100%" class="forumline"> <tr> ! <th width="5%" nowrap="nowrap"> {L_FLAG} </th> ! <th width="55%" nowrap="nowrap"> {L_SUBJECT} </th> ! <th width="20%" nowrap="nowrap"> {L_FROM_OR_TO} </th> ! <th width="15%" nowrap="nowrap"> {L_DATE} </th> ! <th width="5%" nowrap="nowrap"> <input type="checkbox" name="all_mark" value="{L_SELECT}" onClick="check_uncheck_all();"> </th> </tr> <!-- BEGIN listrow --> --- 79,87 ---- <table border="0" cellpadding="3" cellspacing="1" width="100%" class="forumline"> <tr> ! <th width="5%" nowrap="nowrap" class="mxthHead"> {L_FLAG} </th> ! <th width="55%" nowrap="nowrap" class="mxthHead"> {L_SUBJECT} </th> ! <th width="20%" nowrap="nowrap" class="mxthHead"> {L_FROM_OR_TO} </th> ! <th width="15%" nowrap="nowrap" class="mxthHead"> {L_DATE} </th> ! <th width="5%" nowrap="nowrap" class="mxthHead"> <input type="checkbox" name="all_mark" value="{L_SELECT}" onClick="check_uncheck_all();"> </th> </tr> <!-- BEGIN listrow --> |
|
From: Jon O. <jon...@us...> - 2005-09-22 10:12:09
|
Update of /cvsroot/mxbb/mx_profilecp/profilcp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8623/modules/mx_profilecp/profilcp Modified Files: functions_profile.php profilcp_activate.php profilcp_email.php Log Message: updating Index: profilcp_email.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/profilcp_email.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** profilcp_email.php 16 Sep 2004 20:05:09 -0000 1.3 --- profilcp_email.php 22 Sep 2005 10:11:46 -0000 1.4 *************** *** 54,62 **** if ( !$userdata['session_logged_in'] ) { $redirect = str_replace("?", "&", this_profile_mxurl("mode=email&" . POST_USERS_URL . "=$user_id") ); mx_redirect(append_sid($mx_root_path . "login.$phpEx?redirect=". $redirect, true)); - // mx_redirect(append_sid($mx_root_path . "login.$phpEx?redirect=".this_profile_mxurl("mode=email&" . POST_USERS_URL . "=$user_id"), true)); - // redirect(append_sid("login.$phpEx?redirect=profile.$phpEx&mode=email&" . POST_USERS_URL . "=$user_id", true)); - // redirect(append_sid("login.$phpEx?redirect=" . ( $is_block ? "index.$phpEx&page=$page_id&mode=" : "profile.$phpEx&mode=" ) . "email&" . POST_USERS_URL . "=$user_id", true)); } --- 54,61 ---- if ( !$userdata['session_logged_in'] ) { + //redirect(append_sid("login.$phpEx?redirect=profile.$phpEx&mode=email&" . POST_USERS_URL . "=$user_id", true)); + $redirect = str_replace("?", "&", this_profile_mxurl("mode=email&" . POST_USERS_URL . "=$user_id") ); mx_redirect(append_sid($mx_root_path . "login.$phpEx?redirect=". $redirect, true)); } *************** *** 82,91 **** if ( isset($HTTP_POST_VARS['submit']) ) { - // session id check - if ( ($sid == '' || $sid != $userdata['session_id']) && !defined('NO_SID') ) - { - message_die(GENERAL_ERROR, 'Invalid_session'); - } - $error = FALSE; --- 81,84 ---- *************** *** 123,139 **** $emailer = new emailer($board_config['smtp_delivery']); ! //-- mod : profilcp -------------------------------------------------------------------------------- ! $email_headers = ''; ! switch ( $board_config['version'] ) ! { ! case '.0.4': ! $email_headers = 'Return-Path: ' . $userdata['user_email'] . "\nFrom: " . $userdata['user_email'] . "\n"; ! break; ! default: ! $emailer->from($userdata['user_email']); ! $emailer->replyto($userdata['user_email']); ! break; ! } ! //-- fin mod : profilcp ---------------------------------------------------------------------------- $email_headers .= 'X-AntiAbuse: Board servername - ' . $server_name . "\n"; --- 116,121 ---- $emailer = new emailer($board_config['smtp_delivery']); ! $emailer->from($userdata['user_email']); ! $emailer->replyto($userdata['user_email']); $email_headers .= 'X-AntiAbuse: Board servername - ' . $server_name . "\n"; *************** *** 172,175 **** --- 154,158 ---- } //-- fin mod : profilcp ---------------------------------------------------------------------------- + $emailer->use_template('profile_send_email'); $emailer->email_address($userdata['user_email']); *************** *** 177,180 **** --- 160,164 ---- $emailer->extra_headers($email_headers); + $emailer->assign_vars(array( 'SITENAME' => $board_config['sitename'], Index: profilcp_activate.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/profilcp_activate.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** profilcp_activate.php 29 Jun 2004 22:27:47 -0000 1.2 --- profilcp_activate.php 22 Sep 2005 10:11:46 -0000 1.3 *************** *** 57,60 **** --- 57,65 ---- else if ((trim($row['user_actkey']) == trim($HTTP_GET_VARS['act_key'])) && (trim($row['user_actkey']) != '')) { + if (intval($board_config['require_activation']) == USER_ACTIVATION_ADMIN && $userdata['user_level'] != ADMIN) + { + message_die(GENERAL_MESSAGE, $lang['Not_Authorised']); + } + $sql_update_pass = ( $row['user_newpasswd'] != '' ) ? ", user_password = '" . str_replace("\'", "''", $row['user_newpasswd']) . "', user_newpasswd = ''" : ''; Index: functions_profile.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/functions_profile.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** functions_profile.php 1 Feb 2005 20:59:39 -0000 1.6 --- functions_profile.php 22 Sep 2005 10:11:46 -0000 1.7 *************** *** 262,266 **** } ! function check_image_type(&$type, &$error, &$error_msg) { global $lang; --- 262,266 ---- } ! function pcp_check_image_type(&$type, &$error, &$error_msg) { global $lang; *************** *** 427,431 **** } ! if ( !($imgtype = check_image_type($avatar_filetype, $error, $error_msg)) ) { return; --- 427,431 ---- } ! if ( !($imgtype = pcp_check_image_type($avatar_filetype, $error, $error_msg)) ) { return; |
|
From: Jon O. <jon...@us...> - 2005-09-22 10:11:14
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8476/modules/mx_pafiledb/pafiledb/includes Modified Files: functions.php template.php Log Message: updating Index: template.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/template.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** template.php 9 Jan 2005 21:44:14 -0000 1.5 --- template.php 22 Sep 2005 10:11:02 -0000 1.6 *************** *** 137,143 **** return ( substr( $filename, 0, 1 ) != '/' ) ? $this->root . '/' . $filename : $filename; // Added for mx...to use default theme is theme folder doesn't exist ! }elseif ( file_exists( $module_root_path . 'templates/subSilver/' . $filename ) ) { ! return ( substr( $filename, 0, 1 ) != '/' ) ? $module_root_path . 'templates/subSilver/' : $filename; } } --- 137,144 ---- return ( substr( $filename, 0, 1 ) != '/' ) ? $this->root . '/' . $filename : $filename; // Added for mx...to use default theme is theme folder doesn't exist ! } ! elseif ( file_exists( $module_root_path . 'templates/subSilver/' . $filename ) ) { ! return ( substr( $filename, 0, 1 ) != '/' ) ? $module_root_path . 'templates/subSilver/' . $filename : $filename; } } Index: functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** functions.php 1 May 2005 16:41:29 -0000 1.14 --- functions.php 22 Sep 2005 10:11:02 -0000 1.15 *************** *** 639,643 **** */ // MX ! include_once( $mx_root_path . 'includes/page_header.' . $phpEx ); } --- 639,643 ---- */ // MX ! //include_once( $mx_root_path . 'includes/page_header.' . $phpEx ); } *************** *** 758,762 **** if ( !$is_block ) { ! include( $mx_root_path . 'includes/page_tail.' . $phpEx ); } } --- 758,762 ---- if ( !$is_block ) { ! //include( $mx_root_path . 'includes/page_tail.' . $phpEx ); } } |
|
From: Jon O. <jon...@us...> - 2005-09-22 10:11:11
|
Update of /cvsroot/mxbb/mx_pafiledb/templates/subSilver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8476/modules/mx_pafiledb/templates/subSilver Modified Files: pa_header.tpl Log Message: updating Index: pa_header.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/templates/subSilver/pa_header.tpl,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** pa_header.tpl 11 Apr 2005 17:55:43 -0000 1.6 --- pa_header.tpl 22 Sep 2005 10:11:02 -0000 1.7 *************** *** 64,68 **** ! <table width="40%" cellpadding="3" cellspacing="1"> <tr> <td align="center"> --- 64,68 ---- ! <table cellpadding="3" cellspacing="1"> <tr> <td align="center"> |
|
From: Jon O. <jon...@us...> - 2005-09-22 10:11:11
|
Update of /cvsroot/mxbb/mx_pafiledb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8476/modules/mx_pafiledb Modified Files: db_install.php db_uninstall.php db_upgrade.php dload.php pafiledb.pak Log Message: updating Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/db_install.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** db_install.php 21 Apr 2005 20:55:42 -0000 1.14 --- db_install.php 22 Sep 2005 10:11:02 -0000 1.15 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 22,32 **** define( 'IN_PORTAL', true ); - $mx_root_path = './../'; - - $mx_module_version = 'mxBB pafileDB Module 2.0.1'; - $mx_module_copy = 'Based on <a href="http://www.phparena.net/" target="_phpbb" >PHP Arena, pafileDB 3.0</a> & <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=56035" target="_phpbb" >Mohd pafileDB 0.0.9d</a>'; - if ( !defined( 'IN_ADMIN' ) ) { include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); --- 21,27 ---- define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { + $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); *************** *** 37,50 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management } // For compatibility with core 2.7.+ define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); --- 32,48 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } + $mx_module_version = 'mxBB pafileDB Module 2.0.1'; + $mx_module_copy = 'Based on <a href="http://www.phparena.net/" target="_phpbb" >PHP Arena, pafileDB 3.0</a> & <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=56035" target="_phpbb" >Mohd pafileDB 0.0.9d</a>'; + // For compatibility with core 2.7.+ define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); Index: pafiledb.pak =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb.pak,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** pafiledb.pak 21 Apr 2005 20:55:42 -0000 1.9 --- pafiledb.pak 22 Sep 2005 10:11:02 -0000 1.10 *************** *** 7,23 **** function=+:46=+:57=+:PafileDB_list=+:PafileDB download toplists=+:dload_lists.php=+: parameter=+:57=+:154=+:display_latest_posts=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:57=+:151=+:display_most_posts=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:57=+:152=+:display_random_posts=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:57=+:153=+:display_top_ranked=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:57=+:155=+:num_of_cols=+:Number=+:1=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:57=+:156=+:num_of_rows=+:Number=+:3=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:57=+:157=+:target_block=+:Function=+:0=+:get_list_formatted("block_list","{parameter_value}","{parameter_id}[]", "dload.php") - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - PafileDB_list=+:Demo block=+:57=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 --- 7,16 ---- *************** *** 25,31 **** function=+:46=+:99=+:Quick dl=+:Quick download block - blog=+:dload_quickdl.php=+:modules/mx_pafiledb/admin/pa_block_config.php parameter=+:99=+:324=+:pa_mapping=+:Text=+:=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:99=+:323=+:pa_quick_cat=+:Text=+:1=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - Quick dl=+:Demo block=+:99=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 --- 18,22 ---- Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/db_uninstall.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** db_uninstall.php 1 May 2005 16:41:28 -0000 1.8 --- db_uninstall.php 22 Sep 2005 10:11:02 -0000 1.9 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 24,28 **** if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); --- 23,27 ---- if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); *************** *** 33,42 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management --- 32,41 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management *************** *** 65,74 **** ); - $message .= mx_do_install_upgrade( $sql ); - echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; ! echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $message . "</span></td></tr>"; echo "</table><br />"; --- 64,71 ---- ); echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; ! echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . mx_do_install_upgrade( $sql ) . "</span></td></tr>"; echo "</table><br />"; Index: dload.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/dload.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** dload.php 20 Aug 2005 18:24:28 -0000 1.11 --- dload.php 22 Sep 2005 10:11:02 -0000 1.12 *************** *** 102,106 **** --- 102,108 ---- */ // MX + include_once( $module_root_path . 'pafiledb/pafiledb_common.' . $phpEx ); + // =================================================== // Get action variable other wise set it to the main Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/db_upgrade.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** db_upgrade.php 21 Apr 2005 20:55:42 -0000 1.8 --- db_upgrade.php 22 Sep 2005 10:11:02 -0000 1.9 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 22,33 **** define( 'IN_PORTAL', true ); - $mx_root_path = './../'; - - $mx_module_version = 'mxBB pafileDB Module 2.0.1'; - $mx_module_copy = 'Based on <a href="http://www.phparena.net/" target="_phpbb" >PHP Arena, pafileDB 3.0</a> & <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=56035" target="_phpbb" >Mohd pafileDB 0.0.9d</a>'; - if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); --- 21,27 ---- define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); *************** *** 38,51 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management } // For compatibility with core 2.7.+ define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); --- 32,48 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } + $mx_module_version = 'mxBB pafileDB Module 2.0.1'; + $mx_module_copy = 'Based on <a href="http://www.phparena.net/" target="_phpbb" >PHP Arena, pafileDB 3.0</a> & <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=56035" target="_phpbb" >Mohd pafileDB 0.0.9d</a>'; + // For compatibility with core 2.7.+ define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); |
|
From: Jon O. <jon...@us...> - 2005-09-22 10:11:10
|
Update of /cvsroot/mxbb/mx_pafiledb/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8476/modules/mx_pafiledb/admin Modified Files: admin_pa_catauth.php admin_pa_category.php admin_pa_custom.php admin_pa_fchecker.php admin_pa_file.php admin_pa_license.php admin_pa_settings.php admin_pa_ug_auth.php Log Message: updating Index: admin_pa_category.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pa_category.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** admin_pa_category.php 1 May 2005 16:41:27 -0000 1.10 --- admin_pa_category.php 22 Sep 2005 10:11:01 -0000 1.11 *************** *** 20,23 **** --- 20,26 ---- if ( file_exists( './../viewtopic.php' ) ) { + // + // phpBB MOD mode + // define( 'IN_PHPBB', 1 ); define( 'IN_PORTAL', 1 ); *************** *** 58,62 **** $file = basename( __FILE__ ); ! $module['pafileDB_Download']['1_Cat_manage_title'] = $module_root_path . 'admin/' . $file; return; } --- 61,65 ---- $file = basename( __FILE__ ); ! $module['pafileDB_Download']['1_Cat_manage_title'] = 'modules/mx_pafiledb/admin/' . $file; return; } Index: admin_pa_file.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pa_file.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** admin_pa_file.php 1 May 2005 16:41:28 -0000 1.13 --- admin_pa_file.php 22 Sep 2005 10:11:01 -0000 1.14 *************** *** 20,23 **** --- 20,26 ---- if ( file_exists( './../viewtopic.php' ) ) { + // + // phpBB MOD mode + // define( 'IN_PHPBB', 1 ); define( 'IN_PORTAL', 1 ); *************** *** 58,62 **** $file = basename( __FILE__ ); ! $module['pafileDB_Download']['2_File_manage_title'] = $module_root_path . 'admin/' . $file; return; } --- 61,65 ---- $file = basename( __FILE__ ); ! $module['pafileDB_Download']['2_File_manage_title'] = 'modules/mx_pafiledb/admin/' . $file; return; } Index: admin_pa_settings.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pa_settings.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** admin_pa_settings.php 1 May 2005 16:41:28 -0000 1.11 --- admin_pa_settings.php 22 Sep 2005 10:11:01 -0000 1.12 *************** *** 20,23 **** --- 20,26 ---- if ( file_exists( './../viewtopic.php' ) ) { + // + // phpBB MOD mode + // define( 'IN_PHPBB', 1 ); define( 'IN_PORTAL', 1 ); *************** *** 57,61 **** $file = basename( __FILE__ ); ! $module['pafileDB_Download']['0_Configuration_title'] = $module_root_path . 'admin/' . $file; return; } --- 60,64 ---- $file = basename( __FILE__ ); ! $module['pafileDB_Download']['0_Configuration_title'] = 'modules/mx_pafiledb/admin/' . $file; return; } Index: admin_pa_catauth.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pa_catauth.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** admin_pa_catauth.php 1 May 2005 16:41:26 -0000 1.9 --- admin_pa_catauth.php 22 Sep 2005 10:11:00 -0000 1.10 *************** *** 20,23 **** --- 20,26 ---- if ( file_exists( './../viewtopic.php' ) ) { + // + // phpBB MOD mode + // define( 'IN_PHPBB', 1 ); define( 'IN_PORTAL', 1 ); *************** *** 57,61 **** $file = basename( __FILE__ ); ! $module['pafileDB_Download']['3_Permissions_title'] = $module_root_path . 'admin/' . $file; return; } --- 60,64 ---- $file = basename( __FILE__ ); ! $module['pafileDB_Download']['3_Permissions_title'] = 'modules/mx_pafiledb/admin/' . $file; return; } Index: admin_pa_license.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pa_license.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** admin_pa_license.php 1 May 2005 16:41:28 -0000 1.10 --- admin_pa_license.php 22 Sep 2005 10:11:01 -0000 1.11 *************** *** 20,23 **** --- 20,26 ---- if ( file_exists( './../viewtopic.php' ) ) { + // + // phpBB MOD mode + // define( 'IN_PHPBB', 1 ); define( 'IN_PORTAL', 1 ); *************** *** 57,61 **** $file = basename( __FILE__ ); ! $module['pafileDB_Download']['4_License_title'] = $module_root_path . 'admin/' . $file; return; } --- 60,64 ---- $file = basename( __FILE__ ); ! $module['pafileDB_Download']['4_License_title'] = 'modules/mx_pafiledb/admin/' . $file; return; } Index: admin_pa_fchecker.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pa_fchecker.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** admin_pa_fchecker.php 1 May 2005 16:41:28 -0000 1.10 --- admin_pa_fchecker.php 22 Sep 2005 10:11:01 -0000 1.11 *************** *** 20,23 **** --- 20,26 ---- if ( file_exists( './../viewtopic.php' ) ) { + // + // phpBB MOD mode + // define( 'IN_PHPBB', 1 ); define( 'IN_PORTAL', 1 ); *************** *** 57,61 **** $file = basename( __FILE__ ); ! $module['pafileDB_Download']['6_Fchecker_title'] = $module_root_path . 'admin/' . $file; return; } --- 60,64 ---- $file = basename( __FILE__ ); ! $module['pafileDB_Download']['6_Fchecker_title'] = 'modules/mx_pafiledb/admin/' . $file; return; } Index: admin_pa_custom.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pa_custom.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** admin_pa_custom.php 1 May 2005 16:41:28 -0000 1.11 --- admin_pa_custom.php 22 Sep 2005 10:11:01 -0000 1.12 *************** *** 20,23 **** --- 20,26 ---- if ( file_exists( './../viewtopic.php' ) ) { + // + // phpBB MOD mode + // define( 'IN_PHPBB', 1 ); define( 'IN_PORTAL', 1 ); *************** *** 59,63 **** $file = basename( __FILE__ ); ! $module['pafileDB_Download']['5_Custom_manage_title'] = $module_root_path . 'admin/' . $file; return; } --- 62,66 ---- $file = basename( __FILE__ ); ! $module['pafileDB_Download']['5_Custom_manage_title'] = 'modules/mx_pafiledb/admin/' . $file; return; } Index: admin_pa_ug_auth.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pa_ug_auth.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** admin_pa_ug_auth.php 1 May 2005 16:41:28 -0000 1.7 --- admin_pa_ug_auth.php 22 Sep 2005 10:11:01 -0000 1.8 *************** *** 20,23 **** --- 20,26 ---- if ( file_exists( './../viewtopic.php' ) ) { + // + // phpBB MOD mode + // define( 'IN_PHPBB', 1 ); define( 'IN_PORTAL', 1 ); |
|
From: Jon O. <jon...@us...> - 2005-09-22 10:10:30
|
Update of /cvsroot/mxbb/mx_newssuite/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8369/modules/mx_newssuite/includes Modified Files: news.php newssuite_constants.php Log Message: updating Index: newssuite_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/includes/newssuite_constants.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** newssuite_constants.php 12 Apr 2005 19:50:12 -0000 1.15 --- newssuite_constants.php 22 Sep 2005 10:10:19 -0000 1.16 *************** *** 1,734 **** ! <?php ! /** ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal ! * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System ! * email : jon...@ho... ! * project site : www.mx-system.com ! * ! * description : ! * ------------------------------------------------------------------------- [...1441 lines suppressed...] ! ! if ( !( $opt &2 ) ) ! { ! // Not translating double quotes ! // Remove double quote from translation table ! unset( $trans_tbl["""] ); ! } ! ! return strtr ( $string, $trans_tbl ); ! } ! } ! // Just to be safe ;o) ! if ( !defined( "ENT_COMPAT" ) ) define( "ENT_COMPAT", 2 ); ! if ( !defined( "ENT_NOQUOTES" ) ) define( "ENT_NOQUOTES", 0 ); ! if ( !defined( "ENT_QUOTES" ) ) define( "ENT_QUOTES", 3 ); ! ! $mxbb_footer_addup[] = 'mxBB Newssuite Module'; ! ?> \ No newline at end of file Index: news.php =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/includes/news.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** news.php 6 Mar 2005 01:12:55 -0000 1.15 --- news.php 22 Sep 2005 10:10:19 -0000 1.16 *************** *** 28,31 **** --- 28,32 ---- $is_auth = array(); + // // Here we have the (*very* simplified) sql statement ;) *************** *** 33,36 **** --- 34,38 ---- // Haplo says: "not so simple anymore :( ...when all configs and settings are mx parameters" // Get number of forums in db + // $sql = "SELECT * FROM " . $news_cat_table . " *************** *** 47,54 **** $sql_find = ''; // Do the mx loop, to generate valid sql code for( $j = 0; $j < ( count( $forums ) ); $j++ ) { ! if ( $news_type_select_data[$forums[$j][$cool_array_category_id]][$item_types_all] ) { $topic_show[$j] = $forums[$j][$cool_array_category_id]; --- 49,59 ---- $sql_find = ''; + + // // Do the mx loop, to generate valid sql code + // for( $j = 0; $j < ( count( $forums ) ); $j++ ) { ! if ( $news_type_select_data[$item_types_all][$forums[$j][$cool_array_category_id]] ) { $topic_show[$j] = $forums[$j][$cool_array_category_id]; *************** *** 59,63 **** for( $z = 0; $z < ( count( $item_types_array ) ); $z++ ) { ! if ( $news_type_select_data[$forums[$j][$cool_array_category_id]][$item_types_array[$z]] ) { $topic_type[$j] .= $t_commas . $item_types_id_array[$z]; --- 64,68 ---- for( $z = 0; $z < ( count( $item_types_array ) ); $z++ ) { ! if ( $news_type_select_data[$item_types_array[$z]][$forums[$j][$cool_array_category_id]] ) { $topic_type[$j] .= $t_commas . $item_types_id_array[$z]; *************** *** 93,99 **** $news_sort_style = $news_sort_style == "Categorized" ? "$item_table_category_sort ASC, " : ""; ! // Well, time to SELECT all posts // Fix by markus switch ( $news_sort_method ) { --- 98,105 ---- $news_sort_style = $news_sort_style == "Categorized" ? "$item_table_category_sort ASC, " : ""; ! // // Well, time to SELECT all posts // Fix by markus + // switch ( $news_sort_method ) { *************** *** 164,172 **** } - $news_auth_data = get_auth_forum( $newssuite_config['news_source_switch'] ); $sql = generate_sql( $news_auth_data, $newssuite_config, $block_id, $sql_find, $news_sort_style, $news_sort_method, $news_sort_method_pin, $news_sort_par, $cat_start, $news_time_filter_lo ); if ( !$result = $db->sql_query( $sql ) ) { --- 170,178 ---- } $news_auth_data = get_auth_forum( $newssuite_config['news_source_switch'] ); $sql = generate_sql( $news_auth_data, $newssuite_config, $block_id, $sql_find, $news_sort_style, $news_sort_method, $news_sort_method_pin, $news_sort_par, $cat_start, $news_time_filter_lo ); + //die(var_export('<br />$news_auth_data'.$news_auth_data. '<br />$newssuite_config'.var_export($newssuite_config). '<br />$block_id'.$block_id. '<br />$sql_find'.$sql_find. '<br />$news_sort_style'.$news_sort_style. '<br />$news_sort_method'.$news_sort_method. '<br />$news_sort_method_pin'.$news_sort_method_pin. '<br />$news_sort_par'.$news_sort_par. '<br />$cat_start'.$cat_start. '<br />$news_time_filter_lo'.$news_time_filter_lo)); if ( !$result = $db->sql_query( $sql ) ) { *************** *** 177,194 **** $newssuite_items = array(); $news = $db->sql_fetchrowset( $result ); ! //die(var_export($news)); if ( @count( $news ) == 0 ) { // $template->assign_block_vars( 'no_news', array( 'INFO' => $lang['No_news'] ) ); // Remove the block if no news... $block_rows[$block]['show_title'] = 0; $block_rows[$block]['show_block'] = 0; } ! // die(var_export($news)); ! // for( $i = 0; $i < ( $newssuite_config['news_items'] < @count ($news) ? $newssuite_config['news_items'] : @count ($news)); $i++ ) { for( $i = 0; $i < @count( $news ); $i++ ) { // Stop from trying to display a non-existant topic and make sure we have // permission to view the post if ( !isset( $news[$i] ) || empty( $news[$i] ) || $news[$i][$item_text] == '' ) { --- 183,203 ---- $newssuite_items = array(); $news = $db->sql_fetchrowset( $result ); ! if ( @count( $news ) == 0 ) { + // // $template->assign_block_vars( 'no_news', array( 'INFO' => $lang['No_news'] ) ); // Remove the block if no news... + // $block_rows[$block]['show_title'] = 0; $block_rows[$block]['show_block'] = 0; } ! for( $i = 0; $i < @count( $news ); $i++ ) { + // // Stop from trying to display a non-existant topic and make sure we have // permission to view the post + // if ( !isset( $news[$i] ) || empty( $news[$i] ) || $news[$i][$item_text] == '' ) { *************** *** 197,202 **** $newssuite_items[] = $news[$i][$item_id]; // Main part where bbcode is parsed and stuff like that regarding the post text ! $post_subject = ( $news[$i][$item_title] != '' ) ? $news[$i][$item_title] : ''; --- 206,212 ---- $newssuite_items[] = $news[$i][$item_id]; + // // Main part where bbcode is parsed and stuff like that regarding the post text ! // $post_subject = ( $news[$i][$item_title] != '' ) ? $news[$i][$item_title] : ''; *************** *** 208,219 **** $user_sig_bbcode_uid = $news[$i]['user_sig_bbcode_uid']; // Define censored word matches ! $orig_word = array(); $replacement_word = array(); obtain_word_list( $orig_word, $replacement_word ); // Parse smilies ! if ( $board_config['allow_smilies'] ) { --- 218,231 ---- $user_sig_bbcode_uid = $news[$i]['user_sig_bbcode_uid']; + // // Define censored word matches ! // $orig_word = array(); $replacement_word = array(); obtain_word_list( $orig_word, $replacement_word ); + // // Parse smilies ! // if ( $board_config['allow_smilies'] ) { *************** *** 235,240 **** --- 247,254 ---- $message = make_clickable( $message ); + // // Replace naughty words // phpbb 2.0.10 + // if ( count( $orig_word ) ) { *************** *** 251,260 **** $poster_id = $news[$i]['user_id']; $poster = $news[$i]['username']; // Edit by info if ( $newssuite_config['news_display_edit_info'] ) { ! // Editing information ! if ( $news[$i]['post_edit_count'] ) { --- 265,277 ---- $poster_id = $news[$i]['user_id']; $poster = $news[$i]['username']; + + // // Edit by info + // if ( $newssuite_config['news_display_edit_info'] ) { ! // // Editing information ! // if ( $news[$i]['post_edit_count'] ) { *************** *** 271,277 **** $message = str_replace( "\n", "\n<br />\n", $message ); // Replace newlines (we use this rather than nl2br because // till recently it wasn't XHTML compliant) ! if ( $user_sig != '' ) { --- 288,295 ---- $message = str_replace( "\n", "\n<br />\n", $message ); + // // Replace newlines (we use this rather than nl2br because // till recently it wasn't XHTML compliant) ! // if ( $user_sig != '' ) { *************** *** 280,283 **** --- 298,303 ---- $message = stripslashes( $message ); + + // // OK, do some formatting fixes for the news block :-) // ----------------------------------------------------------------------------- *************** *** 289,293 **** --- 309,315 ---- } + // // truncate text + // $post_subject_tmp = ns_truncate_text( $post_subject, $newssuite_config['news_truncate_num_subject'], true ); $post_subject = $post_subject_tmp[0]; *************** *** 297,325 **** $message = $message_tmp[0]; ! // Removes the [toc] and [page] markup $message = ns_decode_KB_markup( $message ); ! // enable/disable html $post_subject = ns_decode_HTML( $post_subject ); $message = ns_decode_HTML( $message ); $user_sig = ns_decode_HTML( $user_sig ); // replaces common bbcodes with slicker substitutes $post_subject = ns_decode_BBCODE_fixup( $post_subject ); $message = ns_decode_BBCODE_fixup( $message ); $user_sig = ns_decode_BBCODE_fixup( $user_sig ); // parse bbcode or removes bbcode $post_subject = ns_decode_BBCODE( $post_subject, '', true ); $message = ns_decode_BBCODE( $message, $bbcode_uid ); $user_sig = ns_decode_BBCODE( $user_sig, $user_sig_bbcode_uid ); // fixup (truncates) urls, images and words for a narrow column layout $post_subject = ns_decode_truncate_fixup( $post_subject ); $message = ns_decode_truncate_fixup( $message ); $user_sig = ns_decode_truncate_fixup( $user_sig ); // Add reame_more link if truncated $message .= $message_tmp[1] ? readmore_link( $i, $newssuite_config, $news, $item_id, $page_id ) : ''; --- 319,358 ---- $message = $message_tmp[0]; ! // // Removes the [toc] and [page] markup + // $message = ns_decode_KB_markup( $message ); ! ! // // enable/disable html + // $post_subject = ns_decode_HTML( $post_subject ); $message = ns_decode_HTML( $message ); $user_sig = ns_decode_HTML( $user_sig ); + // // replaces common bbcodes with slicker substitutes + // $post_subject = ns_decode_BBCODE_fixup( $post_subject ); $message = ns_decode_BBCODE_fixup( $message ); $user_sig = ns_decode_BBCODE_fixup( $user_sig ); + // // parse bbcode or removes bbcode + // $post_subject = ns_decode_BBCODE( $post_subject, '', true ); $message = ns_decode_BBCODE( $message, $bbcode_uid ); $user_sig = ns_decode_BBCODE( $user_sig, $user_sig_bbcode_uid ); + // // fixup (truncates) urls, images and words for a narrow column layout + // $post_subject = ns_decode_truncate_fixup( $post_subject ); $message = ns_decode_truncate_fixup( $message ); $user_sig = ns_decode_truncate_fixup( $user_sig ); + // // Add reame_more link if truncated + // $message .= $message_tmp[1] ? readmore_link( $i, $newssuite_config, $news, $item_id, $page_id ) : ''; *************** *** 335,341 **** $last_post_author = ( $news[$i]['id2'] == ANONYMOUS ) ? ( ( $news[$i]['post_username2'] != '' ) ? $news[$i]['post_username2'] . ' ' : $lang['Guest'] . ' ' ) : '<a class="gensmall" href="' . append_sid( $phpbb_root_path . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $news[$i]['id2'] ) . '">' . $news[$i]['user2'] . '</a>'; - // $folder = $phpbb_root_path . $images['folder']; $folder = $images['newssuite_mini_message']; - // $folder_new = $phpbb_root_path . $images['folder_new']; $folder_new = $images['newssuite_mini_message_new']; --- 368,372 ---- *************** *** 413,418 **** --- 444,452 ---- $newest_post_img = '<a href="' . topic_last_post_link( $i, $newssuite_config, $news ) . '"><img src="' . $phpbb_root_path . $images['icon_latest_reply'] . '" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" border="0" /></a>'; } + + // // Types info // KB + // switch ( $newssuite_config['news_source_switch'] ) { *************** *** 426,429 **** --- 460,464 ---- } break; + case 'phpbb'; *************** *** 443,452 **** } // Assign replacement variables to template ! $template->assign_block_vars( 'newsrow', array( 'CAT_ID' => intval( $news[$i][$item_cat_id] ), 'TOPIC_ID' => intval( $news[$i][$item_id] ), 'TOPIC_TIME' => $topic_time, - // 'TOPIC_REPLIES' => $news[$i]['topic_replies'], 'TOPIC_VIEWS' => intval( $news[$i][$item_views] ), 'POSTER_NAME' => $poster_name, --- 478,487 ---- } + // // Assign replacement variables to template ! // $template->assign_block_vars( 'newsrow', array( 'CAT_ID' => intval( $news[$i][$item_cat_id] ), 'TOPIC_ID' => intval( $news[$i][$item_id] ), 'TOPIC_TIME' => $topic_time, 'TOPIC_VIEWS' => intval( $news[$i][$item_views] ), 'POSTER_NAME' => $poster_name, *************** *** 459,463 **** --- 494,500 ---- ) ); + // // Title info ------------- + // if ( $news_display_block_title ) { *************** *** 511,515 **** --- 548,554 ---- } + // // Footer info -------------------- + // if ( $news_block_footer ) { *************** *** 534,541 **** --- 573,584 ---- } + // // Mode switch: Default, Newspager, Category Nav + // if ( $newssuite_config['news_mode_switch'] != "Default_Block_Mode" ) { + // // Show only topic titles + // if ( !$category_nav_mode ) { *************** *** 543,547 **** --- 586,593 ---- ) ); } + + // // Find new category + // if ( $news[$i][$item_cat_id] != $news[$i-1][$item_cat_id] && $newssuite_config['news_sort_style'] == "Categorized") { *************** *** 564,568 **** --- 610,616 ---- } + // // Generate the fold/unfold categories switches + // $cat_on = isset( $HTTP_COOKIE_VARS['phpbbCategory_' . $block_id . $news[$i][$item_cat_id]] ) && !empty( $HTTP_COOKIE_VARS['phpbbCategory_' . $block_id . $news[$i][$item_cat_id]] ) ? true : false; if ( $cat_on ) *************** *** 584,589 **** } // Does this topic contain a poll? ! if ( !empty( $news[$i]['topic_vote'] ) && $newssuite_config['news_display_polls'] && !$category_nav_mode ) { --- 632,638 ---- } + // // Does this topic contain a poll? ! // if ( !empty( $news[$i]['topic_vote'] ) && $newssuite_config['news_display_polls'] && !$category_nav_mode ) { *************** *** 716,721 **** } } ! // $_SESSION['newssuite_'.$page_id]['testar'] = $newssuite_items; // Pagination $read_home_url = append_sid( $mx_root_path . 'index.php?page=' . $page_id . '&cat_start_' . $block_id . '=1' ); --- 765,772 ---- } } ! ! // // Pagination + // $read_home_url = append_sid( $mx_root_path . 'index.php?page=' . $page_id . '&cat_start_' . $block_id . '=1' ); *************** *** 762,765 **** --- 813,817 ---- $temp_tracking_home[$block_id] = 1; + // // Assign some basic language variables // *************** *** 780,789 **** if ( count( $news ) == 0 ) { ! //$template->assign_block_vars( 'newsnone', array() ); // Remove the block if no news... $block_rows[$block]['show_title'] = 0; $block_rows[$block]['show_block'] = 0; } } - ?> \ No newline at end of file --- 832,841 ---- if ( count( $news ) == 0 ) { ! // // Remove the block if no news... + // $block_rows[$block]['show_title'] = 0; $block_rows[$block]['show_block'] = 0; } } ?> \ No newline at end of file |
|
From: Jon O. <jon...@us...> - 2005-09-22 10:10:29
|
Update of /cvsroot/mxbb/mx_newssuite/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8369/modules/mx_newssuite/admin Modified Files: mx_module_defs.php Log Message: updating Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/admin/mx_module_defs.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mx_module_defs.php 21 Aug 2005 21:41:22 -0000 1.3 --- mx_module_defs.php 22 Sep 2005 10:10:18 -0000 1.4 *************** *** 63,68 **** function submit_module_parameters( $parameter_data, $block_id ) { ! global $HTTP_POST_VARS, $db, $board_config, $html_entities_match, $html_entities_replace; $parameter_value = $HTTP_POST_VARS[$parameter_data['parameter_name']]; $parameter_opt = ''; --- 63,69 ---- function submit_module_parameters( $parameter_data, $block_id ) { ! global $HTTP_POST_VARS, $db, $board_config, $html_entities_match, $html_entities_replace, $mx_blockcp, $mx_root_path, $phpEx; + $parameter_value = $HTTP_POST_VARS[$parameter_data['parameter_name']]; $parameter_opt = ''; *************** *** 70,74 **** switch ( $parameter_data['parameter_type'] ) { ! } --- 71,87 ---- switch ( $parameter_data['parameter_type'] ) { ! case 'news_type_select': ! $newssuite_config['news_source_switch'] = 'phpbb'; ! $module_root_path = $mx_root_path . $mx_blockcp->module_root_path; ! include( $module_root_path . "includes/newssuite_defs.$phpEx" ); ! ! $news_types_list[$item_types_all] = $HTTP_POST_VARS[$item_types_all]; ! for( $z = 0; $z < ( count( $item_types_array ) ); $z++ ) ! { ! $news_types_list[$item_types_array[$z]] = $HTTP_POST_VARS[$item_types_array[$z]]; ! } ! ! $parameter_value = addslashes( serialize( $news_types_list ) ); ! break; } *************** *** 99,113 **** $module_root_path = $mx_root_path . $mx_blockcp->module_root_path; ! include_once( $module_root_path . 'includes/newssuite_constants.' . $phpEx ); ! include_once( $module_root_path . "includes/newssuite_defs.$phpEx" ); $template->set_filenames(array( ! 'parameter' => $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl') ); ! // Get number of forums in db $sql = "SELECT * FROM " . $news_cat_table . " ORDER BY $cat_extract_order"; if ( !( $result = $db->sql_query( $sql ) ) ) { --- 112,136 ---- $module_root_path = $mx_root_path . $mx_blockcp->module_root_path; ! include( $module_root_path . 'includes/newssuite_constants.' . $phpEx ); ! include( $module_root_path . "includes/newssuite_defs.$phpEx" ); + if (file_exists($mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl')) + { + $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl'; + } + else + { + $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/subSilver' . '/admin/mx_module_parameters.tpl'; + } + $template->set_filenames(array( ! 'parameter' => $module_template_file) ); ! // Get number of forums in db $sql = "SELECT * FROM " . $news_cat_table . " ORDER BY $cat_extract_order"; + if ( !( $result = $db->sql_query( $sql ) ) ) { *************** *** 121,128 **** --- 144,156 ---- $categories = get_main_cats( $newssuite_config ); + /* $news_type_select_data = array(); $news_type_select_temp = $mx_blockcp->block_parameters['news_type_select']['parameter_value']; $news_type_select_temp = stripslashes( $news_type_select_temp ); $news_type_select_data = eval( "return " . $news_type_select_temp . ";" ); + */ + + $news_type_select_data = ( !empty( $parameter_data['parameter_value'] ) ) ? unserialize($parameter_data['parameter_value']) : array(); + // // Check that some categories exist *************** *** 170,177 **** 'FORUM_DESC' => $forums[$j][$catt_desc], ! 'CHECKED' => ( $news_type_select_data[$forums[$j]['forum_id']]['forum_news'] ? 'CHECKED' : '' ), ! 'ANNOUNCE_CHECKED' => ( $news_type_select_data[$forums[$j]['forum_id']]['forum_news_announce'] ? 'CHECKED' : '' ), ! 'STICKY_CHECKED' => ( $news_type_select_data[$forums[$j]['forum_id']]['forum_news_sticky'] ? 'CHECKED' : '' ), ! 'NORMAL_CHECKED' => ( $news_type_select_data[$forums[$j]['forum_id']]['forum_news_post'] ? 'CHECKED' : '' ) ) ); break; --- 198,205 ---- 'FORUM_DESC' => $forums[$j][$catt_desc], ! 'CHECKED' => ( $news_type_select_data['forum_news'][$forums[$j]['forum_id']] ? 'CHECKED' : '' ), ! 'ANNOUNCE_CHECKED' => ( $news_type_select_data['forum_news_announce'][$forums[$j]['forum_id']] ? 'CHECKED' : '' ), ! 'STICKY_CHECKED' => ( $news_type_select_data['forum_news_sticky'][$forums[$j]['forum_id']] ? 'CHECKED' : '' ), ! 'NORMAL_CHECKED' => ( $news_type_select_data['forum_news_post'][$forums[$j]['forum_id']] ? 'CHECKED' : '' ) ) ); break; *************** *** 181,192 **** 'FORUM_DESC' => $forums[$j][$catt_desc], ! 'CHECKED' => ( $news_type_select_data[$forums[$j][$cool_array_category_id]]['forum_news'] ? 'CHECKED' : '' ), ! // 'ANNOUNCE_CHECKED' => ( $news_type_select_data[$forums[$j]['forum_id']]['forum_news_announce'] ? 'CHECKED' : '' ), ! // 'STICKY_CHECKED' => ( $news_type_select_data[$forums[$j]['forum_id']]['forum_news_sticky'] ? 'CHECKED' : '' ), ! // 'NORMAL_CHECKED' => ( $news_type_select_data[$forums[$j]['forum_id']]['forum_news_post'] ? 'CHECKED' : '' ) ) ); for( $z = 0; $z < ( count( $item_types_array ) ); $z++ ) { ! $template->assign_block_vars( 'catrow.forumrow_kb.types', array( 'CHECKED' => ( $news_type_select_data[$forums[$j][$cool_array_category_id]][$item_types_array[$z]] ? 'CHECKED' : '' ), 'TYPE' => $item_types_array[$z], 'VALUE' => $item_types_id_array[$z] --- 209,217 ---- 'FORUM_DESC' => $forums[$j][$catt_desc], ! 'CHECKED' => ( $news_type_select_data['forum_news'][$forums[$j][$cool_array_category_id]] ? 'CHECKED' : '' ), ) ); for( $z = 0; $z < ( count( $item_types_array ) ); $z++ ) { ! $template->assign_block_vars( 'catrow.forumrow_kb.types', array( 'CHECKED' => ( $news_type_select_data[$item_types_array[$z]][$forums[$j][$cool_array_category_id]] ? 'CHECKED' : '' ), 'TYPE' => $item_types_array[$z], 'VALUE' => $item_types_id_array[$z] *************** *** 203,206 **** --- 228,232 ---- $template->assign_vars(array( 'NAME' => $lang[$parameter_data['parameter_name']], + 'SELECT_NAME' => $parameter_data['parameter_name'], 'PARAMETER_TITLE' => ( !empty($lang[$parameter_data['parameter_name']]) ) ? $lang[$parameter_data['parameter_name']] : $parameter_data['parameter_name'], 'PARAMETER_TYPE' => ( !empty($lang["ParType_".$parameter_data['parameter_type']]) ) ? $lang["ParType_".$parameter_data['parameter_type']] : '', |
|
From: Jon O. <jon...@us...> - 2005-09-22 10:10:28
|
Update of /cvsroot/mxbb/mx_newssuite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8369/modules/mx_newssuite Modified Files: NewsSuite.pak db_install.php db_uninstall.php db_upgrade.php news.php Log Message: updating Index: news.php =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/news.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** news.php 23 Jan 2005 21:45:04 -0000 1.9 --- news.php 22 Sep 2005 10:10:18 -0000 1.10 *************** *** 38,56 **** } - /* - if ( isset($HTTP_GET_VARS['cat_start_' . $block_id]) ) - { - $cat_start[$block_id] = $HTTP_GET_VARS['cat_start_' . $block_id]; - } - else if ( isset($HTTP_COOKIE_VARS['cat_start_' . $block_id]) ) - { - $cat_start[$block_id] = $HTTP_COOKIE_VARS['cat_start_' . $block_id]; - } - else - { - $cat_start[$block_id] = 1; - } - */ - $more_vars = ''; if ( isset( $HTTP_GET_VARS['f'] ) || isset( $HTTP_GET_VARS['t'] ) || isset( $HTTP_GET_VARS['start'] ) || isset( $HTTP_GET_VARS['p'] ) ) --- 38,41 ---- *************** *** 62,71 **** } // Read block Configuration ! $block_config = read_block_config( $block_id ); // Includes... include_once( $module_root_path . 'includes/newssuite_constants.' . $phpEx ); // Setup config parameters $config_name = array( 'news_display', 'news_display_edit_info', 'news_display_signature', 'news_items', 'news_display_polls', 'news_time_format', 'news_trim_char', 'news_block_border', 'news_block_header', 'news_block_footer', 'news_display_block_title', 'news_show_title', 'news_sort_method', 'news_sort_par', 'news_sort_style', 'news_truncate_num', 'news_truncate_num_subject', 'news_mode_switch', 'news_source_switch', 'news_mode_operate', 'enable_html_msg', 'enable_bbcode_msg', 'fix_up', 'news_mode_tagging', 'news_mode_pinning', 'news_filter_time' ); --- 47,63 ---- } + // // Read block Configuration ! // $block_config = read_block_config( $block_id ); + + // // Includes... + // include_once( $module_root_path . 'includes/newssuite_constants.' . $phpEx ); + + // // Setup config parameters + // $config_name = array( 'news_display', 'news_display_edit_info', 'news_display_signature', 'news_items', 'news_display_polls', 'news_time_format', 'news_trim_char', 'news_block_border', 'news_block_header', 'news_block_footer', 'news_display_block_title', 'news_show_title', 'news_sort_method', 'news_sort_par', 'news_sort_style', 'news_truncate_num', 'news_truncate_num_subject', 'news_mode_switch', 'news_source_switch', 'news_mode_operate', 'enable_html_msg', 'enable_bbcode_msg', 'fix_up', 'news_mode_tagging', 'news_mode_pinning', 'news_filter_time' ); *************** *** 78,82 **** --- 70,77 ---- $title = $block_config[$block_id]['block_title']; $description = $block_config[$block_id]['block_desc']; + + // // Define some style parameters + // $news_block_border = $newssuite_config['news_block_border']; $news_block_header = $newssuite_config['news_block_header']; *************** *** 87,91 **** --- 82,88 ---- $news_block_header_style = ( ( $news_block_header == '' ) || ( $news_block_header == '0' ) ) ? '' : 'thHead'; + // // Sort options + // $news_sort_style = $newssuite_config['news_sort_style']; // Categorized, mixed $news_sort_method = $newssuite_config['news_sort_method']; // item_id, item_time, user_rank... *************** *** 94,102 **** --- 91,107 ---- $news_filter_time = $newssuite_config['news_filter_time']; // no limit, last day, 2 days, 3 days, week, 2 weeks, 3 weeks, month, 2 months, 3 months, 6 months, i year, + // // Extract 'what posts to view info', the cool Array ;) + // + + /* $news_type_select_data = array(); $news_type_select_temp = $block_config[$block_id][news_type_select]['parameter_value']; $news_type_select_temp = stripslashes( $news_type_select_temp ); $news_type_select_data = eval( "return " . $news_type_select_temp . ";" ); + */ + + $news_type_select_data = ( !empty( $block_config[$block_id][news_type_select]['parameter_value'] ) ) ? unserialize( $block_config[$block_id][news_type_select]['parameter_value'] ) : array(); + // ----------------- // Generate the page *************** *** 153,156 **** --- 158,176 ---- include( $module_root_path . "includes/newssuite_defs.$phpEx" ); + // + // Fix for old versions + // If not updated the block settings, deselect all + // + if (!$news_type_select_data || empty($news_type_select_data)) + { + $news_type_select_data = array(); + $news_type_select_data[$item_types_all] = array(); + + for( $z = 0; $z < ( count( $item_types_array ) ); $z++ ) + { + $news_type_select_data[$item_types_array[$z]] = array(); + } + } + include( $module_root_path . "includes/news.$phpEx" ); Index: NewsSuite.pak =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/NewsSuite.pak,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** NewsSuite.pak 18 Feb 2005 10:08:38 -0000 1.16 --- NewsSuite.pak 22 Sep 2005 10:10:18 -0000 1.17 *************** *** 1,59 **** module=+:43=+:NewsSuite=+:modules/mx_newssuite/=+:Customizable news blocks addon=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:43=+:47=+:NewsSuite=+:NewsSuite Module=+:news.php=+:modules/mx_newssuite/admin/news_config.php ! parameter=+:47=+:105=+:enable_bbcode_msg=+:Text=+:1=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:47=+:104=+:enable_html_msg=+:Text=+:0=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:47=+:109=+:fix_up=+:Text=+:1=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:47=+:90=+:news_block_border=+:Text=+:1=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:47=+:92=+:news_block_footer=+:Text=+:1=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:47=+:91=+:news_block_header=+:Text=+:1=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:47=+:83=+:news_display=+:Text=+:1=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:47=+:93=+:news_display_block_title=+:Text=+:1=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:47=+:84=+:news_display_edit_info=+:Text=+:0=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:47=+:87=+:news_display_polls=+:Text=+:1=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:47=+:85=+:news_display_signature=+:Text=+:0=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:47=+:314=+:news_filter_time=+:Values=+:3 months=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:47=+:86=+:news_items=+:Text=+:10=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:47=+:102=+:news_mode_operate=+:Values=+:none=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:47=+:313=+:news_mode_pinning=+:Text=+:0=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:47=+:100=+:news_mode_switch=+:Values=+:Block_Mode=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:47=+:312=+:news_mode_tagging=+:Text=+:0=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:47=+:95=+:news_show_title=+:Text=+:1=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:47=+:96=+:news_sort_method=+:Values=+:topic_type=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:47=+:97=+:news_sort_par=+:Values=+:DESC=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:47=+:99=+:news_sort_style=+:Values=+:Mixed=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:47=+:101=+:news_source_switch=+:Values=+:phpbb=+: ! option=+:0=+:0=+:0=+:endoflist=+: parameter=+:47=+:88=+:news_time_format=+:Text=+:m-d g:iA=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:47=+:89=+:news_trim_char=+:Text=+:<i></i>=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:47=+:98=+:news_truncate_num=+:Text=+:250=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:47=+:103=+:news_truncate_num_subject=+:Text=+:20=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:47=+:94=+:news_type_select=+:Text=+:array(0 => 1, 1=>2)=+: ! option=+:0=+:0=+:0=+:endoflist=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - NewsSuite=+:Demo block=+:47=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 --- 1,36 ---- module=+:43=+:NewsSuite=+:modules/mx_newssuite/=+:Customizable news blocks addon=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:43=+:47=+:NewsSuite=+:NewsSuite Module=+:news.php=+: ! parameter=+:47=+:105=+:enable_bbcode_msg=+:Boolean=+:1=+: ! parameter=+:47=+:104=+:enable_html_msg=+:Boolean=+:0=+: ! parameter=+:47=+:109=+:fix_up=+:Boolean=+:1=+: ! parameter=+:47=+:90=+:news_block_border=+:Boolean=+:1=+: ! parameter=+:47=+:92=+:news_block_footer=+:Boolean=+:1=+: ! parameter=+:47=+:91=+:news_block_header=+:Boolean=+:1=+: ! parameter=+:47=+:83=+:news_display=+:Number=+:1=+: ! parameter=+:47=+:93=+:news_display_block_title=+:Boolean=+:1=+: ! parameter=+:47=+:84=+:news_display_edit_info=+:Boolean=+:0=+: ! parameter=+:47=+:87=+:news_display_polls=+:Boolean=+:1=+: ! parameter=+:47=+:85=+:news_display_signature=+:Boolean=+:0=+: ! parameter=+:47=+:314=+:news_filter_time=+:Menu_single_select=+:3 months=+: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";} ! parameter=+:47=+:86=+:news_items=+:Number=+:10=+: ! parameter=+:47=+:102=+:news_mode_operate=+:Menu_single_select=+:None=+:a:2:{i:0;s:4:"None";i:1;s:6:"Source";} ! parameter=+:47=+:313=+:news_mode_pinning=+:Boolean=+:0=+: ! 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=+:384=+:news_sep_formatting=+:Separator=+:=+: ! parameter=+:47=+:381=+:news_sep_layout=+:Separator=+:=+: ! parameter=+:47=+:382=+:news_sep_sort=+:Separator=+:=+: ! parameter=+:47=+:383=+: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";} ! parameter=+:47=+:97=+:news_sort_par=+:Radio_single_select=+:DESC=+:a:2:{i:0;s:4:"DESC";i:1;s:3:"ASC";} ! parameter=+:47=+:99=+:news_sort_style=+:Radio_single_select=+:Mixed=+:a:2:{i:0;s:5:"Mixed";i:1;s:11:"Categorized";} ! parameter=+:47=+:101=+:news_source_switch=+:Menu_single_select=+:phpbb=+:a:2:{i:0;s:5:"phpbb";i:1;s:2:"kb";} parameter=+:47=+:88=+:news_time_format=+:Text=+:m-d g:iA=+: parameter=+:47=+:89=+:news_trim_char=+:Text=+:<i></i>=+: ! parameter=+:47=+:98=+:news_truncate_num=+:Number=+:250=+: ! parameter=+:47=+:103=+:news_truncate_num_subject=+:Number=+:20=+: ! parameter=+:47=+:94=+:news_type_select=+:news_type_select=+:array(0 => 1, 1=>2)=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - NewsSuite=+:Demo block=+:47=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/db_uninstall.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** db_uninstall.php 16 Jan 2005 01:03:44 -0000 1.3 --- db_uninstall.php 22 Sep 2005 10:10:18 -0000 1.4 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 24,28 **** if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); --- 23,27 ---- if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); *************** *** 33,54 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management } // If fresh install ! $message = "<b>You are uninstalling the module tables!</b><br/><br/>"; ! $message .= '<br /> This module does not have any module tables, it use mx paramters only! ...nothing to remove :-)'; echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; ! echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $message . "</span></td></tr>"; echo "</table><br />"; --- 32,54 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } + // If fresh install ! $uninstall_message = "<b>You are uninstalling the module tables!</b><br/><br/>"; ! $uninstall_message .= '<br /> This module does not have any module tables, it use mx paramters only! ...nothing to remove :-)'; echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; ! echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $uninstall_message . "</span></td></tr>"; echo "</table><br />"; Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/db_install.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** db_install.php 6 Mar 2005 01:12:55 -0000 1.5 --- db_install.php 22 Sep 2005 10:10:18 -0000 1.6 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 22,32 **** define( 'IN_PORTAL', true ); - - $mx_module_version = 'mxBB Newssuite Module 2.0.0'; - $mx_module_copy = 'Written by <a href="http://www.mx-system.com" target="_phpbb" >Jon</a>'; - if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); --- 21,27 ---- define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); *************** *** 37,49 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management } // If fresh install $sql = array(); --- 32,48 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } + + $mx_module_version = 'mxBB Newssuite Module 2.0.0'; + $mx_module_copy = 'Written by <a href="http://www.mx-system.com" target="_phpbb" >Jon</a>'; + // If fresh install $sql = array(); Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/db_upgrade.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** db_upgrade.php 6 Mar 2005 01:12:55 -0000 1.6 --- db_upgrade.php 22 Sep 2005 10:10:18 -0000 1.7 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 22,32 **** define( 'IN_PORTAL', true ); - - $mx_module_version = 'mxBB Newssuite Module 2.0.0'; - $mx_module_copy = 'Written by <a href="http://www.mx-system.com" target="_phpbb" >Jon</a>'; - if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); --- 21,27 ---- define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); *************** *** 37,50 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management } $sql = array(); --- 32,48 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } + $mx_module_version = 'mxBB Newssuite Module 2.0.0'; + $mx_module_copy = 'Written by <a href="http://www.mx-system.com" target="_phpbb" >Jon</a>'; + $sql = array(); |
|
From: Jon O. <jon...@us...> - 2005-09-22 10:10:28
|
Update of /cvsroot/mxbb/mx_newssuite/language/lang_english In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8369/modules/mx_newssuite/language/lang_english Modified Files: lang_main.php Log Message: updating Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/language/lang_english/lang_main.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lang_main.php 12 Apr 2005 19:50:12 -0000 1.1 --- lang_main.php 22 Sep 2005 10:10:19 -0000 1.2 *************** *** 1,123 **** ! <?php ! ! // News Mod ! $lang['News'] = "News"; ! $lang['Author'] = "Author"; ! $lang['Read_more'] = "Read more"; ! $lang['Comment'] = "Comment"; ! $lang['Comments'] = "Comments"; ! $lang['News_Archive'] = "News Archive"; ! ! // %s replaced with number of views ! $lang['Reads'] = "%s views"; ! ! // %s replaced with username and date in that order ! $lang['Posted_by_on'] = "Posted by %s on %s"; ! ! // ! // General strings from the news admin panel ! // ! $lang['News_settings_title'] = "General Settings"; ! $lang['News_operate_title'] = "Interactivity Mode"; ! $lang['News_mode_title'] = "Main Mode Settings"; ! ! $lang['News_settings'] = "News Settings"; ! $lang['News_settings_short_explain'] = "Configure some options for the front-page news."; ! $lang['News_settings_explain'] = "Here you can edit the configuration for the news module. The news module displays only a few of the most recent posts in a particular forum on the front page allowing you to inform users of important information."; ! ! // General ! $lang['News_forums'] = "News Source"; ! $lang['Display_news'] = "Display news"; ! ! $lang['Display_polls'] = "Display polls (not used in 'Category Nav Mode')"; ! $lang['Display_polls_explain'] = "If this is set to yes then polls will appear above the content of the news article. If set to no, the poll will not appear."; ! ! $lang['News_items'] = "News items"; ! $lang['News_items_explain'] = "How many topics from the forum do you want displayed (per category when categorized)?"; ! ! $lang['News_forum'] = "News forum"; ! $lang['News_forum_explain'] = "Which forum has the news in it?"; ! ! $lang['Time_format'] = "Time format (not used in 'Category Nav Mode')"; ! $lang['Time_format_explain'] = "This is the time format used to tell the user the date the news was posted (in php's %sdate%s function time format)"; // %s's for URI params - DO NOT REMOVE ! ! $lang['Trim_character'] = "Trim character (not used in 'Category Nav Mode')"; ! $lang['Trim_character_explain'] = "This is a character that the news post will stop at if found. Commonly '<code><i></i></code>'"; ! ! $lang['Truncate_num'] = "Truncate message after num of chars (not used in 'Category Nav Mode')"; ! $lang['Truncate_num_explain'] = "This is the number of characters that the news post will display"; ! ! $lang['Truncate_num_subject'] = "Truncate subject (title) after num of chars"; ! $lang['Truncate_num_subject_explain'] = "This is the number of characters that the news post will display"; ! ! $lang['Fix_up_msg'] = "Fix up message (and subject) for better layout control"; ! $lang['Fix_up_msg_explain'] = "- Rewriting common BBCODES in a more slick/compact way<br />- Truncating and validating URLs<br />- Resizing images if wider than colwidth<br />- Hyphen words, to avoid long words expanding col"; ! ! $lang['Enable_html_msg'] = "Enable html in message, or remove the tags (but not contents)"; ! $lang['Enable_html_msg_explain'] = "Typically you'll disable html since the news should be formatted very slick ;)"; ! ! $lang['Enable_bbcode_msg'] = "Enable bbcode in message, or remove the tags (but not contents)"; ! $lang['Enable_bbcode_msg_explain'] = "By default enabled, but beware of what bbcodes you're using..."; ! ! $lang['Display_signatures'] = "Display signatures (not used in 'Category Nav Mode')"; ! $lang['Display_signatures_explain'] = "If yes displays the signatures of the posters if found"; ! ! $lang['Display_edit_information'] = "Display edit information (not used in 'Category Nav Mode')"; ! $lang['Display_edit_information_explain'] = "If yes displays the 'Last edited by' at the end of the post"; ! ! $lang['News_tagging'] = "Filter tagged posts"; ! $lang['News_tagging_explain'] = "If enabled, only posts tagged with userdefined 'post types' will be shown. For example, if you have the post type 'bug' and 'solved bug', you may create a news block only showing bug posts..."; ! ! $lang['News_pinning'] = "Order by post type"; ! $lang['News_pinning_explain'] = "Pin phpbb announcements and stickies (sort DESC by kb types) at top of list."; ! ! $lang['News_filter_time'] = "Filter by time"; ! $lang['News_filter_time_explain'] = "Show posts from last week, month, year..."; ! ! // ! // Update result messages ! // ! ! $lang['News_updated_return_settings'] = "News configuration updated successfully.<br /><br />Click %shere%s to return to News Settings."; // %s's for URI params - DO NOT REMOVE ! $lang['News_update_error'] = "Couldn't update news configuration.<br /><br />This mod is designed for MySQL so please contact the author if you have troubles. If you can offer a translation of the SQL into other database formats, please send them to:<br />"; ! ! // Added by Haplo ! $lang['news_style_parameters'] = "Style Parameters "; ! $lang['news_display_block_title'] = "Display news titles: (not used in 'Category Nav Mode')<br /> - display titles for every news"; ! $lang['news_block_border'] = "Block border: <br /> - display block borders"; ! $lang['news_block_header'] = "Emphasize news titles: (only used in 'Standard Block Mode')<br /> - use standard title class"; ! $lang['news_block_footer'] = "Block footer: <br /> - add block footers (edited by, date, comments etc)"; ! $lang['Read more'] = "Read more"; ! $lang['news_show_title'] = "Show block title and description:"; ! $lang['news_sort_method'] = "Sort option:"; ! $lang['news_sort_par'] = "Ascending or Descending:"; ! ! $lang['news_sort_style'] = "Sort mode:"; ! $lang['news_sort_style_explain'] = "Sort by categories or mix all news (posts/articles):"; ! ! $lang['News_mode'] = "Main Mode Switch: <br /> Display news in separate blocks or composed/categorized newspaper style."; ! ! $lang['Change_source'] = "Select news source:"; ! ! $lang['News_mode_operate'] = "Interact with 'source' or standalone mode 'none'"; ! $lang['News_mode_operate_explain'] = "The main phpbb/kb block contents may be synced with the newssuite block, i.e. 'source' mode. The newssuite block may also be used by itself, 'none' mode (default mode). "; ! ! $lang['News_main_mode'] = "Main Mode:"; ! $lang['News_main_mode_explain'] = "The Newssuite operate modes are:<br /> - Standard Block Mode: News (posts/articles) are displayed as individual blocks<br /> - Newspaper mode: News (posts/articles) are composed into ONE block<br /> - Category Nav mode: only news (post/articles) TITLES are displayed for easy navigation"; ! // Types ! ! // phpbb ! $lang['Cat_all'] = "All"; ! $lang['Cat_normal'] = "Normal post"; ! $lang['Cat_sticky'] = "Sticky"; ! $lang['Cat_announce'] = "Announce"; ! ! // kb ! $lang['Cat_pin'] = "Pinned article"; ! ! $lang['Read_home'] = "Start"; ! $lang['Read_next'] = "More"; ! $lang['Read_previous'] = "Previous"; ! ! $lang['No_news'] = "No more news available..."; ?> \ No newline at end of file --- 1,73 ---- ! <?php ! /*************************************************************************** ! * lang_admin.php ! * ------------------- ! * begin : Sunday, Mar 31, 2003 ! * copyright : (C) 2001 The phpBB Group ! * email : su...@ph... ! * ! * $Id$ ! * ! * ! ***************************************************************************/ ! ! /*************************************************************************** ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! ***************************************************************************/ ! // ! // General ! // ! $lang['News'] = "News"; ! $lang['Author'] = "Author"; ! $lang['Read_more'] = "Read more"; ! $lang['Comment'] = "Comment"; ! $lang['Comments'] = "Comments"; ! $lang['News_Archive'] = "News Archive"; ! ! // %s replaced with number of views ! $lang['Reads'] = "%s views"; ! ! // %s replaced with username and date in that order ! $lang['Posted_by_on'] = "Posted by %s on %s"; ! ! // ! // General strings from the news admin panel ! // ! $lang['News_settings'] = "News Settings"; ! $lang['News_settings_short_explain'] = "Configure some options for the front-page news."; ! $lang['News_settings_explain'] = "Here you can edit the configuration for the news module. The news module displays only a few of the most recent posts in a particular forum on the front page allowing you to inform users of important information."; ! ! // ! // Update result messages ! // ! $lang['News_updated_return_settings'] = "News configuration updated successfully.<br /><br />Click %shere%s to return to News Settings."; // %s's for URI params - DO NOT REMOVE ! $lang['News_update_error'] = "Couldn't update news configuration.<br /><br />This mod is designed for MySQL so please contact the author if you have troubles. If you can offer a translation of the SQL into other database formats, please send them to:<br />"; ! ! $lang['Read more'] = "Read more"; ! ! $lang['Change_source'] = "Select news source:"; ! ! ! // Types ! ! // phpbb ! $lang['Cat_all'] = "All"; ! $lang['Cat_normal'] = "Normal post"; ! $lang['Cat_sticky'] = "Sticky"; ! $lang['Cat_announce'] = "Announce"; ! ! // kb ! $lang['Cat_pin'] = "Pinned article"; ! ! $lang['Read_home'] = "Start"; ! $lang['Read_next'] = "More"; ! $lang['Read_previous'] = "Previous"; ! ! $lang['No_news'] = "No more news available..."; ! ?> \ No newline at end of file |
|
From: Jon O. <jon...@us...> - 2005-09-22 10:09:53
|
Update of /cvsroot/mxbb/mx_kb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7956/modules/mx_kb Modified Files: KnowledgeBase.pak db_install.php db_uninstall.php db_upgrade.php kb.php kb_article_reader.php Log Message: updating Index: kb.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** kb.php 1 May 2005 16:39:23 -0000 1.20 --- kb.php 22 Sep 2005 10:09:17 -0000 1.21 *************** *** 134,141 **** // Extract 'what posts to view info', the cool Array ;) ! $kb_type_select_data = array(); ! $kb_type_select_temp = $block_config[$block_id][kb_type_select]['parameter_value']; ! $kb_type_select_temp = stripslashes( $kb_type_select_temp ); ! $kb_type_select_data = eval( "return " . $kb_type_select_temp . ";" ); include_once( $phpbb_root_path . 'includes/functions_post.' . $phpEx ); --- 134,138 ---- // Extract 'what posts to view info', the cool Array ;) ! $kb_type_select_data = ( !empty( $block_config[$block_id][kb_type_select]['parameter_value'] ) ) ? unserialize($block_config[$block_id][kb_type_select]['parameter_value']) : array(); include_once( $phpbb_root_path . 'includes/functions_post.' . $phpEx ); Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/db_uninstall.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** db_uninstall.php 20 Apr 2005 19:30:19 -0000 1.11 --- db_uninstall.php 22 Sep 2005 10:09:17 -0000 1.12 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 22,29 **** define( 'IN_PORTAL', true ); - $mx_root_path = './../'; - if ( !defined( 'IN_ADMIN' ) ) { include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); --- 21,27 ---- define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { + $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); *************** *** 34,43 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management --- 32,41 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management *************** *** 75,84 **** ); - $message .= mx_do_install_upgrade( $sql ); - echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; ! echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $message . "</span></td></tr>"; echo "</table><br />"; --- 73,80 ---- ); echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; ! echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . mx_do_install_upgrade( $sql ) . "</span></td></tr>"; echo "</table><br />"; Index: KnowledgeBase.pak =================================================================== RCS file: /cvsroot/mxbb/mx_kb/KnowledgeBase.pak,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** KnowledgeBase.pak 9 Apr 2005 21:46:20 -0000 1.6 --- KnowledgeBase.pak 22 Sep 2005 10:09:17 -0000 1.7 *************** *** 1,15 **** module=+:41=+:Knowledge Base=+:modules/mx_kb/=+:Knowledge Base module=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:41=+:42=+:KB=+:Knowledge Base Module=+:kb.php=+:modules/mx_kb/admin/kb_config.php ! parameter=+:42=+:79=+:kb_type_select=+:Text=+:array('init'=>'1')=+: ! option=+:0=+:0=+:0=+:endoflist=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - KB=+:Demo block=+:42=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:41=+:96=+:Article_reader=+:Block to display articles only. No category navigation. To be used with newssuite.=+:kb_article_reader.php=+:modules/mx_kb/admin/kb_config.php ! parameter=+:96=+:302=+:default_article_id=+:Text=+:1=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:96=+:301=+:kb_type_select=+:Text=+:array('init'=>'1')=+: ! option=+:0=+:0=+:0=+:endoflist=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - Article_reader=+:Demo block=+:96=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 --- 1,12 ---- module=+:41=+:Knowledge Base=+:modules/mx_kb/=+:Knowledge Base module=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:41=+:42=+:KB=+:Knowledge Base Module=+:kb.php=+: ! parameter=+:42=+:79=+:kb_type_select=+:kb_type_select=+:=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - KB=+:Demo block=+:42=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:41=+:96=+:Article_reader=+:Block to display articles only. No category navigation. To be used with newssuite.=+:kb_article_reader.php=+: ! parameter=+:96=+:302=+:default_article_id=+:Number=+:1=+: ! parameter=+:96=+:301=+:kb_type_select=+:kb_type_select=+:array('init'=>'1')=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - Article_reader=+:Demo block=+:96=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/db_upgrade.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** db_upgrade.php 21 Apr 2005 19:36:16 -0000 1.24 --- db_upgrade.php 22 Sep 2005 10:09:17 -0000 1.25 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 22,30 **** define( 'IN_PORTAL', true ); - $mx_root_path = './../'; - - $mx_module_version = 'mxBB Knowledge Base Module v. 2.0.2'; - $mx_module_copy = 'Based on phpBB mod by <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=89202" target="_phpbb" >wGEric/Jon</a>'; - if ( !defined( 'IN_ADMIN' ) ) { --- 21,24 ---- *************** *** 38,51 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management } // For compatibility with core 2.7.+ define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); --- 32,48 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } + $mx_module_version = 'mxBB Knowledge Base Module v. 2.0.2'; + $mx_module_copy = 'Based on phpBB mod by <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=89202" target="_phpbb" >wGEric/Jon</a>'; + // For compatibility with core 2.7.+ define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/db_install.php,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** db_install.php 20 Apr 2005 19:30:18 -0000 1.30 --- db_install.php 22 Sep 2005 10:09:17 -0000 1.31 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 22,30 **** define( 'IN_PORTAL', true ); - $mx_root_path = './../'; - - $mx_module_version = 'mxBB Knowledge Base Module v. 2.0.2'; - $mx_module_copy = 'Based on phpBB mod by <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=89202" target="_phpbb" >wGEric/Jon</a>'; - if ( !defined( 'IN_ADMIN' ) ) { --- 21,24 ---- *************** *** 32,36 **** include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); - // Start session management $userdata = session_pagestart( $user_ip, PAGE_INDEX ); --- 26,29 ---- *************** *** 39,52 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management } // For compatibility with core 2.7.+ define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); --- 32,48 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } + $mx_module_version = 'mxBB Knowledge Base Module v. 2.0.2'; + $mx_module_copy = 'Based on phpBB mod by <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=89202" target="_phpbb" >wGEric/Jon</a>'; + // For compatibility with core 2.7.+ define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); Index: kb_article_reader.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb_article_reader.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** kb_article_reader.php 21 Apr 2005 19:36:16 -0000 1.6 --- kb_article_reader.php 22 Sep 2005 10:09:17 -0000 1.7 *************** *** 104,111 **** // Extract 'what posts to view info', the cool Array ;) ! $kb_type_select_data = array(); ! $kb_type_select_temp = $block_config[$block_id][kb_type_select]['parameter_value']; ! $kb_type_select_temp = stripslashes( $kb_type_select_temp ); ! $kb_type_select_data = eval( "return " . $kb_type_select_temp . ";" ); $default_article_id = $block_config[$block_id][default_article_id]['parameter_value']; --- 104,108 ---- // Extract 'what posts to view info', the cool Array ;) ! $kb_type_select_data = ( !empty( $block_config[$block_id][kb_type_select]['parameter_value'] ) ) ? unserialize($block_config[$block_id][kb_type_select]['parameter_value']) : array(); $default_article_id = $block_config[$block_id][default_article_id]['parameter_value']; |
|
From: Jon O. <jon...@us...> - 2005-09-22 10:09:53
|
Update of /cvsroot/mxbb/mx_kb/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7956/modules/mx_kb/includes Modified Files: functions_kb.php kb_cat.php kb_pages.php Log Message: updating Index: kb_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/includes/kb_cat.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** kb_cat.php 9 Apr 2005 21:41:28 -0000 1.15 --- kb_cat.php 22 Sep 2005 10:09:17 -0000 1.16 *************** *** 139,148 **** FROM " . KB_ARTICLES_TABLE . " WHERE "; ! // newssuite addon ! if ( $kb_config['news_operate_mode'] ) ! { ! $kb_types_list = ns_auth_item( $category_id ); ! $sql_pag .= " article_type IN " . $kb_types_list . ' AND'; ! } $sql_pag .= " article_category_id = '$category_id'"; --- 139,143 ---- FROM " . KB_ARTICLES_TABLE . " WHERE "; ! $sql_pag .= " article_category_id = '$category_id'"; Index: kb_pages.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/includes/kb_pages.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** kb_pages.php 21 Apr 2005 19:36:32 -0000 1.5 --- kb_pages.php 22 Sep 2005 10:09:17 -0000 1.6 *************** *** 96,103 **** // Extract 'what posts to view info', the cool Array ;) ! $kb_type_select_data = array(); ! $kb_type_select_temp = $kb_select_par; ! $kb_type_select_temp = stripslashes( $kb_type_select_temp ); ! $kb_type_select_data = eval( "return " . $kb_type_select_temp . ";" ); $kb_config['news_mode_operate'] = true; --- 96,102 ---- // Extract 'what posts to view info', the cool Array ;) ! $kb_type_select_data = ( !empty( $kb_select_par ) ) ? unserialize($kb_select_par) : array(); ! ! $kb_config['news_mode_operate'] = true; Index: functions_kb.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/includes/functions_kb.php,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** functions_kb.php 1 May 2005 16:39:22 -0000 1.33 --- functions_kb.php 22 Sep 2005 10:09:17 -0000 1.34 *************** *** 32,41 **** $sql_stat = "SELECT * FROM " . KB_TYPES_TABLE; - // newssuite addon - if ( $kb_config['news_operate_mode'] && !empty( $category_id ) ) - { - $kb_types_list = ns_auth_item( $category_id ); - $sql_stat .= " WHERE id IN " . $kb_types_list; - } $sql_stat .= " ORDER BY type"; --- 32,35 ---- *************** *** 58,67 **** $sql = "SELECT article_id FROM " . KB_ARTICLES_TABLE . " WHERE article_type = $type_id "; - // newssuite addon - if ( $kb_config['news_operate_mode'] && !empty( $category_id ) ) - { - $kb_types_list = ns_auth_item( $category_id ); - $sql .= " AND article_type IN " . $kb_types_list; - } if ( !empty( $category_id ) ) --- 52,55 ---- *************** *** 227,236 **** $sql .= " AND t.approved = " . $approve; } - // newssuite addon - if ( $kb_config['news_operate_mode'] ) - { - $kb_types_list = ns_auth_item( $id ); - $sql .= " AND t.article_type IN " . $kb_types_list; - } if ( defined( 'IN_ADMIN' ) ) --- 215,218 ---- *************** *** 351,357 **** $rating_message = '(' . $rating . '/10, </span><span class="gensmall">' . $rating_votes . ' votes)'; } ! // Newssuite operation mode ! // if ( ns_auth_item($article_cat, $type_id) && ns_auth_cat($article_cat)) ! // { $template->assign_block_vars( $block_name, array( 'ARTICLE' => $article , 'ARTICLE_DESCRIPTION' => $article_description, --- 333,337 ---- $rating_message = '(' . $rating . '/10, </span><span class="gensmall">' . $rating_votes . ' votes)'; } ! $template->assign_block_vars( $block_name, array( 'ARTICLE' => $article , 'ARTICLE_DESCRIPTION' => $article_description, *************** *** 494,498 **** } ! if ( ns_auth_item( $article_cat, $type_id ) && ns_auth_cat( $article_cat ) && $kb_is_auth[$article_cat]['auth_view']) { $i++; --- 474,478 ---- } ! if ( ns_auth_cat( $article_cat ) && $kb_is_auth[$article_cat]['auth_view']) { $i++; *************** *** 530,540 **** FROM " . KB_ARTICLES_TABLE . " WHERE "; - - // newssuite addon - if ( $kb_config['news_operate_mode'] ) - { - $kb_types_list = ns_auth_item( $category_id ); - $sql .= " article_type IN " . $kb_types_list . ' AND'; - } $sql .= " article_category_id = '$category_id' AND approved = '1'"; --- 510,513 ---- *************** *** 924,932 **** WHERE "; - if ( $kb_config['news_operate_mode'] ) - { - $kb_types_list = ns_auth_item( $category['category_id'] ); - $sql_num .= " article_type IN " . $kb_types_list . ' AND'; - } $sql_num .= " article_category_id = " . $category['category_id'] . " AND approved = '1'"; --- 897,900 ---- *************** *** 1023,1033 **** FROM " . KB_ARTICLES_TABLE . " WHERE "; - // newssuite addon - if ( $kb_config['news_operate_mode'] ) - { - $kb_types_list = ns_auth_item( $category['category_id'] ); - $sql_num .= " article_type IN " . $kb_types_list . ' AND'; - } $sql_num .= " article_category_id = " . $category['category_id']; --- 991,995 ---- *************** *** 1900,1904 **** function ns_auth_cat( $cat_id ) { ! global $news_type_select_data, $kb_type_select_data, $kb_config; if ( !MXBB_MODULE || MXBB_27x ) --- 1862,1866 ---- function ns_auth_cat( $cat_id ) { ! global $kb_type_select_data, $kb_config; if ( !MXBB_MODULE || MXBB_27x ) *************** *** 1907,1959 **** } ! $tmp_kb = $kb_type_select_data[$cat_id]['forum_news'] == 1; ! $tmp_news = true; ! ! if ( $kb_config['news_operate_mode'] ) ! { ! $tmp_news = $news_type_select_data[$cat_id]['forum_news'] == 1; ! } ! ! return $tmp_kb && $tmp_news; ! } ! ! function ns_auth_item( $cat_id, $item_type = 0 ) ! { ! global $news_type_select_data, $kb_config; ! ! if ( !MXBB_MODULE || MXBB_27x) ! { ! return true; ! } ! ! $item_types_array = kb_get_types(); ! $validated_types = array(); ! ! $ii = 0; ! $item_types_list = '('; ! for( $z = 0; $z < ( count( $item_types_array[0] ) ); $z++ ) ! { ! if ( $news_type_select_data[$cat_id][$item_types_array[0][$z]] ) ! { ! $ii++; ! $validated_types[] = $item_types_array[1][$z]; ! $item_types_list .= ( ( $ii == 1 ) ? $item_types_array[1][$z] : ',' . $item_types_array[1][$z] ); ! } ! } ! $item_types_list .= ')'; ! ! if ( $item_type == 0 ) ! { ! return $item_types_list; ! } ! if ( in_array( $item_type, $validated_types ) || !$kb_config['news_operate_mode'] ) ! { ! return true; ! } ! else ! { ! return false; ! } } --- 1869,1875 ---- } ! $tmp_kb = $kb_type_select_data[$cat_id] == 1; ! return $tmp_kb; } |
|
From: Jon O. <jon...@us...> - 2005-09-22 10:09:53
|
Update of /cvsroot/mxbb/mx_kb/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7956/modules/mx_kb/admin Modified Files: mx_module_defs.php Log Message: updating Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/admin/mx_module_defs.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_module_defs.php 20 Aug 2005 18:49:44 -0000 1.2 --- mx_module_defs.php 22 Sep 2005 10:09:17 -0000 1.3 *************** *** 67,74 **** $parameter_value = $HTTP_POST_VARS[$parameter_data['parameter_name']]; $parameter_opt = ''; ! switch ( $parameter_data['parameter_type'] ) { ! } --- 67,76 ---- $parameter_value = $HTTP_POST_VARS[$parameter_data['parameter_name']]; $parameter_opt = ''; ! switch ( $parameter_data['parameter_type'] ) { ! case 'kb_type_select': ! $parameter_value = addslashes( serialize( $parameter_value ) ); ! break; } *************** *** 81,85 **** function display_module_parameters( $parameter_data ) { ! global $template, $blockcptemplate, $mx_blockcp, $mx_root_path, $theme, $lang; switch ( $parameter_data['parameter_type'] ) --- 83,87 ---- function display_module_parameters( $parameter_data ) { ! global $template, $mx_blockcp, $mx_root_path, $theme, $lang; switch ( $parameter_data['parameter_type'] ) *************** *** 100,105 **** include_once( $module_root_path . "includes/kb_defs.$phpEx" ); $template->set_filenames(array( ! 'parameter' => $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl') ); --- 102,116 ---- include_once( $module_root_path . "includes/kb_defs.$phpEx" ); + if (file_exists($mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl')) + { + $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl'; + } + else + { + $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/subSilver' . '/admin/mx_module_parameters.tpl'; + } + $template->set_filenames(array( ! 'parameter' => $module_template_file) ); *************** *** 115,122 **** $forums = $db->sql_fetchrowset( $result ); ! $kb_type_select_data = array(); ! $kb_type_select_temp = $mx_blockcp->block_parameters['kb_type_select']['parameter_value']; ! $kb_type_select_temp = stripslashes( $kb_type_select_temp ); ! $kb_type_select_data = eval( "return " . $kb_type_select_temp . ";" ); // // Check that some categories exist --- 126,131 ---- $forums = $db->sql_fetchrowset( $result ); ! $kb_type_select_data = ( !empty( $parameter_data['parameter_value'] ) ) ? unserialize($parameter_data['parameter_value']) : array(); ! // // Check that some categories exist *************** *** 159,162 **** --- 168,172 ---- $template->assign_vars(array( 'NAME' => $lang[$parameter_data['parameter_name']], + 'SELSCT_NAME' => $parameter_data['parameter_name'], 'PARAMETER_TITLE' => ( !empty($lang[$parameter_data['parameter_name']]) ) ? $lang[$parameter_data['parameter_name']] : $parameter_data['parameter_name'], 'PARAMETER_TYPE' => ( !empty($lang["ParType_".$parameter_data['parameter_type']]) ) ? $lang["ParType_".$parameter_data['parameter_type']] : '', *************** *** 169,172 **** --- 179,184 ---- )); + $template->pparse('parameter'); + } } |
|
From: Jon O. <jon...@us...> - 2005-09-22 10:09:53
|
Update of /cvsroot/mxbb/mx_linkdb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8183/modules/mx_linkdb Modified Files: db_install.php db_uninstall.php db_upgrade.php Log Message: updating Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/db_upgrade.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** db_upgrade.php 18 Mar 2005 21:04:05 -0000 1.4 --- db_upgrade.php 22 Sep 2005 10:09:38 -0000 1.5 *************** *** 2,17 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * * $Id$ */ - /** * This program is free software; you can redistribute it and/or modify --- 2,15 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * * $Id$ */ /** * This program is free software; you can redistribute it and/or modify *************** *** 22,32 **** define( 'IN_PORTAL', true ); - - $mx_module_version = 'mxBB LinkDb Module 1.0.0'; - $mx_module_copy = 'Based on LinkDb 0.0.7 <a href="http://www.phpbb.com/phpBB/viewtopic.php?p=1183059" target="_blank">CRLin</a>, <a href="http://www.hostsector.com/~mohd/" target="_blank">pafiledb</a> and <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=110836" target="_blank">Advanced Links Mod</a>'; - if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); --- 20,26 ---- define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); *************** *** 37,50 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management } $sql = array(); // Precheck --- 31,47 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } + $mx_module_version = 'mxBB LinkDb Module 1.0.0'; + $mx_module_copy = 'Based on LinkDb 0.0.7 <a href="http://www.phpbb.com/phpBB/viewtopic.php?p=1183059" target="_blank">CRLin</a>, <a href="http://www.hostsector.com/~mohd/" target="_blank">pafiledb</a> and <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=110836" target="_blank">Advanced Links Mod</a>'; + $sql = array(); // Precheck Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/db_uninstall.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** db_uninstall.php 16 Jan 2005 01:03:18 -0000 1.2 --- db_uninstall.php 22 Sep 2005 10:09:38 -0000 1.3 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 24,28 **** if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); --- 23,27 ---- if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); *************** *** 33,45 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management } $sql = array( "DROP TABLE " . $mx_table_prefix . "linkdb_categories ", --- 32,45 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } + $sql = array( "DROP TABLE " . $mx_table_prefix . "linkdb_categories ", *************** *** 56,65 **** ); - $message .= mx_do_install_upgrade( $sql ); - echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; ! echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $message . "</span></td></tr>"; echo "</table><br />"; --- 56,63 ---- ); echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; ! echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . mx_do_install_upgrade( $sql ) . "</span></td></tr>"; echo "</table><br />"; Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/db_install.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** db_install.php 6 Mar 2005 01:12:41 -0000 1.3 --- db_install.php 22 Sep 2005 10:09:38 -0000 1.4 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 22,32 **** define( 'IN_PORTAL', true ); - - $mx_module_version = 'mxBB LinkDb Module 1.0.0'; - $mx_module_copy = 'Based on LinkDb 0.0.7 <a href="http://www.phpbb.com/phpBB/viewtopic.php?p=1183059" target="_blank">CRLin</a>, <a href="http://www.hostsector.com/~mohd/" target="_blank">pafiledb</a> and <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=110836" target="_blank">Advanced Links Mod</a>'; - if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); --- 21,27 ---- define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); *************** *** 37,49 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management } // If fresh install if ( !$result = $db->sql_query( "SELECT config_name from " . $mx_table_prefix . "linkdb_config" ) ) --- 32,48 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } + + $mx_module_version = 'mxBB LinkDb Module 1.0.0'; + $mx_module_copy = 'Based on LinkDb 0.0.7 <a href="http://www.phpbb.com/phpBB/viewtopic.php?p=1183059" target="_blank">CRLin</a>, <a href="http://www.hostsector.com/~mohd/" target="_blank">pafiledb</a> and <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=110836" target="_blank">Advanced Links Mod</a>'; + // If fresh install if ( !$result = $db->sql_query( "SELECT config_name from " . $mx_table_prefix . "linkdb_config" ) ) |
|
From: Jon O. <jon...@us...> - 2005-09-22 10:09:53
|
Update of /cvsroot/mxbb/mx_kb/templates/subSilver/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7956/modules/mx_kb/templates/subSilver/admin Modified Files: mx_module_parameters.tpl Log Message: updating Index: mx_module_parameters.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_kb/templates/subSilver/admin/mx_module_parameters.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_module_parameters.tpl 20 Aug 2005 18:23:15 -0000 1.1 --- mx_module_parameters.tpl 22 Sep 2005 10:09:17 -0000 1.2 *************** *** 19,23 **** <!-- BEGIN forumrow_phpbb --> <tr> ! <td class="row1" align="center" valign="top"><input type="checkbox" name="forum_news[{catrow.forumrow_phpbb.FORUM_ID}]" value="1" {catrow.forumrow_phpbb.CHECKED} /></td> <td class="row1" align="left" valign="top"><span class="forumlink">{catrow.forumrow_phpbb.FORUM_NAME}</span><br /><span class="gensmall">{catrow.forumrow_phpbb.FORUM_DESC}</span></td> </tr> --- 19,23 ---- <!-- BEGIN forumrow_phpbb --> <tr> ! <td class="row1" align="center" valign="top"><input type="checkbox" name="{SELSCT_NAME}[{catrow.forumrow_phpbb.FORUM_ID}]" value="1" {catrow.forumrow_phpbb.CHECKED} /></td> <td class="row1" align="left" valign="top"><span class="forumlink">{catrow.forumrow_phpbb.FORUM_NAME}</span><br /><span class="gensmall">{catrow.forumrow_phpbb.FORUM_DESC}</span></td> </tr> |
|
From: Jon O. <jon...@us...> - 2005-09-22 10:08:58
|
Update of /cvsroot/mxbb/mx_gallery In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7745/modules/mx_gallery Modified Files: Gallery.pak db_install.php db_uninstall.php db_upgrade.php Log Message: updating Index: Gallery.pak =================================================================== RCS file: /cvsroot/mxbb/mx_gallery/Gallery.pak,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Gallery.pak 15 Jan 2005 23:46:16 -0000 1.3 --- Gallery.pak 22 Sep 2005 10:08:46 -0000 1.4 *************** *** 7,49 **** function=+:45=+:55=+:gallery_toplist=+:=+:modules_toplist.php=+: parameter=+:55=+:137=+:Block_Style=+:Function=+:0=+:get_list_static("{parameter_id}[]",array('date','views','cdate','comments','votes','ratings','rand_album','rand_photo','latestalbums'),"{parameter_value}") - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:146=+:layoutInfoBelowImage=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:148=+:LimitToMonths=+:Function=+:0=+:get_list_static("{parameter_id}[]",array('no_limit','current month','last month','latest 2 months','latest 3 months','4','5','6','12'),"{parameter_value}") - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:145=+:newestCommentsFirst=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:311=+:numCols=+:Number=+:3=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:310=+:numRows=+:Number=+:1=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:138=+:photosPerPage=+:Number=+:5=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:144=+:showAddComment=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:304=+:showAlbumLink=+:Boolean=+:FALSE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:147=+:showAlbumOwner=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:303=+:showCaption=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:139=+:showCaptureDate=+:Boolean=+:FALSE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:143=+:showComments=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:305=+:showDescription=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:309=+:showGrid=+:Boolean=+:FALSE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:306=+:showRatings=+:Boolean=+:FALSE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:140=+:showUploadDate=+:Boolean=+:TRUE=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:141=+:showViews=+:Boolean=+:TRUE=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:55=+:150=+:target_block=+:Function=+:0=+:get_list_formatted("gallery","{parameter_value}","{parameter_id}[]") ! option=+:0=+:0=+:0=+:endoflist=+: parameter=+:55=+:308=+:votesNeededToShowRating=+:Number=+:5=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - gallery_toplist=+:Demo block=+:55=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 --- 7,29 ---- function=+:45=+:55=+:gallery_toplist=+:=+:modules_toplist.php=+: parameter=+:55=+:137=+:Block_Style=+:Function=+:0=+:get_list_static("{parameter_id}[]",array('date','views','cdate','comments','votes','ratings','rand_album','rand_photo','latestalbums'),"{parameter_value}") parameter=+:55=+:146=+:layoutInfoBelowImage=+:Boolean=+:TRUE=+: parameter=+:55=+:148=+:LimitToMonths=+:Function=+:0=+:get_list_static("{parameter_id}[]",array('no_limit','current month','last month','latest 2 months','latest 3 months','4','5','6','12'),"{parameter_value}") parameter=+:55=+:145=+:newestCommentsFirst=+:Boolean=+:TRUE=+: parameter=+:55=+:311=+:numCols=+:Number=+:3=+: parameter=+:55=+:310=+:numRows=+:Number=+:1=+: parameter=+:55=+:138=+:photosPerPage=+:Number=+:5=+: parameter=+:55=+:144=+:showAddComment=+:Boolean=+:TRUE=+: parameter=+:55=+:304=+:showAlbumLink=+:Boolean=+:FALSE=+: parameter=+:55=+:147=+:showAlbumOwner=+:Boolean=+:TRUE=+: parameter=+:55=+:303=+:showCaption=+:Boolean=+:TRUE=+: parameter=+:55=+:139=+:showCaptureDate=+:Boolean=+:FALSE=+: parameter=+:55=+:143=+:showComments=+:Boolean=+:TRUE=+: parameter=+:55=+:305=+:showDescription=+:Boolean=+:TRUE=+: parameter=+:55=+:309=+:showGrid=+:Boolean=+:FALSE=+: parameter=+:55=+:306=+:showRatings=+:Boolean=+:FALSE=+: parameter=+:55=+:140=+:showUploadDate=+:Boolean=+:TRUE=+: parameter=+:55=+:141=+:showViews=+:Boolean=+:TRUE=+: ! parameter=+:55=+:150=+:target_block=+:Function=+:0=+:get_list_formatted("block_list","{parameter_value}","{parameter_id}[]", "modules.php") parameter=+:55=+:308=+:votesNeededToShowRating=+:Number=+:5=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - gallery_toplist=+:Demo block=+:55=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_gallery/db_uninstall.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** db_uninstall.php 16 Jan 2005 01:02:18 -0000 1.3 --- db_uninstall.php 22 Sep 2005 10:08:46 -0000 1.4 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 24,33 **** if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); - // Start session management - $userdata = session_pagestart( $user_ip, PAGE_INDEX ); mx_init_userprefs( $userdata ); --- 23,30 ---- if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); // Start session management $userdata = session_pagestart( $user_ip, PAGE_INDEX ); mx_init_userprefs( $userdata ); *************** *** 35,58 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } - // End session management - } // If fresh install ! $message = "<b>You are uninstalling the module tables!</b><br/><br/>"; echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; ! echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $message . "</span></td></tr>"; echo "</table><br />"; --- 32,53 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } // If fresh install ! $uninstall_message = "<b>You are uninstalling the module tables!</b><br/><br/>"; echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; ! echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $uninstall_message . "</span></td></tr>"; echo "</table><br />"; Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_gallery/db_install.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** db_install.php 6 Mar 2005 01:12:17 -0000 1.4 --- db_install.php 22 Sep 2005 10:08:46 -0000 1.5 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 22,37 **** define( 'IN_PORTAL', true ); - - $mx_module_version = 'mxBB Gallery Module 1.0.0'; - $mx_module_copy = 'Based on <a href="http://gallery.sourceforge.net/" target="_phpbb" >Menalto Gallery</a>'; - if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); - // Start session management - $userdata = session_pagestart( $user_ip, PAGE_INDEX ); mx_init_userprefs( $userdata ); --- 21,30 ---- define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); // Start session management $userdata = session_pagestart( $user_ip, PAGE_INDEX ); mx_init_userprefs( $userdata ); *************** *** 39,54 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } - // End session management - } // If fresh install $sql = array(); --- 32,48 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } + $mx_module_version = 'mxBB Gallery Module 1.0.0'; + $mx_module_copy = 'Based on <a href="http://gallery.sourceforge.net/" target="_phpbb" >Menalto Gallery</a>'; + // If fresh install $sql = array(); Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_gallery/db_upgrade.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** db_upgrade.php 6 Mar 2005 01:12:17 -0000 1.4 --- db_upgrade.php 22 Sep 2005 10:08:46 -0000 1.5 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 22,37 **** define( 'IN_PORTAL', true ); - - $mx_module_version = 'mxBB Gallery Module 1.0.0'; - $mx_module_copy = 'Based on <a href="http://gallery.sourceforge.net/" target="_phpbb" >Menalto Gallery</a>'; - if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); - // Start session management - $userdata = session_pagestart( $user_ip, PAGE_INDEX ); mx_init_userprefs( $userdata ); --- 21,30 ---- define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); // Start session management $userdata = session_pagestart( $user_ip, PAGE_INDEX ); mx_init_userprefs( $userdata ); *************** *** 39,54 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } - // End session management - } // If fresh install $sql = array(); --- 32,48 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } + $mx_module_version = 'mxBB Gallery Module 1.0.0'; + $mx_module_copy = 'Based on <a href="http://gallery.sourceforge.net/" target="_phpbb" >Menalto Gallery</a>'; + // If fresh install $sql = array(); |
|
From: Jon O. <jon...@us...> - 2005-09-22 10:08:16
|
Update of /cvsroot/mxbb/mx_calsnails In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7547/modules/mx_calsnails Modified Files: CalSnails_Lite.pak calendar.php db_install.php db_uninstall.php db_upgrade.php mx_calendar_events.php Log Message: updating Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/db_uninstall.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** db_uninstall.php 16 Jan 2005 01:24:46 -0000 1.7 --- db_uninstall.php 22 Sep 2005 10:08:05 -0000 1.8 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 24,28 **** if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); --- 23,27 ---- if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); *************** *** 33,42 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management --- 32,41 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management *************** *** 49,58 **** ); - $message .= mx_do_install_upgrade( $sql ); - echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; ! echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $message . "</span></td></tr>"; echo "</table><br />"; --- 48,55 ---- ); echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; ! echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . mx_do_install_upgrade( $sql ) . "</span></td></tr>"; echo "</table><br />"; Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/db_upgrade.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** db_upgrade.php 17 Mar 2005 12:04:26 -0000 1.7 --- db_upgrade.php 22 Sep 2005 10:08:05 -0000 1.8 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 22,32 **** define( 'IN_PORTAL', true ); - - $mx_module_version = 'mxBB Calsnails Module 2.0.0'; - $mx_module_copy = 'Based on <a href="http://www.snailsource.com/" target="_phpbb" >Calendar LITE, Martin</a>'; - if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); --- 21,27 ---- define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); *************** *** 37,50 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management } define( 'DB_INSTALL', true ); $module_root_path = dirname( __FILE__ ) . '/'; --- 32,48 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } + $mx_module_version = 'mxBB Calsnails Module 2.0.0'; + $mx_module_copy = 'Based on <a href="http://www.snailsource.com/" target="_phpbb" >Calendar LITE, Martin</a>'; + define( 'DB_INSTALL', true ); $module_root_path = dirname( __FILE__ ) . '/'; Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/db_install.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** db_install.php 17 Mar 2005 12:04:26 -0000 1.13 --- db_install.php 22 Sep 2005 10:08:05 -0000 1.14 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 22,39 **** define( 'IN_PORTAL', true ); - - $mx_module_version = 'mxBB Calsnails Module 2.0.0'; - $mx_module_copy = 'Based on <a href="http://www.snailsource.com/" target="_phpbb" >Calendar LITE, Martin</a>'; - if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); // Start session management $userdata = session_pagestart( $user_ip, PAGE_INDEX ); ! mx_init_userprefs( $userdata ); // End session management } define( 'DB_INSTALL', true ); $module_root_path = dirname( __FILE__ ) . '/'; --- 21,48 ---- define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); // Start session management $userdata = session_pagestart( $user_ip, PAGE_INDEX ); ! mx_init_userprefs( $userdata ); ! ! if ( !$userdata['session_logged_in'] ) ! { ! die( "Hacking attempt(1)" ); ! } ! ! if ( $userdata['user_level'] != ADMIN ) ! { ! die( "Hacking attempt(2)" ); ! } // End session management } + + $mx_module_version = 'mxBB Calsnails Module 2.0.0'; + $mx_module_copy = 'Based on <a href="http://www.snailsource.com/" target="_phpbb" >Calendar LITE, Martin</a>'; + define( 'DB_INSTALL', true ); $module_root_path = dirname( __FILE__ ) . '/'; Index: mx_calendar_events.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/mx_calendar_events.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** mx_calendar_events.php 1 May 2005 16:38:07 -0000 1.8 --- mx_calendar_events.php 22 Sep 2005 10:08:05 -0000 1.9 *************** *** 47,51 **** $block_config = read_block_config( $block_id ); ! $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' );$block_title = $block_config[$block_id]['Calendar_Block_Title']['parameter_value']; $block_vsize = $block_config[$block_id]['Calendar_Vertical_Size']['parameter_value']; $text_length = $block_config[$block_id]['Calendar_Text_Length']['parameter_value']; --- 47,52 ---- $block_config = read_block_config( $block_id ); ! $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); ! $block_title = $block_config[$block_id]['Calendar_Block_Title']['parameter_value']; $block_vsize = $block_config[$block_id]['Calendar_Vertical_Size']['parameter_value']; $text_length = $block_config[$block_id]['Calendar_Text_Length']['parameter_value']; *************** *** 60,68 **** } ! define( 'CALRANGE_TODAY' , 0 ); ! define( 'CALRANGE_THIS_WEEK' , 1 ); ! define( 'CALRANGE_NEXT_WEEK' , 2 ); ! define( 'CALRANGE_THIS_MONTH', 3 ); ! define( 'CALRANGE_NEXT_MONTH', 4 ); // Check parameters: assign default values if the module is not correctly installed. --- 61,69 ---- } ! define( 'CALRANGE_TODAY' , 'today' ); ! define( 'CALRANGE_THIS_WEEK' , 'this day' ); ! define( 'CALRANGE_NEXT_WEEK' , 'next day' ); ! define( 'CALRANGE_THIS_MONTH', 'this week' ); ! define( 'CALRANGE_NEXT_MONTH', 'next week' ); // Check parameters: assign default values if the module is not correctly installed. Index: calendar.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/calendar.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** calendar.php 12 Apr 2005 21:11:06 -0000 1.15 --- calendar.php 22 Sep 2005 10:08:05 -0000 1.16 *************** *** 1,1759 **** ! <?php ! /** ! * MX-System changes to original source: ! * ! * MX001: MX Block Initialization and Use of $block_size. ! * MX002: Remove include cal_settings (includes/mx_common.php). ! * MX003: Move other includes into mx_common.php. ! * MX004: Add $module_root_path to $thisscript. ! * MX005: Check the use of header/footer (only if running standalone). ! * MX006: Change table names to match MX conventions. [...3491 lines suppressed...] ! { ! $omega--; ! } ! } ! if ( $alpha > $omega ) ! { ! break; ! } ! $temporary = $array[$alpha]; ! $array[$alpha++] = $array[$omega]; ! $array[$omega--] = $temporary; ! } ! array_qsort2 ( $array, $column, $order, $first, $omega ); ! array_qsort2 ( $array, $column, $order, $alpha, $last ); ! } ! return $array; ! } ! ?> \ No newline at end of file Index: CalSnails_Lite.pak =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/CalSnails_Lite.pak,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** CalSnails_Lite.pak 17 Mar 2005 12:04:26 -0000 1.5 --- CalSnails_Lite.pak 22 Sep 2005 10:08:05 -0000 1.6 *************** *** 3,13 **** function=+:42=+:43=+:CalSnails Lite=+:Main Calendar Lite script=+:calendar.php=+: parameter=+:43=+:111=+:auth_all=+:Function=+:2=+:get_list_static("{parameter_id}[]",array("No access","View only","View,Suggest","View,Add","View,Add(Edit/Delete own)"),"{parameter_value}") - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:43=+:112=+:auth_reg=+:Function=+:2=+:get_list_static("{parameter_id}[]",array("No access","View only","View,Suggest","View,Add","View,Add(Edit/Delete own)"),"{parameter_value}") ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:43=+:170=+:cal_filter=+:Boolean=+:FALSE=+: ! option=+:0=+:0=+:0=+:endoflist=+: parameter=+:43=+:169=+:cal_mod_group=+:Function=+:0=+:mx_get_groups("{parameter_value}","{parameter_id}[]") - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - CalSnails Lite=+:Demo block=+:43=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 --- 3,9 ---- function=+:42=+:43=+:CalSnails Lite=+:Main Calendar Lite script=+:calendar.php=+: parameter=+:43=+:111=+:auth_all=+:Function=+:2=+:get_list_static("{parameter_id}[]",array("No access","View only","View,Suggest","View,Add","View,Add(Edit/Delete own)"),"{parameter_value}") parameter=+:43=+:112=+:auth_reg=+:Function=+:2=+:get_list_static("{parameter_id}[]",array("No access","View only","View,Suggest","View,Add","View,Add(Edit/Delete own)"),"{parameter_value}") ! parameter=+:43=+:170=+:cal_filter=+:Boolean=+:0=+: parameter=+:43=+:169=+:cal_mod_group=+:Function=+:0=+:mx_get_groups("{parameter_value}","{parameter_id}[]") parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - CalSnails Lite=+:Demo block=+:43=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 *************** *** 15,57 **** function=+:42=+:45=+:CalSnails Events=+:Basic script to deal with calendar event reports=+:mx_calendar_events.php=+: parameter=+:45=+:68=+:Calendar_Block_Title=+:Text=+:=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:45=+:69=+:Calendar_Events_dateformat=+:Text=+:l, d F Y h:i a=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:45=+:74=+:Calendar_Events_Next=+:Number=+:3=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:45=+:73=+:Calendar_Events_Prev=+:Number=+:3=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:45=+:72=+:Calendar_Events_Range=+:Values=+:0=+: ! option=+:8=+:72=+:0=+:Today ! option=+:9=+:72=+:1=+:This Week ! option=+:10=+:72=+:2=+:Next Week ! option=+:11=+:72=+:3=+:This Month ! option=+:12=+:72=+:4=+:Next Month ! option=+:0=+:0=+:0=+:endoflist=+: parameter=+:45=+:71=+:Calendar_Text_Length=+:Number=+:30=+: - option=+:0=+:0=+:0=+:endoflist=+: parameter=+:45=+:70=+:Calendar_Vertical_Size=+:Number=+:200=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:45=+:110=+:target_block=+:Function=+:0=+:get_list_formatted("calsnails","{parameter_value}","{parameter_id}[]") ! option=+:0=+:0=+:0=+:endoflist=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - CalSnails Events=+:Demo block=+:45=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:42=+:44=+:CalSnails Mini=+:Calendar Lite (mini function)=+:mx_calendar_mini.php=+: ! parameter=+:45=+:110=+:target_block=+:Function=+:0=+:get_list_formatted("calsnails","{parameter_value}","{parameter_id}[]") ! option=+:0=+:0=+:0=+:endoflist=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - CalSnails Mini=+:Demo block=+:44=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:42=+:46=+:Calendar Query=+:Sample function to help you export Calendar Lite data=+:mx_calendar_query.php=+: ! parameter=+:46=+:75=+:Calendar_Block_Title=+:Text=+:=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:46=+:76=+:Calendar_Events_dateformat=+:Text=+:=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:46=+:78=+:Calendar_Order=+:Text=+:stamp, subject=+: ! option=+:0=+:0=+:0=+:endoflist=+: ! parameter=+:46=+:77=+:Calendar_Where=+:Text=+:=+: ! option=+:0=+:0=+:0=+:endoflist=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Calendar Query=+:Demo block=+:46=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 --- 11,31 ---- function=+:42=+:45=+:CalSnails Events=+:Basic script to deal with calendar event reports=+:mx_calendar_events.php=+: parameter=+:45=+:68=+:Calendar_Block_Title=+:Text=+:=+: parameter=+:45=+:69=+:Calendar_Events_dateformat=+:Text=+:l, d F Y h:i a=+: parameter=+:45=+:74=+:Calendar_Events_Next=+:Number=+:3=+: parameter=+:45=+:73=+:Calendar_Events_Prev=+:Number=+:3=+: ! parameter=+:45=+:72=+:Calendar_Events_Range=+:Menu_single_select=+:this week=+:a:5:{i:0;s:5:"today";i:1;s:9:"this week";i:2;s:9:"next week";i:3;s:10:"this month";i:4;s:10:"next month";} parameter=+:45=+:71=+:Calendar_Text_Length=+:Number=+:30=+: parameter=+:45=+:70=+:Calendar_Vertical_Size=+:Number=+:200=+: ! parameter=+:45=+:110=+: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 Events=+:Demo block=+:45=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 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 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:42=+:46=+:Calendar Querys1=+:Sample function to help you export Calendar Lite data=+:mx_calendar_query.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Calendar Querys1=+:Demo block=+:46=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 |
|
From: Jon O. <jon...@us...> - 2005-09-22 10:07:50
|
Update of /cvsroot/mxbb/mx_act In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7425/modules/mx_act Modified Files: db_install.php db_uninstall.php db_upgrade.php Log Message: updating Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/db_uninstall.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** db_uninstall.php 16 Jan 2005 01:00:56 -0000 1.4 --- db_uninstall.php 22 Sep 2005 10:07:30 -0000 1.5 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 24,28 **** if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); --- 23,27 ---- if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); *************** *** 33,42 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management --- 32,41 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management *************** *** 62,71 **** ); - $message .= mx_do_install_upgrade( $sql ); - echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; ! echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $message . "</span></td></tr>"; echo "</table><br />"; --- 61,68 ---- ); echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; ! echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . mx_do_install_upgrade( $sql ) . "</span></td></tr>"; echo "</table><br />"; Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/db_install.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** db_install.php 18 Mar 2005 21:32:23 -0000 1.7 --- db_install.php 22 Sep 2005 10:07:30 -0000 1.8 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 22,25 **** --- 21,44 ---- define( 'IN_PORTAL', true ); + if ( !defined( 'IN_ADMIN' ) ) + { + $mx_root_path = './../../'; + include( $mx_root_path . 'extension.inc' ); + include( $mx_root_path . 'common.' . $phpEx ); + // Start session management + $userdata = session_pagestart( $user_ip, PAGE_INDEX ); + mx_init_userprefs( $userdata ); + + if ( !$userdata['session_logged_in'] ) + { + die( "Hacking attempt(1)" ); + } + + if ( $userdata['user_level'] != ADMIN ) + { + die( "Hacking attempt(2)" ); + } + // End session management + } $mx_module_version = 'mxBB Activity Mod Module v. 1.0.0'; Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/db_upgrade.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** db_upgrade.php 6 Mar 2005 01:11:40 -0000 1.7 --- db_upgrade.php 22 Sep 2005 10:07:30 -0000 1.8 *************** *** 2,12 **** /** * * ------------------------------------------------------------------------ ! * subject : mx-portal, CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * - * description : * ------------------------------------------------------------------------- * --- 2,11 ---- /** * * ------------------------------------------------------------------------ ! * subject : mxBB-Portal - CMS & portal * begin : june, 2002 ! * copyright : (C) 2002-2005 mxBB-Portal * email : jon...@ho... * project site : www.mx-system.com * * ------------------------------------------------------------------------- * *************** *** 22,32 **** define( 'IN_PORTAL', true ); - - $mx_module_version = 'mxBB Activity Mod Module v. 1.0.0'; - $mx_module_copy = 'Based on Activity Mod by Napoleon/aUsTiN-Inc/Jon © 2002-2004 <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=203074" target="_phpbb">PHPBB.com MOD</a>'; - if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = '../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); --- 21,27 ---- define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { ! $mx_root_path = './../../'; include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); *************** *** 37,49 **** if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(3)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(4)" ); } // End session management } define( "iNA_CONFIG", $mx_table_prefix . 'ina_config' ); --- 32,48 ---- if ( !$userdata['session_logged_in'] ) { ! die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { ! die( "Hacking attempt(2)" ); } // End session management } + + $mx_module_version = 'mxBB Activity Mod Module v. 1.0.0'; + $mx_module_copy = 'Based on Activity Mod by Napoleon/aUsTiN-Inc/Jon © 2002-2004 <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=203074" target="_phpbb">PHPBB.com MOD</a>'; + define( "iNA_CONFIG", $mx_table_prefix . 'ina_config' ); |
|
From: Jon O. <jon...@us...> - 2005-09-21 21:21:49
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25984/includes Modified Files: mx_constants.php mx_functions_phpbb.php Log Message: fix for admincp LOCATION Index: mx_constants.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_constants.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** mx_constants.php 25 Apr 2005 12:03:05 -0000 1.14 --- mx_constants.php 21 Sep 2005 21:21:41 -0000 1.15 *************** *** 27,31 **** // ViewOnline extension for mxBB Portal Pages // ! define('MX_PORTAL_PAGES_OFFSET', -100000); --- 27,31 ---- // ViewOnline extension for mxBB Portal Pages // ! define('MX_PORTAL_PAGES_OFFSET', -1000); Index: mx_functions_phpbb.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_phpbb.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** mx_functions_phpbb.php 20 Sep 2005 15:30:58 -0000 1.11 --- mx_functions_phpbb.php 21 Sep 2005 21:21:41 -0000 1.12 *************** *** 569,573 **** // Prevent from reading pages information more than once. // ! if( $pages_data === false ) { $sql = "SELECT page_id, page_name FROM " . PAGE_TABLE . " ORDER BY page_id"; --- 569,573 ---- // Prevent from reading pages information more than once. // ! if( $mx_pages_data === false ) { $sql = "SELECT page_id, page_name FROM " . PAGE_TABLE . " ORDER BY page_id"; |
|
From: Jon O. <jon...@us...> - 2005-09-21 20:26:08
|
Update of /cvsroot/mxbb/mx_phpbb/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13271/modules/mx_phpbb/admin Modified Files: admin_forums_ext.php Log Message: minor fixes Index: admin_forums_ext.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/admin/admin_forums_ext.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** admin_forums_ext.php 20 Sep 2005 15:40:17 -0000 1.1 --- admin_forums_ext.php 21 Sep 2005 20:25:27 -0000 1.2 *************** *** 26,31 **** } ! $mx_root_path = '../../../'; ! $module_root_path = "../"; require( $mx_root_path . 'extension.inc' ); require( $mx_root_path . '/admin/pagestart.' . $phpEx ); --- 26,31 ---- } ! $mx_root_path = './../../../'; ! $module_root_path = "./../"; require( $mx_root_path . 'extension.inc' ); require( $mx_root_path . '/admin/pagestart.' . $phpEx ); |
|
From: Jon O. <jon...@us...> - 2005-09-21 20:26:07
|
Update of /cvsroot/mxbb/mx_phpbb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13271/modules/mx_phpbb Modified Files: mx_phpbb.php Log Message: minor fixes Index: mx_phpbb.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/mx_phpbb.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_phpbb.php 20 Sep 2005 15:40:17 -0000 1.1 --- mx_phpbb.php 21 Sep 2005 20:25:27 -0000 1.2 *************** *** 28,32 **** // Restore POST vars after redirect // ! //$_POST = $HTTP_POST_VARS = $_SESSION['mxbb_post_vars']; include_once($mx_root_path . "modules/mx_phpbb/includes/forum_hack.$phpEx"); --- 28,32 ---- // Restore POST vars after redirect // ! $_POST = $HTTP_POST_VARS = $_SESSION['mxbb_post_vars']; include_once($mx_root_path . "modules/mx_phpbb/includes/forum_hack.$phpEx"); |
|
From: Jon O. <jon...@us...> - 2005-09-21 20:24:53
|
Update of /cvsroot/mxbb/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13133 Modified Files: index.php Log Message: fixed page_title Index: index.php =================================================================== RCS file: /cvsroot/mxbb/core/index.php,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** index.php 20 Sep 2005 15:30:58 -0000 1.40 --- index.php 21 Sep 2005 20:24:44 -0000 1.41 *************** *** 61,65 **** // ...and define some basic vars // ! $page_title .= $mx_page->info['page_name']; $page_icon = $mx_page->info['page_icon']; $page_ov_header = $mx_page->info['page_header']; --- 61,65 ---- // ...and define some basic vars // ! $mx_page_title .= $mx_page->info['page_name']; $page_icon = $mx_page->info['page_icon']; $page_ov_header = $mx_page->info['page_header']; |
|
From: Jon O. <jon...@us...> - 2005-09-21 20:24:52
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13133/includes Modified Files: page_header.php Log Message: fixed page_title Index: page_header.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/page_header.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** page_header.php 20 Sep 2005 15:30:58 -0000 1.21 --- page_header.php 21 Sep 2005 20:24:44 -0000 1.22 *************** *** 383,387 **** 'SITENAME' => $board_config['sitename'], 'SITE_DESCRIPTION' => $board_config['site_desc'], ! 'PAGE_TITLE' => $page_title, 'LAST_VISIT_DATE' => sprintf($lang['You_last_visit'], $s_last_visit), 'CURRENT_TIME' => sprintf($lang['Current_time'], create_date($board_config['default_dateformat'], time(), $board_config['board_timezone'])), --- 383,387 ---- 'SITENAME' => $board_config['sitename'], 'SITE_DESCRIPTION' => $board_config['site_desc'], ! 'PAGE_TITLE' => $mx_page_title, 'LAST_VISIT_DATE' => sprintf($lang['You_last_visit'], $s_last_visit), 'CURRENT_TIME' => sprintf($lang['Current_time'], create_date($board_config['default_dateformat'], time(), $board_config['board_timezone'])), |
|
From: Jon O. <jon...@us...> - 2005-09-20 15:40:36
|
Update of /cvsroot/mxbb/mx_phpbb/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17659/includes Added Files: forum_hack.php phpbb_constants.php phpbb_defs.php phpbb_footer.php Log Message: adding new files for module mx_phpbb --- NEW FILE: phpbb_footer.php --- <?php /** ------------------------------------------------------------------------ * subject : mx-portal, CMS & portal * begin : june, 2002 * copyright : (C) 2002-2005 MX-System * email : jon...@ho... * project site : www.mx-system.com * * description : * ------------------------------------------------------------------------- * * $Id: phpbb_footer.php,v 1.1 2005/09/20 15:40:17 jonohlsson Exp $ */ /** * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */ if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt" ); } // Parse and show the overall footer. $template->set_filenames( array( 'phpbb_footer' => 'phpbb_footer.tpl' ) ); $template->assign_vars( array( 'L_MODULE_VERSION' => $phpbb_module_version, 'L_MODULE_ORIG_AUTHOR' => $phpbb_module_orig_author, 'L_MODULE_AUTHOR' => $phpbb_module_author ) ); $template->pparse( 'phpbb_footer' ); ?> --- NEW FILE: forum_hack.php --- <?php /** * forum_hack.php * -------------- * begin : June, 2004 * copyright : phpMiX (c) 2004, mxBB (c) 2005 * contact : http://www.mx-system.com * module : mx_phpbb * file contents : Common definitions for the module. */ /** * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */ define( 'MX_FORUM_DEBUG', 1 ); [...1263 lines suppressed...] { return; } // // Send POST vars via SESSIONS // session_start(); $_SESSION['mxbb_post_vars'] = $_POST; // // Actually, redirection takes place here :-) // $mx_forum->redirect( $portal_url ); } } // -------------------------------------------------------------------------------- // That's all Folks! // -------------------------------------------------------------------------------- ?> --- NEW FILE: phpbb_defs.php --- <?php /** * newssuite_constants.php * ------------------- * begin : April, 2003 * copyright : (C) 2002 MX-System * email : su...@mx... * description : define constants * Author : Haplo (jon...@ho...) * credit : Roman Malarev (romutis), MarcMoris * * $Id: phpbb_defs.php,v 1.1 2005/09/20 15:40:17 jonohlsson Exp $ */ // ---------------------------------------------------------------------START // This file defines specific constants for the module // ------------------------------------------------------------------------- // PHPBB MODE ------------------------------------------------------------------------------------------- define( 'NEWS_CAT_TABLE', FORUMS_TABLE ); $cat_extract_order = 'cat_id, forum_order'; $cool_array_category_id = 'forum_id'; $cat_table_category_id = 'f.forum_id'; $item_table_category_id = 't.forum_id'; $item_table_item_id = 't.topic_id'; $item_table_item_type = 't.topic_type'; $item_table_item_time = 't.topic_time'; $item_table_item_last_time = 't.topic_last_post_id'; $item_table_item_title = 't.topic_title'; $item_id = 'topic_id'; $item_type = 'topic_type'; $item_cat_id = 'forum_id'; $item_text = 'post_text'; $item_bbcode_uid = 'bbcode_uid'; $item_time = 'topic_time'; $item_views = 'topic_views'; $item_title = 'topic_title'; $catt_id = 'forum_id'; $catt_name = 'forum_name'; $catt_desc = 'forum_desc'; $item_types_all = 'forum_news'; $item_types_array = array( 'forum_news_announce', 'forum_news_announce', 'forum_news_sticky', 'forum_news_post' ); $item_types_id_array = array( POST_GLOBAL_ANNOUNCE, POST_ANNOUNCE, POST_STICKY, POST_NORMAL ); ?> --- NEW FILE: phpbb_constants.php --- <?php /** * phpbb_constants.php * ------------------- * begin : April, 2003 * copyright : (C) 2002 MX-System * email : su...@mx... * description : define constants * Author : Haplo (jon...@ho...) * credit : Roman Malarev (romutis), MarcMoris * * $Id: phpbb_constants.php,v 1.1 2005/09/20 15:40:17 jonohlsson Exp $ */ // ---------------------------------------------------------------------START // This file defines specific constants for the module // ------------------------------------------------------------------------- define( 'PAGE_FORUM', -502 ); define( 'PHPBB_CONFIG_TABLE', $mx_table_prefix . 'phpbb_plugin_config' ); define( 'POST_ADD_TYPE', 20 ); define( 'TOPIC_ADD_TYPE_TABLE', $mx_table_prefix . 'topic_add_type' ); // ********************************************************************** // Read theme definition // ********************************************************************** if ( file_exists( $module_root_path . "templates/" . $theme['template_name'] . "/images" ) ) { // ---------- $current_template_images = $module_root_path . "templates/" . $theme['template_name'] . "/images" ; // ---------- } else { // ---------- $current_template_images = $module_root_path . "templates/" . "subSilver" . "/images" ; // ---------- } $images['printer'] = "$current_template_images/printer.gif"; // ********************************************************************** // Read language definition // ********************************************************************** if ( !file_exists( $mx_root_path . 'modules/mx_phpbb/language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ) ) { include( $mx_root_path . 'modules/mx_phpbb/language/lang_english/lang_admin.' . $phpEx ); $link_language = 'lang_english'; } else { include( $mx_root_path . 'modules/mx_phpbb/language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); $link_language = 'lang_' . $board_config['default_lang']; } // // get type list for adding and editing articles // function phpbb2_get_types() { $item_types_array = array( 'forum_news_announce', 'forum_news_announce', 'forum_news_sticky', 'forum_news_post' ); $item_types_id_array = array( POST_GLOBAL_ANNOUNCE, POST_ANNOUNCE, POST_STICKY, POST_NORMAL ); return array( $item_types_array, $item_types_id_array ); } $mxbb_footer_addup[] = 'mxBB phpBB Module'; // ---------- $phpbb_module_version = "0.9x BETA"; $phpbb_module_author = "MX Team"; $phpbb_module_orig_author = "phpBB Group"; ?> |