<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Royal Courage</title>
	<atom:link href="http://www.royalcourage.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.royalcourage.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Thu, 22 Dec 2011 00:05:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Code &#8211; Adding PHP to WordPress Posts/Pages for site_url</title>
		<link>http://www.royalcourage.com/code/adding-php-wordpress-post-site_url</link>
		<comments>http://www.royalcourage.com/code/adding-php-wordpress-post-site_url#comments</comments>
		<pubDate>Fri, 17 Jun 2011 02:46:02 +0000</pubDate>
		<dc:creator>Chris Ehrlichman</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.royalcourage.com/?p=87</guid>
		<description><![CDATA[When working with a stage area before publishing your WordPress site, sometimes you will run into a situation where you need to hard code a link into a page. Well rather than going back to change the links after flipping the switch to live, use some PHP. First you will need to install a plugin [...]]]></description>
			<content:encoded><![CDATA[<p>When working with a stage area before publishing your WordPress site, sometimes you will run into a situation where you need to hard code a link into a page. Well rather than going back to change the links after flipping the switch to live, use some <strong><a href="http://en.wikipedia.org/wiki/PHP" title="PHP - Wikipedia, the free encyclopedia" rel="nofollow" target"_blank">PHP</a></strong>.</p>
<p>First you will need to install a plugin (<strong><a href="http://wordpress.org/extend/plugins/exec-php/" title="WordPress &#8250; Exec-PHP &laquo; WordPress Plugins" rel="nofollow" target="_blank">Exec-PHP</a></strong>) that allows PHP script to run on posts or pages. After installing the plugin, your now ready to incorporate PHP in your posts.</p>
<p>To create the hard code in PHP its not to difficult. Just add the code below.</p>

<div class="wp_codebox"><table><tr id="p873"><td class="code" id="p87code3"><pre class="language" style="font-family:monospace;">&lt;a href=&quot;&lt;?=site_url('PAGE URL')?&gt;&quot;&gt;</pre></td></tr></table></div>

<p>The <strong><a href="http://codex.wordpress.org/Function_Reference/site_url" title="Function Reference/site url &laquo; WordPress Codex" rel="nofollow" target="_blank">site_url</a></strong> tag retrieves the site url for the current site (where the WordPress core files) with the appropriate protocol.</p>
<p>In the example above (<font color="#FF0000">PAGE URL</font>) you can specify the exact category/page location for the URL. Below is an example of how to code this.</p>
<p>Example Page URL &#8211; http://www.example.com/category/page</p>

<div class="wp_codebox"><table><tr id="p874"><td class="code" id="p87code4"><pre class="language" style="font-family:monospace;">&lt;a href=&quot;&lt;?=site_url('/category/page')?&gt;&quot;&gt;</pre></td></tr></table></div>

<p>Now that you&#8217;ve installed Exec-PHP you can start to use a lot of cool PHP scrips in your posts. This should also make it easier to hard code links on your pages in your staged site area without having to go back after you&#8217;ve set the site live. Let me know if you have any questions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.royalcourage.com/code/adding-php-wordpress-post-site_url/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixed! &#8211; Facebook Pages no longer use FBML. It&#8217;s all about the iFrames!</title>
		<link>http://www.royalcourage.com/solved/facebook-pages-fbml-iframe</link>
		<comments>http://www.royalcourage.com/solved/facebook-pages-fbml-iframe#comments</comments>
		<pubDate>Fri, 01 Apr 2011 19:56:12 +0000</pubDate>
		<dc:creator>Chris Ehrlichman</dc:creator>
				<category><![CDATA[Fixed!]]></category>

		<guid isPermaLink="false">http://www.royalcourage.com/?p=61</guid>
		<description><![CDATA[So this afternoon I spent sometime researching why I was no longer able to create a static FBML page for my Facebook Business Page. At first I was pulling my hair out trying to figure out why Facebook was no longer supporting FBML on the individual business pages. I first noticed something was wrong when [...]]]></description>
			<content:encoded><![CDATA[<p>So this afternoon I spent sometime researching why I was no longer able to create a <strong><a title="Facebook - Static FBML" href="http://www.facebook.com/apps/application.php?id=4949752878&amp;sk=info" rel="nofollow" target="_blank">static FBML</a></strong> page for my <strong>Facebook Business Page</strong>. At first I was pulling my hair out trying to figure out why Facebook was no longer supporting FBML on the individual business pages.</p>
<p>I first noticed something was wrong when after creating a new Facebook page. In the app&#8217;s sections, I didn&#8217;t see static FBML listed as one of the options, where as previous pages I&#8217;ve had already had the app listed.</p>
<p style="text-align: center;"><a href="http://www.royalcourage.com/wp-content/uploads/2011/04/facebook-app-page.jpg"><img class="aligncenter size-full wp-image-69" title="Facebook App Page" src="http://www.royalcourage.com/wp-content/uploads/2011/04/facebook-app-page.jpg" alt="" width="552" height="362" /></a></p>
<p>So I did a search for &#8220;<strong>FBML</strong>&#8220;, found the app, and when I went to install it I was prompted with a notice stating that I needed to create an actual <strong>Facebook Profile</strong> before I could continue to use this app. This was never the case before, you used to be able to create a Facebook page without having a profile. Now I&#8217;m forced to create a profile. After creating the profile and linking it with my page, I went back to the app section and searched for the app again.</p>
<p style="text-align: center;"><a href="http://www.royalcourage.com/wp-content/uploads/2011/04/facebook-fbml-search.jpg"><img class="aligncenter size-full wp-image-71" title="Facebook FBML Search" src="http://www.royalcourage.com/wp-content/uploads/2011/04/facebook-fbml-search.jpg" alt="" width="552" height="134" /></a></p>
<p>I navigate to the page, click the &#8220;go to app&#8221; button at the top of the page, and nothing, just redirected me to the Facebook profile home page. At this point I&#8217;m getting a little worried.</p>
<p style="text-align: center;"><a href="http://www.royalcourage.com/wp-content/uploads/2011/04/facebook-go-to-app.jpg"><img class="aligncenter size-full wp-image-66" title="facebook-go-to-app" src="http://www.royalcourage.com/wp-content/uploads/2011/04/facebook-go-to-app.jpg" alt="" width="552" height="362" /></a></p>
<p>I noticed when I did the search for &#8220;FBML&#8221; that there were a few app&#8217;s in the search results. One stood out to me the most, FBML tab maker by FBML tab maker.</p>
<p style="text-align: center;"><a href="http://www.royalcourage.com/wp-content/uploads/2011/04/facebook-search-fbml-tab-maker.jpg"><img class="aligncenter size-full wp-image-73" title="Facebook Search FBML Tab Maker" src="http://www.royalcourage.com/wp-content/uploads/2011/04/facebook-search-fbml-tab-maker.jpg" alt="" width="552" height="134" /></a></p>
<p style="text-align: left;">I navigated to the page and added the app. This time it installed! I open the app and get a page that asks for my code. I&#8217;m thinking to myself &#8220;Now I&#8217;m getting somewhere. It must just be the old FBML app isn&#8217;t working.&#8221;</p>
<p style="text-align: center;"><a href="http://www.royalcourage.com/wp-content/uploads/2011/04/facebook-fbml-tab-maker-app.jpg"><img class="aligncenter size-full wp-image-74" title="Facebook FBML Tab Maker App" src="http://www.royalcourage.com/wp-content/uploads/2011/04/facebook-fbml-tab-maker-app.jpg" alt="" width="552" height="362" /></a></p>
<p style="text-align: left;">After placing my code in, I&#8217;m asked which page I would like to apply the code to. I pick the page where I would like to apply the code and navigate to it.</p>
<p style="text-align: left;">Didn&#8217;t work. I got a message stating &#8220;﻿Your Page id not founded Go to http://apps.facebook.com/tab-maker and change page id to this page&#8221;.</p>
<p style="text-align: center;"><a href="http://www.royalcourage.com/wp-content/uploads/2011/04/facebook-fbml-tab-maker-error.jpg"><img class="aligncenter size-full wp-image-75" title="facebook-fbml-tab-maker-error" src="http://www.royalcourage.com/wp-content/uploads/2011/04/facebook-fbml-tab-maker-error.jpg" alt="" width="552" height="362" /></a></p>
<p style="text-align: left;">Now I&#8217;m back to square one. I did a little searching online and came across a press release created by Daniel Tan titled &#8220;<a title="Facebook Users Facing An Uncertain Future As FBML Is Rendered Obsolete" href="http://www.prnewswire.com/news-releases/facebook-users-facing-an-uncertain-future-as-fbml-is-rendered-obsolete-117794523.html" target="_blank" rel="nofollow">Facebook Users Facing An Uncertain Future As FBML Is Rendered Obsolete</a>&#8220;.</p>
<p>Long story short, it seems Facebook is saying &#8220;out with the old and in with the new&#8221;. They are replacing FBML with <strong>iFrames</strong>. Awesome!</p>
<p>I navigated back to Facebook and did a search for &#8220;iFrames&#8221; and came across the <strong><a title="Hosted iFrame Facebook App" href="http://www.facebook.com/hostediframe" target="_blank">Hosted iFrame</a></strong> app.</p>
<p style="text-align: center;"><a href="http://www.royalcourage.com/wp-content/uploads/2011/04/facebook-search-iframe.jpg"><img class="aligncenter size-full wp-image-76" title="Facebook Search iFrame" src="http://www.royalcourage.com/wp-content/uploads/2011/04/facebook-search-iframe.jpg" alt="" width="552" height="362" /></a></p>
<p style="text-align: left;">After installing the app I realized how much better it was. I found my fix! With this app you can now track your traffic too by entering your Google tracking code in the app settings, and upload up to 25MB of images and CSS files. They host everything!</p>
<p style="text-align: center;"><a href="http://www.royalcourage.com/wp-content/uploads/2011/04/facebook-hosted-iframe.jpg"><img class="aligncenter size-full wp-image-77" title="Facebook Hosted iFrame" src="http://www.royalcourage.com/wp-content/uploads/2011/04/facebook-hosted-iframe.jpg" alt="" width="552" height="362" /></a></p>
<p style="text-align: left;">Thank you Facebook for now supporting iFrames!</p>
<a href="http://www.crunchbase.com/person/chris-ehrlichman">CrunchBase Information on Chris Ehrlichman</a><br/>
]]></content:encoded>
			<wfw:commentRss>http://www.royalcourage.com/solved/facebook-pages-fbml-iframe/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Code &#8211; Preload Page Fade Effect jQuery Script</title>
		<link>http://www.royalcourage.com/code/code-preload-page-fade-effect-jquery-script</link>
		<comments>http://www.royalcourage.com/code/code-preload-page-fade-effect-jquery-script#comments</comments>
		<pubDate>Wed, 23 Mar 2011 15:58:23 +0000</pubDate>
		<dc:creator>Chris Ehrlichman</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://www.royalcourage.com/?p=42</guid>
		<description><![CDATA[I spent quite a long time looking for the perfect Preload Page jQuery Script. After a rigorously searching different sites, I came across Mkyong&#8217;s &#8220;Page Loading Effect with jQuery&#8220;. I found that the code is very simple to work with and integrate into any environment. 1. Page Effect Div &#8211; This div is used to implement the fade [...]]]></description>
			<content:encoded><![CDATA[<p>I spent quite a long time looking for the perfect <strong>Preload Page jQuery Script</strong>. After a rigorously searching different sites, I came across <a href="http://www.mkyong.com/jquery/page-loading-effects-with-jquery/" target="_blank" rel="nofollow">Mkyong&#8217;s</a> &#8220;<strong>Page Loading Effect with jQuery</strong>&#8220;. I found that the code is very simple to work with and integrate into any environment.</p>
<p><strong>1. Page Effect Div</strong> &#8211; This div is used to implement the fade effect for the page load.</p>

<div class="wp_codebox"><table><tr id="p428"><td class="code" id="p42code8"><pre class="language" style="font-family:monospace;">&lt;div id=&quot;page_effect&quot; style=&quot;display: none;&quot;&gt;
&lt;!-- this content is hide, need jQuery to fade in --&gt;&lt;/div&gt;</pre></td></tr></table></div>

<p>&nbsp;</p>
<p><strong>2. jQuery Fade in Script</strong> &#8211; Place this text between the head and body of your code. The 2000 in the &#8220;.fadeIn(2000)&#8221; part of the code stands for the amount of milliseconds it takes for the page to fully load.</p>

<div class="wp_codebox"><table><tr id="p429"><td class="code" id="p42code9"><pre class="language" style="font-family:monospace;">$(document).ready(function(){	
	$('#page_effect').fadeIn(2000);
});</pre></td></tr></table></div>

<p>&nbsp;</p>
<p><strong>3. Completed code with jQuery Fade Script</strong> &#8211; Place this text between the head and body of your code<br />
<a href="http://www.royalcourage.com/jquery-preload-page/index.html" target="_blank"><br />
<h1>Demo</h1>
<p></a></p>

<div class="wp_codebox"><table><tr id="p4210"><td class="code" id="p42code10"><pre class="language" style="font-family:monospace;">&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Preload Page Fade Effect jQuery Script&lt;/title&gt;
&nbsp;
&lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery.js&quot;&gt;&lt;/script&gt;
&nbsp;
&lt;/head&gt;
&nbsp;
&lt;script type=&quot;text/javascript&quot;&gt;
&nbsp;
$(document).ready(function(){
&nbsp;
	$('#page_effect').fadeIn(2500);
&nbsp;
});
&nbsp;
&lt;/script&gt;
&lt;body&gt;
&nbsp;
&lt;div id=&quot;page_effect&quot; style=&quot;display:none;&quot;&gt;
&nbsp;
    Watch me loaddddd 1&lt;BR&gt;
    Watch me loaddddd 2&lt;BR&gt;
    Watch me loaddddd 3&lt;BR&gt;
    Watch me loaddddd 4&lt;BR&gt;
    Watch me loaddddd 5&lt;BR&gt;
    Watch me loaddddd 6&lt;BR&gt;
    Watch me loaddddd 7&lt;BR&gt;
    Watch me loaddddd 8&lt;BR&gt;
    Watch me loaddddd 9&lt;BR&gt;
    Watch me loaddddd 10&lt;BR&gt;
    Watch me loaddddd 11&lt;BR&gt;
    Watch me loaddddd 12&lt;BR&gt;
    Watch me loaddddd 13&lt;BR&gt;
    Watch me loaddddd 14&lt;BR&gt;
&lt;/div&gt;
&nbsp;
&lt;/body&gt;
&lt;/html&gt;</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.royalcourage.com/code/code-preload-page-fade-effect-jquery-script/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixed! &#8211; Problem Viewing GoToMeeting WMA Video File</title>
		<link>http://www.royalcourage.com/solved/fixed-problem-viewing-gotomeeting-wma-video-file</link>
		<comments>http://www.royalcourage.com/solved/fixed-problem-viewing-gotomeeting-wma-video-file#comments</comments>
		<pubDate>Wed, 26 Jan 2011 00:52:30 +0000</pubDate>
		<dc:creator>Chris Ehrlichman</dc:creator>
				<category><![CDATA[Fixed!]]></category>

		<guid isPermaLink="false">http://www.royalcourage.com/?p=5</guid>
		<description><![CDATA[GoToMeetings as a whole is a great application when ever your are attempting basic webinars or webclasses. But this afternoon I discovered a flaw in the Citrix GoToMeeting Codec that might cause some to have issues viewing some of the recorded video files. I spent about an hour on this to come up with a [...]]]></description>
			<content:encoded><![CDATA[<p><a title="GoToMeeting" rel="nofollow" href="http://www.gotomeeting.com/" target="_blank">GoToMeetings</a> as a whole is a great application when ever your are attempting basic webinars or webclasses. But this afternoon I discovered a flaw in the Citrix GoToMeeting Codec that might cause some to have issues viewing some of the recorded video files. I spent about an hour on this to come up with a solution.</p>
<p>If you are attempting to in install the <strong><a title="g2m_codec.exe Download" rel="nofollow" href="https://www1.gotomeeting.com/downloads/390068287/CF0A3C7A9E6C289/null/manualFull/InstallCodec/g2m_codec.exe" target="_blank">g2m_codec.exe</a></strong>, from the GoToMeetings website you may run into some issues<strong>. ﻿</strong>The issue begins from the get go, right from the browser. Most people (as I made the same mistake) would just run the codec right from the browser, this is actually the cause of the issue. Instead just <strong><span style="text-decoration: underline;">save</span></strong> the codec to your computer (remember the directory you save it to).</p>
<p><a href="http://www.royalcourage.com/wp-content/uploads/2011/01/save-codec-to-computer.jpg"><img class="size-full wp-image-23 aligncenter" title="save-codec-to-computer" src="http://www.royalcourage.com/wp-content/uploads/2011/01/save-codec-to-computer.jpg" alt="" width="460" height="336" /></a>&nbsp;</p>
<p>Now open the directory and run the codec from there.</p>
<p><a href="http://www.royalcourage.com/wp-content/uploads/2011/01/codec-file-saved1.jpg"><img class="size-full wp-image-24 aligncenter" title="codec-file-saved" src="http://www.royalcourage.com/wp-content/uploads/2011/01/codec-file-saved1.jpg" alt="" width="460" height="336" /></a>&nbsp;</p>
<p>After running the codec you will receive a message that says &#8220;Installation of the GoToMeeting codec in complete.&#8221; This will let you know you are now good to go!</p>
<p><a href="http://www.royalcourage.com/wp-content/uploads/2011/01/install-success1.jpg"><img class="aligncenter size-full wp-image-25" title="install-success" src="http://www.royalcourage.com/wp-content/uploads/2011/01/install-success1.jpg" alt="" width="460" height="336" /></a>&nbsp;</p>
<p>Now if you are like me, you installed it from the browser initially, and after trying to reinstall several times your still coming up with the problem of viewing the video file. This is the trick, you must navagate to the actual installation directory of the GoToMeeting codec (which is normally C:\Program Files\Citrix) and delete the entire directory.</p>
<p><a href="http://www.royalcourage.com/wp-content/uploads/2011/01/delete-codec-folder.jpg"><img class="size-full wp-image-20 aligncenter" title="delete-codec-folder" src="http://www.royalcourage.com/wp-content/uploads/2011/01/delete-codec-folder.jpg" alt="" width="460" height="336" /></a>&nbsp;</p>
<p>After deleting the directory, navagate to the directory you downloaded the codec to and reinstall. You should be good to go now!</p>
<p><a href="http://www.royalcourage.com/wp-content/uploads/2011/01/codec-finished.jpg"><img class="aligncenter size-full wp-image-26" title="codec-finished" src="http://www.royalcourage.com/wp-content/uploads/2011/01/codec-finished.jpg" alt="" width="460" height="336" /></a>&nbsp;</p>
<p>Hope this helps those in need!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.royalcourage.com/solved/fixed-problem-viewing-gotomeeting-wma-video-file/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: royalcourage.com @ 2012-05-19 12:34:45 -->
