<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[MyBB Community Forums - MyBB 1.4.1]]></title>
		<link>https://community.mybb.com/</link>
		<description><![CDATA[MyBB Community Forums - https://community.mybb.com]]></description>
		<pubDate>Thu, 11 Jun 2026 10:21:00 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[[F] Chrome Theme Edits]]></title>
			<link>https://community.mybb.com/thread-37744.html</link>
			<pubDate>Tue, 16 Sep 2008 00:46:37 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=14865">Chasingu</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-37744.html</guid>
			<description><![CDATA[I think i found a bug<br />
<br />
When you try to edit a template like header in chrome you can't edit it. It shows you the box but you can't type in it.<br />
<br />
But, it works in all other browsers.]]></description>
			<content:encoded><![CDATA[I think i found a bug<br />
<br />
When you try to edit a template like header in chrome you can't edit it. It shows you the box but you can't type in it.<br />
<br />
But, it works in all other browsers.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[F] Link to post in warning log incomplete.]]></title>
			<link>https://community.mybb.com/thread-37614.html</link>
			<pubDate>Fri, 12 Sep 2008 17:06:03 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=8011">Grimlogic</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-37614.html</guid>
			<description><![CDATA[Hi,<br />
<br />
I found a bug in 1.4.1, inside warnings.php.<br />
<br />
When a warning to a user from a specific post is made, and this filed warning is viewed in the Mod CP (/warnings.php?action=view&amp;wid=XXX), the link to the post in question is incomplete.<br />
<br />
Currently it's<br />
<br />
<pre class="block-code line-numbers language-none"><code class="language-none">/showthread.php?pid=XXX</code></pre><br />
when it should be<br />
<br />
<pre class="block-code line-numbers language-none"><code class="language-none">/showthread.php?tid=XXX&amp;pid=XXX#pidXXX</code></pre>]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
I found a bug in 1.4.1, inside warnings.php.<br />
<br />
When a warning to a user from a specific post is made, and this filed warning is viewed in the Mod CP (/warnings.php?action=view&amp;wid=XXX), the link to the post in question is incomplete.<br />
<br />
Currently it's<br />
<br />
<pre class="block-code line-numbers language-none"><code class="language-none">/showthread.php?pid=XXX</code></pre><br />
when it should be<br />
<br />
<pre class="block-code line-numbers language-none"><code class="language-none">/showthread.php?tid=XXX&amp;pid=XXX#pidXXX</code></pre>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[F] Upgrade from 1.2 - not all mybb_usergroups columns converted to INT]]></title>
			<link>https://community.mybb.com/thread-37607.html</link>
			<pubDate>Fri, 12 Sep 2008 12:53:34 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=2799">koziolek</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-37607.html</guid>
			<description><![CDATA[MyBB 1.4.1 update script did not convert to INT all columns in table <span style="font-weight: bold;" class="mycode_b">mybb_usergroups</span>. It forgot two of them:<br />
 - candisplaygroup<br />
 - cancustomtitle<br />
<img src="https://community.mybb.com/images/smilies/smile.gif" alt="Smile" title="Smile" class="smilie smilie_1" />]]></description>
			<content:encoded><![CDATA[MyBB 1.4.1 update script did not convert to INT all columns in table <span style="font-weight: bold;" class="mycode_b">mybb_usergroups</span>. It forgot two of them:<br />
 - candisplaygroup<br />
 - cancustomtitle<br />
<img src="https://community.mybb.com/images/smilies/smile.gif" alt="Smile" title="Smile" class="smilie smilie_1" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[F] Duplicate user-names (a race condition?)]]></title>
			<link>https://community.mybb.com/thread-37600.html</link>
			<pubDate>Fri, 12 Sep 2008 07:53:56 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=2799">koziolek</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-37600.html</guid>
			<description><![CDATA[MyBB 1.2<br />
I have found in my DB users with same usernames and consecutive UID-s (e.g. 17000 and 17001; same e-mails etc.). I do not know how they were created (accounts were registered by forum), but it can be a race condition (<span style="font-style: italic;" class="mycode_i">check if user exist and then insert user</span>).<br />
<br />
A simple solution is a UNIQUE INDEX for <span style="font-weight: bold;" class="mycode_b">username</span> column in <span style="font-weight: bold;" class="mycode_b">mybb_users</span>.<br />
<br />
MyBB 1.2 does not have any index on username, MyBB 1.4 have only "INDEX".<br />
<br />
UNIQUE INDEX also solves <a href="http://www.suspekt.org/2008/08/18/mysql-and-sql-column-truncation-vulnerabilities/" target="_blank" rel="noopener" class="mycode_url">"MySQL and SQL Column Truncation Vulnerabilities"</a> (although MyBB seems to be invulnerable for this because of removing multiple spaces from username in datahandler\user.php).]]></description>
			<content:encoded><![CDATA[MyBB 1.2<br />
I have found in my DB users with same usernames and consecutive UID-s (e.g. 17000 and 17001; same e-mails etc.). I do not know how they were created (accounts were registered by forum), but it can be a race condition (<span style="font-style: italic;" class="mycode_i">check if user exist and then insert user</span>).<br />
<br />
A simple solution is a UNIQUE INDEX for <span style="font-weight: bold;" class="mycode_b">username</span> column in <span style="font-weight: bold;" class="mycode_b">mybb_users</span>.<br />
<br />
MyBB 1.2 does not have any index on username, MyBB 1.4 have only "INDEX".<br />
<br />
UNIQUE INDEX also solves <a href="http://www.suspekt.org/2008/08/18/mysql-and-sql-column-truncation-vulnerabilities/" target="_blank" rel="noopener" class="mycode_url">"MySQL and SQL Column Truncation Vulnerabilities"</a> (although MyBB seems to be invulnerable for this because of removing multiple spaces from username in datahandler\user.php).]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[F] Admin override not work]]></title>
			<link>https://community.mybb.com/thread-37520.html</link>
			<pubDate>Wed, 10 Sep 2008 21:40:11 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=14229">SaeedGh</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-37520.html</guid>
			<description><![CDATA[If &#36;user['receivepms'] == 0 then administrators can't send pm to user!<br />
I think "inc/datahandlers/pm.php" must have this change:<br />
<br />
Now is:<br />
<pre class="block-code line-numbers language-none"><code class="language-php">			// See if the sender is on the recipients ignore list and that either
			// - admin_override is set or
			// - sender is an administrator
			if($this-&gt;admin_override != true &amp;&amp; $sender_permissions['cancp'] != 1)
			{
				$ignorelist = explode(&quot;,&quot;, $user['ignorelist']);
				foreach($ignorelist as $uid)
				{
					if($uid == $pm['fromid'])
					{
						$this-&gt;set_error(&quot;recipient_is_ignoring&quot;, array($user['username']));
					}
				}
			}
	
			// Can the recipient actually receive private messages based on their permissions or user setting?
			if($user['receivepms'] == 0 || $recipient_permissions['canusepms'] == 0 &amp;&amp; !$pm['saveasdraft'])
			{
				$this-&gt;set_error(&quot;recipient_pms_disabled&quot;, array($user['username']));
				return false;
			}</code></pre><br />
After change will be: (as a suggestion)<br />
<pre class="block-code line-numbers language-none"><code class="language-php">			// See if the sender is on the recipients ignore list and that either
			// - admin_override is set or
			// - sender is an administrator
			if($this-&gt;admin_override != true &amp;&amp; $sender_permissions['cancp'] != 1)
			{
				$ignorelist = explode(&quot;,&quot;, $user['ignorelist']);
				foreach($ignorelist as $uid)
				{
					if($uid == $pm['fromid'])
					{
						$this-&gt;set_error(&quot;recipient_is_ignoring&quot;, array($user['username']));
					}
				}

				// Can the recipient actually receive private messages based on their permissions or user setting?
				if($user['receivepms'] == 0 || $recipient_permissions['canusepms'] == 0 &amp;&amp; !$pm['saveasdraft'])
				{
					$this-&gt;set_error(&quot;recipient_pms_disabled&quot;, array($user['username']));
					return false;
				}
			}	</code></pre>]]></description>
			<content:encoded><![CDATA[If &#36;user['receivepms'] == 0 then administrators can't send pm to user!<br />
I think "inc/datahandlers/pm.php" must have this change:<br />
<br />
Now is:<br />
<pre class="block-code line-numbers language-none"><code class="language-php">			// See if the sender is on the recipients ignore list and that either
			// - admin_override is set or
			// - sender is an administrator
			if($this-&gt;admin_override != true &amp;&amp; $sender_permissions['cancp'] != 1)
			{
				$ignorelist = explode(&quot;,&quot;, $user['ignorelist']);
				foreach($ignorelist as $uid)
				{
					if($uid == $pm['fromid'])
					{
						$this-&gt;set_error(&quot;recipient_is_ignoring&quot;, array($user['username']));
					}
				}
			}
	
			// Can the recipient actually receive private messages based on their permissions or user setting?
			if($user['receivepms'] == 0 || $recipient_permissions['canusepms'] == 0 &amp;&amp; !$pm['saveasdraft'])
			{
				$this-&gt;set_error(&quot;recipient_pms_disabled&quot;, array($user['username']));
				return false;
			}</code></pre><br />
After change will be: (as a suggestion)<br />
<pre class="block-code line-numbers language-none"><code class="language-php">			// See if the sender is on the recipients ignore list and that either
			// - admin_override is set or
			// - sender is an administrator
			if($this-&gt;admin_override != true &amp;&amp; $sender_permissions['cancp'] != 1)
			{
				$ignorelist = explode(&quot;,&quot;, $user['ignorelist']);
				foreach($ignorelist as $uid)
				{
					if($uid == $pm['fromid'])
					{
						$this-&gt;set_error(&quot;recipient_is_ignoring&quot;, array($user['username']));
					}
				}

				// Can the recipient actually receive private messages based on their permissions or user setting?
				if($user['receivepms'] == 0 || $recipient_permissions['canusepms'] == 0 &amp;&amp; !$pm['saveasdraft'])
				{
					$this-&gt;set_error(&quot;recipient_pms_disabled&quot;, array($user['username']));
					return false;
				}
			}	</code></pre>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[F] Bug in setting oldgroup in task (expire bans)]]></title>
			<link>https://community.mybb.com/thread-37497.html</link>
			<pubDate>Wed, 10 Sep 2008 09:23:27 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=2799">koziolek</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-37497.html</guid>
			<description><![CDATA[MyBB 1.4.1.<br />
I have found possible bug while reviewing code - I did not test it however.<br />
<br />
File: inc/tasks/usercleanup.php, code:<br />
<pre class="block-code line-numbers language-none"><code class="language-php">	// Expire bans
	$query = $db-&gt;simple_select(&quot;banned&quot;, &quot;*&quot;, &quot;lifted!=0 AND lifted&lt;&quot;.TIME_NOW);
	while($ban = $db-&gt;fetch_array($query))
	{
		$updated_user = array(
			&quot;usergroup&quot; =&gt; $ban['oldgroup'],
			&quot;additionalgroups&quot; =&gt; $ban['oldadditionalgroups'],
			&quot;displaygroup&quot; =&gt; $ban['displaygroup']
		);
		$db-&gt;update_query(&quot;users&quot;, $updated_user, &quot;uid='{$ban['uid']}'&quot;);
		$db-&gt;delete_query(&quot;banned&quot;, &quot;uid='{$ban['uid']}'&quot;);
	}
</code></pre><br />
This line:<br />
<pre class="block-code line-numbers language-none"><code class="language-php">&quot;displaygroup&quot; =&gt; $ban['displaygroup']</code></pre><br />
should be:<br />
<pre class="block-code line-numbers language-none"><code class="language-php">&quot;displaygroup&quot; =&gt; $ban['olddisplaygroup']</code></pre>?]]></description>
			<content:encoded><![CDATA[MyBB 1.4.1.<br />
I have found possible bug while reviewing code - I did not test it however.<br />
<br />
File: inc/tasks/usercleanup.php, code:<br />
<pre class="block-code line-numbers language-none"><code class="language-php">	// Expire bans
	$query = $db-&gt;simple_select(&quot;banned&quot;, &quot;*&quot;, &quot;lifted!=0 AND lifted&lt;&quot;.TIME_NOW);
	while($ban = $db-&gt;fetch_array($query))
	{
		$updated_user = array(
			&quot;usergroup&quot; =&gt; $ban['oldgroup'],
			&quot;additionalgroups&quot; =&gt; $ban['oldadditionalgroups'],
			&quot;displaygroup&quot; =&gt; $ban['displaygroup']
		);
		$db-&gt;update_query(&quot;users&quot;, $updated_user, &quot;uid='{$ban['uid']}'&quot;);
		$db-&gt;delete_query(&quot;banned&quot;, &quot;uid='{$ban['uid']}'&quot;);
	}
</code></pre><br />
This line:<br />
<pre class="block-code line-numbers language-none"><code class="language-php">&quot;displaygroup&quot; =&gt; $ban['displaygroup']</code></pre><br />
should be:<br />
<pre class="block-code line-numbers language-none"><code class="language-php">&quot;displaygroup&quot; =&gt; $ban['olddisplaygroup']</code></pre>?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[F] IP search bug when ip >= 128.0.0.0]]></title>
			<link>https://community.mybb.com/thread-37448.html</link>
			<pubDate>Mon, 08 Sep 2008 22:22:40 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=156">Choli</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-37448.html</guid>
			<description><![CDATA[Environment (as reported in the AdminCP):<br />
MyBB: 1.4.1<br />
PHP: 5.2.6<br />
DB: MySQLi 4.1.22<br />
<br />
Bug:<br />
When you search an IP address using the ModCP (modcp.php?action=ipsearch) and the IP is bigger or equal than 128.0.0.0 (ie: the first byte is &gt;= 128), it turns out that no post nor user is found (assuming that there are such ones registered in the DB, of course).<br />
<br />
The problem is with the call to the function fetch_longipv4_range in modcp.php, which it returns a negative integer number for IPs &gt;= 128.0.0.0; and that number is compared with the field longipaddress or longregip in the DB. However, those fields seem to have a positive number, therefore no match is found.<br />
<br />
For example, in my forums, the page moderation.php?action=getip&amp;pid=11 returns the IP 213.201.17.42 of that post. In the DB, I see the post in the posts table with these fields: ipadress = "213.201.17.42" and longipaddress = "2147483647". However, when I go to the page modcp.php?action=ipsearch&amp;ipaddress=213.201.17.42&amp;search_posts=1 then MyBB can't find any result.<br />
<br />
I hope you can solve this problem shortly. Thank you very much.]]></description>
			<content:encoded><![CDATA[Environment (as reported in the AdminCP):<br />
MyBB: 1.4.1<br />
PHP: 5.2.6<br />
DB: MySQLi 4.1.22<br />
<br />
Bug:<br />
When you search an IP address using the ModCP (modcp.php?action=ipsearch) and the IP is bigger or equal than 128.0.0.0 (ie: the first byte is &gt;= 128), it turns out that no post nor user is found (assuming that there are such ones registered in the DB, of course).<br />
<br />
The problem is with the call to the function fetch_longipv4_range in modcp.php, which it returns a negative integer number for IPs &gt;= 128.0.0.0; and that number is compared with the field longipaddress or longregip in the DB. However, those fields seem to have a positive number, therefore no match is found.<br />
<br />
For example, in my forums, the page moderation.php?action=getip&amp;pid=11 returns the IP 213.201.17.42 of that post. In the DB, I see the post in the posts table with these fields: ipadress = "213.201.17.42" and longipaddress = "2147483647". However, when I go to the page modcp.php?action=ipsearch&amp;ipaddress=213.201.17.42&amp;search_posts=1 then MyBB can't find any result.<br />
<br />
I hope you can solve this problem shortly. Thank you very much.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[F] Warning System Editor [Fix Provided]]]></title>
			<link>https://community.mybb.com/thread-37413.html</link>
			<pubDate>Sun, 07 Sep 2008 14:56:11 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=1747">Sephiroth</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-37413.html</guid>
			<description><![CDATA[Not sure if this is a bug, or a theme-related issue. However I have a theme in which I changed the editor style to a custom one, however when you view the editor on warn.php, the editor uses the default styling. o.O<br />
<br />
Edit: Yes, it is a styling issue, for the theme section isn't even included in the editor javascript for the theme specification.<br />
<br />
<hr class="mycode_hr" />
<span style="font-weight: bold;" class="mycode_b">Fix</span>:<br />
<br />
Open template <span style="font-style: italic;" class="mycode_i">warnings_warn_pm</span><br />
<br />
Find:<br />
<pre class="block-code line-numbers language-none"><code class="language-none">clickableEditor = new messageEditor(&quot;message&quot;, {lang: editor_language, rtl: 0});</code></pre><br />
Replace with:<br />
<pre class="block-code line-numbers language-none"><code class="language-none">clickableEditor = new messageEditor(&quot;message&quot;, {lang: editor_language, rtl: {$lang-&gt;settings['rtl']}, theme: &quot;{$theme['editortheme']}&quot;});</code></pre>]]></description>
			<content:encoded><![CDATA[Not sure if this is a bug, or a theme-related issue. However I have a theme in which I changed the editor style to a custom one, however when you view the editor on warn.php, the editor uses the default styling. o.O<br />
<br />
Edit: Yes, it is a styling issue, for the theme section isn't even included in the editor javascript for the theme specification.<br />
<br />
<hr class="mycode_hr" />
<span style="font-weight: bold;" class="mycode_b">Fix</span>:<br />
<br />
Open template <span style="font-style: italic;" class="mycode_i">warnings_warn_pm</span><br />
<br />
Find:<br />
<pre class="block-code line-numbers language-none"><code class="language-none">clickableEditor = new messageEditor(&quot;message&quot;, {lang: editor_language, rtl: 0});</code></pre><br />
Replace with:<br />
<pre class="block-code line-numbers language-none"><code class="language-none">clickableEditor = new messageEditor(&quot;message&quot;, {lang: editor_language, rtl: {$lang-&gt;settings['rtl']}, theme: &quot;{$theme['editortheme']}&quot;});</code></pre>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[F] Return-Path overruled by sendmail_from]]></title>
			<link>https://community.mybb.com/thread-37388.html</link>
			<pubDate>Sun, 07 Sep 2008 00:11:22 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=12029">bastiaan</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-37388.html</guid>
			<description><![CDATA[Hi All,<br />
<br />
Not 100% sure if this classifies as a bug because it is PHP behavior getting in the way. When sending an email (inc/functions.php) the header is calculated with a Return-Path entry set to the administrators email address. Cool.<br />
<br />
Unfortunately when you set a sendmail_from setting in the php.ini this overrules this return-path in the header and sets it to whatever is in the sendmail_from. That by itself is fine where it not that I have no control over php.ini because this is setup by my provider, and the mail address they put in is of a mailserver that has no DNS MX-record. Certain mailservers (such as that of tiscali) will ignore any email coming from a mailserver that 'doesn't exist'.<br />
<br />
The fix was easy enough, I added a:<br />
ini_set("sendmail_from", &#36;mybb-&gt;settings['adminemail']);<br />
<br />
To the code that overrules the setting in the php.ini and makes sure mybboard does what its supposed to do.<br />
<br />
So might be something that is worth actually adding to the product, or maybe trigger on a switch. It may solve some mail problems people may have.]]></description>
			<content:encoded><![CDATA[Hi All,<br />
<br />
Not 100% sure if this classifies as a bug because it is PHP behavior getting in the way. When sending an email (inc/functions.php) the header is calculated with a Return-Path entry set to the administrators email address. Cool.<br />
<br />
Unfortunately when you set a sendmail_from setting in the php.ini this overrules this return-path in the header and sets it to whatever is in the sendmail_from. That by itself is fine where it not that I have no control over php.ini because this is setup by my provider, and the mail address they put in is of a mailserver that has no DNS MX-record. Certain mailservers (such as that of tiscali) will ignore any email coming from a mailserver that 'doesn't exist'.<br />
<br />
The fix was easy enough, I added a:<br />
ini_set("sendmail_from", &#36;mybb-&gt;settings['adminemail']);<br />
<br />
To the code that overrules the setting in the php.ini and makes sure mybboard does what its supposed to do.<br />
<br />
So might be something that is worth actually adding to the product, or maybe trigger on a switch. It may solve some mail problems people may have.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[F] Little translation issue]]></title>
			<link>https://community.mybb.com/thread-37295.html</link>
			<pubDate>Fri, 05 Sep 2008 00:35:27 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=895">Michael S.</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-37295.html</guid>
			<description><![CDATA[In the file modcp.php you can find this line:<br />
<pre class="block-code line-numbers language-none"><code class="language-php">$subject = &quot;&lt;strong&gt;{$lang-&gt;ipresult_post}&lt;/strong&gt; &lt;a href=\&quot;&quot;.get_post_link($ipaddress['pid'], $ipaddress['tid']).&quot;\&quot;&gt;&quot;.htmlspecialchars_uni($ipaddress['subject']).&quot;&lt;/a&gt; by &quot;.build_profile_link($ipaddress['username'], $ipaddress['uid']);</code></pre>The word "by" is not translatable.]]></description>
			<content:encoded><![CDATA[In the file modcp.php you can find this line:<br />
<pre class="block-code line-numbers language-none"><code class="language-php">$subject = &quot;&lt;strong&gt;{$lang-&gt;ipresult_post}&lt;/strong&gt; &lt;a href=\&quot;&quot;.get_post_link($ipaddress['pid'], $ipaddress['tid']).&quot;\&quot;&gt;&quot;.htmlspecialchars_uni($ipaddress['subject']).&quot;&lt;/a&gt; by &quot;.build_profile_link($ipaddress['username'], $ipaddress['uid']);</code></pre>The word "by" is not translatable.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[F] Highlighting only on first page of thread]]></title>
			<link>https://community.mybb.com/thread-37270.html</link>
			<pubDate>Thu, 04 Sep 2008 14:51:38 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=895">Michael S.</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-37270.html</guid>
			<description><![CDATA[If you use the search function the search terms are highlighted inside the post. This only works on the first page of a thread. I you go to another page of this thread the highlighting doesn't work anymore.<br />
<br />
It seems like the argument highlight=xyz is not passed in the URL if you change the page.]]></description>
			<content:encoded><![CDATA[If you use the search function the search terms are highlighted inside the post. This only works on the first page of a thread. I you go to another page of this thread the highlighting doesn't work anymore.<br />
<br />
It seems like the argument highlight=xyz is not passed in the URL if you change the page.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[F] Permissions changed after editing forum]]></title>
			<link>https://community.mybb.com/thread-37253.html</link>
			<pubDate>Thu, 04 Sep 2008 11:04:01 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=895">Michael S.</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-37253.html</guid>
			<description><![CDATA[Steps to reproduce:<br />
<br />
1. Go to Admin-CP -&gt; Forums &amp; Posts -&gt; *Forum* -&gt; Permissions -&gt; Registered -&gt; Edit Permissions.<br />
<br />
2. Choose "Use custom permissions (below)" and check all checkboxes except for "Can delete own posts?" and "Can delete own threads?". Save the permissions.<br />
<br />
3. Go to to the page where you can edit the settings of the forum. Save the settings (you do not need to edit anything).<br />
<br />
4. Now go back to the permissions page. You can see that all checkboxes are checked now.]]></description>
			<content:encoded><![CDATA[Steps to reproduce:<br />
<br />
1. Go to Admin-CP -&gt; Forums &amp; Posts -&gt; *Forum* -&gt; Permissions -&gt; Registered -&gt; Edit Permissions.<br />
<br />
2. Choose "Use custom permissions (below)" and check all checkboxes except for "Can delete own posts?" and "Can delete own threads?". Save the permissions.<br />
<br />
3. Go to to the page where you can edit the settings of the forum. Save the settings (you do not need to edit anything).<br />
<br />
4. Now go back to the permissions page. You can see that all checkboxes are checked now.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[F] toolbar.gif has a slight flaw]]></title>
			<link>https://community.mybb.com/thread-37247.html</link>
			<pubDate>Thu, 04 Sep 2008 07:45:46 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=1606">squall_leonhart69r</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-37247.html</guid>
			<description><![CDATA[Theres a white line just above the last black line on the align to left button.]]></description>
			<content:encoded><![CDATA[Theres a white line just above the last black line on the align to left button.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[F] Error in xmlhttp.php]]></title>
			<link>https://community.mybb.com/thread-37206.html</link>
			<pubDate>Wed, 03 Sep 2008 15:42:18 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=895">Michael S.</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-37206.html</guid>
			<description><![CDATA[In the file xmlhttp.php you can find this code:<br />
<pre class="block-code line-numbers language-none"><code class="language-php">while($buddy = $db-&gt;fetch_array($query))
{
    $buddy_name = format_name($buddy['username'], $buddy['usergroup'], $buddy['displaygroup']);
    $profile_link = build_profile_link($buddy_name, $buddy['uid'], '_blank');
    if($buddy['lastactive'] &gt; $timecut &amp;&amp; ($buddy['invisible'] == 0 || $mybb-&gt;user['usergroup'] == 4) &amp;&amp; $buddy['lastvisit'] != $buddy['lastactive'])
    {
        eval(&quot;\$online[] = \&quot;&quot;.$templates-&gt;get(&quot;xmlhttp_buddyselect_online&quot;).&quot;\&quot;;&quot;);
    }
    else
    {
        eval(&quot;\$offline[] = \&quot;&quot;.$templates-&gt;get(&quot;xmlhttp_buddyselect_offline&quot;).&quot;\&quot;;&quot;);
    }
}
$online = implode(&quot;&quot;, $online);
$offline = implode(&quot;&quot;, $offline);</code></pre>If the array &#36;online or &#36;offline is empty you get an error:<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>&lt;error&gt;<br />
&lt;dateline&gt;1220365626&lt;/dateline&gt;<br />
&lt;script&gt;xmlhttp.php&lt;/script&gt;<br />
&lt;line&gt;690&lt;/line&gt;<br />
&lt;type&gt;2&lt;/type&gt;<br />
&lt;friendly_type&gt;Warning&lt;/friendly_type&gt;<br />
&lt;message&gt;implode() [&lt;a href='function.implode'&gt;function.implode&lt;/a&gt;]: Invalid arguments passed&lt;/message&gt;<br />
&lt;/error&gt;</blockquote>
There should be a check if the arrays contain elements.]]></description>
			<content:encoded><![CDATA[In the file xmlhttp.php you can find this code:<br />
<pre class="block-code line-numbers language-none"><code class="language-php">while($buddy = $db-&gt;fetch_array($query))
{
    $buddy_name = format_name($buddy['username'], $buddy['usergroup'], $buddy['displaygroup']);
    $profile_link = build_profile_link($buddy_name, $buddy['uid'], '_blank');
    if($buddy['lastactive'] &gt; $timecut &amp;&amp; ($buddy['invisible'] == 0 || $mybb-&gt;user['usergroup'] == 4) &amp;&amp; $buddy['lastvisit'] != $buddy['lastactive'])
    {
        eval(&quot;\$online[] = \&quot;&quot;.$templates-&gt;get(&quot;xmlhttp_buddyselect_online&quot;).&quot;\&quot;;&quot;);
    }
    else
    {
        eval(&quot;\$offline[] = \&quot;&quot;.$templates-&gt;get(&quot;xmlhttp_buddyselect_offline&quot;).&quot;\&quot;;&quot;);
    }
}
$online = implode(&quot;&quot;, $online);
$offline = implode(&quot;&quot;, $offline);</code></pre>If the array &#36;online or &#36;offline is empty you get an error:<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>&lt;error&gt;<br />
&lt;dateline&gt;1220365626&lt;/dateline&gt;<br />
&lt;script&gt;xmlhttp.php&lt;/script&gt;<br />
&lt;line&gt;690&lt;/line&gt;<br />
&lt;type&gt;2&lt;/type&gt;<br />
&lt;friendly_type&gt;Warning&lt;/friendly_type&gt;<br />
&lt;message&gt;implode() [&lt;a href='function.implode'&gt;function.implode&lt;/a&gt;]: Invalid arguments passed&lt;/message&gt;<br />
&lt;/error&gt;</blockquote>
There should be a check if the arrays contain elements.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[F] search does not work with postgresql]]></title>
			<link>https://community.mybb.com/thread-37194.html</link>
			<pubDate>Wed, 03 Sep 2008 10:26:23 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=15683">Gibheer</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-37194.html</guid>
			<description><![CDATA[I have found a new bug with postgresql <img src="https://community.mybb.com/images/smilies/rolleyes.gif" alt="Rolleyes" title="Rolleyes" class="smilie smilie_7" /><br />
In the file inc/function_search.php is a join, which does not work, because, a boolean can't be greater 0 on postgresql.<br />
Lines: 462, 471, 478<br />
<br />
If I change '&gt; 0' into '= TRUE', I don't get the failuremessage, but I also don't get any records, only a message, which says, that nothing could be found.<br />
<br />
<pre class="block-code line-numbers language-none"><code class="language-none">MyBB has experienced an internal SQL error and cannot continue.
SQL Error:
42883 - ERROR: operator does not exist: boolean &gt; integer LINE 5: WHERE (','||parentlist||',' LIKE ',%0%,') &gt; 0 AND act... ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. 
Query:
SELECT DISTINCT f.fid FROM zero_forums f LEFT JOIN zero_forumpermissions p ON (f.fid=p.fid AND p.gid='4') WHERE (','||parentlist||',' LIKE ',%0%,') &gt; 0 AND active!=0 AND (p.fid IS NULL OR p.cansearch=1)</code></pre>]]></description>
			<content:encoded><![CDATA[I have found a new bug with postgresql <img src="https://community.mybb.com/images/smilies/rolleyes.gif" alt="Rolleyes" title="Rolleyes" class="smilie smilie_7" /><br />
In the file inc/function_search.php is a join, which does not work, because, a boolean can't be greater 0 on postgresql.<br />
Lines: 462, 471, 478<br />
<br />
If I change '&gt; 0' into '= TRUE', I don't get the failuremessage, but I also don't get any records, only a message, which says, that nothing could be found.<br />
<br />
<pre class="block-code line-numbers language-none"><code class="language-none">MyBB has experienced an internal SQL error and cannot continue.
SQL Error:
42883 - ERROR: operator does not exist: boolean &gt; integer LINE 5: WHERE (','||parentlist||',' LIKE ',%0%,') &gt; 0 AND act... ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. 
Query:
SELECT DISTINCT f.fid FROM zero_forums f LEFT JOIN zero_forumpermissions p ON (f.fid=p.fid AND p.gid='4') WHERE (','||parentlist||',' LIKE ',%0%,') &gt; 0 AND active!=0 AND (p.fid IS NULL OR p.cansearch=1)</code></pre>]]></content:encoded>
		</item>
	</channel>
</rss>