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: Florin C B. <ory...@us...> - 2012-10-20 23:57:09
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/templates/pubOry In directory vz-cvs-4.sog:/tmp/cvs-serv24131/pubOry Log Message: Directory /cvsroot/mxbb/core/modules/mx_navmenu/templates/pubOry added to the repository |
|
From: Florin C B. <ory...@us...> - 2012-10-20 23:56:36
|
Update of /cvsroot/mxbb/core/language/lang_italian/email In directory vz-cvs-4.sog:/tmp/cvs-serv24032/email Log Message: Directory /cvsroot/mxbb/core/language/lang_italian/email added to the repository |
|
From: Florin C B. <ory...@us...> - 2012-10-20 23:56:28
|
Update of /cvsroot/mxbb/core/language/lang_italian In directory vz-cvs-4.sog:/tmp/cvs-serv24006/lang_italian Log Message: Directory /cvsroot/mxbb/core/language/lang_italian added to the repository |
|
From: Florin C B. <ory...@us...> - 2012-10-20 23:54:56
|
Update of /cvsroot/mxbb/core/includes/shared/phpbb2/language/lang_italian/email In directory vz-cvs-4.sog:/tmp/cvs-serv23789/email Log Message: Directory /cvsroot/mxbb/core/includes/shared/phpbb2/language/lang_italian/email added to the repository |
|
From: Florin C B. <ory...@us...> - 2012-10-20 23:54:32
|
Update of /cvsroot/mxbb/core/includes/shared/phpbb2/language/lang_italian In directory vz-cvs-4.sog:/tmp/cvs-serv23718/lang_italian Log Message: Directory /cvsroot/mxbb/core/includes/shared/phpbb2/language/lang_italian added to the repository |
|
From: Florin C B. <ory...@us...> - 2012-10-20 23:53:43
|
Update of /cvsroot/mxbb/core/stylesdemo In directory vz-cvs-4.sog:/tmp/cvs-serv23590/stylesdemo Log Message: Directory /cvsroot/mxbb/core/stylesdemo added to the repository |
|
From: Florin C B. <ory...@us...> - 2012-10-08 09:05:10
|
Update of /cvsroot/mxbb/core/includes
In directory vz-cvs-4.sog:/tmp/cvs-serv14313
Modified Files:
mx_functions.php
Log Message:
fix for login page
Index: mx_functions.php
===================================================================
RCS file: /cvsroot/mxbb/core/includes/mx_functions.php,v
retrieving revision 1.108
retrieving revision 1.109
diff -C2 -d -r1.108 -r1.109
*** mx_functions.php 8 Oct 2012 08:59:27 -0000 1.108
--- mx_functions.php 8 Oct 2012 09:05:08 -0000 1.109
***************
*** 467,472 ****
$session_id = $_SID;
}
!
! if ( !empty($url) && preg_match('#'.PORTAL_URL.'#', $url) && !defined('IN_ADMIN') )
{
$url = preg_replace('#' . PORTAL_URL . '#', '', $url);
--- 467,473 ----
$session_id = $_SID;
}
!
! //Fix for login page
! if ( !empty($url) && preg_match('#'.PORTAL_URL.'#', $url) && defined('IN_LOGIN') )
{
$url = preg_replace('#' . PORTAL_URL . '#', '', $url);
***************
*** 555,559 ****
global $SID, $_SID, $mx_mod_rewrite, $userdata;
! if ( !empty($url) && preg_match('#'.PORTAL_URL.'#', $url) && !defined('IN_ADMIN') )
{
$url = preg_replace('#' . PORTAL_URL . '#', '', $url);
--- 556,561 ----
global $SID, $_SID, $mx_mod_rewrite, $userdata;
! //Fix for login page
! if ( !empty($url) && preg_match('#'.PORTAL_URL.'#', $url) && defined('IN_LOGIN') )
{
$url = preg_replace('#' . PORTAL_URL . '#', '', $url);
***************
*** 646,650 ****
}
! if (defined('IN_ADMIN'))
{
$url = PORTAL_URL . $url;
--- 648,653 ----
}
! //Fix for login page
! if (!defined('IN_LOGIN'))
{
$url = PORTAL_URL . $url;
***************
*** 654,658 ****
if ( @preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')) )
{
- //header('Refresh: 0; URL=' . PORTAL_URL . $url);
header('Refresh: 0; URL=' . $url);
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta http-equiv="refresh" content="0; url=' . PORTAL_URL . $url . '"><title>Redirect</title></head><body><div align="center">If your browser does not support meta redirection please click <a href="' . PORTAL_URL . $url . '">HERE</a> to be redirected</div></body></html>';
--- 657,660 ----
***************
*** 661,665 ****
// Behave as per HTTP/1.1 spec for others
- //header('Location: ' . PORTAL_URL . $url);
header('Location: ' . $url);
exit;
--- 663,666 ----
|
|
From: Florin C B. <ory...@us...> - 2012-10-08 08:59:29
|
Update of /cvsroot/mxbb/core/includes
In directory vz-cvs-4.sog:/tmp/cvs-serv14020
Modified Files:
mx_functions.php
Log Message:
Index: mx_functions.php
===================================================================
RCS file: /cvsroot/mxbb/core/includes/mx_functions.php,v
retrieving revision 1.107
retrieving revision 1.108
diff -C2 -d -r1.107 -r1.108
*** mx_functions.php 8 Oct 2012 08:46:02 -0000 1.107
--- mx_functions.php 8 Oct 2012 08:59:27 -0000 1.108
***************
*** 40,44 ****
static $msg_history;
!
$default_lang = ($mx_user->lang['default_lang']) ? $mx_user->lang['default_lang'] : $board_config['default_lang'];
--- 40,44 ----
static $msg_history;
!
$default_lang = ($mx_user->lang['default_lang']) ? $mx_user->lang['default_lang'] : $board_config['default_lang'];
***************
*** 46,51 ****
{
$msg_history = array();
! }
!
$msg_history[] = array(
'msg_code' => $msg_code,
--- 46,51 ----
{
$msg_history = array();
! }
!
$msg_history[] = array(
'msg_code' => $msg_code,
***************
*** 56,59 ****
--- 56,63 ----
'sql' => $sql
);
+
+ //
+ //This will check whaever we are installing
+ //
if(defined('HAS_DIED'))
***************
*** 72,76 ****
$custom_error_message = sprintf($custom_error_message, '', '');
}
! echo "<html>\n<body>\n<b>Critical Error!</b><br />\nmx_message_die() was called multiple times.<br /> <hr />";
for( $i = 0; $i < count($msg_history); $i++ )
{
--- 76,80 ----
$custom_error_message = sprintf($custom_error_message, '', '');
}
! echo "<html>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n<body>\n<b>Critical Error!</b><br />\nmx_message_die() was called multiple times.<br /> <hr />";
for( $i = 0; $i < count($msg_history); $i++ )
{
***************
*** 91,100 ****
echo " <hr />\n";
}
! echo $custom_error_message . '<hr /><br clear="all">';
die("</body>\n</html>");
}
!
define('HAS_DIED', 1);
-
$sql_store = $sql;
--- 95,103 ----
echo " <hr />\n";
}
! echo $custom_error_message . '<hr /><br clear="all" />';
die("</body>\n</html>");
}
!
define('HAS_DIED', 1);
$sql_store = $sql;
***************
*** 103,107 ****
// subsequent queries from overwriting the status of sql_error()
//
! if ( DEBUG && ( $msg_code == GENERAL_ERROR || $msg_code == CRITICAL_ERROR ) )
{
$sql_error = $db->sql_error();
--- 106,110 ----
// subsequent queries from overwriting the status of sql_error()
//
! if (DEBUG && ($msg_code == GENERAL_ERROR || $msg_code == CRITICAL_ERROR))
{
$sql_error = $db->sql_error();
***************
*** 464,474 ****
$session_id = $_SID;
}
!
! if ( !empty($url) && preg_match('#'.PORTAL_URL.'#', $url) )
{
$url = preg_replace('#' . PORTAL_URL . '#', '', $url);
! }
! if ( is_array($session_id) )
{
$session_id = $mx_user->session_id;
--- 467,477 ----
$session_id = $_SID;
}
!
! if ( !empty($url) && preg_match('#'.PORTAL_URL.'#', $url) && !defined('IN_ADMIN') )
{
$url = preg_replace('#' . PORTAL_URL . '#', '', $url);
! }
! if (is_array($session_id))
{
$session_id = $mx_user->session_id;
***************
*** 552,559 ****
global $SID, $_SID, $mx_mod_rewrite, $userdata;
! if ( !empty($url) && preg_match('#'.PORTAL_URL.'#', $url) )
{
$url = preg_replace('#' . PORTAL_URL . '#', '', $url);
! }
// Is mod_rewrite enabled? If so, do some url rewrites...
--- 555,562 ----
global $SID, $_SID, $mx_mod_rewrite, $userdata;
! if ( !empty($url) && preg_match('#'.PORTAL_URL.'#', $url) && !defined('IN_ADMIN') )
{
$url = preg_replace('#' . PORTAL_URL . '#', '', $url);
! }
// Is mod_rewrite enabled? If so, do some url rewrites...
***************
*** 642,645 ****
--- 645,653 ----
mx_message_die(GENERAL_ERROR, 'Tried to redirect to potentially insecure url.');
}
+
+ if (defined('IN_ADMIN'))
+ {
+ $url = PORTAL_URL . $url;
+ }
// Redirect via an HTML form for PITA webservers
***************
*** 654,662 ****
// Behave as per HTTP/1.1 spec for others
//header('Location: ' . PORTAL_URL . $url);
! header('Location: ' . $url);
exit;
}
/**
* Generate Pagination.
*
--- 662,728 ----
// Behave as per HTTP/1.1 spec for others
//header('Location: ' . PORTAL_URL . $url);
! header('Location: ' . $url);
exit;
}
/**
+ * Generate portal url (example: http://www.example.com/phpBB)
+ * @param bool $without_script_path if set to true the script path gets not appended (example: http://www.example.com)
+ */
+ function generate_portal_url($without_script_path = false)
+ {
+ global $board_config, $portal_config, $mx_user;
+
+ $script_name = preg_replace('/^\/?(.*?)\/?$/', "\\1", trim($portal_config['script_path']));
+ $server_name = $mx_user->host ? $mx_user->host : trim($portal_config['server_name']);
+ $server_protocol = ( $portal_config['cookie_secure'] ) ? 'https://' : 'http://';
+ $server_port = (($portal_config['server_port']) && ($portal_config['server_port'] <> 80)) ? ':' . trim($portal_config['server_port']) . '/' : '/';
+ $server_url = $server_protocol . str_replace("//", "/", $server_name . $server_port . $script_name . '/'); //On some server the slash is not added and this trick will fix it
+ $server_port = (!empty($_SERVER['SERVER_PORT'])) ? (int) $_SERVER['SERVER_PORT'] : (int) getenv('SERVER_PORT');
+
+ // Forcing server vars is the only way to specify/override the protocol
+ if ($board_config['force_server_vars'] || !$server_name)
+ {
+ $server_protocol = ($server_protocol) ? $server_protocol : (($portal_config['cookie_secure']) ? 'https://' : 'http://');
+ $server_name = $portal_config['server_name'];
+ $server_port = (int) $config['server_port'];
+ $script_path = preg_replace('/^\/?(.*?)\/?$/', "\\1", trim($portal_config['script_path']));
+
+ $url = $server_protocol . $server_name;
+ $cookie_secure = $portal_config['cookie_secure'];
+ }
+ else
+ {
+ // Do not rely on cookie_secure, users seem to think that it means a secured cookie instead of an encrypted connection
+ $cookie_secure = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 1 : 0;
+ $url = (($cookie_secure) ? 'https://' : 'http://') . $server_name;
+
+ $script_path = $mx_user->page['root_script_path'];
+ }
+
+ if ($server_port && (($cookie_secure && $server_port <> 443) || (!$cookie_secure && $server_port <> 80)))
+ {
+ // HTTP HOST can carry a port number (we fetch $user->host, but for old versions this may be true)
+ if (strpos($server_name, ':') === false)
+ {
+ $url .= ':' . $server_port;
+ }
+ }
+
+ if (!$without_script_path)
+ {
+ $url .= $script_path;
+ }
+
+ // Strip / from the end
+ if (substr($url, -1, 1) == '/')
+ {
+ $url = substr($url, 0, -1);
+ }
+
+ return $url;
+ }
+
+ /**
* Generate Pagination.
*
***************
*** 1451,1455 ****
$multiple_select_option = 'multiple="multiple"';
}
!
$column_list = '<select name="' . $name_select . '" '.$multiple_select_option.'>';
if( $type == 'page_list' )
--- 1517,1525 ----
$multiple_select_option = 'multiple="multiple"';
}
! else
! {
! $multiple_select_option = '';
! }
!
$column_list = '<select name="' . $name_select . '" '.$multiple_select_option.'>';
if( $type == 'page_list' )
***************
*** 1783,1787 ****
// $do_gzip_compress = FALSE;
! if ( $board_config['gzip_compress'] && !defined('MX_GZIP_DISABLED') )
{
$phpver = phpversion();
--- 1853,1857 ----
// $do_gzip_compress = FALSE;
! if ($board_config['gzip_compress'] && !defined('MX_GZIP_DISABLED'))
{
$phpver = phpversion();
***************
*** 1789,1795 ****
$useragent = (isset($_SERVER['HTTP_USER_AGENT'])) ? $_SERVER['HTTP_USER_AGENT'] : getenv('HTTP_USER_AGENT');
! if ( $phpver >= '4.0.4pl1' && ( strstr($useragent,'compatible') || strstr($useragent,'Gecko') ) )
{
! if ( extension_loaded('zlib') )
{
ob_end_clean();
--- 1859,1865 ----
$useragent = (isset($_SERVER['HTTP_USER_AGENT'])) ? $_SERVER['HTTP_USER_AGENT'] : getenv('HTTP_USER_AGENT');
! if ($phpver >= '4.0.4pl1' && (strstr($useragent,'compatible') || strstr($useragent,'Gecko')))
{
! if (extension_loaded('zlib'))
{
ob_end_clean();
***************
*** 1797,1805 ****
}
}
! else if ( $phpver > '4.0' )
{
! if ( strstr($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip') )
{
! if ( extension_loaded('zlib') )
{
$do_gzip_compress = TRUE;
--- 1867,1875 ----
}
}
! else if ($phpver > '4.0')
{
! if (strstr($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip'))
{
! if (extension_loaded('zlib') )
{
$do_gzip_compress = TRUE;
***************
*** 1816,1820 ****
// Initialize PHP session
//
! @session_start();
}
--- 1886,1892 ----
// Initialize PHP session
//
! //phpinfo();
! session_start();
! //
}
***************
*** 2051,2054 ****
--- 2123,2127 ----
$curicons = 1;
+ $posticons = '';
if ( $file_posticon == 'none' || $file_posticon == 'none.gif' or empty( $file_posticon ) )
{
***************
*** 2554,2556 ****
--- 2627,2693 ----
return $message;
}
+
+ function mx_clean_string($text)
+ {
+ global $mx_root_path, $phpEx;
+
+ //Unicode control characters
+ static $homographs = array();
+ if (empty($homographs) && ($homographs = @include($mx_root_path . 'includes/utf/data/confusables.' . $phpEx)))
+ {
+ $text = @utf8_case_fold_nfkc($text);
+ $text = strtr($text, $homographs);
+ }
+ else
+ {
+ // ASCI control characters
+ $text = preg_replace("/[^[:space:]a-zA-Z0-9åäöÅÄÖ.,-:]/", " ", $text);
+ $text = preg_replace("/[^[:space:]a-zA-Z0-9îãâºþÎêÞ.,-:]/", " ", $text);
+
+ // we need to reduce multiple spaces to a single one
+ $text = preg_replace('/\s+/', ' ', $text);
+ }
+
+ // Other control characters
+ $text = preg_replace('#(?:[\x00-\x1F\x7F]+|(?:\xC2[\x80-\x9F])+)#', '', $text);
+
+ // we need to reduce multiple spaces to a single one
+ $text = preg_replace('# {2,}#', ' ', $text);
+
+ // we can use trim here as all the other space characters should have been turned
+ // into normal ASCII spaces by now
+ return trim($text);
+ }
+
+ /**
+ * function eregi
+ *
+ * temp replacement for eregi()
+ *
+ *
+ */
+ if (!@function_exists('eregi'))
+ {
+ function eregi($find, $str)
+ {
+ return stristr($str, $find);
+ }
+ }
+
+ /**
+ * function ereg
+ *
+ * temp replacement for ereg()
+ *
+ *
+ */
+ /*
+ if(!function_exists('ereg'))
+ {
+ function ereg($pattern, $string, &$array)
+ {
+ return preg_match('#'.$pattern.'#', $string, $array);
+ }
+ }
+ */
?>
\ No newline at end of file
|
|
From: Florin C B. <ory...@us...> - 2012-10-08 08:46:04
|
Update of /cvsroot/mxbb/core/includes
In directory vz-cvs-4.sog:/tmp/cvs-serv13344
Modified Files:
mx_functions.php
Log Message:
Index: mx_functions.php
===================================================================
RCS file: /cvsroot/mxbb/core/includes/mx_functions.php,v
retrieving revision 1.106
retrieving revision 1.107
diff -C2 -d -r1.106 -r1.107
*** mx_functions.php 6 Dec 2011 10:00:22 -0000 1.106
--- mx_functions.php 8 Oct 2012 08:46:02 -0000 1.107
***************
*** 40,44 ****
static $msg_history;
!
$default_lang = ($mx_user->lang['default_lang']) ? $mx_user->lang['default_lang'] : $board_config['default_lang'];
--- 40,44 ----
static $msg_history;
!
$default_lang = ($mx_user->lang['default_lang']) ? $mx_user->lang['default_lang'] : $board_config['default_lang'];
***************
*** 46,51 ****
{
$msg_history = array();
! }
!
$msg_history[] = array(
'msg_code' => $msg_code,
--- 46,51 ----
{
$msg_history = array();
! }
!
$msg_history[] = array(
'msg_code' => $msg_code,
***************
*** 56,63 ****
'sql' => $sql
);
-
- //
- //This will check whaever we are installing
- //
if(defined('HAS_DIED'))
--- 56,59 ----
***************
*** 76,80 ****
$custom_error_message = sprintf($custom_error_message, '', '');
}
! echo "<html>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n<body>\n<b>Critical Error!</b><br />\nmx_message_die() was called multiple times.<br /> <hr />";
for( $i = 0; $i < count($msg_history); $i++ )
{
--- 72,76 ----
$custom_error_message = sprintf($custom_error_message, '', '');
}
! echo "<html>\n<body>\n<b>Critical Error!</b><br />\nmx_message_die() was called multiple times.<br /> <hr />";
for( $i = 0; $i < count($msg_history); $i++ )
{
***************
*** 95,103 ****
echo " <hr />\n";
}
! echo $custom_error_message . '<hr /><br clear="all" />';
die("</body>\n</html>");
}
!
define('HAS_DIED', 1);
$sql_store = $sql;
--- 91,100 ----
echo " <hr />\n";
}
! echo $custom_error_message . '<hr /><br clear="all">';
die("</body>\n</html>");
}
!
define('HAS_DIED', 1);
+
$sql_store = $sql;
***************
*** 106,110 ****
// subsequent queries from overwriting the status of sql_error()
//
! if (DEBUG && ($msg_code == GENERAL_ERROR || $msg_code == CRITICAL_ERROR))
{
$sql_error = $db->sql_error();
--- 103,107 ----
// subsequent queries from overwriting the status of sql_error()
//
! if ( DEBUG && ( $msg_code == GENERAL_ERROR || $msg_code == CRITICAL_ERROR ) )
{
$sql_error = $db->sql_error();
***************
*** 467,472 ****
$session_id = $_SID;
}
! if (is_array($session_id))
{
$session_id = $mx_user->session_id;
--- 464,474 ----
$session_id = $_SID;
}
+
+ if ( !empty($url) && preg_match('#'.PORTAL_URL.'#', $url) )
+ {
+ $url = preg_replace('#' . PORTAL_URL . '#', '', $url);
+ }
! if ( is_array($session_id) )
{
$session_id = $mx_user->session_id;
***************
*** 549,552 ****
--- 551,559 ----
{
global $SID, $_SID, $mx_mod_rewrite, $userdata;
+
+ if ( !empty($url) && preg_match('#'.PORTAL_URL.'#', $url) )
+ {
+ $url = preg_replace('#' . PORTAL_URL . '#', '', $url);
+ }
// Is mod_rewrite enabled? If so, do some url rewrites...
***************
*** 639,643 ****
if ( @preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')) )
{
! header('Refresh: 0; URL=' . PORTAL_URL . $url);
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta http-equiv="refresh" content="0; url=' . PORTAL_URL . $url . '"><title>Redirect</title></head><body><div align="center">If your browser does not support meta redirection please click <a href="' . PORTAL_URL . $url . '">HERE</a> to be redirected</div></body></html>';
exit;
--- 646,651 ----
if ( @preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')) )
{
! //header('Refresh: 0; URL=' . PORTAL_URL . $url);
! header('Refresh: 0; URL=' . $url);
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta http-equiv="refresh" content="0; url=' . PORTAL_URL . $url . '"><title>Redirect</title></head><body><div align="center">If your browser does not support meta redirection please click <a href="' . PORTAL_URL . $url . '">HERE</a> to be redirected</div></body></html>';
exit;
***************
*** 645,711 ****
// Behave as per HTTP/1.1 spec for others
! header('Location: ' . PORTAL_URL . $url);
exit;
}
/**
- * Generate portal url (example: http://www.example.com/phpBB)
- * @param bool $without_script_path if set to true the script path gets not appended (example: http://www.example.com)
- */
- function generate_portal_url($without_script_path = false)
- {
- global $board_config, $portal_config, $mx_user;
-
- $script_name = preg_replace('/^\/?(.*?)\/?$/', "\\1", trim($portal_config['script_path']));
- $server_name = $mx_user->host ? $mx_user->host : trim($portal_config['server_name']);
- $server_protocol = ( $portal_config['cookie_secure'] ) ? 'https://' : 'http://';
- $server_port = (($portal_config['server_port']) && ($portal_config['server_port'] <> 80)) ? ':' . trim($portal_config['server_port']) . '/' : '/';
- $server_url = $server_protocol . str_replace("//", "/", $server_name . $server_port . $script_name . '/'); //On some server the slash is not added and this trick will fix it
- $server_port = (!empty($_SERVER['SERVER_PORT'])) ? (int) $_SERVER['SERVER_PORT'] : (int) getenv('SERVER_PORT');
-
- // Forcing server vars is the only way to specify/override the protocol
- if ($board_config['force_server_vars'] || !$server_name)
- {
- $server_protocol = ($server_protocol) ? $server_protocol : (($portal_config['cookie_secure']) ? 'https://' : 'http://');
- $server_name = $portal_config['server_name'];
- $server_port = (int) $config['server_port'];
- $script_path = preg_replace('/^\/?(.*?)\/?$/', "\\1", trim($portal_config['script_path']));
-
- $url = $server_protocol . $server_name;
- $cookie_secure = $portal_config['cookie_secure'];
- }
- else
- {
- // Do not rely on cookie_secure, users seem to think that it means a secured cookie instead of an encrypted connection
- $cookie_secure = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 1 : 0;
- $url = (($cookie_secure) ? 'https://' : 'http://') . $server_name;
-
- $script_path = $mx_user->page['root_script_path'];
- }
-
- if ($server_port && (($cookie_secure && $server_port <> 443) || (!$cookie_secure && $server_port <> 80)))
- {
- // HTTP HOST can carry a port number (we fetch $user->host, but for old versions this may be true)
- if (strpos($server_name, ':') === false)
- {
- $url .= ':' . $server_port;
- }
- }
-
- if (!$without_script_path)
- {
- $url .= $script_path;
- }
-
- // Strip / from the end
- if (substr($url, -1, 1) == '/')
- {
- $url = substr($url, 0, -1);
- }
-
- return $url;
- }
-
- /**
* Generate Pagination.
*
--- 653,662 ----
// Behave as per HTTP/1.1 spec for others
! //header('Location: ' . PORTAL_URL . $url);
! header('Location: ' . $url);
exit;
}
/**
* Generate Pagination.
*
***************
*** 1500,1508 ****
$multiple_select_option = 'multiple="multiple"';
}
! else
! {
! $multiple_select_option = '';
! }
!
$column_list = '<select name="' . $name_select . '" '.$multiple_select_option.'>';
if( $type == 'page_list' )
--- 1451,1455 ----
$multiple_select_option = 'multiple="multiple"';
}
!
$column_list = '<select name="' . $name_select . '" '.$multiple_select_option.'>';
if( $type == 'page_list' )
***************
*** 1836,1840 ****
// $do_gzip_compress = FALSE;
! if ($board_config['gzip_compress'] && !defined('MX_GZIP_DISABLED'))
{
$phpver = phpversion();
--- 1783,1787 ----
// $do_gzip_compress = FALSE;
! if ( $board_config['gzip_compress'] && !defined('MX_GZIP_DISABLED') )
{
$phpver = phpversion();
***************
*** 1842,1848 ****
$useragent = (isset($_SERVER['HTTP_USER_AGENT'])) ? $_SERVER['HTTP_USER_AGENT'] : getenv('HTTP_USER_AGENT');
! if ($phpver >= '4.0.4pl1' && (strstr($useragent,'compatible') || strstr($useragent,'Gecko')))
{
! if (extension_loaded('zlib'))
{
ob_end_clean();
--- 1789,1795 ----
$useragent = (isset($_SERVER['HTTP_USER_AGENT'])) ? $_SERVER['HTTP_USER_AGENT'] : getenv('HTTP_USER_AGENT');
! if ( $phpver >= '4.0.4pl1' && ( strstr($useragent,'compatible') || strstr($useragent,'Gecko') ) )
{
! if ( extension_loaded('zlib') )
{
ob_end_clean();
***************
*** 1850,1858 ****
}
}
! else if ($phpver > '4.0')
{
! if (strstr($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip'))
{
! if (extension_loaded('zlib') )
{
$do_gzip_compress = TRUE;
--- 1797,1805 ----
}
}
! else if ( $phpver > '4.0' )
{
! if ( strstr($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip') )
{
! if ( extension_loaded('zlib') )
{
$do_gzip_compress = TRUE;
***************
*** 1869,1875 ****
// Initialize PHP session
//
! //phpinfo();
! session_start();
! //
}
--- 1816,1820 ----
// Initialize PHP session
//
! @session_start();
}
***************
*** 2106,2110 ****
$curicons = 1;
- $posticons = '';
if ( $file_posticon == 'none' || $file_posticon == 'none.gif' or empty( $file_posticon ) )
{
--- 2051,2054 ----
***************
*** 2610,2676 ****
return $message;
}
-
- function mx_clean_string($text)
- {
- global $mx_root_path, $phpEx;
-
- //Unicode control characters
- static $homographs = array();
- if (empty($homographs) && ($homographs = @include($mx_root_path . 'includes/utf/data/confusables.' . $phpEx)))
- {
- $text = @utf8_case_fold_nfkc($text);
- $text = strtr($text, $homographs);
- }
- else
- {
- // ASCI control characters
- $text = preg_replace("/[^[:space:]a-zA-Z0-9åäöÅÄÖ.,-:]/", " ", $text);
- $text = preg_replace("/[^[:space:]a-zA-Z0-9îãâºþÎêÞ.,-:]/", " ", $text);
-
- // we need to reduce multiple spaces to a single one
- $text = preg_replace('/\s+/', ' ', $text);
- }
-
- // Other control characters
- $text = preg_replace('#(?:[\x00-\x1F\x7F]+|(?:\xC2[\x80-\x9F])+)#', '', $text);
-
- // we need to reduce multiple spaces to a single one
- $text = preg_replace('# {2,}#', ' ', $text);
-
- // we can use trim here as all the other space characters should have been turned
- // into normal ASCII spaces by now
- return trim($text);
- }
-
- /**
- * function eregi
- *
- * temp replacement for eregi()
- *
- *
- */
- if (!@function_exists('eregi'))
- {
- function eregi($find, $str)
- {
- return stristr($str, $find);
- }
- }
-
- /**
- * function ereg
- *
- * temp replacement for ereg()
- *
- *
- */
- /*
- if(!function_exists('ereg'))
- {
- function ereg($pattern, $string, &$array)
- {
- return preg_match('#'.$pattern.'#', $string, $array);
- }
- }
- */
?>
\ No newline at end of file
--- 2554,2556 ----
|
|
From: Florin C B. <ory...@us...> - 2012-09-12 22:10:39
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb3blocks In directory vz-cvs-4.sog:/tmp/cvs-serv24485 Modified Files: mx_last_msg.php Log Message: |
|
From: Florin C B. <ory...@us...> - 2012-09-12 22:10:22
|
Update of /cvsroot/mxbb/core/includes/sessions/phpbb3
In directory vz-cvs-4.sog:/tmp/cvs-serv24459/sessions/phpbb3
Modified Files:
session.php
Log Message:
Index: session.php
===================================================================
RCS file: /cvsroot/mxbb/core/includes/sessions/phpbb3/session.php,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -d -r1.45 -r1.46
*** session.php 9 Feb 2012 10:52:04 -0000 1.45
--- session.php 12 Sep 2012 22:10:20 -0000 1.46
***************
*** 2030,2034 ****
$alt = (!empty($this->lang[$alt])) ? $this->lang[$alt] : $alt;
!
switch ($type)
{
--- 2030,2034 ----
$alt = (!empty($this->lang[$alt])) ? $this->lang[$alt] : $alt;
! //die($img_data);
switch ($type)
{
|
|
From: Florin C B. <ory...@us...> - 2012-09-12 21:37:15
|
Update of /cvsroot/mxbb/mx_phpbb
In directory vz-cvs-4.sog:/tmp/cvs-serv21856
Modified Files:
mx_phpbb.php
Log Message:
php 5.1.2
Index: mx_phpbb.php
===================================================================
RCS file: /cvsroot/mxbb/mx_phpbb/mx_phpbb.php,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** mx_phpbb.php 9 Oct 2010 20:51:36 -0000 1.25
--- mx_phpbb.php 12 Sep 2012 21:37:13 -0000 1.26
***************
*** 40,44 ****
// trying to break out of a SQL statement.
// If we are on PHP >= 6.0.0 we do not need some code
! if (phpversion() >= '6.0.0-dev')
{
/**
--- 40,44 ----
// trying to break out of a SQL statement.
// If we are on PHP >= 6.0.0 we do not need some code
! if (phpversion() >= '5.1.2')
{
/**
|
|
From: Florin C B. <ory...@us...> - 2012-08-19 22:42:34
|
Update of /cvsroot/mxbb/mx_who_am_i/templates/prosilver
In directory vz-cvs-4.sog:/tmp/cvs-serv13598/templates/prosilver
Added Files:
index.htm mx_who_am_i.html
Log Message:
lang and template for prosilver little fix i needed for my website
--- NEW FILE: mx_who_am_i.html ---
<!-- $Id: mx_who_am_i.html,v 1.1 2012/08/19 22:42:32 orynider Exp $ //-->
<div class="clear"></div>
<div class="forabg block" style="vertical-align:top;">
<div class="inner"><span><span></span></span>
<div id="p1" class="post bg2 online">
<div class="textbody">
<span style="float:left;font-size:12px;"><a href="{U_PROFILE}" class="mainmenu"><span<!-- IF USERNAME_COLOR -->{USERNAME_COLOR}<!-- ENDIF -->>{USERNAME}</span></a></span><br />
<span style="float:left;font-size:12px;"><center><div align="center">{AVATAR_IMG}</div><hr /></center></span>
<span style="float:right;"></span><br />
<span style="float:left;">{L_DATE_JOINED}:</span><span style="float:right;padding-right:10px;">{JOINED}</span><br />
<span style="float:left;">{L_POST_TOTAL}:</span><span style="float:right;padding-right:10px;">{POSTS}</span><br />
<span style="float:right;padding-right:10px;">
<b>{L_POST_STATS}</b><br />
{POST_PERCENTAGE}% {L_OF_TOTAL_POSTS}<br />
{POST_PER_DAY} {L_POSTS_PER_DAY}</center><br />
<center><a href="{U_PROFILE}" class="mainmenu">{L_CHANGE_PROFILE}</a></center>
</span><br />
<!-- IF USER_OCC -->
<span style="float:left;">{L_OCC}:</span><span style="float:right;padding-right:10px;">{USER_OCC}</span><br />
<!-- ENDIF -->
<!-- IF USER_FROM -->
<span style="float:left;">{L_FROM}:</span><span style="float:right;padding-right:10px;">{USER_FROM}</span><br />
<!-- ENDIF -->
<!-- IF U_WWW -->
<span style="float:left;"><a href="{U_WWW}" title="{U_WWW}" target="_blank">{L_WWW}</a></span><span style="float:right;"></span><br />
<!-- ENDIF -->
<!-- END -->
</div></div>
</div>
<span class="corners-bottom"><span></span></span>
</div>
<br clear="all" />
--- NEW FILE: index.htm ---
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
</body>
</html>
|
|
From: Florin C B. <ory...@us...> - 2012-08-19 22:41:07
|
Update of /cvsroot/mxbb/mx_who_am_i/templates/prosilver/images In directory vz-cvs-4.sog:/tmp/cvs-serv13568/images Log Message: Directory /cvsroot/mxbb/mx_who_am_i/templates/prosilver/images added to the repository |
|
From: Florin C B. <ory...@us...> - 2012-08-19 22:40:54
|
Update of /cvsroot/mxbb/mx_who_am_i/templates/prosilver In directory vz-cvs-4.sog:/tmp/cvs-serv13560/prosilver Log Message: Directory /cvsroot/mxbb/mx_who_am_i/templates/prosilver added to the repository |
|
From: Florin C B. <ory...@us...> - 2012-08-19 22:40:33
|
Update of /cvsroot/mxbb/mx_who_am_i/language/lang_romanian In directory vz-cvs-4.sog:/tmp/cvs-serv13539/lang_romanian Log Message: Directory /cvsroot/mxbb/mx_who_am_i/language/lang_romanian added to the repository |
|
From: Florin C B. <ory...@us...> - 2012-03-12 17:22:53
|
Update of /cvsroot/mxbb/mx_glance
In directory vz-cvs-4.sog:/tmp/cvs-serv5919
Modified Files:
mx_glance.pak
Log Message:
fix
Index: mx_glance.pak
===================================================================
RCS file: /cvsroot/mxbb/mx_glance/mx_glance.pak,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** mx_glance.pak 11 Jul 2009 03:22:06 -0000 1.7
--- mx_glance.pak 12 Mar 2012 17:22:50 -0000 1.8
***************
*** 1,18 ****
! module=+:62=+:Last News and Topics=+:modules/mx_glance/=+:Glance Module=+:0
New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0
! function=+:62=+:73=+:Last News and Topics=+:Last News and Topics=+:mx_glance.php=+:
! parameter=+:73=+:137=+:Glance_news_forum_id=+:Function=+:=+:get_list_multiple("{parameter_id}[]", FORUMS_TABLE, 'forum_id', 'forum_name', "{parameter_value}", TRUE)=+:0=+:0
! parameter=+:73=+:138=+:Glance_num_news=+:Number=+:1=+:0=+:0
! parameter=+:73=+:139=+:Glance_recent_ignore=+:Function=+:0=+:get_list_multiple("{parameter_id}[]", FORUMS_TABLE, 'forum_id', 'forum_name', "{parameter_value}", TRUE)=+:0=+:0
! parameter=+:73=+:140=+:Glance_num_recent=+:Number=+:5=+:0=+:0
! parameter=+:73=+:141=+:Glance_table_width=+:Number=+:200=+:0=+:0
! parameter=+:73=+:142=+:Glance_title_length=+:Number=+:0=+:0=+:0
! parameter=+:73=+:143=+:Glance_show_new_bullets=+:Boolean=+:TRUE=+:=+:0=+:0
! parameter=+:73=+:143=+:Glance_show_user_color=+:Boolean=+:TRUE=+:=+:0=+:0
! parameter=+:73=+:143=+:Glance_show_user_bold=+:Boolean=+:TRUE=+:=+:0=+:0
! parameter=+:73=+:144=+:Glance_track=+:Boolean=+:TRUE=+:=+:0=+:0
! parameter=+:73=+:145=+:Glance_auth_read=+:Boolean=+:FALSE=+:=+:0=+:0
! parameter=+:73=+:146=+:Glance_use_large=+:Radio_single_select=+:vertical=+:a:2:{i:0;s:8:"vertical";i:1;s:10:"horizontal";}=+:0=+:20
parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0
! block=+:=+:Last News and Topics=+:Demo - Vertical block=+:30=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:0
! function=+:0=+:0=+:0=+:endoflist=+:0=+:0
--- 1,18 ----
! module=+:162=+:Last News and Topics=+:modules/mx_glance/=+:Glance Module=+:1
New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0
! function=+:162=+:173=+:Last News and Topics=+:Last News and Topics=+:mx_glance.php=+:
! parameter=+:173=+:137=+:Glance_news_forum_id=+:Function=+:=+:get_list_multiple("{parameter_id}[]", FORUMS_TABLE, 'forum_id', 'forum_name', "{parameter_value}", TRUE)=+:0=+:0
! parameter=+:173=+:138=+:Glance_num_news=+:Number=+:3=+:=+:0=+:50
! parameter=+:173=+:139=+:Glance_recent_ignore=+:Function=+:=+:get_list_multiple("{parameter_id}[]", FORUMS_TABLE, 'forum_id', 'forum_name', "{parameter_value}", TRUE)=+:0=+:0
! parameter=+:173=+:140=+:Glance_num_recent=+:Number=+:5=+:=+:1=+:0
! parameter=+:173=+:141=+:Glance_table_width=+:Number=+:200=+:=+:0=+:0
! parameter=+:173=+:142=+:Glance_title_length=+:Number=+:0=+:=+:0=+:0
! parameter=+:173=+:143=+:Glance_show_new_bullets=+:Boolean=+:TRUE=+:=+:0=+:0
! parameter=+:173=+:143=+:Glance_show_user_color=+:Boolean=+:TRUE=+:=+:0=+:0
! parameter=+:173=+:143=+:Glance_show_user_bold=+:Boolean=+:TRUE=+:=+:0=+:0
! parameter=+:173=+:144=+:Glance_track=+:Boolean=+:TRUE=+:=+:0=+:0
! parameter=+:173=+:145=+:Glance_auth_read=+:Boolean=+:FALSE=+:=+:0=+:0
! parameter=+:173=+:146=+:Glance_use_large=+:Radio_single_select=+:vertical=+:a:2:{i:0;s:8:"vertical";i:1;s:10:"horizontal";}=+:0=+:20
parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0
! block=+:=+:Last News and Topics=+:Demo - Vertical block=+:173=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1
! New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0
|
|
From: Florin C B. <ory...@us...> - 2012-02-09 10:52:06
|
Update of /cvsroot/mxbb/core/includes/sessions/phpbb3
In directory vz-cvs-4.sog:/tmp/cvs-serv3978/sessions/phpbb3
Modified Files:
session.php
Log Message:
Added Support for Styles Demo Mod
Index: session.php
===================================================================
RCS file: /cvsroot/mxbb/core/includes/sessions/phpbb3/session.php,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** session.php 27 Jul 2011 19:44:58 -0000 1.44
--- session.php 9 Feb 2012 10:52:04 -0000 1.45
***************
*** 1347,1355 ****
$style = $this->style; // From main style init. Should be correct and valid.
! /*
if(!$board_config['override_user_style'] && ($this->data['user_id'] != ANONYMOUS))
{
// Set up style
! $style = $this->data['user_style'] ? $this->data['user_style'] : $board_config['default_style'];
}
else
--- 1347,1355 ----
$style = $this->style; // From main style init. Should be correct and valid.
! /* */
if(!$board_config['override_user_style'] && ($this->data['user_id'] != ANONYMOUS))
{
// Set up style
! $style = $this->data['user_style'] ? $this->data['user_style'] : $this->phpbb_style['style_id'];
}
else
***************
*** 1359,1363 ****
//Anonymouse users should see all block graphic corect
//Query phpBB style_id corepondent to mxp themes_id
! $sql = "SELECT s.style_id
FROM " . MX_THEMES_TABLE . " AS m, " . STYLES_TABLE . " AS s, " . STYLES_TEMPLATE_TABLE . " AS t
WHERE m.themes_id = " . (int) $default_style . "
--- 1359,1363 ----
//Anonymouse users should see all block graphic corect
//Query phpBB style_id corepondent to mxp themes_id
! $sql = "SELECT s.style_id, s.style_name
FROM " . MX_THEMES_TABLE . " AS m, " . STYLES_TABLE . " AS s, " . STYLES_TEMPLATE_TABLE . " AS t
WHERE m.themes_id = " . (int) $default_style . "
***************
*** 1374,1407 ****
}
}
! */
// Set up style Temp code should be removed after bugtraking
! $style = ($style) ? $style : ((!$board_config['override_user_style'] && $this->data['user_id'] != ANONYMOUS) ? $this->data['user_style'] : $this->phpbb_style['style_id']);
}
!
! $sql = "SELECT s.style_id, t.template_storedb, t.template_path, t.template_id, t.bbcode_bitfield, c.theme_path, c.theme_name, c.theme_storedb, c.theme_id, i.imageset_path, i.imageset_id, i.imageset_name
! FROM " . STYLES_TABLE . " AS s, " . STYLES_TEMPLATE_TABLE . " AS t, " . STYLES_THEME_TABLE . " AS c, " . STYLES_IMAGESET_TABLE . " i
! WHERE s.style_id = " . (int) $style . "
! AND t.template_id = s.template_id
! AND c.theme_id = s.theme_id
! AND i.imageset_id = s.imageset_id";
!
! if ( !($result = $db->sql_query($sql, 3600)) )
{
! mx_message_die(CRITICAL_ERROR, "Could not query database for imageset_id info style_id [$style]", "", __LINE__, __FILE__, $sql);
}
$this->theme = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
!
// User has wrong style
if (!$this->theme && $style == $this->data['user_style'])
{
$style = $this->data['user_style'] = $board_config['default_style'];
!
$sql = 'UPDATE ' . USERS_TABLE . "
SET user_style = $style
WHERE user_id = {$this->data['user_id']}";
$db->sql_query($sql);
!
$sql = 'SELECT s.style_id, t.template_storedb, t.template_path, t.template_id, t.bbcode_bitfield, c.theme_path, c.theme_name, c.theme_storedb, c.theme_id, i.imageset_path, i.imageset_id, i.imageset_name
FROM ' . STYLES_TABLE . ' s, ' . STYLES_TEMPLATE_TABLE . ' t, ' . STYLES_THEME_TABLE . ' c, ' . STYLES_IMAGESET_TABLE . " i
--- 1374,1491 ----
}
}
! /* */
// Set up style Temp code should be removed after bugtraking
! //$style = ($style) ? $style : ((!$board_config['override_user_style'] && $this->data['user_id'] != ANONYMOUS) ? $this->data['user_style'] : $this->phpbb_style['style_id']);
}
!
! // BEGIN Styles_Demo MOD for phpBB Block
! $style_value = '';
! if (isset($_GET['demostyle']))
{
! $style_value = phpBB3::request_var('demostyle', '');
! if (intval($style_value) == 0)
! {
! //Query phpBB style_id corepondent to mxp style_name
! //Any Demo Style here should work also for portal and forums
! //Any Demo Style Name should be supported using same guild lines for portal as for forums for e.g. with spaces etc.
! $sql = "SELECT s.style_id, s.style_name
! FROM " . MX_THEMES_TABLE . " AS m, " . STYLES_TABLE . " AS s, " . STYLES_TEMPLATE_TABLE . " AS t
! WHERE s.style_active = 1 AND s.style_name = '$style_value'
! AND s.style_name = m.style_name
! AND t.template_id = s.template_id";
! if(!$row = @$db->sql_fetchrow(@$db->sql_query($sql)))
! {
! die('Could not find style name '. $style_value . '!');
! }
! else
! {
! $style_value = $row['style_id'];
! }
! }
! else
! {
! //Query phpBB style_id corepondent to mxp themes_id
! //Any Demo Style here should work also for portal and forums
! //Any Demo Style Name should be supported using same guild lines for portal as for forums for e.g. with spaces etc.
! $sql = "SELECT s.style_id, s.style_name
! FROM " . MX_THEMES_TABLE . " AS m, " . STYLES_TABLE . " AS s, " . STYLES_TEMPLATE_TABLE . " AS t
! WHERE s.style_id = " . (int) $style_value . "
! AND s.style_name = m.style_name
! AND t.template_id = s.template_id";
! if(!$row = $db->sql_fetchrow($db->sql_query($sql)))
! {
! die('style_id ' . $style_value . ' not found');
! }
! }
! $this->set_cookie('change_style', $style_value, time() + 31536000);
! }
! elseif (isset($_COOKIE[$config['cookie_name'] . '_change_style']))
! {
! $style_value = $_COOKIE[$config['cookie_name'] . '_change_style'];
! }
!
! //Change the value before query
! if (!empty($style_value))
! {
! $style = $style_value;
! }
!
! //We should never get this, temp fix for GoogleBot-2.1 crawler
! //Remove this Deguging Code after solved
! if ((intval($style) == 0) && empty($style_value))
! {
! $style_value = 'prosilver';
! }
!
! // END Styles_Demo MOD
! if (intval($style) == 0)
! {
! //Query phpBB style_name
! $sql = "SELECT s.style_id, t.template_storedb, t.template_path, t.template_id, t.bbcode_bitfield, c.theme_path, c.theme_name, c.theme_storedb, c.theme_id, i.imageset_path, i.imageset_id, i.imageset_name
! FROM " . STYLES_TABLE . " AS s, " . STYLES_TEMPLATE_TABLE . " AS t, " . STYLES_THEME_TABLE . " AS c, " . STYLES_IMAGESET_TABLE . " i
! WHERE s.style_active = 1 AND s.style_name = '$style_value'
! AND t.template_id = s.template_id
! AND c.theme_id = s.theme_id
! AND i.imageset_id = s.imageset_id";
!
! if(($result = $db->sql_query($sql)) && ($row = $db->sql_fetchrow($result)))
! {
! $style = $row['style_id'];
! }
! else
! {
! mx_message_die(CRITICAL_ERROR, "Could not query database for imageset_id info style_name [$style]", "", __LINE__, __FILE__, $sql);
! }
}
+ else
+ {
+ //Query phpBB style_id
+ $sql = "SELECT s.style_id, t.template_storedb, t.template_path, t.template_id, t.bbcode_bitfield, c.theme_path, c.theme_name, c.theme_storedb, c.theme_id, i.imageset_path, i.imageset_id, i.imageset_name
+ FROM " . STYLES_TABLE . " AS s, " . STYLES_TEMPLATE_TABLE . " AS t, " . STYLES_THEME_TABLE . " AS c, " . STYLES_IMAGESET_TABLE . " i
+ WHERE s.style_id = " . (int) $style . "
+ AND t.template_id = s.template_id
+ AND c.theme_id = s.theme_id
+ AND i.imageset_id = s.imageset_id";
+
+ if (!$result = $db->sql_query_limit($sql, 1))
+ {
+ mx_message_die(CRITICAL_ERROR, "Could not query database for imageset_id info style_id [$style]", "", __LINE__, __FILE__, $sql);
+ }
+ }
+
$this->theme = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
!
// User has wrong style
if (!$this->theme && $style == $this->data['user_style'])
{
$style = $this->data['user_style'] = $board_config['default_style'];
!
$sql = 'UPDATE ' . USERS_TABLE . "
SET user_style = $style
WHERE user_id = {$this->data['user_id']}";
$db->sql_query($sql);
!
$sql = 'SELECT s.style_id, t.template_storedb, t.template_path, t.template_id, t.bbcode_bitfield, c.theme_path, c.theme_name, c.theme_storedb, c.theme_id, i.imageset_path, i.imageset_id, i.imageset_name
FROM ' . STYLES_TABLE . ' s, ' . STYLES_TEMPLATE_TABLE . ' t, ' . STYLES_THEME_TABLE . ' c, ' . STYLES_IMAGESET_TABLE . " i
***************
*** 1414,1439 ****
$db->sql_freeresult($result);
}
!
if (!$this->theme)
{
trigger_error('Could not get style data', E_USER_ERROR);
}
!
// Now parse the cfg file and cache it
$parsed_items = $mx_backend->obtain_cfg_items($this->theme);
!
// We are only interested in the theme configuration for now
$parsed_items = $parsed_items['theme'];
!
$check_for = array(
'parse_css_file' => (int) 0,
'pagination_sep' => (string) ', '
);
!
foreach ($check_for as $key => $default_value)
{
$this->theme[$key] = (isset($parsed_items[$key])) ? $parsed_items[$key] : $default_value;
settype($this->theme[$key], gettype($default_value));
!
if (is_string($default_value))
{
--- 1498,1523 ----
$db->sql_freeresult($result);
}
!
if (!$this->theme)
{
trigger_error('Could not get style data', E_USER_ERROR);
}
!
// Now parse the cfg file and cache it
$parsed_items = $mx_backend->obtain_cfg_items($this->theme);
!
// We are only interested in the theme configuration for now
$parsed_items = $parsed_items['theme'];
!
$check_for = array(
'parse_css_file' => (int) 0,
'pagination_sep' => (string) ', '
);
!
foreach ($check_for as $key => $default_value)
{
$this->theme[$key] = (isset($parsed_items[$key])) ? $parsed_items[$key] : $default_value;
settype($this->theme[$key], gettype($default_value));
!
if (is_string($default_value))
{
***************
*** 1441,1445 ****
}
}
!
// If the style author specified the theme needs to be cached
// (because of the used paths and variables) than make sure it is the case.
--- 1525,1529 ----
}
}
!
// If the style author specified the theme needs to be cached
// (because of the used paths and variables) than make sure it is the case.
***************
*** 1448,1457 ****
{
$this->theme['theme_storedb'] = 1;
!
$stylesheet = file_get_contents("{$phpbb_root_path}styles/{$this->theme['theme_path']}/theme/stylesheet.css");
// Match CSS imports
$matches = array();
preg_match_all('/@import url\(["\'](.*)["\']\);/i', $stylesheet, $matches);
!
if (sizeof($matches))
{
--- 1532,1541 ----
{
$this->theme['theme_storedb'] = 1;
!
$stylesheet = file_get_contents("{$phpbb_root_path}styles/{$this->theme['theme_path']}/theme/stylesheet.css");
// Match CSS imports
$matches = array();
preg_match_all('/@import url\(["\'](.*)["\']\);/i', $stylesheet, $matches);
!
if (sizeof($matches))
{
***************
*** 1471,1477 ****
unset($content);
}
!
! $stylesheet = str_replace('./', 'styles/' . $this->theme['theme_path'] . '/theme/', $stylesheet);
!
$sql_ary = array(
'theme_data' => $stylesheet,
--- 1555,1561 ----
unset($content);
}
!
! $stylesheet = str_replace('./', 'styles/' . $this->theme['theme_path'] . '/theme/', $stylesheet);
!
$sql_ary = array(
'theme_data' => $stylesheet,
***************
*** 1479,1495 ****
'theme_storedb' => 1
);
!
$sql = 'UPDATE ' . STYLES_THEME_TABLE . '
SET ' . $db->sql_build_array('UPDATE', $sql_ary) . '
WHERE theme_id = ' . $this->theme['theme_id'];
$db->sql_query($sql);
!
unset($sql_ary);
}
!
$template->set_template();
!
$this->img_lang = (file_exists($phpbb_root_path . 'styles/' . $this->theme['imageset_path'] . '/imageset/' . $this->lang_name)) ? $this->lang_name : $board_config['default_lang'];
!
$sql = 'SELECT image_name, image_filename, image_lang, image_height, image_width
FROM ' . STYLES_IMAGESET_DATA_TABLE . '
--- 1563,1579 ----
'theme_storedb' => 1
);
!
$sql = 'UPDATE ' . STYLES_THEME_TABLE . '
SET ' . $db->sql_build_array('UPDATE', $sql_ary) . '
WHERE theme_id = ' . $this->theme['theme_id'];
$db->sql_query($sql);
!
unset($sql_ary);
}
!
$template->set_template();
!
$this->img_lang = (file_exists($phpbb_root_path . 'styles/' . $this->theme['imageset_path'] . '/imageset/' . $this->lang_name)) ? $this->lang_name : $board_config['default_lang'];
!
$sql = 'SELECT image_name, image_filename, image_lang, image_height, image_width
FROM ' . STYLES_IMAGESET_DATA_TABLE . '
|
|
From: Florin C B. <ory...@us...> - 2012-01-23 03:52:02
|
Update of /cvsroot/mxbb/core/install/schemas
In directory vz-cvs-4.sog:/tmp/cvs-serv30006
Modified Files:
mysql_3_schema_install.sql mysql_41_schema_install.sql
mysql_61_schema_install.sql mysql_schema_install.sql
mysql_schema_upgrade_to_2.9.2.sql
mysql_schema_upgrade_to_3.0.0.sql
Log Message:
fixes mx_parameter
Index: mysql_3_schema_install.sql
===================================================================
RCS file: /cvsroot/mxbb/core/install/schemas/mysql_3_schema_install.sql,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** mysql_3_schema_install.sql 30 Sep 2008 07:04:47 -0000 1.1
--- mysql_3_schema_install.sql 23 Jan 2012 03:51:59 -0000 1.2
***************
*** 402,406 ****
`parameter_name` varchar(150),
`parameter_type` varchar(30),
! `parameter_default` varchar(150),
`parameter_function` varchar(255),
`parameter_auth` tinyint(2) NOT NULL DEFAULT '0',
--- 402,406 ----
`parameter_name` varchar(150),
`parameter_type` varchar(30),
! `parameter_default` text,
`parameter_function` varchar(255),
`parameter_auth` tinyint(2) NOT NULL DEFAULT '0',
Index: mysql_schema_upgrade_to_2.9.2.sql
===================================================================
RCS file: /cvsroot/mxbb/core/install/schemas/mysql_schema_upgrade_to_2.9.2.sql,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** mysql_schema_upgrade_to_2.9.2.sql 13 Sep 2007 09:13:04 -0000 1.1
--- mysql_schema_upgrade_to_2.9.2.sql 23 Jan 2012 03:51:59 -0000 1.2
***************
*** 56,59 ****
--- 56,64 ----
INSERT INTO mx_table_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 42, ':mrgreen:', 'icon_mrgreen.gif', 'Mr. Green');
+ # ------------------------------------------------------------
+ #
+ # New Fields in Table `mx_parameter`
+ #
+ ALTER TABLE mx_table_parameter MODIFY parameter_default text default '';
# --------------------------------------------------------
Index: mysql_schema_upgrade_to_3.0.0.sql
===================================================================
RCS file: /cvsroot/mxbb/core/install/schemas/mysql_schema_upgrade_to_3.0.0.sql,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** mysql_schema_upgrade_to_3.0.0.sql 27 Jul 2011 19:44:58 -0000 1.1
--- mysql_schema_upgrade_to_3.0.0.sql 23 Jan 2012 03:51:59 -0000 1.2
***************
*** 8,10 ****
#
# New Fields in Table `mx_portal`
! #
\ No newline at end of file
--- 8,16 ----
#
# New Fields in Table `mx_portal`
! #
!
! # ------------------------------------------------------------
! #
! # New Fields in Table `mx_parameter`
! #
! ALTER TABLE mx_table_parameter MODIFY parameter_default text default '';
Index: mysql_61_schema_install.sql
===================================================================
RCS file: /cvsroot/mxbb/core/install/schemas/mysql_61_schema_install.sql,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** mysql_61_schema_install.sql 17 Sep 2008 08:24:28 -0000 1.1
--- mysql_61_schema_install.sql 23 Jan 2012 03:51:59 -0000 1.2
***************
*** 402,406 ****
`parameter_name` varchar(150),
`parameter_type` varchar(30),
! `parameter_default` varchar(150),
`parameter_function` varchar(255),
`parameter_auth` tinyint(2) NOT NULL DEFAULT '0',
--- 402,406 ----
`parameter_name` varchar(150),
`parameter_type` varchar(30),
! `parameter_default` text,
`parameter_function` varchar(255),
`parameter_auth` tinyint(2) NOT NULL DEFAULT '0',
***************
*** 409,414 ****
) CHARACTER SET `utf8` COLLATE `utf8mb3_bin`;
-
-
#
# Dumping data for table 'mx_table_parameter'
--- 409,412 ----
Index: mysql_schema_install.sql
===================================================================
RCS file: /cvsroot/mxbb/core/install/schemas/mysql_schema_install.sql,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -d -r1.59 -r1.60
*** mysql_schema_install.sql 6 Oct 2008 22:47:16 -0000 1.59
--- mysql_schema_install.sql 23 Jan 2012 03:51:59 -0000 1.60
***************
*** 402,406 ****
`parameter_name` varchar(150),
`parameter_type` varchar(30),
! `parameter_default` varchar(150),
`parameter_function` varchar(255),
`parameter_auth` tinyint(2) NOT NULL DEFAULT '0',
--- 402,406 ----
`parameter_name` varchar(150),
`parameter_type` varchar(30),
! `parameter_default` text,
`parameter_function` varchar(255),
`parameter_auth` tinyint(2) NOT NULL DEFAULT '0',
Index: mysql_41_schema_install.sql
===================================================================
RCS file: /cvsroot/mxbb/core/install/schemas/mysql_41_schema_install.sql,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** mysql_41_schema_install.sql 6 Oct 2008 22:47:16 -0000 1.11
--- mysql_41_schema_install.sql 23 Jan 2012 03:51:59 -0000 1.12
***************
*** 402,406 ****
`parameter_name` varchar(150),
`parameter_type` varchar(30),
! `parameter_default` varchar(150),
`parameter_function` varchar(255),
`parameter_auth` tinyint(2) NOT NULL DEFAULT '0',
--- 402,406 ----
`parameter_name` varchar(150),
`parameter_type` varchar(30),
! `parameter_default` text,
`parameter_function` varchar(255),
`parameter_auth` tinyint(2) NOT NULL DEFAULT '0',
|
|
From: Florin C B. <ory...@us...> - 2012-01-09 06:58:18
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/includes
In directory vz-cvs-4.sog:/tmp/cvs-serv9448/pafiledb/includes
Modified Files:
functions.php
Log Message:
fixes for brower functions
Index: functions.php
===================================================================
RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions.php,v
retrieving revision 1.61
retrieving revision 1.62
diff -C2 -d -r1.61 -r1.62
*** functions.php 3 Jan 2012 03:45:46 -0000 1.61
--- functions.php 9 Jan 2012 06:58:15 -0000 1.62
***************
*** 2094,2103 ****
$browser_version = $log_version[1] . '.' . $log_version[1];
$browser_agent = 'safari';
! }
! else if (preg_match('/BROWSER_CHROME(/| )([0-9].[0-9]{1,2})/', strtoupper($user_agent), $log_version))
{
! $browser_version = $log_version[1];
$browser_agent = 'CHROME';
! }
else if (preg_match( '/(theworld\/)([0-9]*).([0-9]{1,2})/', $user_agent, $log_version))
{
--- 2094,2103 ----
$browser_version = $log_version[1] . '.' . $log_version[1];
$browser_agent = 'safari';
! }
! else if (preg_match('/BROWSER_CHROME ([0-9].[0-9]{1,2})/', strtoupper($user_agent), $log_version))
{
! $browser_version = $log_version[1] . '.' . $log_version[1];
$browser_agent = 'CHROME';
! }
else if (preg_match( '/(theworld\/)([0-9]*).([0-9]{1,2})/', $user_agent, $log_version))
{
***************
*** 2120,2135 ****
$browser_agent = 'konqueror';
}
! else if (preg_match('/BROWSER_IPHONE/([0-9].[0-9]{1,2})/', strtoupper($user_agent), $log_version))
{
$browser_version = $log_version[2];
$browser_agent = 'IPHONE';
! }
! else if (preg_match('/BROWSER_IPOD/([0-9].[0-9]{1,2})/', strtoupper($user_agent), $log_version))
! {
$browser_version = $log_version[2];
$browser_agent = 'IPOD';
! }
! else if (preg_match('/BROWSER_ANDROID/([0-9].[0-9]{1,2})/', strtoupper($user_agent), $log_version))
! {
$browser_version = $log_version[2];
$browser_agent = 'ANDROID';
--- 2120,2135 ----
$browser_agent = 'konqueror';
}
! else if (preg_match('/BROWSER_IPHONE ([0-9].[0-9]{1,2})/', strtoupper($user_agent), $log_version))
{
$browser_version = $log_version[2];
$browser_agent = 'IPHONE';
! }
! else if (preg_match('/BROWSER_IPOD ([0-9].[0-9]{1,2})/', strtoupper($user_agent), $log_version))
! {
$browser_version = $log_version[2];
$browser_agent = 'IPOD';
! }
! else if (preg_match('/BROWSER_ANDROID ([0-9].[0-9]{1,2})/', strtoupper($user_agent), $log_version))
! {
$browser_version = $log_version[2];
$browser_agent = 'ANDROID';
|
|
From: Florin C B. <ory...@us...> - 2012-01-03 03:45:48
|
Update of /cvsroot/mxbb/mx_pafiledb
In directory vz-cvs-4.sog:/tmp/cvs-serv20429
Modified Files:
dload_lists.php mx_install_readme.htm
Log Message:
added new brosers support and some fixes
Index: mx_install_readme.htm
===================================================================
RCS file: /cvsroot/mxbb/mx_pafiledb/mx_install_readme.htm,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** mx_install_readme.htm 5 Jul 2008 21:57:31 -0000 1.12
--- mx_install_readme.htm 3 Jan 2012 03:45:46 -0000 1.13
***************
*** 2,6 ****
<head>
<title>Mx Portal installation - readme</title>
! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- link rel="stylesheet" href="templates/subSilver/subSilver.css" type="text/css" -->
<style type="text/css">
--- 2,6 ----
<head>
<title>Mx Portal installation - readme</title>
! <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- link rel="stylesheet" href="templates/subSilver/subSilver.css" type="text/css" -->
<style type="text/css">
Index: dload_lists.php
===================================================================
RCS file: /cvsroot/mxbb/mx_pafiledb/dload_lists.php,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** dload_lists.php 3 Jun 2008 20:21:57 -0000 1.29
--- dload_lists.php 3 Jan 2012 03:45:46 -0000 1.30
***************
*** 57,61 ****
if (!($pafiledb_config['enable_module'] || $mx_user->is_admin))
{
! mx_message_die( GENERAL_MESSAGE, $lang['pafiledb_disable'] );
}
--- 57,61 ----
if (!($pafiledb_config['enable_module'] || $mx_user->is_admin))
{
! mx_message_die(GENERAL_MESSAGE, $lang['pafiledb_disable']);
}
***************
*** 63,70 ****
// an array of all expected actions
// ===================================================
! $actions = array( 'lists' => 'lists' );
$action = 'lists';
! $pafiledb->module( $actions[$action] );
! $pafiledb->modules[$actions[$action]]->main( $action );
?>
\ No newline at end of file
--- 63,70 ----
// an array of all expected actions
// ===================================================
! $actions = array('lists' => 'lists');
$action = 'lists';
! $pafiledb->module($actions[$action]);
! $pafiledb->modules[$actions[$action]]->main($action);
?>
\ No newline at end of file
|
|
From: Florin C B. <ory...@us...> - 2012-01-03 03:43:45
|
Update of /cvsroot/mxbb/mx_pafiledb/templates/mxp/images/addon_icons In directory vz-cvs-4.sog:/tmp/cvs-serv20130/addon_icons Log Message: Directory /cvsroot/mxbb/mx_pafiledb/templates/mxp/images/addon_icons added to the repository |
|
From: Florin C B. <ory...@us...> - 2012-01-03 03:43:36
|
Update of /cvsroot/mxbb/mx_pafiledb/templates/mxp/images In directory vz-cvs-4.sog:/tmp/cvs-serv20099/images Log Message: Directory /cvsroot/mxbb/mx_pafiledb/templates/mxp/images added to the repository |
|
From: Florin C B. <ory...@us...> - 2012-01-03 03:43:27
|
Update of /cvsroot/mxbb/mx_pafiledb/templates/mxp In directory vz-cvs-4.sog:/tmp/cvs-serv20075/mxp Log Message: Directory /cvsroot/mxbb/mx_pafiledb/templates/mxp added to the repository |
|
From: Florin C B. <ory...@us...> - 2012-01-03 03:38:52
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/images/os In directory vz-cvs-4.sog:/tmp/cvs-serv19465/os Log Message: Directory /cvsroot/mxbb/mx_pafiledb/pafiledb/images/os added to the repository |