<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>funkyCode.net</title>
	
	<link>http://funkycode.net</link>
	<description>PHPmotion, code &amp; design...</description>
	<pubDate>Sun, 12 Oct 2008 20:08:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/funky-Code" type="application/rss+xml" /><item>
		<title>Some more info on the new theme</title>
		<link>http://feeds.feedburner.com/~r/funky-Code/~3/418826144/some-more-info-on-the-new-theme</link>
		<comments>http://funkycode.net/phpmotion/2008/10/some-more-info-on-the-new-theme#comments</comments>
		<pubDate>Sun, 12 Oct 2008 19:52:36 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[PhpMotion]]></category>

		<guid isPermaLink="false">http://funkycode.net/?p=83</guid>
		<description><![CDATA[A while back I posted about a new theme I was developing for PHPmotion. Well as things have been going well with it I thought I might give you a few more succulent details to get your teeth into until I release a demo link.
Here&#8217;s some of the stuff you&#8217;ll find unique to this theme:


Clean [...]]]></description>
			<content:encoded><![CDATA[<p>A while back I <a href="http://funkycode.net/phpmotion/2008/09/the-major-problem-with-phpmotion-is">posted</a> about a new theme I was developing for PHPmotion. Well as things have been going well with it I thought I might give you a few more succulent details to get your teeth into until I release a demo link.</p>
<p>Here&#8217;s some of the stuff you&#8217;ll find unique to this theme:<br />
<span id="more-83"></span></p>
<ul>
<li>Clean bright looks (all existing themes are on the &#8220;dark&#8221; side, no not of the Force!)</li>
<li>Ajax comments &#038; comment refresh (New comments appear directly on screen, no more accidental double posting because users don&#8217;t see their comments!)</li>
<li>Valid xHTML/CSS</li>
<li>Lightweight &#038; Cross browser friendly coding</li>
<li>Scores 70+/100 (C) according to Yahoo&#8217;s performance checks! (All other PHPmotion themes score F!)*</li>
<li>Super sexy success/error messages! (Unfortunately PHPmotion defaults are very basic)</li>
</ul>
<p>These aren&#8217;t the only cool things about the theme but I wouldn&#8217;t want to spoil the suprise, I&#8217;ll post a link once there&#8217;s a demo!</p>
<p><small>* Please note, I&#8217;m not saying anything is wrong with any of the existing PHPmotion themes simply that this one is highly optimized for performance!</small></p>
]]></content:encoded>
			<wfw:commentRss>http://funkycode.net/phpmotion/2008/10/some-more-info-on-the-new-theme/feed</wfw:commentRss>
		<feedburner:origLink>http://funkycode.net/phpmotion/2008/10/some-more-info-on-the-new-theme</feedburner:origLink></item>
		<item>
		<title>PHPmotion line break problems</title>
		<link>http://feeds.feedburner.com/~r/funky-Code/~3/404530611/phpmotion-line-break-problems</link>
		<comments>http://funkycode.net/phpmotion/2008/09/phpmotion-line-break-problems#comments</comments>
		<pubDate>Sat, 27 Sep 2008 09:04:42 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[PhpMotion]]></category>

		<guid isPermaLink="false">http://funkycode.net/?p=69</guid>
		<description><![CDATA[Many people on the forum post about having &#60;br/&#62; appearing in descriptions, comments, etc.. well I had this problem too on a clients website so I fixed it. And I thought I might as well share it with all other webmasters having problems out there.

This solution is probably only best suited to those with quite [...]]]></description>
			<content:encoded><![CDATA[<p>Many people on the forum post about having &lt;br/&gt; appearing in descriptions, comments, etc.. well I had this problem too on a clients website so I fixed it. And I thought I might as well share it with all other webmasters having problems out there.</p>
<p><span id="more-69"></span></p>
<p><em>This solution is probably only best suited to those with quite a few videos already uploaded as it applies the changes to any video. If you are working on a new site it may be simpler to clean the tags on upload.</em></p>
<p></p>
<p>First step, open up your favorite text editor, create a blank file and name it functions.php. Then copy/paste the following code into it:</p>
<pre name="code" class="php">

function clean_tags($field,&amp;$value)
{
/**
	Remove unwanted breaks, etc..
**/
	$clean = strip_tags(str_replace(array(&#039;&lt;br&gt;&#039;,&#039;&lt;br /&gt;&#039;,&#039;&lt;br/&gt;&#039;,&quot;\r\n&quot;),&#039;&#039;,$value));
	$value = sentence_spacing($clean);
}

function sentence_spacing($the_string)
{
/**
	When breaks are removed it can squish all together, add spaces in correct places.
	May or may not be the same for all languages.
**/
	$patterns = array(&quot;/!/&quot;,&quot;/\s,/&quot;,&quot;/\?/&quot;,&quot;/\./&quot;);

	$replacement = array(&quot;! &quot;,&quot;, &quot;,&quot;? &quot;,&quot;. &quot;);

	$the_string = preg_replace($patterns,$replacement,$the_string);

	$the_string = str_replace(&#039;  &#039;,&#039; &#039;,$the_string);

	return $the_string;
}
</pre>
<p>Basically the first function clean_tags does&#8230; you guessed it remove unwanted tags and line breaks from the string. Whilst the sentence_spacing function helps make sure that it doesn&#8217;t all turn into one big string of words stuck together. By using the preg_replace function it adds an extra space if needed after characters like: ?, !, ., etc.. </p>
<p>Anyway once that file is created and saved upload it into your classes/ folder. Now in classes/config.inc.php add the following line to make the functions available to the script:</p>
<pre name="code" class="php">

require_once(&#039;functions.php&#039;);
</pre>
<p>This can be placed pretty much anywhere within the php tags. Now upload that file. This is where you get to start using the cool new functions we&#8217;ve just made. Open up the template file of the page which is displaying the problem and find for example the following (from inner_index.htm):</p>
<pre name="code" class="php">
&lt;!--[blkfeatured.description;block=div;ope=max:45;comm]--&gt;
</pre>
<p>Now change it to this:</p>
<pre name="code" class="php">
&lt;!--[blkfeatured.description;block=div;ope=max:45;onformat=clean_tags;comm]--&gt;
</pre>
<p>Now if all went well after uploading the template all &lt;br/&gt; problems should have disappeared from that block. <img src='http://funkycode.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> You just need to add this to any other place you start seeing this problem pop up.</p>
<p>Did this help or didn&#8217;t it work? Please leave a comment below or post in the <a href="http://funkycode.net/forum">forum</a> to let me know!</p>
]]></content:encoded>
			<wfw:commentRss>http://funkycode.net/phpmotion/2008/09/phpmotion-line-break-problems/feed</wfw:commentRss>
		<feedburner:origLink>http://funkycode.net/phpmotion/2008/09/phpmotion-line-break-problems</feedburner:origLink></item>
		<item>
		<title>The only major problem with PHPmotion is…</title>
		<link>http://feeds.feedburner.com/~r/funky-Code/~3/403794483/the-major-problem-with-phpmotion-is</link>
		<comments>http://funkycode.net/phpmotion/2008/09/the-major-problem-with-phpmotion-is#comments</comments>
		<pubDate>Fri, 26 Sep 2008 13:51:47 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[PhpMotion]]></category>

		<guid isPermaLink="false">http://funkycode.net/?p=59</guid>
		<description><![CDATA[I&#8217;m sure you&#8217;ve guessed it already if you are using PHPmotion v2. Speed&#8230;whilst the improvements in v2 where great, the templates left something to desire, maybe not visually depending on your personal tastes but in ways of optimization there was lots that could be done.
That&#8217;s something I&#8217;ve decided to work on in my spare time, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m sure you&#8217;ve guessed it already if you are using PHPmotion v2. <strong>Speed&#8230;</strong>whilst the improvements in v2 where great, the templates left something to desire, maybe not visually depending on your personal tastes but in ways of optimization there was lots that could be done.</p>
<p>That&#8217;s something I&#8217;ve decided to work on in my spare time, a new 100% hand coded, CSS styled, speed optimized theme for PHPmotion. How optimized?<br />
<span id="more-59"></span></p>
<p> According to this <a href="http://www.websiteoptimization.com/services/analyze/">website page analyzer</a>, a lot!</p>
<p>Have a look at some stats below (I&#8217;ll show the link to the theme once it&#8217;s more complete. These stats are currently only based on the home page).</p>
<p><br />
<strong>Default theme:</strong></p>
<ul>
<li>Total http requests: 65</li>
<li>Total size: 525kB</li>
<li>Download time (T1): 15.85s</li>
</ul>
<p><strong>New theme:</strong></p>
<ul>
<li>Total http requests: 13</li>
<li>Total size: 92kB</li>
<li>Download time (T1): 3.10s</li>
</ul>
<p>Now we all know computer generated stats can be a bit un-explanatory so here&#8217;s an easier to understand result. On my slow 1024kbps DSL connection at home that works out at*: default theme - 24.17s, new theme - 5.83s. Who&#8217;s site would I rather be on? <img src='http://funkycode.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>* Results after clearing browser cache for each test.</p>
]]></content:encoded>
			<wfw:commentRss>http://funkycode.net/phpmotion/2008/09/the-major-problem-with-phpmotion-is/feed</wfw:commentRss>
		<feedburner:origLink>http://funkycode.net/phpmotion/2008/09/the-major-problem-with-phpmotion-is</feedburner:origLink></item>
		<item>
		<title>Support forum</title>
		<link>http://feeds.feedburner.com/~r/funky-Code/~3/400690234/support-forum</link>
		<comments>http://funkycode.net/general/2008/09/support-forum#comments</comments>
		<pubDate>Tue, 23 Sep 2008 10:51:35 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[PhpMotion]]></category>

		<guid isPermaLink="false">http://funkycode.net/?p=56</guid>
		<description><![CDATA[I&#8217;ve just set up a support forum based on the great wordpress plugin WP-Forum. Feel free to register &#038; post any questions you may have about the seo-pack (&#038; soon to be released phpBB bridge) if you have any suggestions on extra forums let me know &#038; I&#8217;ll add them.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just set up a <a href="forum">support forum</a> based on the great wordpress plugin <a href="http://www.fahlstad.se/wp-plugins/wp-forum/">WP-Forum</a>. Feel free to register &#038; post any questions you may have about the seo-pack (&#038; soon to be released phpBB bridge) if you have any suggestions on extra forums let me know &#038; I&#8217;ll add them.</p>
]]></content:encoded>
			<wfw:commentRss>http://funkycode.net/general/2008/09/support-forum/feed</wfw:commentRss>
		<feedburner:origLink>http://funkycode.net/general/2008/09/support-forum</feedburner:origLink></item>
		<item>
		<title>I’m back</title>
		<link>http://feeds.feedburner.com/~r/funky-Code/~3/373424435/im-back</link>
		<comments>http://funkycode.net/general/2008/08/im-back#comments</comments>
		<pubDate>Sun, 24 Aug 2008 13:07:39 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://funkycode.net/general/2008/08/im-back</guid>
		<description><![CDATA[Just so you all know I&#8217;m now back from Portugal a bit later then expected but at least I came back  Just catching up with everything now it&#8217;s amazing how much you miss on the Internet over just a few weeks!
]]></description>
			<content:encoded><![CDATA[<p>Just so you all know I&#8217;m now back from Portugal a bit later then expected but at least I came back <img src='http://funkycode.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Just catching up with everything now it&#8217;s amazing how much you miss on the Internet over just a few weeks!</p>
]]></content:encoded>
			<wfw:commentRss>http://funkycode.net/general/2008/08/im-back/feed</wfw:commentRss>
		<feedburner:origLink>http://funkycode.net/general/2008/08/im-back</feedburner:origLink></item>
		<item>
		<title>Not going to be here for a while</title>
		<link>http://feeds.feedburner.com/~r/funky-Code/~3/349687895/not-going-to-be-here-for-a-while</link>
		<comments>http://funkycode.net/general/2008/07/not-going-to-be-here-for-a-while#comments</comments>
		<pubDate>Tue, 29 Jul 2008 18:34:51 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://funkycode.net/general/2008/07/not-going-to-be-here-for-a-while</guid>
		<description><![CDATA[Just so no-one thinks I&#8217;ve suddenly disappeared, I thought I&#8217;d write up a quick post. I&#8217;m leaving on holiday tomorrow and won&#8217;t be back until the 16-17th of August.
I wasn&#8217;t planning on going anywhere but I got an offer I can&#8217;t refuse  a free trip to Portugal with a friend of mine all I [...]]]></description>
			<content:encoded><![CDATA[<p>Just so no-one thinks I&#8217;ve suddenly disappeared, I thought I&#8217;d write up a quick post. I&#8217;m leaving on holiday tomorrow and won&#8217;t be back until the 16-17th of August.</p>
<p>I wasn&#8217;t planning on going anywhere but I got an offer I can&#8217;t refuse <img src='http://funkycode.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> a free trip to Portugal with a friend of mine all I have to do is help paint their house over there. Sounds fair to me, anyway once I get back I&#8217;ll catch up with everything and hopefully finish the phpBB/PHPmotion bridge I&#8217;ve been working on for so long. <img src='http://funkycode.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Unfortunately I won&#8217;t have much Internet access, so I&#8217;ve momentarily disabled installation services for the phpmotion addons to avoid any problems. If you have any problems/questions you can still email me &#038; I&#8217;ll try and get back to you asap.</p>
]]></content:encoded>
			<wfw:commentRss>http://funkycode.net/general/2008/07/not-going-to-be-here-for-a-while/feed</wfw:commentRss>
		<feedburner:origLink>http://funkycode.net/general/2008/07/not-going-to-be-here-for-a-while</feedburner:origLink></item>
		<item>
		<title>Full phpBB integration so nearly there!</title>
		<link>http://feeds.feedburner.com/~r/funky-Code/~3/333488217/full-phpbb-integration-so-nearly-there</link>
		<comments>http://funkycode.net/phpmotion/2008/07/full-phpbb-integration-so-nearly-there#comments</comments>
		<pubDate>Sat, 12 Jul 2008 12:11:47 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[PhpMotion]]></category>

		<guid isPermaLink="false">http://funkycode.net/phpmotion/2008/07/full-phpbb-integration-so-nearly-there</guid>
		<description><![CDATA[
phpBB3 Integration is so very nearly complete! I think I&#8217;ve pretty much covered everything code related &#038; now I just need to make the phpBB theme match the default PHPmotion one.
So hopefully this means that it will be available for purchase in the next few days! Isn&#8217;t that just cool?  
]]></description>
			<content:encoded><![CDATA[<p></p>
<p>phpBB3 Integration is so very nearly complete! I think I&#8217;ve pretty much covered everything code related &#038; now I just need to make the phpBB theme match the default PHPmotion one.</p>
<p>So hopefully this means that it will be available for purchase in the next few days! Isn&#8217;t that just cool? <img src='http://funkycode.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://funkycode.net/phpmotion/2008/07/full-phpbb-integration-so-nearly-there/feed</wfw:commentRss>
		<feedburner:origLink>http://funkycode.net/phpmotion/2008/07/full-phpbb-integration-so-nearly-there</feedburner:origLink></item>
		<item>
		<title>phpBB3 &amp; PHPmotion demo</title>
		<link>http://feeds.feedburner.com/~r/funky-Code/~3/318188214/phpbb3-phpmotion-demo</link>
		<comments>http://funkycode.net/phpmotion/2008/06/phpbb3-phpmotion-demo#comments</comments>
		<pubDate>Mon, 23 Jun 2008 15:47:47 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[PhpMotion]]></category>

		<guid isPermaLink="false">http://funkycode.net/phpmotion/2008/06/phpbb3-phpmotion-demo</guid>
		<description><![CDATA[Finally after telling everyone on the PHPmotion forum I was working on an integration phpBB3/PHPmotion I can finally prove it with the demo now online here: phpBB3 test site.
Feel free to sign up &#038; test! The quicker the bugs are found and fixed the quicker the addon will be released!
]]></description>
			<content:encoded><![CDATA[<p>Finally after telling everyone on the PHPmotion forum I was working on an integration phpBB3/PHPmotion I can finally prove it with the demo now online here: <a href="http://videos.phpmotion.fr" title="PHPmotion &#038; phpBB integration">phpBB3 test site</a>.</p>
<p>Feel free to sign up &#038; test! The quicker the bugs are found and fixed the quicker the addon will be released!</p>
]]></content:encoded>
			<wfw:commentRss>http://funkycode.net/phpmotion/2008/06/phpbb3-phpmotion-demo/feed</wfw:commentRss>
		<feedburner:origLink>http://funkycode.net/phpmotion/2008/06/phpbb3-phpmotion-demo</feedburner:origLink></item>
		<item>
		<title>Another update to the PHPmotion seo pack</title>
		<link>http://feeds.feedburner.com/~r/funky-Code/~3/313683865/another-update-to-the-phpmotion-seo-pack</link>
		<comments>http://funkycode.net/phpmotion/2008/06/another-update-to-the-phpmotion-seo-pack#comments</comments>
		<pubDate>Tue, 17 Jun 2008 09:54:46 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[PhpMotion]]></category>

		<guid isPermaLink="false">http://funkycode.net/phpmotion/2008/06/yet-another-update-to-the-phpmotion-seo-pack</guid>
		<description><![CDATA[
A few days ago I released an update to the seo pack available for PHPmotion v2 and everyone was happy. Then someone gave me a few suggestions for new features, so I thought why wait&#8230;
Since I didn&#8217;t even have time to post about the previous update I&#8217;ll give you a quick list of the new [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p>A few days ago I released an update to the seo pack available for PHPmotion v2 and everyone was happy. Then someone gave me a few suggestions for new features, so I thought why wait&#8230;</p>
<p>Since I didn&#8217;t even have time to post about the previous update I&#8217;ll give you a quick list of the new features now.</p>
<p><span id="more-43"></span></p>
<ul>
<li>Rewritten member pages (members audio,video &#038; favorites)</li>
<li>301 redirects for search engines when they visit the old links.</li>
<li>404 page not found feature (replacing the original not so 404, 404 feature included in PHPmotion)</li>
<li>An admin area!! (Yes, you can now easily change the settings from your web browser)</li>
<li>Reworked meta layout system! You now have a lot more freedom in setting up your meta tags!</li>
</ul>
<p>That&#8217;s about it for the previous update, excluding the fact that it was also debugged &#038; now fully compatible with PHPmotion V2 stable.</p>
<p>And now for the latest update:</p>
<ul>
<li>Rewritten tag links</li>
<li>Reworked the pagination to include seo friendly links.</li>
<li>Rewritten category link for home page videos.</li>
</ul>
<p>I also have 2 more bits of good news for those reading&#8230; I will hopefully be writing some form of documentation on the seo pack as a few have requested it. And&#8230; the phpBB3/PHPmotion integration is now complete! All I have left to do is put the demo online so you can all test it and then pack it up &#038; add it to the store!</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://funkycode.net/phpmotion/2008/06/another-update-to-the-phpmotion-seo-pack/feed</wfw:commentRss>
		<feedburner:origLink>http://funkycode.net/phpmotion/2008/06/another-update-to-the-phpmotion-seo-pack</feedburner:origLink></item>
		<item>
		<title>Goodbye cirtex, hello JaguarPc</title>
		<link>http://feeds.feedburner.com/~r/funky-Code/~3/300494578/goodbye-cirtex-hello-jaguarpc</link>
		<comments>http://funkycode.net/general/2008/05/goodbye-cirtex-hello-jaguarpc#comments</comments>
		<pubDate>Thu, 29 May 2008 11:35:00 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://funkycode.net/general/2008/05/goodbye-cirtex-hello-jaguarpc</guid>
		<description><![CDATA[I&#8217;m finally back online, the server I was hosted on with Cirtex was hacked &#038; every single site on there displayed some &#8220;hacked by root-x&#8221; message. Probably hundreds of sites as it was shared hosting. Anyway it&#8217;s for the better, now I&#8217;m using a VPS from jaguarpc.com &#038; all I can say is&#8230;. wow. I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m finally back online, the server I was hosted on with Cirtex was hacked &#038; every single site on there displayed some &#8220;hacked by root-x&#8221; message. Probably hundreds of sites as it was shared hosting. Anyway it&#8217;s for the better, now I&#8217;m using a VPS from jaguarpc.com &#038; all I can say is&#8230;. wow. I don&#8217;t know why I never moved sooner, sure you have to setup more of the stuff yourself as you manage the vps. But it&#8217;s so simple even an internet n00b could do it without too much trouble.</p>
<p>So, if you&#8217;re looking for somewhere to host your video site, blog or whatever other sites you own take a look here you won&#8217;t regret it! <br/><br />
<a href="http://www.jaguarpc.com/r.php?a=78851.45"><img src="http://www.jaguarpc.com/clients/ads/468x60-vps.gif" border="0" /></a></p>
<p><b>PS.</b> Their support is the best I&#8217;ve ever seen, I used the ticket system for a few questions I had &#038; usually it was solved within minutes! I&#8217;d definitely recommend them if you need someone to walk you through the first steps!!</p>
]]></content:encoded>
			<wfw:commentRss>http://funkycode.net/general/2008/05/goodbye-cirtex-hello-jaguarpc/feed</wfw:commentRss>
		<feedburner:origLink>http://funkycode.net/general/2008/05/goodbye-cirtex-hello-jaguarpc</feedburner:origLink></item>
	</channel>
</rss>
