You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(193) |
Nov
(393) |
Dec
(347) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(401) |
Feb
(232) |
Mar
(343) |
Apr
(129) |
May
(129) |
Jun
(116) |
Jul
(189) |
Aug
(129) |
Sep
(68) |
Oct
(172) |
Nov
(298) |
Dec
(148) |
| 2003 |
Jan
(264) |
Feb
(210) |
Mar
(322) |
Apr
(309) |
May
(234) |
Jun
(188) |
Jul
(215) |
Aug
(161) |
Sep
(234) |
Oct
(163) |
Nov
(110) |
Dec
(7) |
| 2004 |
Jan
(95) |
Feb
(107) |
Mar
(55) |
Apr
(3) |
May
(49) |
Jun
(35) |
Jul
(57) |
Aug
(43) |
Sep
(56) |
Oct
(40) |
Nov
(25) |
Dec
(21) |
| 2005 |
Jan
(93) |
Feb
(25) |
Mar
(22) |
Apr
(72) |
May
(45) |
Jun
(24) |
Jul
(29) |
Aug
(20) |
Sep
(50) |
Oct
(93) |
Nov
(69) |
Dec
(183) |
| 2006 |
Jan
(185) |
Feb
(143) |
Mar
(402) |
Apr
(260) |
May
(322) |
Jun
(367) |
Jul
(234) |
Aug
(299) |
Sep
(206) |
Oct
(288) |
Nov
(338) |
Dec
(307) |
| 2007 |
Jan
(296) |
Feb
(250) |
Mar
(261) |
Apr
(434) |
May
(539) |
Jun
(274) |
Jul
(440) |
Aug
(190) |
Sep
(128) |
Oct
(249) |
Nov
(86) |
Dec
(51) |
| 2008 |
Jan
(177) |
Feb
(67) |
Mar
(61) |
Apr
(48) |
May
(56) |
Jun
(97) |
Jul
(60) |
Aug
(64) |
Sep
(151) |
Oct
(79) |
Nov
(109) |
Dec
(123) |
| 2009 |
Jan
(70) |
Feb
(70) |
Mar
(73) |
Apr
(80) |
May
(22) |
Jun
(193) |
Jul
(191) |
Aug
(181) |
Sep
(120) |
Oct
(48) |
Nov
(24) |
Dec
|
|
From: Paul S. O. <ps...@us...> - 2002-04-07 18:33:15
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv8995
Modified Files:
Tag: phpBB-2_0_0
search.php
Log Message:
Fix missing $phpEx in search redirections
Index: search.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/search.php,v
retrieving revision 1.72.2.1
retrieving revision 1.72.2.2
diff -C2 -r1.72.2.1 -r1.72.2.2
*** search.php 7 Apr 2002 00:41:55 -0000 1.72.2.1
--- search.php 7 Apr 2002 18:33:12 -0000 1.72.2.2
***************
*** 158,162 ****
else
{
! header("Location: login.$phpEx?redirect=search&search_id=newposts");
exit;
}
--- 158,162 ----
else
{
! header("Location: login.$phpEx?redirect=search.$phpEx&search_id=newposts", true);
exit;
}
***************
*** 176,180 ****
else
{
! header("Location: login.$phpEx?redirect=search&search_id=egosearch");
exit;
}
--- 176,180 ----
else
{
! header("Location: login.$phpEx?redirect=search.$phpEx&search_id=egosearch", true);
exit;
}
|
|
From: Paul S. O. <ps...@us...> - 2002-04-07 15:37:05
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv3753/includes
Modified Files:
Tag: phpBB-2_0_0
functions_validate.php
Log Message:
Fix email address validation compliance + username wildcard problem
Index: functions_validate.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/functions_validate.php,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -C2 -r1.6 -r1.6.2.1
*** functions_validate.php 2 Apr 2002 21:13:47 -0000 1.6
--- functions_validate.php 7 Apr 2002 15:37:02 -0000 1.6.2.1
***************
*** 64,68 ****
while( $row = $db->sql_fetchrow($result) )
{
! if ( preg_match("#\b(" . str_replace("\*", "\w*?", preg_quote($row['disallow_username'])) . ")\b#i", $username) )
{
return array('error' => true, 'error_msg' => $lang['Username_disallowed']);
--- 64,68 ----
while( $row = $db->sql_fetchrow($result) )
{
! if ( preg_match("#\b(" . str_replace("\*", ".*?", preg_quote($row['disallow_username'])) . ")\b#i", $username) )
{
return array('error' => true, 'error_msg' => $lang['Username_disallowed']);
***************
*** 77,81 ****
while( $row = $db->sql_fetchrow($result) )
{
! if ( preg_match("#\b(" . str_replace("\*", "\w*?", preg_quote($row['word'])) . ")\b#i", $username) )
{
return array('error' => true, 'error_msg' => $lang['Username_disallowed']);
--- 77,81 ----
while( $row = $db->sql_fetchrow($result) )
{
! if ( preg_match("#\b(" . str_replace("\*", ".*?", preg_quote($row['word'])) . ")\b#i", $username) )
{
return array('error' => true, 'error_msg' => $lang['Username_disallowed']);
***************
*** 103,107 ****
if ( $email != '' )
{
! if ( preg_match('/^[a-z0-9\.\-_]+@[a-z0-9\-_]+\.([a-z0-9\-_]+\.)*?[a-z]+$/is', $email) )
{
$sql = "SELECT ban_email
--- 103,107 ----
if ( $email != '' )
{
! if ( preg_match('/^[a-z0-9\.\-_\+]+@[a-z0-9\-_]+\.([a-z0-9\-_]+\.)*?[a-z]+$/is', $email) )
{
$sql = "SELECT ban_email
***************
*** 111,115 ****
while( $row = $db->sql_fetchrow($result) )
{
! $match_email = str_replace('*', '.*', $row['ban_email']);
if ( preg_match('/^' . $match_email . '$/is', $email) )
{
--- 111,115 ----
while( $row = $db->sql_fetchrow($result) )
{
! $match_email = str_replace('*', '.*?', $row['ban_email']);
if ( preg_match('/^' . $match_email . '$/is', $email) )
{
|
|
From: Paul S. O. <ps...@us...> - 2002-04-07 15:19:05
|
Update of /cvsroot/phpbb/phpBB2/templates/subSilver
In directory usw-pr-cvs1:/tmp/cvs-serv32710/templates/subSilver
Modified Files:
Tag: phpBB-2_0_0
viewforum_body.tpl
Log Message:
Fix doubled nowrap
Index: viewforum_body.tpl
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/viewforum_body.tpl,v
retrieving revision 1.20
retrieving revision 1.20.2.1
diff -C2 -r1.20 -r1.20.2.1
*** viewforum_body.tpl 31 Mar 2002 00:06:34 -0000 1.20
--- viewforum_body.tpl 7 Apr 2002 15:19:01 -0000 1.20.2.1
***************
*** 4,8 ****
<tr>
<td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><br /><span class="gensmall"><b>{L_MODERATOR}: {MODERATORS}<br /><br />{LOGGED_IN_USER_LIST}</b></span></td>
! <td align="right" valign="bottom" nowrap><span class="gensmall"><b>{PAGINATION}</b></span></td>
</tr>
<tr>
--- 4,8 ----
<tr>
<td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><br /><span class="gensmall"><b>{L_MODERATOR}: {MODERATORS}<br /><br />{LOGGED_IN_USER_LIST}</b></span></td>
! <td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall"><b>{PAGINATION}</b></span></td>
</tr>
<tr>
***************
*** 19,23 ****
<th width="100" align="center" class="thTop" nowrap="nowrap"> {L_AUTHOR} </th>
<th width="50" align="center" class="thTop" nowrap="nowrap"> {L_VIEWS} </th>
! <th align="center" nowrap="nowrap" class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
<!-- BEGIN topicrow -->
--- 19,23 ----
<th width="100" align="center" class="thTop" nowrap="nowrap"> {L_AUTHOR} </th>
<th width="50" align="center" class="thTop" nowrap="nowrap"> {L_VIEWS} </th>
! <th align="center" class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
<!-- BEGIN topicrow -->
|
|
From: Paul S. O. <ps...@us...> - 2002-04-07 14:59:36
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv27478
Modified Files:
Tag: phpBB-2_0_0
modcp.php posting.php viewforum.php
Log Message:
A few more missed intval's
Index: modcp.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/modcp.php,v
retrieving revision 1.71
retrieving revision 1.71.2.1
diff -C2 -r1.71 -r1.71.2.1
*** modcp.php 4 Apr 2002 11:41:32 -0000 1.71
--- modcp.php 7 Apr 2002 14:59:33 -0000 1.71.2.1
***************
*** 344,348 ****
for($i = 0; $i < count($topics); $i++)
{
! $hidden_fields .= '<input type="hidden" name="topic_id_list[]" value="' . $topics[$i] . '" />';
}
}
--- 344,348 ----
for($i = 0; $i < count($topics); $i++)
{
! $hidden_fields .= '<input type="hidden" name="topic_id_list[]" value="' . intval($topics[$i]) . '" />';
}
}
***************
*** 392,396 ****
for($i = 0; $i < count($topics); $i++)
{
! $topic_list .= ( ( $topic_list != '' ) ? ', ' : '' ) . $topics[$i];
}
--- 392,396 ----
for($i = 0; $i < count($topics); $i++)
{
! $topic_list .= ( ( $topic_list != '' ) ? ', ' : '' ) . intval($topics[$i]);
}
***************
*** 625,629 ****
}
! $new_forum_id = $HTTP_POST_VARS['new_forum_id'];
$topic_time = time();
--- 625,629 ----
}
! $new_forum_id = intval($HTTP_POST_VARS['new_forum_id']);
$topic_time = time();
Index: posting.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/posting.php,v
retrieving revision 1.159.2.1
retrieving revision 1.159.2.2
diff -C2 -r1.159.2.1 -r1.159.2.2
*** posting.php 7 Apr 2002 00:21:50 -0000 1.159.2.1
--- posting.php 7 Apr 2002 14:59:33 -0000 1.159.2.2
***************
*** 443,447 ****
if ( !empty($HTTP_POST_VARS['vote_id']) )
{
! $vote_option_id = $HTTP_POST_VARS['vote_id'];
$sql = "SELECT vd.vote_id
--- 443,447 ----
if ( !empty($HTTP_POST_VARS['vote_id']) )
{
! $vote_option_id = intval($HTTP_POST_VARS['vote_id']);
$sql = "SELECT vd.vote_id
Index: viewforum.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/viewforum.php,v
retrieving revision 1.139
retrieving revision 1.139.2.1
diff -C2 -r1.139 -r1.139.2.1
*** viewforum.php 4 Apr 2002 11:47:43 -0000 1.139
--- viewforum.php 7 Apr 2002 14:59:33 -0000 1.139.2.1
***************
*** 35,39 ****
else if ( isset($HTTP_GET_VARS['forum']))
{
! $forum_id = $HTTP_GET_VARS['forum'];
}
else
--- 35,39 ----
else if ( isset($HTTP_GET_VARS['forum']))
{
! $forum_id = intval($HTTP_GET_VARS['forum']);
}
else
|
|
From: Paul S. O. <ps...@us...> - 2002-04-07 13:33:55
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv4958
Modified Files:
Tag: phpBB-2_0_0
privmsg.php
Log Message:
intval a number of variables
Index: privmsg.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/privmsg.php,v
retrieving revision 1.96.2.1
retrieving revision 1.96.2.2
diff -C2 -r1.96.2.1 -r1.96.2.2
*** privmsg.php 7 Apr 2002 00:28:22 -0000 1.96.2.1
--- privmsg.php 7 Apr 2002 13:33:51 -0000 1.96.2.2
***************
*** 100,108 ****
}
! $start = ( !empty($HTTP_GET_VARS['start']) ) ? $HTTP_GET_VARS['start'] : 0;
if ( isset($HTTP_POST_VARS[POST_POST_URL]) || isset($HTTP_GET_VARS[POST_POST_URL]) )
{
! $privmsg_id = ( isset($HTTP_POST_VARS[POST_POST_URL]) ) ? $HTTP_POST_VARS[POST_POST_URL] : $HTTP_GET_VARS[POST_POST_URL];
}
else
--- 100,108 ----
}
! $start = ( !empty($HTTP_GET_VARS['start']) ) ? intval($HTTP_GET_VARS['start']) : 0;
if ( isset($HTTP_POST_VARS[POST_POST_URL]) || isset($HTTP_GET_VARS[POST_POST_URL]) )
{
! $privmsg_id = ( isset($HTTP_POST_VARS[POST_POST_URL]) ) ? intval($HTTP_POST_VARS[POST_POST_URL]) : intval($HTTP_GET_VARS[POST_POST_URL]);
}
else
***************
*** 174,178 ****
if ( !empty($HTTP_GET_VARS[POST_POST_URL]) )
{
! $privmsgs_id = $HTTP_GET_VARS[POST_POST_URL];
}
else
--- 174,178 ----
if ( !empty($HTTP_GET_VARS[POST_POST_URL]) )
{
! $privmsgs_id = intval($HTTP_GET_VARS[POST_POST_URL]);
}
else
***************
*** 911,915 ****
if ( !$userdata['session_logged_in'] )
{
! $user_id = ( isset($HTTP_GET_VARS[POST_USERS_URL]) ) ? '&' . POST_USERS_URL . '=' . $HTTP_GET_VARS[POST_USERS_URL] : '';
$header_location = ( @preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')) ) ? 'Refresh: 0; URL=' : 'Location: ';
header($header_location . append_sid("login.$phpEx?redirect=privmsg.$phpEx&folder=$folder&mode=$mode" . $user_id, true));
--- 911,915 ----
if ( !$userdata['session_logged_in'] )
{
! $user_id = ( isset($HTTP_GET_VARS[POST_USERS_URL]) ) ? '&' . POST_USERS_URL . '=' . intval($HTTP_GET_VARS[POST_USERS_URL]) : '';
$header_location = ( @preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')) ) ? 'Refresh: 0; URL=' : 'Location: ';
header($header_location . append_sid("login.$phpEx?redirect=privmsg.$phpEx&folder=$folder&mode=$mode" . $user_id, true));
***************
*** 1038,1042 ****
$msg_time = time();
! if ( $mode != "edit" )
{
//
--- 1038,1042 ----
$msg_time = time();
! if ( $mode != 'edit' )
{
//
***************
*** 1088,1092 ****
}
! if ( $mode != "edit" )
{
$privmsg_sent_id = $db->sql_nextid();
--- 1088,1092 ----
}
! if ( $mode != 'edit' )
{
$privmsg_sent_id = $db->sql_nextid();
***************
*** 1226,1230 ****
if ( !empty($HTTP_GET_VARS[POST_USERS_URL]) )
{
! $user_id = $HTTP_GET_VARS[POST_USERS_URL];
$sql = "SELECT username
--- 1226,1230 ----
if ( !empty($HTTP_GET_VARS[POST_USERS_URL]) )
{
! $user_id = intval($HTTP_GET_VARS[POST_USERS_URL]);
$sql = "SELECT username
***************
*** 1746,1750 ****
if ( $submit_msgdays && ( !empty($HTTP_POST_VARS['msgdays']) || !empty($HTTP_GET_VARS['msgdays']) ) )
{
! $msg_days = ( !empty($HTTP_POST_VARS['msgdays']) ) ? $HTTP_POST_VARS['msgdays'] : $HTTP_GET_VARS['msgdays'];
$min_msg_time = time() - ($msg_days * 86400);
--- 1746,1750 ----
if ( $submit_msgdays && ( !empty($HTTP_POST_VARS['msgdays']) || !empty($HTTP_GET_VARS['msgdays']) ) )
{
! $msg_days = ( !empty($HTTP_POST_VARS['msgdays']) ) ? intval($HTTP_POST_VARS['msgdays']) : intval($HTTP_GET_VARS['msgdays']);
$min_msg_time = time() - ($msg_days * 86400);
|
|
From: Paul S. O. <ps...@us...> - 2002-04-07 08:14:10
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv28108
Modified Files:
Tag: phpBB-2_0_0
posting.php
Log Message:
Fix 'forget' topic type when previewing.
Index: posting.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/posting.php,v
retrieving revision 1.159
retrieving revision 1.159.2.1
diff -C2 -r1.159 -r1.159.2.1
*** posting.php 1 Apr 2002 20:07:51 -0000 1.159
--- posting.php 7 Apr 2002 00:21:50 -0000 1.159.2.1
***************
*** 83,97 ****
{
$redirect = "viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id";
! $post_append = "";
}
else if ( $forum_id )
{
$redirect = "viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id";
! $post_append = "";
}
else
{
$redirect = "index.$phpEx";
! $post_append = "";
}
--- 83,97 ----
{
$redirect = "viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id";
! $post_append = '';
}
else if ( $forum_id )
{
$redirect = "viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id";
! $post_append = '';
}
else
{
$redirect = "index.$phpEx";
! $post_append = '';
}
***************
*** 872,876 ****
{
$topic_type_toggle .= '<input type="radio" name="topictype" value="' . POST_STICKY . '"';
! if ( $post_data['topic_type'] == POST_STICKY )
{
$topic_type_toggle .= ' checked="checked"';
--- 872,876 ----
{
$topic_type_toggle .= '<input type="radio" name="topictype" value="' . POST_STICKY . '"';
! if ( $post_data['topic_type'] == POST_STICKY || $topic_type == POST_STICKY )
{
$topic_type_toggle .= ' checked="checked"';
***************
*** 882,886 ****
{
$topic_type_toggle .= '<input type="radio" name="topictype" value="' . POST_ANNOUNCE . '"';
! if ( $post_data['topic_type'] == POST_ANNOUNCE )
{
$topic_type_toggle .= ' checked="checked"';
--- 882,886 ----
{
$topic_type_toggle .= '<input type="radio" name="topictype" value="' . POST_ANNOUNCE . '"';
! if ( $post_data['topic_type'] == POST_ANNOUNCE || $topic_type == POST_ANNOUNCE )
{
$topic_type_toggle .= ' checked="checked"';
***************
*** 891,895 ****
if ( $topic_type_toggle != '' )
{
! $topic_type_toggle = $lang['Post_topic_as'] . ': <input type="radio" name="topictype" value="' . POST_NORMAL .'"' . ( ( $post_data['topic_type'] == POST_NORMAL ) ? ' checked="checked"' : '' ) . ' /> ' . $lang['Post_Normal'] . ' ' . $topic_type_toggle;
}
}
--- 891,895 ----
if ( $topic_type_toggle != '' )
{
! $topic_type_toggle = $lang['Post_topic_as'] . ': <input type="radio" name="topictype" value="' . POST_NORMAL .'"' . ( ( $post_data['topic_type'] == POST_NORMAL || $topic_type == POST_NORMAL ) ? ' checked="checked"' : '' ) . ' /> ' . $lang['Post_Normal'] . ' ' . $topic_type_toggle;
}
}
***************
*** 1083,1085 ****
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
! ?>
--- 1083,1085 ----
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
! ?>
\ No newline at end of file
|
|
From: Paul S. O. <ps...@us...> - 2002-04-07 08:13:27
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv2167/includes
Modified Files:
Tag: phpBB-2_0_0
usercp_register.php
Log Message:
Add uploadeable avatar check for strtolower(@$ini_val('file_uploads') == 'off')
Index: usercp_register.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/usercp_register.php,v
retrieving revision 1.20
retrieving revision 1.20.2.1
diff -C2 -r1.20 -r1.20.2.1
*** usercp_register.php 3 Apr 2002 23:24:59 -0000 1.20
--- usercp_register.php 7 Apr 2002 00:58:51 -0000 1.20.2.1
***************
*** 788,792 ****
//
$ini_val = ( phpversion() >= '4.0.0' ) ? 'ini_get' : 'get_cfg_var';
! $form_enctype = ( !@$ini_val('file_uploads') || phpversion() == '4.0.4pl1' || !$board_config['allow_avatar_upload'] || ( phpversion() < '4.0.3' && @$ini_val('open_basedir') != '' ) ) ? '' : 'enctype="multipart/form-data"';
$template->assign_vars(array(
--- 788,792 ----
//
$ini_val = ( phpversion() >= '4.0.0' ) ? 'ini_get' : 'get_cfg_var';
! $form_enctype = ( !@$ini_val('file_uploads') || strtolower(@$ini_val('file_uploads') == 'off') || phpversion() == '4.0.4pl1' || !$board_config['allow_avatar_upload'] || ( phpversion() < '4.0.3' && @$ini_val('open_basedir') != '' ) ) ? '' : 'enctype="multipart/form-data"';
$template->assign_vars(array(
|
|
From: Paul S. O. <ps...@us...> - 2002-04-07 08:13:21
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv29199
Modified Files:
Tag: phpBB-2_0_0
privmsg.php
Log Message:
Fix broken link to email form (also allow admins to view email button)
Index: privmsg.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/privmsg.php,v
retrieving revision 1.96
retrieving revision 1.96.2.1
diff -C2 -r1.96 -r1.96.2.1
*** privmsg.php 31 Mar 2002 00:06:33 -0000 1.96
--- privmsg.php 7 Apr 2002 00:28:22 -0000 1.96.2.1
***************
*** 473,479 ****
$pm = '<a href="' . $temp_url . '">' . $lang['Send_private_message'] . '</a>';
! if ( !empty($privmsg['user_viewemail']) || $is_auth['auth_mod'] )
{
! $email_uri = ( $board_config['board_email_form'] ) ? append_sid("profile.$phpEx?mode=email&" . POST_USERS_URL .'=' . $poster_id) : 'mailto:' . $privmsg['user_email'];
$email_img = '<a href="' . $email_uri . '"><img src="' . $images['icon_email'] . '" alt="' . $lang['Send_email'] . '" title="' . $lang['Send_email'] . '" border="0" /></a>';
--- 473,479 ----
$pm = '<a href="' . $temp_url . '">' . $lang['Send_private_message'] . '</a>';
! if ( !empty($privmsg['user_viewemail']) || $userdata['user_level'] == ADMIN )
{
! $email_uri = ( $board_config['board_email_form'] ) ? append_sid("profile.$phpEx?mode=email&" . POST_USERS_URL .'=' . $user_id_from) : 'mailto:' . $privmsg['user_email'];
$email_img = '<a href="' . $email_uri . '"><img src="' . $images['icon_email'] . '" alt="' . $lang['Send_email'] . '" title="' . $lang['Send_email'] . '" border="0" /></a>';
|
|
From: Paul S. O. <ps...@us...> - 2002-04-07 08:08:34
|
Update of /cvsroot/phpbb/phpBB2/admin
In directory usw-pr-cvs1:/tmp/cvs-serv1073/admin
Modified Files:
Tag: phpBB-2_0_0
admin_mass_email.php
Log Message:
Minor changes
Index: admin_mass_email.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/admin/admin_mass_email.php,v
retrieving revision 1.15
retrieving revision 1.15.2.1
diff -C2 -r1.15 -r1.15.2.1
*** admin_mass_email.php 2 Apr 2002 21:13:47 -0000 1.15
--- admin_mass_email.php 7 Apr 2002 00:51:47 -0000 1.15.2.1
***************
*** 34,38 ****
//
$no_page_header = TRUE;
! $phpbb_root_path = "../";
require($phpbb_root_path . 'extension.inc');
require('pagestart.' . $phpEx);
--- 34,38 ----
//
$no_page_header = TRUE;
! $phpbb_root_path = '../';
require($phpbb_root_path . 'extension.inc');
require('pagestart.' . $phpEx);
***************
*** 44,49 ****
@set_time_limit(1200);
! $message = "";
! $subject = "";
//
--- 44,49 ----
@set_time_limit(1200);
! $message = '';
! $subject = '';
//
***************
*** 67,76 ****
FROM " . USERS_TABLE;
}
!
! if( !$result = $db->sql_query($sql) )
{
! message_die(GENERAL_ERROR, "Coult not select group members!", __LINE__, __FILE__, $sql);
}
if( !$db->sql_numrows($result) )
{
--- 67,79 ----
FROM " . USERS_TABLE;
}
! if( !($result = $db->sql_query($sql)) )
{
! message_die(GENERAL_ERROR, 'Could not select group members', '', __LINE__, __FILE__, $sql);
}
+
+
+
+
if( !$db->sql_numrows($result) )
{
***************
*** 82,88 ****
$email_list = $db->sql_fetchrowset($g_result);
! $subject = stripslashes($HTTP_POST_VARS["subject"]);
! $message = stripslashes($HTTP_POST_VARS["message"]);
//
--- 85,95 ----
$email_list = $db->sql_fetchrowset($g_result);
+
+
+
!
! $subject = stripslashes($HTTP_POST_VARS['subject']);
! $message = stripslashes($HTTP_POST_VARS['message']);
//
***************
*** 108,131 ****
$emailer = new emailer($board_config['smtp_delivery']);
! $email_headers = "From: " . $board_config['board_email'] . "\n";
! $bcc_list = "";
for($i = 0; $i < count($email_list); $i++)
{
! if( $bcc_list != "" )
! {
! $bcc_list .= ", ";
! }
! $bcc_list .= $email_list[$i]['user_email'];
}
$email_headers .= "Bcc: $bcc_list\n";
! $email_headers .= "Return-Path: " . $userdata['board_email'] . "\n";
! $email_headers .= "X-AntiAbuse: Board servername - " . $server_name . "\n";
! $email_headers .= "X-AntiAbuse: User_id - " . $userdata['user_id'] . "\n";
! $email_headers .= "X-AntiAbuse: Username - " . $userdata['username'] . "\n";
! $email_headers .= "X-AntiAbuse: User IP - " . decode_ip($user_ip) . "\r\n";
! $emailer->use_template("admin_send_email");
$emailer->email_address($board_config['board_email']);
$emailer->set_subject($subject);
--- 115,134 ----
$emailer = new emailer($board_config['smtp_delivery']);
! $email_headers = 'From: ' . $board_config['board_email'] . "\n";
! $bcc_list = '';
for($i = 0; $i < count($email_list); $i++)
{
! $bcc_list .= ( ( $bcc_list != '' ) ? ', ' : '' ) . $email_list[$i]['user_email'];
}
$email_headers .= "Bcc: $bcc_list\n";
! $email_headers .= 'Return-Path: ' . $userdata['board_email'] . "\n";
! $email_headers .= 'X-AntiAbuse: Board servername - ' . $server_name . "\n";
! $email_headers .= 'X-AntiAbuse: User_id - ' . $userdata['user_id'] . "\n";
! $email_headers .= 'X-AntiAbuse: Username - ' . $userdata['username'] . "\n";
! $email_headers .= 'X-AntiAbuse: User IP - ' . decode_ip($user_ip) . "\r\n";
! $emailer->use_template('admin_send_email');
$emailer->email_address($board_config['board_email']);
$emailer->set_subject($subject);
***************
*** 133,144 ****
$emailer->assign_vars(array(
! "SITENAME" => $board_config['sitename'],
! "BOARD_EMAIL" => $board_config['board_email'],
! "MESSAGE" => $message)
);
$emailer->send();
$emailer->reset();
! $message = $lang['Email_sent'] . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
--- 136,147 ----
$emailer->assign_vars(array(
! 'SITENAME' => $board_config['sitename'],
! 'BOARD_EMAIL' => $board_config['board_email'],
! 'MESSAGE' => $message)
);
$emailer->send();
$emailer->reset();
! $message = $lang['Email_sent'] . '<br /><br />' . sprintf($lang['Click_return_admin_index'], '<a href="' . append_sid("index.$phpEx?pane=right") . '">', '</a>');
message_die(GENERAL_MESSAGE, $message);
***************
*** 153,168 ****
FROM ".GROUPS_TABLE . "
WHERE group_single_user <> 1";
! $g_result = $db->sql_query($sql);
! $group_list = $db->sql_fetchrowset($g_result);
!
! $select_list = '<select name = "' . POST_GROUPS_URL . '">';
! $select_list .= '<option value = "-1">' . $lang['All_users'] . '</option>';
! for($i = 0;$i < count($group_list); $i++)
{
! $select_list .= "<option value = \"" . $group_list[$i]['group_id'];
! $select_list .= "\">" . $group_list[$i]['group_name'] . "</option>";
}
! $select_list .= "</select>";
//
--- 156,174 ----
FROM ".GROUPS_TABLE . "
WHERE group_single_user <> 1";
! if ( !($result = $db->sql_query($sql)) )
! {
! message_die(GENERAL_ERROR, 'Could not obtain list of groups', '', __LINE__, __FILE__, $sql);
! }
! $select_list = '<select name = "' . POST_GROUPS_URL . '"><option value = "-1">' . $lang['All_users'] . '</option>';
! if ( $row = $db->sql_fetchrow($result) )
{
! do
! {
! $select_list .= '<option value = "' . $row['group_id'] . '">' . $row['group_name'] . '</option>';
! }
! while ( $row = $db->sql_fetchrow($result) );
}
! $select_list .= '</select>';
//
***************
*** 172,193 ****
$template->set_filenames(array(
! "body" => "admin/user_email_body.tpl")
);
$template->assign_vars(array(
! "MESSAGE" => $message,
! "SUBJECT" => $subject,
! "L_EMAIL_TITLE" => $lang['Email'],
! "L_EMAIL_EXPLAIN" => $lang['Mass_email_explain'],
! "L_COMPOSE" => $lang['Compose'],
! "L_RECIPIENTS" => $lang['Recipients'],
! "L_EMAIL_SUBJECT" => $lang['Subject'],
! "L_EMAIL_MSG" => $lang['Message'],
! "L_EMAIL" => $lang['Email'],
! "L_NOTICE" => $notice,
! "S_USER_ACTION" => append_sid('admin_mass_email.'.$phpEx),
! "S_GROUP_SELECT" => $select_list)
);
--- 178,199 ----
$template->set_filenames(array(
! 'body' => 'admin/user_email_body.tpl')
);
$template->assign_vars(array(
! 'MESSAGE' => $message,
! 'SUBJECT' => $subject,
! 'L_EMAIL_TITLE' => $lang['Email'],
! 'L_EMAIL_EXPLAIN' => $lang['Mass_email_explain'],
! 'L_COMPOSE' => $lang['Compose'],
! 'L_RECIPIENTS' => $lang['Recipients'],
! 'L_EMAIL_SUBJECT' => $lang['Subject'],
! 'L_EMAIL_MSG' => $lang['Message'],
! 'L_EMAIL' => $lang['Email'],
! 'L_NOTICE' => $notice,
! 'S_USER_ACTION' => append_sid('admin_mass_email.'.$phpEx),
! 'S_GROUP_SELECT' => $select_list)
);
***************
*** 196,198 ****
include('page_footer_admin.'.$phpEx);
! ?>
--- 202,204 ----
include('page_footer_admin.'.$phpEx);
! ?>
\ No newline at end of file
|
|
From: Paul S. O. <ps...@us...> - 2002-04-07 08:08:28
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv1233/includes
Modified Files:
Tag: phpBB-2_0_0
emailer.php
Log Message:
Fix path bug
Index: emailer.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/emailer.php,v
retrieving revision 1.15
retrieving revision 1.15.2.1
diff -C2 -r1.15 -r1.15.2.1
*** emailer.php 22 Mar 2002 19:33:28 -0000 1.15
--- emailer.php 7 Apr 2002 00:52:41 -0000 1.15.2.1
***************
*** 179,193 ****
function send()
{
! global $phpEx, $phpbb_root_dir;
!
! if (isset($phpbb_root_dir))
! {
! // we must be in the admin section.
! $phpbb_root_path = $phpbb_root_dir;
! }
! else
! {
! $phpbb_root_path = "./";
! }
if ($this->address == NULL)
--- 179,183 ----
function send()
{
! global $phpEx, $phpbb_root_path;
if ($this->address == NULL)
|
|
From: Paul S. O. <ps...@us...> - 2002-04-07 08:08:05
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv31763
Modified Files:
Tag: phpBB-2_0_0
search.php
Log Message:
Fix ordering problem for topics
Index: search.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/search.php,v
retrieving revision 1.72
retrieving revision 1.72.2.1
diff -C2 -r1.72 -r1.72.2.1
*** search.php 31 Mar 2002 19:13:06 -0000 1.72
--- search.php 7 Apr 2002 00:41:55 -0000 1.72.2.1
***************
*** 116,124 ****
$start = ( isset($HTTP_GET_VARS['start']) ) ? intval($HTTP_GET_VARS['start']) : 0;
- //
- // Define some globally used data
- //
$sort_by_types = array($lang['Sort_Time'], $lang['Sort_Post_Subject'], $lang['Sort_Topic_Title'], $lang['Sort_Author'], $lang['Sort_Forum']);
- $sort_by_sql = array('p.post_time', 'pt.post_subject', 't.topic_title', 'u.username', 'f.forum_id');
//
--- 116,120 ----
***************
*** 447,452 ****
else if ( $search_author != '' || $search_time || $auth_sql != '' )
{
! $where_sql = ( $search_author == '' && $auth_sql == '' ) ? "post_id IN (" . implode(', ', $search_ids) . ")" : "p.post_id IN (" . implode(", ", $search_ids) . ")";
! $from_sql = ( $search_author == '' && $auth_sql == '' ) ? POSTS_TABLE : POSTS_TABLE . " p";
if ( $search_time )
--- 443,448 ----
else if ( $search_author != '' || $search_time || $auth_sql != '' )
{
! $where_sql = ( $search_author == '' && $auth_sql == '' ) ? 'post_id IN (' . implode(', ', $search_ids) . ')' : 'p.post_id IN (' . implode(', ', $search_ids) . ')';
! $from_sql = ( $search_author == '' && $auth_sql == '' ) ? POSTS_TABLE : POSTS_TABLE . ' p';
if ( $search_time )
***************
*** 641,648 ****
AND u2.user_id = p2.poster_id";
}
!
$per_page = ( $show_results == 'posts' ) ? $board_config['posts_per_page'] : $board_config['topics_per_page'];
! $sql .= " ORDER BY " . $sort_by_sql[$sort_by] . " $sort_dir LIMIT $start, " . $per_page;
if ( !$result = $db->sql_query($sql) )
--- 637,663 ----
AND u2.user_id = p2.poster_id";
}
!
$per_page = ( $show_results == 'posts' ) ? $board_config['posts_per_page'] : $board_config['topics_per_page'];
! $sql .= " ORDER BY ";
! switch ( $sort_by )
! {
! case 1:
! $sql .= ( $show_results == 'posts' ) ? 'pt.post_subject' : 't.topic_title';
! break;
! case 2:
! $sql .= 't.topic_title';
! break;
! case 3:
! $sql .= 'u.username';
! break;
! case 4:
! $sql .= 'f.forum_id';
! break;
! default:
! $sql .= ( $show_results == 'posts' ) ? 'p.post_time' : 'p2.post_time';
! break;
! }
! $sql .= " $sort_dir LIMIT $start, " . $per_page;
if ( !$result = $db->sql_query($sql) )
***************
*** 1299,1301 ****
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
! ?>
--- 1314,1316 ----
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
! ?>
\ No newline at end of file
|
|
From: Paul S. O. <ps...@us...> - 2002-04-06 02:28:58
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv17215
Modified Files:
Tag: phpBB-2_0_0
groupcp.php
Log Message:
mispelt append_sid ...
Index: groupcp.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/groupcp.php,v
retrieving revision 1.58.2.2
retrieving revision 1.58.2.3
diff -C2 -r1.58.2.2 -r1.58.2.3
*** groupcp.php 5 Apr 2002 17:01:38 -0000 1.58.2.2
--- groupcp.php 6 Apr 2002 02:28:54 -0000 1.58.2.3
***************
*** 208,212 ****
if ( !$userdata['session_logged_in'] )
{
! header($header_location . ppend_sid("login.$phpEx?redirect=groupcp.$phpEx&" . POST_GROUPS_URL . "=$group_id", true));
}
--- 208,212 ----
if ( !$userdata['session_logged_in'] )
{
! header($header_location . append_sid("login.$phpEx?redirect=groupcp.$phpEx&" . POST_GROUPS_URL . "=$group_id", true));
}
***************
*** 309,313 ****
if ( $cancel )
{
! header($header_location . ppend_sid("groupcp.$phpEx", true));
}
elseif ( !$userdata['session_logged_in'] )
--- 309,313 ----
if ( $cancel )
{
! header($header_location . append_sid("groupcp.$phpEx", true));
}
elseif ( !$userdata['session_logged_in'] )
|
|
From: Paul S. O. <ps...@us...> - 2002-04-05 19:49:00
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv18294/includes
Modified Files:
Tag: phpBB-2_0_0
functions_post.php
Log Message:
Wasn't decrementing topic reply counter when deleting anything other than first or last post in a topic
Index: functions_post.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/functions_post.php,v
retrieving revision 1.9
retrieving revision 1.9.2.1
diff -C2 -r1.9 -r1.9.2.1
*** functions_post.php 3 Apr 2002 14:38:56 -0000 1.9
--- functions_post.php 5 Apr 2002 19:48:56 -0000 1.9.2.1
***************
*** 23,27 ****
if ( !defined('IN_PHPBB') )
{
! die("Hacking attempt");
}
--- 23,27 ----
if ( !defined('IN_PHPBB') )
{
! die('Hacking attempt');
}
***************
*** 381,385 ****
global $db;
! $sign = ( $mode == 'delete' ) ? "- 1" : "+ 1";
$forum_update_sql = "forum_posts = forum_posts $sign";
$topic_update_sql = '';
--- 381,385 ----
global $db;
! $sign = ( $mode == 'delete' ) ? '- 1' : '+ 1';
$forum_update_sql = "forum_posts = forum_posts $sign";
$topic_update_sql = '';
***************
*** 396,400 ****
{
! $topic_update_sql = "topic_replies = topic_replies - 1";
$sql = "SELECT MAX(post_id) AS post_id
--- 396,400 ----
{
! $topic_update_sql .= "topic_replies = topic_replies - 1";
$sql = "SELECT MAX(post_id) AS post_id
***************
*** 440,445 ****
if ( $row = $db->sql_fetchrow($result) )
{
! $topic_update_sql = 'topic_replies = topic_replies - 1, topic_first_post_id = ' . $row['post_id'];
}
}
}
--- 440,449 ----
if ( $row = $db->sql_fetchrow($result) )
{
! $topic_update_sql .= 'topic_replies = topic_replies - 1, topic_first_post_id = ' . $row['post_id'];
}
+ }
+ else
+ {
+ $topic_update_sql .= 'topic_replies = topic_replies - 1';
}
}
|
|
From: Paul S. O. <ps...@us...> - 2002-04-05 17:38:08
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv23133
Modified Files:
Tag: phpBB-2_0_0
groupcp.php
Log Message:
Fix missing L_POSTS assignment
Index: groupcp.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/groupcp.php,v
retrieving revision 1.58.2.1
retrieving revision 1.58.2.2
diff -C2 -r1.58.2.1 -r1.58.2.2
*** groupcp.php 5 Apr 2002 16:41:09 -0000 1.58.2.1
--- groupcp.php 5 Apr 2002 17:01:38 -0000 1.58.2.2
***************
*** 913,917 ****
'L_SELECT_SORT_METHOD' => $lang['Select_sort_method'],
'L_PM' => $lang['Private_Message'],
! 'L_EMAIL' => $lang['Email'],
'L_WEBSITE' => $lang['Website'],
'L_FROM' => $lang['Location'],
--- 913,918 ----
'L_SELECT_SORT_METHOD' => $lang['Select_sort_method'],
'L_PM' => $lang['Private_Message'],
! 'L_EMAIL' => $lang['Email'],
! 'L_POSTS' => $lang['Posts'],
'L_WEBSITE' => $lang['Website'],
'L_FROM' => $lang['Location'],
|
|
From: Paul S. O. <ps...@us...> - 2002-04-05 17:38:05
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv23229/includes
Modified Files:
Tag: phpBB-2_0_0
usercp_email.php
Log Message:
Fix missing user_id on redirect from login
Index: usercp_email.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/usercp_email.php,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -C2 -r1.7 -r1.7.2.1
*** usercp_email.php 31 Mar 2002 00:06:34 -0000 1.7
--- usercp_email.php 5 Apr 2002 17:01:53 -0000 1.7.2.1
***************
*** 28,37 ****
}
- if ( !$userdata['session_logged_in'] )
- {
- header('Location: ' . append_sid("login.$phpEx?redirect=profile.$phpEx&mode=email&" . POST_USERS_URL . "=$user_id", true));
- exit;
- }
-
if ( !empty($HTTP_GET_VARS[POST_USERS_URL]) || !empty($HTTP_POST_VARS[POST_USERS_URL]) )
{
--- 28,31 ----
***************
*** 41,44 ****
--- 35,44 ----
{
message_die(GENERAL_MESSAGE, $lang['No_user_specified']);
+ }
+
+ if ( !$userdata['session_logged_in'] )
+ {
+ header('Location: ' . append_sid("login.$phpEx?redirect=profile.$phpEx&mode=email&" . POST_USERS_URL . "=$user_id", true));
+ exit;
}
|
|
From: Paul S. O. <ps...@us...> - 2002-04-05 16:59:26
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv18055
Modified Files:
Tag: phpBB-2_0_0
groupcp.php
Log Message:
Fix broken links for images/text
Index: groupcp.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/groupcp.php,v
retrieving revision 1.58
retrieving revision 1.58.2.1
diff -C2 -r1.58 -r1.58.2.1
*** groupcp.php 3 Apr 2002 22:24:56 -0000 1.58
--- groupcp.php 5 Apr 2002 16:41:09 -0000 1.58.2.1
***************
*** 30,34 ****
function generate_user_info(&$row, $date_format, $group_mod, &$from, &$posts, &$joined, &$poster_avatar, &$profile_img, &$profile, &$search_img, &$search, &$pm_img, &$pm, &$email_img, &$email, &$www_img, &$www, &$icq_status_img, &$icq_img, &$icq, &$aim_img, &$aim, &$msn_img, &$msn, &$yim_img, &$yim)
{
! global $lang, $images, $board_config;
$from = ( !empty($row['user_from']) ) ? $row['user_from'] : ' ';
--- 30,34 ----
function generate_user_info(&$row, $date_format, $group_mod, &$from, &$posts, &$joined, &$poster_avatar, &$profile_img, &$profile, &$search_img, &$search, &$pm_img, &$pm, &$email_img, &$email, &$www_img, &$www, &$icq_status_img, &$icq_img, &$icq, &$aim_img, &$aim, &$msn_img, &$msn, &$yim_img, &$yim)
{
! global $lang, $images, $board_config, $phpEx;
$from = ( !empty($row['user_from']) ) ? $row['user_from'] : ' ';
|
|
From: Paul S. O. <ps...@us...> - 2002-04-05 15:29:46
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv23575
Modified Files:
Tag: phpBB-2_0_0
viewtopic.php
Log Message:
Fix delete post image being replaced by text for normal users
Index: viewtopic.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/viewtopic.php,v
retrieving revision 1.186
retrieving revision 1.186.2.1
diff -C2 -r1.186 -r1.186.2.1
*** viewtopic.php 31 Mar 2002 00:06:34 -0000 1.186
--- viewtopic.php 5 Apr 2002 15:11:29 -0000 1.186.2.1
***************
*** 991,995 ****
$temp_url = append_sid("posting.$phpEx?mode=delete&" . POST_POST_URL . "=" . $postrow[$i]['post_id']);
$delpost_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_delpost'] . '" alt="' . $lang['Delete_post'] . '" title="' . $lang['Delete_post'] . '" border="0" /></a>';
! $delpost_img = '<a href="' . $temp_url . '">' . $lang['Delete_post'] . '</a>';
}
else
--- 991,995 ----
$temp_url = append_sid("posting.$phpEx?mode=delete&" . POST_POST_URL . "=" . $postrow[$i]['post_id']);
$delpost_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_delpost'] . '" alt="' . $lang['Delete_post'] . '" title="' . $lang['Delete_post'] . '" border="0" /></a>';
! $delpost = '<a href="' . $temp_url . '">' . $lang['Delete_post'] . '</a>';
}
else
|
|
From: Paul S. O. <ps...@us...> - 2002-04-04 21:51:36
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv30741
Modified Files:
extension.inc
Log Message:
Update a few things for 2.1 CVS
Index: extension.inc
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/extension.inc,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** extension.inc 4 Apr 2002 11:52:50 -0000 1.5
--- extension.inc 4 Apr 2002 21:51:32 -0000 1.6
***************
*** 14,18 ****
if ( !defined('IN_PHPBB') )
{
! die("Hacking attempt");
}
--- 14,18 ----
if ( !defined('IN_PHPBB') )
{
! die('Hacking attempt');
}
***************
*** 20,26 ****
// Change this if your extension is not .php!
//
! $phpEx = "php";
! $starttime = 0;
?>
--- 20,32 ----
// Change this if your extension is not .php!
//
! $phpEx = 'php';
! //
! // For debug timing
! //
! $mtime = microtime();
! $mtime = explode(' ',$mtime);
! $mtime = $mtime[1] + $mtime[0];
! $starttime = $mtime;
?>
|
|
From: Paul S. O. <ps...@us...> - 2002-04-04 21:50:33
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv30417/includes
Modified Files:
page_tail.php
Log Message:
Update a few things for 2.1 CVS
Index: page_tail.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/page_tail.php,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** page_tail.php 4 Apr 2002 11:53:13 -0000 1.27
--- page_tail.php 4 Apr 2002 21:50:29 -0000 1.28
***************
*** 49,52 ****
--- 49,66 ----
//
+ // Output page creation time
+ //
+ $mtime = microtime();
+ $mtime = explode(' ',$mtime);
+ $mtime = $mtime[1] + $mtime[0];
+ $endtime = $mtime;
+ $totaltime = ($endtime - $starttime);
+
+ $gzip_text = ($board_config['gzip_compress']) ? "GZIP compression enabled" : "GZIP compression disabled";
+ $debug_mode = (DEBUG) ? " : Debug Mode" : "";
+
+ printf("<br /><center><font size=\"-2\">phpBB Created this page in %f seconds : " . $db->num_queries . " queries executed : $gzip_text".$debug_mode."</font></center>", $totaltime);
+
+ //
// Compress buffered output if required and send to browser
//
|
|
From: Paul S. O. <ps...@us...> - 2002-04-04 21:50:08
|
Update of /cvsroot/phpbb/phpBB2/db/schemas
In directory usw-pr-cvs1:/tmp/cvs-serv30080/db/schemas
Modified Files:
ms_access_primer.zip mssql_basic.sql mysql_basic.sql
postgres_basic.sql
Log Message:
Update a few things for 2.1 CVS
Index: ms_access_primer.zip
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/db/schemas/ms_access_primer.zip,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
Binary files /tmp/cvs8ghzXi and /tmp/cvsUN09mr differ
Index: mssql_basic.sql
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/db/schemas/mssql_basic.sql,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** mssql_basic.sql 19 Mar 2002 22:00:17 -0000 1.13
--- mssql_basic.sql 4 Apr 2002 21:50:04 -0000 1.14
***************
*** 68,72 ****
INSERT INTO phpbb_config (config_name, config_value) VALUES ('server_port', '80');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('script_path', '/phpBB2/');
! INSERT INTO phpbb_config (config_name, config_value) VALUES ('version', 'RC-4');
/*
--- 68,72 ----
INSERT INTO phpbb_config (config_name, config_value) VALUES ('server_port', '80');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('script_path', '/phpBB2/');
! INSERT INTO phpbb_config (config_name, config_value) VALUES ('version', '.1.0 [20020402]');
/*
Index: mysql_basic.sql
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/db/schemas/mysql_basic.sql,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** mysql_basic.sql 19 Mar 2002 22:00:17 -0000 1.14
--- mysql_basic.sql 4 Apr 2002 21:50:04 -0000 1.15
***************
*** 61,65 ****
INSERT INTO phpbb_config (config_name, config_value) VALUES ('server_port', '80');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('script_path', '/phpBB2/');
! INSERT INTO phpbb_config (config_name, config_value) VALUES ('version', 'RC-4');
--- 61,65 ----
INSERT INTO phpbb_config (config_name, config_value) VALUES ('server_port', '80');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('script_path', '/phpBB2/');
! INSERT INTO phpbb_config (config_name, config_value) VALUES ('version', '.1.0 [20020402]');
Index: postgres_basic.sql
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/db/schemas/postgres_basic.sql,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** postgres_basic.sql 25 Mar 2002 19:31:18 -0000 1.15
--- postgres_basic.sql 4 Apr 2002 21:50:04 -0000 1.16
***************
*** 62,66 ****
INSERT INTO phpbb_config (config_name, config_value) VALUES ('server_port', '80');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('script_path', '/phpBB2/');
! INSERT INTO phpbb_config (config_name, config_value) VALUES ('version', 'RC-4');
-- Categories
--- 62,66 ----
INSERT INTO phpbb_config (config_name, config_value) VALUES ('server_port', '80');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('script_path', '/phpBB2/');
! INSERT INTO phpbb_config (config_name, config_value) VALUES ('version', '.1.0 [20020402]');
-- Categories
|
|
From: Paul S. O. <ps...@us...> - 2002-04-04 21:49:29
|
Update of /cvsroot/phpbb/phpBB2 In directory usw-pr-cvs1:/tmp/cvs-serv29846 Removed Files: update_to_FINAL.php Log Message: Switch to shiny new 2.1 update_script --- update_to_FINAL.php DELETED --- |
|
From: Paul S. O. <ps...@us...> - 2002-04-04 21:44:40
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv28186
Added Files:
update_script.php
Log Message:
Update a few things for 2.1 CVS
--- NEW FILE ---
<html>
<body>
<?php
define('IN_PHPBB', 1);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'config.'.$phpEx);
include($phpbb_root_path . 'includes/constants.'.$phpEx);
include($phpbb_root_path . 'includes/functions.'.$phpEx);
include($phpbb_root_path . 'includes/db.'.$phpEx);
$sql = "SELECT config_value
FROM " . CONFIG_TABLE . "
WHERE config_name = 'version'";
if ( !($result = $db->sql_query($sql)) )
{
die("Couldn't obtain version info");
}
if ( $row = $db->sql_fetchrow($result) )
{
if ( $row['config_value'] != '.1.0 [20020402]' )
{
$sql = "UPDATE " . CONFIG_TABLE . "
SET config_value = '.1.0 [20020402]'
WHERE config_name = 'version'";
if ( !($result = $db->sql_query($sql)) )
{
die("Couldn't update version info");
}
die("UPDATING COMPLETE");
}
}
echo "\n<br />\n<b>COMPLETE!</b><br />\n";
echo "\n<p>Don't forget to delete this file!</p>\n";
?>
</body>
</html>
|
|
From: Paul S. O. <ps...@us...> - 2002-04-04 15:35:12
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv1291
Modified Files:
extension.inc
Log Message:
Remove timing for final release ...can always be put back for those that want it
Index: extension.inc
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/extension.inc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** extension.inc 18 Mar 2002 23:53:38 -0000 1.4
--- extension.inc 4 Apr 2002 11:52:50 -0000 1.5
***************
*** 22,32 ****
$phpEx = "php";
! //
! // For debug timing
! //
! $mtime = microtime();
! $mtime = explode(" ",$mtime);
! $mtime = $mtime[1] + $mtime[0];
! $starttime = $mtime;
?>
--- 22,26 ----
$phpEx = "php";
! $starttime = 0;
?>
|
|
From: Paul S. O. <ps...@us...> - 2002-04-04 15:35:03
|
Update of /cvsroot/phpbb/phpBB2/admin
In directory usw-pr-cvs1:/tmp/cvs-serv20193/admin
Modified Files:
Tag: phpBB-2_0_0
page_footer_admin.php
Log Message:
Minor version messup
Index: page_footer_admin.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/admin/page_footer_admin.php,v
retrieving revision 1.9
retrieving revision 1.9.2.1
diff -C2 -r1.9 -r1.9.2.1
*** page_footer_admin.php 18 Mar 2002 14:54:25 -0000 1.9
--- page_footer_admin.php 4 Apr 2002 14:47:18 -0000 1.9.2.1
***************
*** 29,53 ****
// Show the overall footer.
//
- $current_time = time();
-
$template->set_filenames(array(
! "page_footer" => "admin/page_footer.tpl")
);
$template->assign_vars(array(
! "PHPBB_VERSION" => "2.0 " . $board_config['version'],
! "TRANSLATION_INFO" => $lang['TRANSLATION_INFO'])
);
! $template->pparse("page_footer");
!
! //
! // Output page creation time
! //
! $mtime = microtime();
! $mtime = explode(" ",$mtime);
! $mtime = $mtime[1] + $mtime[0];
! $endtime = $mtime;
! $totaltime = ($endtime - $starttime);
//
--- 29,42 ----
// Show the overall footer.
//
$template->set_filenames(array(
! 'page_footer' => 'admin/page_footer.tpl')
);
$template->assign_vars(array(
! 'PHPBB_VERSION' => '2' . $board_config['version'],
! 'TRANSLATION_INFO' => $lang['TRANSLATION_INFO'])
);
! $template->pparse('page_footer');
//
***************
*** 74,81 ****
$gzip_contents = substr($gzip_contents, 0, strlen($gzip_contents) - 4);
! echo "\x1f\x8b\x08\x00\x00\x00\x00\x00";
echo $gzip_contents;
! echo pack("V", $gzip_crc);
! echo pack("V", $gzip_size);
}
--- 63,70 ----
$gzip_contents = substr($gzip_contents, 0, strlen($gzip_contents) - 4);
! echo '\x1f\x8b\x08\x00\x00\x00\x00\x00';
echo $gzip_contents;
! echo pack('V', $gzip_crc);
! echo pack('V', $gzip_size);
}
|
|
From: Paul S. O. <ps...@us...> - 2002-04-04 15:34:42
|
Update of /cvsroot/phpbb/phpBB2/db/schemas
In directory usw-pr-cvs1:/tmp/cvs-serv24128/db/schemas
Modified Files:
Tag: phpBB-2_0_0
ms_access_primer.zip
Log Message:
Update version numbers ... almost there
Index: ms_access_primer.zip
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/db/schemas/ms_access_primer.zip,v
retrieving revision 1.14
retrieving revision 1.14.2.1
diff -C2 -r1.14 -r1.14.2.1
Binary files /tmp/cvsW9PNfU and /tmp/cvsWEqAiE differ
|