<?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>Don Gilbert</title>
	<atom:link href="http://dongilbert.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://dongilbert.net</link>
	<description>life, rantings, and other stuff</description>
	<lastBuildDate>Mon, 07 May 2012 14:21:42 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-beta3-20709</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>WordPress OptionTree Helper Functions</title>
		<link>http://dongilbert.net/blog/wordpress-optiontree-helper-functions/</link>
		<comments>http://dongilbert.net/blog/wordpress-optiontree-helper-functions/#comments</comments>
		<pubDate>Mon, 07 May 2012 14:21:42 +0000</pubDate>
		<dc:creator>Don Gilbert</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://dongilbert.net/?p=493</guid>
		<description><![CDATA[OptionTree is a great options framework for WordPress sponsored by ThemeForest, the largest WordPress theme marketplace on the web. It was originally created to help ThemeForest authors quickly add options to their themes for the end user to manage. It &#8230; <a href="http://dongilbert.net/blog/wordpress-optiontree-helper-functions/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://wordpress.org/extend/plugins/option-tree/">OptionTree</a> is a great options framework for WordPress sponsored by <a href="http://themeforest.net/?ref=dilbert4life">ThemeForest</a>, the largest WordPress theme marketplace on the web. It was originally created to help ThemeForest authors quickly add options to their themes for the end user to manage. It has seen widespread usage by both commercial and non-commercial theme creators &#8211; and is nice to have. However, one of the downside is, unless you&#8217;re a developer &#8211; you probably didn&#8217;t know that using this option framework would add several extra database calls to your website on each page load, potentially slowing down your site.</p>
<p>To address this issue, Option Tree has the ability to pass a parameter into its functions that contains all of your theme options in a single array. However, to get this in each of your pages, you would still need to edit your files to add a call to the `get_option(&#8216;option-tree&#8217;);` function at the top of each page template. With these helper functions, none of that is necessary. Just replace your `get_option_tree(&#8216;option-name&#8217;);` calls with `get_theme_option(&#8216;option-name&#8217;);`. With that, no matter how many times you call for a theme option, it is only ONE database request. Hope it helps.</p>
<script src="https://gist.github.com/2627998.js"></script><noscript><p>View the code on <a href="https://gist.github.com/2627998">Gist</a>.</p></noscript>
]]></content:encoded>
			<wfw:commentRss>http://dongilbert.net/blog/wordpress-optiontree-helper-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delete Old PostMeta from Your WordPress Database</title>
		<link>http://dongilbert.net/blog/delete-old-postmeta-from-your-wordpress-database/</link>
		<comments>http://dongilbert.net/blog/delete-old-postmeta-from-your-wordpress-database/#comments</comments>
		<pubDate>Thu, 03 May 2012 17:09:19 +0000</pubDate>
		<dc:creator>Don Gilbert</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://dongilbert.net/?p=491</guid>
		<description><![CDATA[Sometime, when manually deleting posts or revisions from the WordPress database, you&#8217;ll get remnants that remain in the postmeta table. The SQL here can take care of that for you. Be sure to change wp_ to your WordPress database prefix. &#8230; <a href="http://dongilbert.net/blog/delete-old-postmeta-from-your-wordpress-database/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Sometime, when manually deleting posts or revisions from the WordPress database, you&#8217;ll get remnants that remain in the postmeta table. The SQL here can take care of that for you.</p>
<p>Be sure to change wp_ to your WordPress database prefix.</p>
<script src="https://gist.github.com/2587304.js"></script><noscript><p>View the code on <a href="https://gist.github.com/2587304">Gist</a>.</p></noscript>
]]></content:encoded>
			<wfw:commentRss>http://dongilbert.net/blog/delete-old-postmeta-from-your-wordpress-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joomla Confirm Before Close in your Component</title>
		<link>http://dongilbert.net/blog/joomla-confirm-before-close-in-your-component/</link>
		<comments>http://dongilbert.net/blog/joomla-confirm-before-close-in-your-component/#comments</comments>
		<pubDate>Fri, 27 Apr 2012 16:56:33 +0000</pubDate>
		<dc:creator>Don Gilbert</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Joomla]]></category>

		<guid isPermaLink="false">http://dongilbert.net/?p=490</guid>
		<description><![CDATA[View the code on Gist.]]></description>
			<content:encoded><![CDATA[<script src="https://gist.github.com/2510783.js"></script><noscript><p>View the code on <a href="https://gist.github.com/2510783">Gist</a>.</p></noscript>
]]></content:encoded>
			<wfw:commentRss>http://dongilbert.net/blog/joomla-confirm-before-close-in-your-component/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use Git for WordPress Plugin Development</title>
		<link>http://dongilbert.net/blog/use-git-for-wordpress-plugin-development/</link>
		<comments>http://dongilbert.net/blog/use-git-for-wordpress-plugin-development/#comments</comments>
		<pubDate>Fri, 27 Apr 2012 14:28:51 +0000</pubDate>
		<dc:creator>Don Gilbert</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://dongilbert.net/?p=488</guid>
		<description><![CDATA[View the code on Gist.]]></description>
			<content:encoded><![CDATA[<script src="https://gist.github.com/2509702.js"></script><noscript><p>View the code on <a href="https://gist.github.com/2509702">Gist</a>.</p></noscript>
]]></content:encoded>
			<wfw:commentRss>http://dongilbert.net/blog/use-git-for-wordpress-plugin-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Base HTML, CSS and JS for jQuery Cycle</title>
		<link>http://dongilbert.net/blog/base-html-css-and-js-for-jquery-cycle/</link>
		<comments>http://dongilbert.net/blog/base-html-css-and-js-for-jquery-cycle/#comments</comments>
		<pubDate>Tue, 24 Apr 2012 15:12:24 +0000</pubDate>
		<dc:creator>Don Gilbert</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://dongilbert.net/?p=487</guid>
		<description><![CDATA[Whenever I use jQuery Cycle, this is the base that I start with, and just go from here. It works out pretty good. Enjoy. View the code on Gist.]]></description>
			<content:encoded><![CDATA[<p>Whenever I use <a href="http://jquery.malsup.com/cycle/">jQuery Cycle</a>, this is the base that I start with, and just go from here. It works out pretty good. Enjoy.</p>
<script src="https://gist.github.com/2480362.js"></script><noscript><p>View the code on <a href="https://gist.github.com/2480362">Gist</a>.</p></noscript>
]]></content:encoded>
			<wfw:commentRss>http://dongilbert.net/blog/base-html-css-and-js-for-jquery-cycle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Geocode an Address via Google Maps using PHP</title>
		<link>http://dongilbert.net/blog/geocode-an-address-via-google-maps-using-php/</link>
		<comments>http://dongilbert.net/blog/geocode-an-address-via-google-maps-using-php/#comments</comments>
		<pubDate>Thu, 19 Apr 2012 17:15:08 +0000</pubDate>
		<dc:creator>Don Gilbert</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Geocode]]></category>
		<category><![CDATA[Joomla!]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://dongilbert.net/?p=480</guid>
		<description><![CDATA[I came across a situation today where I needed to interface with a third party component in my Joomla! application which handled store locations using the Google Maps API. I already added the ability to associate each entry with a &#8230; <a href="http://dongilbert.net/blog/geocode-an-address-via-google-maps-using-php/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I came across a situation today where I needed to interface with a third party component in my Joomla! application which handled store locations using the Google Maps API. I already added the ability to associate each entry with a user account and manage the entry from within the user profile manager (thanks to the new Joomla! 2.5 extended profile), but the problem came in when a user edited the address that it would not update the latitude and longitude within the component. To fix that, I hooked into the onUserAfterSave event, and used the following code to geocode the address that was entered, and then push the results to the store locator database.</p>
<p>This will work for anyone needing to Geocode an address using PHP.</p>
<script src="https://gist.github.com/2422306.js"></script><noscript><p>View the code on <a href="https://gist.github.com/2422306">Gist</a>.</p></noscript>
]]></content:encoded>
			<wfw:commentRss>http://dongilbert.net/blog/geocode-an-address-via-google-maps-using-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Send SMS Alerts from RSFormPro the Easy Way</title>
		<link>http://dongilbert.net/blog/send-sms-alerts-from-rsformpro-the-easy-way/</link>
		<comments>http://dongilbert.net/blog/send-sms-alerts-from-rsformpro-the-easy-way/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 14:22:21 +0000</pubDate>
		<dc:creator>Don Gilbert</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Joomla!]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[RSFormPro!]]></category>
		<category><![CDATA[SMS]]></category>

		<guid isPermaLink="false">http://dongilbert.net/?p=478</guid>
		<description><![CDATA[RSForm!Pro allows for some pretty advanced routing, mappings, and script access via the joomla admin panel. It&#8217;s probably the best Joomla! form builder out there as of right now. It&#8217;s almost on the same level as Gravity Forms for WordPress. &#8230; <a href="http://dongilbert.net/blog/send-sms-alerts-from-rsformpro-the-easy-way/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="/recommended-products/rsformpro-joomla-forms/" title="RSForm!Pro – Joomla Forms">RSForm!Pro</a> allows for some pretty advanced routing, mappings, and script access via the joomla admin panel. It&#8217;s probably the best Joomla! form builder out there as of right now. It&#8217;s almost on the same level as Gravity Forms for WordPress.</p>
<p>Anyways &#8211; recently I had to set up text message alerts for admins when there is a submission. Rather than building an integration with a service like twilio or something, I just came up with this rather simple little snippet. On the Properties tab of the form you want to add SMS alerts from, navigate down to the PHP Scripts item. In the second textarea, where it gives you access to $_POST, paste the code from below. (Remember to not include the &lt;?php tag.) Then, change out the $to array to match the phone numbers and providers that you want to send messages to.</p>
<script src="https://gist.github.com/2413874.js"></script><noscript><p>View the code on <a href="https://gist.github.com/2413874">Gist</a>.</p></noscript>
]]></content:encoded>
			<wfw:commentRss>http://dongilbert.net/blog/send-sms-alerts-from-rsformpro-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recursive File Hashing with PHP</title>
		<link>http://dongilbert.net/php/recursive-file-hashing-with-php/</link>
		<comments>http://dongilbert.net/php/recursive-file-hashing-with-php/#comments</comments>
		<pubDate>Tue, 27 Mar 2012 17:32:08 +0000</pubDate>
		<dc:creator>Don Gilbert</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://dongilbert.net/?p=475</guid>
		<description><![CDATA[A little background: I developed this to create a drop-in hash file that will work with WordPress Exploit Scanner. As a developer, I periodically update to the latest nightly builds, and needed something to check the integrity of the system &#8230; <a href="http://dongilbert.net/php/recursive-file-hashing-with-php/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A little background: I developed this to create a drop-in hash file that will work with <a href="http://ocaoimh.ie/exploit-scanner/">WordPress Exploit Scanner</a>. As a developer, I periodically update to the latest nightly builds, and needed something to check the integrity of the system post upgrade, and to make sure that what I got was the real deal.</p>
<p>This could work for any security scanning system that accepts an array of file names and hashes.</p>
<script src="https://gist.github.com/2218183.js"></script><noscript><p>View the code on <a href="https://gist.github.com/2218183">Gist</a>.</p></noscript>
]]></content:encoded>
			<wfw:commentRss>http://dongilbert.net/php/recursive-file-hashing-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Starting a Running Regimen</title>
		<link>http://dongilbert.net/running/starting-a-running-regimen/</link>
		<comments>http://dongilbert.net/running/starting-a-running-regimen/#comments</comments>
		<pubDate>Thu, 01 Mar 2012 17:14:37 +0000</pubDate>
		<dc:creator>Don Gilbert</dc:creator>
				<category><![CDATA[Running]]></category>

		<guid isPermaLink="false">http://dongilbert.net/?p=470</guid>
		<description><![CDATA[I&#8217;ve been putting on some access weight recently, what with my desk job and hour long commute &#8211; I haven&#8217;t made the time to stay as active as I should have been. I&#8217;m pushing almost 200 lbs, and figured that &#8230; <a href="http://dongilbert.net/running/starting-a-running-regimen/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been putting on some access weight recently, what with my desk job and hour long commute &#8211; I haven&#8217;t made the time to stay as active as I should have been. I&#8217;m pushing almost 200 lbs, and figured that that&#8217;s gotta change. So, starting today, you&#8217;re going to start seeing some fitness and running updates here, along with the regular stuff.</p>
<p>My goal is to be able to run at least a half marathon (13.1 miles) by this summer. I downloaded a guide that gives you a good structure to go from couch potato to a half marathon runner is a little as 10 weeks. Download it here: <a href="/wp-content/uploads/2012/03/HalfMarathonGuide2012-Beginner.pdf">Half Marathon Guide</a>. I don&#8217;t know if I&#8217;ll be able to complete it in 10 weeks, but I&#8217;m pushing for it. It&#8217;s a rigorous schedule, but I&#8217;m going to try my best.</p>
<p>Hopefully, this&#8217;ll lead to a full blown lifestyle change for me. I want to be there for my family and be able to be active and have fun when Donny get&#8217;s older. I don&#8217;t want him to have a lazy dad.</p>
<p>I&#8217;ll also be reviewing some running merch as well, like my new Skechers GoRun running shoes as well as the best outfits to wear for different running conditions.</p>
<p>Wish me luck.</p>
]]></content:encoded>
			<wfw:commentRss>http://dongilbert.net/running/starting-a-running-regimen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beautiful Sunset</title>
		<link>http://dongilbert.net/blog/beautiful-sunset/</link>
		<comments>http://dongilbert.net/blog/beautiful-sunset/#comments</comments>
		<pubDate>Thu, 03 Nov 2011 23:05:01 +0000</pubDate>
		<dc:creator>Don Gilbert</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://dongilbert.net/?p=464</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://dongilbert.net/wp-content/uploads/2011/11/20111103-180436.jpg"><img src="http://dongilbert.net/wp-content/uploads/2011/11/20111103-180436.jpg" alt="20111103-180436.jpg" class="alignnone size-full" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://dongilbert.net/blog/beautiful-sunset/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

