<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/phpbt/patches/" rel="alternate"/><link href="https://sourceforge.net/p/phpbt/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/phpbt/patches/</id><updated>2009-11-28T21:18:39Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>php error in bug.php line 753</title><link href="https://sourceforge.net/p/phpbt/patches/61/" rel="alternate"/><published>2009-11-28T21:18:39Z</published><updated>2009-11-28T21:18:39Z</updated><author><name>David Fore</name><uri>https://sourceforge.net/u/sdfor/</uri></author><id>https://sourceforge.netbaddbffb74adb500eb864640e0a114feab4f78e1</id><summary type="html">&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;</summary></entry><entry><title>Bogus Postgresql code (1.0.4)</title><link href="https://sourceforge.net/p/phpbt/patches/60/" rel="alternate"/><published>2008-03-03T20:24:07Z</published><updated>2008-03-03T20:24:07Z</updated><author><name>Alexis Wilke</name><uri>https://sourceforge.net/u/userid-554061/</uri></author><id>https://sourceforge.nete75270140f2d6549bf1021c29d5485e5a99dd0d8</id><summary type="html">&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;</summary></entry><entry><title>After login, redirect to orignal URL (e.g. url from email)</title><link href="https://sourceforge.net/p/phpbt/patches/59/" rel="alternate"/><published>2007-09-08T19:41:15Z</published><updated>2007-09-08T19:41:15Z</updated><author><name>Bryce Nesbitt</name><uri>https://sourceforge.net/u/brycen/</uri></author><id>https://sourceforge.nete744194f298b84a6469158d810b012db8f62277a</id><summary type="html">&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;</summary></entry><entry><title>OS detection - complement of patch 1542005</title><link href="https://sourceforge.net/p/phpbt/patches/58/" rel="alternate"/><published>2006-10-11T10:21:41Z</published><updated>2006-10-11T10:21:41Z</updated><author><name>Yep</name><uri>https://sourceforge.net/u/yepyip/</uri></author><id>https://sourceforge.net9cbeab5c00102f6a104633c3e24d2285b170376b</id><summary type="html">&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;</summary></entry><entry><title>build_select does not select the operating system</title><link href="https://sourceforge.net/p/phpbt/patches/57/" rel="alternate"/><published>2006-08-17T14:08:32Z</published><updated>2006-08-17T14:08:32Z</updated><author><name>Olivier Sannier</name><uri>https://sourceforge.net/u/obones/</uri></author><id>https://sourceforge.net1bdb2e5a190fd8e7153fef5803913b1543c7795f</id><summary type="html">&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;</summary></entry><entry><title>Corrected bug page - $restricted_projects </title><link href="https://sourceforge.net/p/phpbt/patches/56/" rel="alternate"/><published>2006-05-01T15:39:03Z</published><updated>2006-05-01T15:39:03Z</updated><author><name>berc</name><uri>https://sourceforge.net/u/berc/</uri></author><id>https://sourceforge.net618e181ad557d374c5d2930c579d7747f4dbfa15</id><summary type="html">&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;</summary></entry><entry><title>Intuitive color display for Severity list</title><link href="https://sourceforge.net/p/phpbt/patches/55/" rel="alternate"/><published>2006-03-15T22:20:19Z</published><updated>2006-03-15T22:20:19Z</updated><author><name>Louis-Eric Simard</name><uri>https://sourceforge.net/u/lesimard/</uri></author><id>https://sourceforge.net4de2901cefa3d100550334f88082f7b1371db842</id><summary type="html">&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;</summary></entry><entry><title>attachement.php wrong filename</title><link href="https://sourceforge.net/p/phpbt/patches/54/" rel="alternate"/><published>2006-02-03T11:14:45Z</published><updated>2006-02-03T11:14:45Z</updated><author><name>Sylvain Millard</name><uri>https://sourceforge.net/u/syronada/</uri></author><id>https://sourceforge.netf60eeb5b1a7c1d809d68974ab01a8beec7929ed4</id><summary type="html">&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;</summary></entry><entry><title>get_include_path requires PHP 4 &gt;= 4.3.0, PHP 5</title><link href="https://sourceforge.net/p/phpbt/patches/53/" rel="alternate"/><published>2005-12-06T08:03:03Z</published><updated>2005-12-06T08:03:03Z</updated><author><name>Genix</name><uri>https://sourceforge.net/u/genix/</uri></author><id>https://sourceforge.net6d9feee084b3cb352297782e5132536d0020720c</id><summary type="html">&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;</summary></entry><entry><title>es-ES Translation for version 1.0.1</title><link href="https://sourceforge.net/p/phpbt/patches/52/" rel="alternate"/><published>2005-11-19T21:39:29Z</published><updated>2005-11-19T21:39:29Z</updated><author><name>Bruno Suárez Laffargue</name><uri>https://sourceforge.net/u/brusulaf/</uri></author><id>https://sourceforge.net0388f64416e498face872d126417ad3547c3ee17</id><summary type="html">&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;</summary></entry></feed>