<?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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: A phpBB 3 iPhone Style Theme With Option to Disable	</title>
	<atom:link href="https://systembash.com/phpbb-3-iphone-style-theme-option-to-disable/feed/" rel="self" type="application/rss+xml" />
	<link>https://systembash.com/phpbb-3-iphone-style-theme-option-to-disable/</link>
	<description>Technology and System Administration</description>
	<lastBuildDate>Mon, 18 Jul 2011 20:31:00 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.3</generator>
	<item>
		<title>
		By: Sjbats		</title>
		<link>https://systembash.com/phpbb-3-iphone-style-theme-option-to-disable/#comment-41875</link>

		<dc:creator><![CDATA[Sjbats]]></dc:creator>
		<pubDate>Mon, 18 Jul 2011 20:31:00 +0000</pubDate>
		<guid isPermaLink="false">http://systembash.com/?p=707#comment-41875</guid>

					<description><![CDATA[This seems to be working great, but is there anyway to automatically disable this on the iPad?]]></description>
			<content:encoded><![CDATA[<p>This seems to be working great, but is there anyway to automatically disable this on the iPad?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Harkrishan		</title>
		<link>https://systembash.com/phpbb-3-iphone-style-theme-option-to-disable/#comment-41870</link>

		<dc:creator><![CDATA[Harkrishan]]></dc:creator>
		<pubDate>Thu, 14 Jul 2011 10:47:00 +0000</pubDate>
		<guid isPermaLink="false">http://systembash.com/?p=707#comment-41870</guid>

					<description><![CDATA[hi i keeping getting this error please help

HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfil the request.

all i have done is installed which was fine but then when i changed the code this happened]]></description>
			<content:encoded><![CDATA[<p>hi i keeping getting this error please help</p>
<p>HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfil the request.</p>
<p>all i have done is installed which was fine but then when i changed the code this happened</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sjbats		</title>
		<link>https://systembash.com/phpbb-3-iphone-style-theme-option-to-disable/#comment-41856</link>

		<dc:creator><![CDATA[Sjbats]]></dc:creator>
		<pubDate>Mon, 20 Jun 2011 14:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://systembash.com/?p=707#comment-41856</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://systembash.com/phpbb-3-iphone-style-theme-option-to-disable/#comment-41855&quot;&gt;Dave Drager&lt;/a&gt;.

Thanks for the quick reply!

My friend&#039;s reasoning was: &quot;I changed it to an OR and added some !&#039;s so that if pf_disable_mobile was undefined it would still do the override. In the other configuration, if pf_disable_mobile was never set to anything it wouldn&#039;t override the style.&quot;

Ultimately, it&#039;s all the same end result.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://systembash.com/phpbb-3-iphone-style-theme-option-to-disable/#comment-41855">Dave Drager</a>.</p>
<p>Thanks for the quick reply!</p>
<p>My friend&#8217;s reasoning was: &#8220;I changed it to an OR and added some !&#8217;s so that if pf_disable_mobile was undefined it would still do the override. In the other configuration, if pf_disable_mobile was never set to anything it wouldn&#8217;t override the style.&#8221;</p>
<p>Ultimately, it&#8217;s all the same end result.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dave Drager		</title>
		<link>https://systembash.com/phpbb-3-iphone-style-theme-option-to-disable/#comment-41855</link>

		<dc:creator><![CDATA[Dave Drager]]></dc:creator>
		<pubDate>Mon, 20 Jun 2011 13:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://systembash.com/?p=707#comment-41855</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://systembash.com/phpbb-3-iphone-style-theme-option-to-disable/#comment-41854&quot;&gt;Sjbats&lt;/a&gt;.

The difference is essentially: 

If the user field pf_disable_mobile is not set OR user field pf_disable_mobile is not equal to 1
and
If the user field pf_disable_mobile is set AND user field pf_disable_mobile does not equal 1.  

I wrote pf_disable_mobile to allow end users to disable the mobile theme if they want. My line will only display the mobile theme if it does not equal 1, and if it is actually set; the one your friend wrote will display the theme if it is not set or if the field does not equal one. Therefore they are logically equivalent. ]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://systembash.com/phpbb-3-iphone-style-theme-option-to-disable/#comment-41854">Sjbats</a>.</p>
<p>The difference is essentially: </p>
<p>If the user field pf_disable_mobile is not set OR user field pf_disable_mobile is not equal to 1<br />
and<br />
If the user field pf_disable_mobile is set AND user field pf_disable_mobile does not equal 1.  </p>
<p>I wrote pf_disable_mobile to allow end users to disable the mobile theme if they want. My line will only display the mobile theme if it does not equal 1, and if it is actually set; the one your friend wrote will display the theme if it is not set or if the field does not equal one. Therefore they are logically equivalent. </p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sjbats		</title>
		<link>https://systembash.com/phpbb-3-iphone-style-theme-option-to-disable/#comment-41854</link>

		<dc:creator><![CDATA[Sjbats]]></dc:creator>
		<pubDate>Mon, 20 Jun 2011 13:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://systembash.com/?p=707#comment-41854</guid>

					<description><![CDATA[I uploaded the style and it seems to work fine.  My friend made one change:

if (!isset($user_fields[&#039;pf_disable_mobile&#039;]) &#124;&#124; ($user_fields[&#039;pf_disable_mobile&#039;] != 1)) 
instead of:

if (isset($user_fields[&#039;pf_disable_mobile&#039;]) &#038;&#038; !($user_fields[&#039;pf_disable_mobile&#039;] == 1))

What difference will this make?]]></description>
			<content:encoded><![CDATA[<p>I uploaded the style and it seems to work fine.  My friend made one change:</p>
<p>if (!isset($user_fields[&#8216;pf_disable_mobile&#8217;]) || ($user_fields[&#8216;pf_disable_mobile&#8217;] != 1)) <br />
instead of:</p>
<p>if (isset($user_fields[&#8216;pf_disable_mobile&#8217;]) &amp;&amp; !($user_fields[&#8216;pf_disable_mobile&#8217;] == 1))</p>
<p>What difference will this make?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: No		</title>
		<link>https://systembash.com/phpbb-3-iphone-style-theme-option-to-disable/#comment-41844</link>

		<dc:creator><![CDATA[No]]></dc:creator>
		<pubDate>Sat, 21 May 2011 05:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://systembash.com/?p=707#comment-41844</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://systembash.com/phpbb-3-iphone-style-theme-option-to-disable/#comment-41793&quot;&gt;Cyrus_xi&lt;/a&gt;.

 Yup... this is what I am getting too.  Shame, because this is exactly what I want. ]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://systembash.com/phpbb-3-iphone-style-theme-option-to-disable/#comment-41793">Cyrus_xi</a>.</p>
<p> Yup&#8230; this is what I am getting too.  Shame, because this is exactly what I want. </p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Cyrus_xi		</title>
		<link>https://systembash.com/phpbb-3-iphone-style-theme-option-to-disable/#comment-41793</link>

		<dc:creator><![CDATA[Cyrus_xi]]></dc:creator>
		<pubDate>Sun, 13 Feb 2011 03:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://systembash.com/?p=707#comment-41793</guid>

					<description><![CDATA[Parse error: syntax error, unexpected T_IF, expecting T_FUNCTION in /home/content/n/i/n/nineclicks/html/forum/includes/session.php on line 1562

this is what im getting]]></description>
			<content:encoded><![CDATA[<p>Parse error: syntax error, unexpected T_IF, expecting T_FUNCTION in /home/content/n/i/n/nineclicks/html/forum/includes/session.php on line 1562</p>
<p>this is what im getting</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dave Drager		</title>
		<link>https://systembash.com/phpbb-3-iphone-style-theme-option-to-disable/#comment-41786</link>

		<dc:creator><![CDATA[Dave Drager]]></dc:creator>
		<pubDate>Thu, 13 Jan 2011 11:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://systembash.com/?p=707#comment-41786</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://systembash.com/phpbb-3-iphone-style-theme-option-to-disable/#comment-41785&quot;&gt;hahgeh&lt;/a&gt;.

Try this again - it was a typo due to WP conversion. The line should be  $user_fields = $user-&#062;profile_fields; the line above had an &#038; which is why it threw that error for you. ]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://systembash.com/phpbb-3-iphone-style-theme-option-to-disable/#comment-41785">hahgeh</a>.</p>
<p>Try this again &#8211; it was a typo due to WP conversion. The line should be  $user_fields = $user-&gt;profile_fields; the line above had an &amp; which is why it threw that error for you. </p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: hahgeh		</title>
		<link>https://systembash.com/phpbb-3-iphone-style-theme-option-to-disable/#comment-41785</link>

		<dc:creator><![CDATA[hahgeh]]></dc:creator>
		<pubDate>Thu, 13 Jan 2011 09:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://systembash.com/?p=707#comment-41785</guid>

					<description><![CDATA[Tried to include and user_field integration works fine, but not the parsing of $user_fields = $user-&#062;profile_fields; which gives me parsing error due to unexpected &#039;&#038;&#039;
Any ideas?]]></description>
			<content:encoded><![CDATA[<p>Tried to include and user_field integration works fine, but not the parsing of $user_fields = $user-&gt;profile_fields; which gives me parsing error due to unexpected &#8216;&amp;&#8217;<br />
Any ideas?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Baraka3000		</title>
		<link>https://systembash.com/phpbb-3-iphone-style-theme-option-to-disable/#comment-41761</link>

		<dc:creator><![CDATA[Baraka3000]]></dc:creator>
		<pubDate>Tue, 23 Nov 2010 07:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://systembash.com/?p=707#comment-41761</guid>

					<description><![CDATA[It would be sweet if someone could add a PM button :)]]></description>
			<content:encoded><![CDATA[<p>It would be sweet if someone could add a PM button :)</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
