<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/phpbt/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/phpbt/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 28 Nov 2009 21:18:39 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/phpbt/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>php error in bug.php line 753</title><link>https://sourceforge.net/p/phpbt/patches/61/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I was getting a php error in bug.php line 753, so I added the isset()&lt;/p&gt;
&lt;p&gt;$reporter = (isset($reporter) and is_numeric($reporter)) ? $reporter : $u;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Fore</dc:creator><pubDate>Sat, 28 Nov 2009 21:18:39 -0000</pubDate><guid>https://sourceforge.netbaddbffb74adb500eb864640e0a114feab4f78e1</guid></item><item><title>Bogus Postgresql code (1.0.4)</title><link>https://sourceforge.net/p/phpbt/patches/60/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi guys,&lt;/p&gt;
&lt;p&gt;There are a few bugs in the Postgresql code that make phpbt not very useful until fixed. Mainly missing spaces.&lt;/p&gt;
&lt;p&gt;The GROUP BY requires all the fields that are defined in some way in the query. It's somewhat annoying and it may have been fixed in a newer version. But my 1 year old database is still requiring me to do that.&lt;/p&gt;
&lt;p&gt;I'm attaching a patch. I may update my patch later if I find other problems.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;br /&gt;
Alexis W.&lt;br /&gt;
&lt;a href="http://www.m2osw.com" rel="nofollow"&gt;http://www.m2osw.com&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexis Wilke</dc:creator><pubDate>Mon, 03 Mar 2008 20:24:07 -0000</pubDate><guid>https://sourceforge.nete75270140f2d6549bf1021c29d5485e5a99dd0d8</guid></item><item><title>After login, redirect to orignal URL (e.g. url from email)</title><link>https://sourceforge.net/p/phpbt/patches/59/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;If passwords are on: clicking on a link in email leads you to the password page, then to the home page.  With this patch you instead get directed to the original URL.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bryce Nesbitt</dc:creator><pubDate>Sat, 08 Sep 2007 19:41:15 -0000</pubDate><guid>https://sourceforge.nete744194f298b84a6469158d810b012db8f62277a</guid></item><item><title>OS detection - complement of patch 1542005</title><link>https://sourceforge.net/p/phpbt/patches/58/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The patch n°1542005 is correct to enable OS detection.&lt;/p&gt;
&lt;p&gt;But there is still some problems for OS detection due &lt;br /&gt;
to data in database.&lt;br /&gt;
In phpt_os, the regex for Windows NT is wrong and &lt;br /&gt;
generate an error for php because there is an open &lt;br /&gt;
bracket without the closed one :&lt;br /&gt;
/Mozilla.*(Windows.*NT/&lt;/p&gt;
&lt;p&gt;I attach mysql.in schema file with correct os regex &lt;br /&gt;
definition.&lt;/p&gt;
&lt;p&gt;Furthermore, OS list is display when you add a bug &lt;br /&gt;
and when you query bugs. But OS must be active only &lt;br /&gt;
when you add a bug.&lt;br /&gt;
In functions.php lines 156 to 158, replace :&lt;br /&gt;
if ($selected == '' and isset($row['Regex']) and&lt;br /&gt;
preg_match($row['Regex'],$GLOBALS&lt;br /&gt;
['HTTP_USER_AGENT'])) {&lt;br /&gt;
$sel = ' selected';&lt;br /&gt;
by :&lt;br /&gt;
if (isset($_GET['op']) and $_GET['op']=='add' and&lt;br /&gt;
$selected == '' and isset($row['regex']) and&lt;br /&gt;
preg_match($row['regex'],$_SERVER&lt;br /&gt;
['HTTP_USER_AGENT'])) {&lt;br /&gt;
$sel = ' selected';&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Yep</dc:creator><pubDate>Wed, 11 Oct 2006 10:21:41 -0000</pubDate><guid>https://sourceforge.net9cbeab5c00102f6a104633c3e24d2285b170376b</guid></item><item><title>build_select does not select the operating system</title><link>https://sourceforge.net/p/phpbt/patches/57/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;build_select uses the regular expression for the "os"&lt;br /&gt;
table but does not use the correct casing for the name&lt;br /&gt;
of the column. Further to this, it uses $GLOBALS to get&lt;br /&gt;
the user agent string, but it's not in there, it's in&lt;br /&gt;
$_SERVER. I have thus fixed those issues and the&lt;br /&gt;
operating system is now automatically selected. Here is&lt;br /&gt;
the code (with a bit of context):&lt;/p&gt;
&lt;p&gt;case 'os':&lt;br /&gt;
$rs = $db-&amp;gt;query("select {$box}_id, {$box}_name,&lt;br /&gt;
regex from ".TBL_OS." where sort_order &amp;gt; 0 order by&lt;br /&gt;
sort_order");&lt;br /&gt;
while ($rs-&amp;gt;fetchInto($row)) {&lt;br /&gt;
if ($selected == '' and isset($row['regex']) and&lt;br /&gt;
preg_match($row['regex'],&lt;br /&gt;
$_SERVER['HTTP_USER_AGENT'])) {&lt;br /&gt;
$sel = ' selected';&lt;br /&gt;
} elseif ($selected == $row[$box.'_id']) {&lt;br /&gt;
$sel = ' selected';&lt;/p&gt;
&lt;p&gt;Hope this helps&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Olivier Sannier</dc:creator><pubDate>Thu, 17 Aug 2006 14:08:32 -0000</pubDate><guid>https://sourceforge.net1bdb2e5a190fd8e7153fef5803913b1543c7795f</guid></item><item><title>Corrected bug page - $restricted_projects </title><link>https://sourceforge.net/p/phpbt/patches/56/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;1. corrected bug in $restricted_projects cant be in &lt;br /&gt;
quotes (otherwise PHP resolve this as one value, not &lt;br /&gt;
as list)&lt;br /&gt;
2. added additional condition to query in combo of &lt;br /&gt;
users&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">berc</dc:creator><pubDate>Mon, 01 May 2006 15:39:03 -0000</pubDate><guid>https://sourceforge.net618e181ad557d374c5d2930c579d7747f4dbfa15</guid></item><item><title>Intuitive color display for Severity list</title><link>https://sourceforge.net/p/phpbt/patches/55/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;While editing the Severity List, it is hard to visually&lt;br /&gt;
determine how each listing will eventually be painted&lt;br /&gt;
on screen. This simple change makes this&lt;br /&gt;
color-assignment process more immediately interactive.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Louis-Eric Simard</dc:creator><pubDate>Wed, 15 Mar 2006 22:20:19 -0000</pubDate><guid>https://sourceforge.net4de2901cefa3d100550334f88082f7b1371db842</guid></item><item><title>attachement.php wrong filename</title><link>https://sourceforge.net/p/phpbt/patches/54/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;in attachement.php ( $Id: attachment.php,v 1.2&lt;br /&gt;
2005/12/19 12:52:43 cmoulard Exp $ ) there is a bug.&lt;/p&gt;
&lt;p&gt;The upload is ok.&lt;/p&gt;
&lt;p&gt;The download seems to be wrong. The attachement name is&lt;br /&gt;
wrong : it is the temporary file name.&lt;/p&gt;
&lt;p&gt;Either, the sql scheme seems to be wrong : the size of&lt;br /&gt;
mime_type is only of 30 chars. Too short for&lt;br /&gt;
'application/vnd.oasis.opendocument.text' for example.&lt;/p&gt;
&lt;p&gt;Here is my modification of attachement.php :&lt;/p&gt;
&lt;p&gt;l171 :&lt;br /&gt;
header("Content-type: $mimetype");&lt;br /&gt;
$frontname = "attachement/".$_gv['attachid']."/";&lt;br /&gt;
$realfilename = substr($filename, strlen($frontname));&lt;br /&gt;
$realfilename = str_replace (" ", "_", $realfilename );&lt;br /&gt;
header('Content-Disposition: attachment; filename=' . &lt;br /&gt;
$realfilename);&lt;br /&gt;
@readfile($filename);&lt;br /&gt;
exit;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sylvain Millard</dc:creator><pubDate>Fri, 03 Feb 2006 11:14:45 -0000</pubDate><guid>https://sourceforge.netf60eeb5b1a7c1d809d68974ab01a8beec7929ed4</guid></item><item><title>get_include_path requires PHP 4 &gt;= 4.3.0, PHP 5</title><link>https://sourceforge.net/p/phpbt/patches/53/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;this patch allow to work with php4 &amp;lt; 4.3.0&lt;br /&gt;
see &lt;a href="http://ru2.php.net/get_include_path" rel="nofollow"&gt;http://ru2.php.net/get_include_path&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Genix</dc:creator><pubDate>Tue, 06 Dec 2005 08:03:03 -0000</pubDate><guid>https://sourceforge.net6d9feee084b3cb352297782e5132536d0020720c</guid></item><item><title>es-ES Translation for version 1.0.1</title><link>https://sourceforge.net/p/phpbt/patches/52/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Correction of some spelling errors.&lt;br /&gt;
Correction of some sentences, adaptating them to&lt;br /&gt;
english style.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bruno Suárez Laffargue</dc:creator><pubDate>Sat, 19 Nov 2005 21:39:29 -0000</pubDate><guid>https://sourceforge.net0388f64416e498face872d126417ad3547c3ee17</guid></item></channel></rss>