<?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>Kyle Matthews</title>
	<atom:link href="http://kyleryanmatthews.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://kyleryanmatthews.com</link>
	<description>Kyle Matthews is an internet entrepreneur, musician, and amateur photographer.</description>
	<lastBuildDate>Sat, 14 Jan 2012 20:47:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>The Race Track</title>
		<link>http://kyleryanmatthews.com/2011/09/27/the-race-track/</link>
		<comments>http://kyleryanmatthews.com/2011/09/27/the-race-track/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 17:08:22 +0000</pubDate>
		<dc:creator>Kyle Matthews</dc:creator>
				<category><![CDATA[Randomness]]></category>

		<guid isPermaLink="false">http://kyleryanmatthews.com/?p=155</guid>
		<description><![CDATA[I spent some time at the High Plains Raceway in September. The event was an MCCA &#8211; ...]]></description>
			<content:encoded><![CDATA[<p>I spent some time at the High Plains Raceway in September. The event was an MCCA &#8211; CECA open model event. The cars were pretty crazy, so I took some pics. <a href="http://kyleryanmatthews.com/track/">Click here to see all the pics and a couple short vids</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://kyleryanmatthews.com/2011/09/27/the-race-track/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vBulletin: Remove Post Title if it&#8217;s Blank</title>
		<link>http://kyleryanmatthews.com/2011/09/12/vbulletin-remove-post-title-if-blank/</link>
		<comments>http://kyleryanmatthews.com/2011/09/12/vbulletin-remove-post-title-if-blank/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 21:21:36 +0000</pubDate>
		<dc:creator>Kyle Matthews</dc:creator>
				<category><![CDATA[vBulletin]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://kyleryanmatthews.com/?p=139</guid>
		<description><![CDATA[Here&#8217;s another good code snippet. vBulletin allows for post titles, but users very rarely actually use this. ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://kyleryanmatthews.com/wp-content/uploads/2011/09/Screen-Shot-2011-09-12-at-5.16.12-PM.png"><img class="size-full wp-image-140 aligncenter" title="No Post Title" src="http://kyleryanmatthews.com/wp-content/uploads/2011/09/Screen-Shot-2011-09-12-at-5.16.12-PM.png" alt="" width="300" height="66" /></a></p>
<p>Here&#8217;s another good code snippet. vBulletin allows for post titles, but users very rarely actually use this. Thing is, vBulletin displays the post title area even if there&#8217;s not one set. You wind up with what looks like either a signature out of place or a missing bit of text. I decided to remove this, but wasn&#8217;t able to find anywhere online where folks had mentioned how to. It&#8217;s fairly easy</p>
<p>In the <em>postbit_legacy</em> template, find the following code:</p>
<pre class="brush: html; gutter: true">&lt;vb:if condition="$post['title'] OR $show['messageicon']"&gt;
    &lt;h2 class="title icon"&gt;
    &lt;vb:if condition="$show['messageicon']"&gt;&lt;img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /&gt;&lt;/vb:if&gt;{vb:raw post.title}&lt;/h2&gt;
  &lt;/vb:if&gt;</pre>
<p>and replace it with:</p>
<pre class="brush: html; gutter: true">&lt;vb:if condition="$post['title']==''"&gt;&lt;vb:else /&gt;
  &lt;vb:if condition="$post['title'] OR $show['messageicon']"&gt;
    &lt;h2 class="title icon"&gt;
    &lt;vb:if condition="$show['messageicon']"&gt;&lt;img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /&gt;&lt;/vb:if&gt;{vb:raw post.title}&lt;/h2&gt;
  &lt;/vb:if&gt;
&lt;/vb:if&gt;</pre>
<p>That&#8217;s it! All we&#8217;re doing is adding an additional if around the existing one, saying &#8220;if the post title == &#8221; (nothing), don&#8217;t display the post title area.&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://kyleryanmatthews.com/2011/09/12/vbulletin-remove-post-title-if-blank/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nice Web Author Resources</title>
		<link>http://kyleryanmatthews.com/2011/09/12/nice-web-author-resources/</link>
		<comments>http://kyleryanmatthews.com/2011/09/12/nice-web-author-resources/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 19:18:33 +0000</pubDate>
		<dc:creator>Kyle Matthews</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://kyleryanmatthews.com/?p=137</guid>
		<description><![CDATA[Nice page of some web resources for folks who make sites.]]></description>
			<content:encoded><![CDATA[<p>Nice page of some web resources for folks who make sites.</p>
]]></content:encoded>
			<wfw:commentRss>http://kyleryanmatthews.com/2011/09/12/nice-web-author-resources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vBulletin: How to Include Facebook / Twitter / Google Plus in vBCMS with vBSEO Installed</title>
		<link>http://kyleryanmatthews.com/2011/09/10/vbulletin-how-to-include-facebook-twitter-google-plus-in-vbcms-with-vbseo-installed/</link>
		<comments>http://kyleryanmatthews.com/2011/09/10/vbulletin-how-to-include-facebook-twitter-google-plus-in-vbcms-with-vbseo-installed/#comments</comments>
		<pubDate>Sun, 11 Sep 2011 03:10:54 +0000</pubDate>
		<dc:creator>Kyle Matthews</dc:creator>
				<category><![CDATA[Randomness]]></category>
		<category><![CDATA[vBulletin]]></category>

		<guid isPermaLink="false">http://kyleryanmatthews.com/?p=121</guid>
		<description><![CDATA[The ModMy sites run on vBulletin, and we use vBSEO for our SEO tool. Beginning in vBulletin ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://kyleryanmatthews.com/wp-content/uploads/2011/09/mminew.png"><img class="size-full wp-image-131 aligncenter" title="ModMyi.com is All New" src="http://kyleryanmatthews.com/wp-content/uploads/2011/09/mminew.png" alt="" width="286" height="91" /></a></p>
<p>The ModMy sites run on vBulletin, and we use vBSEO for our SEO tool. Beginning in vBulletin 4.+, vBulletin has had a built in CMS called vBCMS for posting articles. Before that most people used vBAdvanced or WordPress for vBulletin 3.x installs.</p>
<p>After moving to vBCMS for our articles, we discovered we could no longer get social sharing buttons (like Facebook, Twitter, Google Plus, Digg, etc) to work on the front page. Because we use vBSEO (which rewrites URLs server-side through PHP) and the button codes are all in JavaScript (which is client-side), attempting to use vBulletin&#8217;s standard {vb:raw page_url} was returning the standard vBulletin URL, not the correct vBSEO&#8217;d URL. I asked for help at vBSEO.com multiple times, but they simply told me they don&#8217;t support vBCMS (great &#8211; that&#8217;s ALL our articles). I finally found a solution which I thought I&#8217;d share here as I&#8217;m sure others are looking for it. So here&#8217;s what I did to fix this.</p>
<p>I created a plugin and called it <strong>vbseod url</strong>.</p>
<p>The product was <em>vBulletin</em>, hook location is <em>vbcms_article_populate_end</em>. Execution order I set at <em>5</em>. The following was the plugin code that eventually worked:</p>
<pre class="brush: php; gutter: true">$replace_forvbseo = array('http://modmyi.com','http://www.modmyi.com','content.php?r=','.');
$replace_withvbseo= array('','','','-');

$replace_forvbseo2 = array('-as-','-of-','-in-','-is-','-an-','-and-','-with-','-for-','-to-','-this-','-from-','-by-','-a-','-on-','-the-','-at-','-be-','(',')','*');
$replace_withvbseo2 = array('-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','','','');

$view-&gt;page_url_vbseo = str_replace($replace_forvbseo2,$replace_withvbseo2,strtolower($vbulletin-&gt;options['bburl'] . '/content' . (str_replace($replace_forvbseo,$replace_withvbseo,($view-&gt;page_url))) . '.html'));</pre>
<p>This creates a variable you can use in vBCMS called <em>page_url_vbseo</em>. You can of course set that to whatever you&#8217;d like, that&#8217;s just what I used. You&#8217;ll also need to change where I have <strong>http://modmyi.com</strong> and <strong>http://www.modmyi.com</strong> to your domain.</p>
<p>For some reason simply using the <em>$replace_withvbseo</em> wasn&#8217;t working for CMS articles, so I had to add in some manual stuff. I think I have the majority of them replaced (see $replace_forvbseo2 where I have listed the words I&#8217;ve found which still needed to be removed). If you need to add to those, you&#8217;ll have to add them in that line.</p>
<p>Then I had a nice variable working which I could put in my templates anywhere by adding <em>{vb:raw page_url_vbseo}</em>.</p>
<p>For instance, in my site, I decided to put Twitter, Facebook, and Google Plus on the homepage as options, so used this code:</p>
<pre class="brush: html; gutter: true">&lt;div id="share" style="margin: 3px 0 3px 0;"&gt;&lt;a class="twitter-share-button" href="http://twitter.com/share" data-text="Nice article -" data-url="{vb:raw page_url_vbseo}" data-count="horizontal" data-via="modmyi"&gt;Tweet&lt;/a&gt;&lt;script type="text/javascript" src="http://platform.twitter.com/widgets.js"&gt;&lt;/script&gt;&lt;script type="text/javascript"&gt;// &lt;![CDATA[
      (function() {     var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;     po.src = 'https://apis.google.com/js/plusone.js';     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);   })();
// ]]&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;// &lt;![CDATA[
    (function(d){   var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}   js = d.createElement('script'); js.id = id; js.async = true;   js.src = "//connect.facebook.net/en_US/all.js#appId=246181135426205&amp;xfbml=1";   d.getElementsByTagName('head')[0].appendChild(js); }(document));
// ]]&gt;&lt;/script&gt;&lt;/div&gt;</pre>
<p>That may change as each platform adjusts their button codes, but it&#8217;s just the individual button codes (Google any buttons you&#8217;d like to get their code). Notice in there where I have put the <em>{vb:raw page_url_vbseo}</em> code. The correct vBulletin template to make these changes in is <em>vbcms_content_article_preview</em>. To have the buttons appear under the main title of each article like we do on ModMyi.com, insert the share code I just pasted under the following code in the  <em>vbcms_content_article_preview </em>template:</p>
<pre class="brush: html; gutter: true">&lt;vb:if condition="$showtitle"&gt;
	&lt;div class="title"&gt;
		&lt;h3 class="article_preview"&gt;
			&lt;a style="color: black;" href="{vb:raw page_url}"&gt;&lt;span&gt;{vb:raw title}&lt;/span&gt;&lt;/a&gt; 
		&lt;vb:if condition="$can_edit"&gt;
			&lt;a class="edit" href="{vb:raw edit_url}"&gt;
			&lt;img class="editimage" src="{vb:stylevar imgdir_cms}/edit_small.png" alt="{vb:rawphrase edit}" /&gt;
			&lt;/a&gt;
		&lt;/vb:if&gt;
		&lt;/h3&gt;
	&lt;/div&gt;
	&lt;/vb:if&gt;</pre>
<p>Make sure when you get your button code you tell it NOT to use the URL it&#8217;s on, but a custom URL. Then replace it with the above bold code, and that&#8217;s how I got the correct code from the large block above.</p>
<p>There you have it!</p>
]]></content:encoded>
			<wfw:commentRss>http://kyleryanmatthews.com/2011/09/10/vbulletin-how-to-include-facebook-twitter-google-plus-in-vbcms-with-vbseo-installed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tampa Bay Bucs get iPads for Playbooks</title>
		<link>http://kyleryanmatthews.com/2011/08/25/tampa-bay-bucs-get-ipads-for-playbooks/</link>
		<comments>http://kyleryanmatthews.com/2011/08/25/tampa-bay-bucs-get-ipads-for-playbooks/#comments</comments>
		<pubDate>Thu, 25 Aug 2011 19:49:50 +0000</pubDate>
		<dc:creator>Kyle Matthews</dc:creator>
				<category><![CDATA[ModMy]]></category>

		<guid isPermaLink="false">http://kyleryanmatthews.com/?p=118</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://kyleryanmatthews.com/2011/08/25/tampa-bay-bucs-get-ipads-for-playbooks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No Off Switch Productions</title>
		<link>http://kyleryanmatthews.com/2011/08/25/no-off-switch-productions/</link>
		<comments>http://kyleryanmatthews.com/2011/08/25/no-off-switch-productions/#comments</comments>
		<pubDate>Thu, 25 Aug 2011 17:52:42 +0000</pubDate>
		<dc:creator>Kyle Matthews</dc:creator>
				<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://kyleryanmatthews.com/?p=112</guid>
		<description><![CDATA[Just finished a new logo and simple site redesign for my friend AJ Hurley over at No ...]]></description>
			<content:encoded><![CDATA[<p>Just finished a new logo and simple site redesign for my friend AJ Hurley over at <a title="Tampa Bay Videography and Photography" href="http://nooffswitch.com" target="_blank">No Off Switch Productions</a>. No Off Switch Productions does videography and photography, and is based in the Tampa area.</p>
]]></content:encoded>
			<wfw:commentRss>http://kyleryanmatthews.com/2011/08/25/no-off-switch-productions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Steve Jobs Retires</title>
		<link>http://kyleryanmatthews.com/2011/08/25/stevejobsretires/</link>
		<comments>http://kyleryanmatthews.com/2011/08/25/stevejobsretires/#comments</comments>
		<pubDate>Thu, 25 Aug 2011 17:48:17 +0000</pubDate>
		<dc:creator>Kyle Matthews</dc:creator>
				<category><![CDATA[ModMy]]></category>

		<guid isPermaLink="false">http://kyleryanmatthews.com/?p=108</guid>
		<description><![CDATA[From all of us at ModMyi.com, we&#8217;ll miss you as Apple CEO, Steve Jobs. Best of luck ...]]></description>
			<content:encoded><![CDATA[<p>From all of us at ModMyi.com, we&#8217;ll miss you as Apple CEO, Steve Jobs. Best of luck in your next chapter.</p>
]]></content:encoded>
			<wfw:commentRss>http://kyleryanmatthews.com/2011/08/25/stevejobsretires/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bummer</title>
		<link>http://kyleryanmatthews.com/2011/08/23/bummer/</link>
		<comments>http://kyleryanmatthews.com/2011/08/23/bummer/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 21:41:55 +0000</pubDate>
		<dc:creator>Kyle Matthews</dc:creator>
				<category><![CDATA[Pictures]]></category>

		<guid isPermaLink="false">http://kyleryanmatthews.com/?p=105</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://kyleryanmatthews.com/2011/08/23/bummer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>updated site</title>
		<link>http://kyleryanmatthews.com/2011/08/23/updated-site/</link>
		<comments>http://kyleryanmatthews.com/2011/08/23/updated-site/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 20:56:56 +0000</pubDate>
		<dc:creator>Kyle Matthews</dc:creator>
				<category><![CDATA[Randomness]]></category>

		<guid isPermaLink="false">http://kyleryanmatthews.com/?p=102</guid>
		<description><![CDATA[I decided to finally spend more time on this blog. The site has been updated, and I&#8217;ll ...]]></description>
			<content:encoded><![CDATA[<p>I decided to finally spend more time on this blog. The site has been updated, and I&#8217;ll be posting here instead of Facebook or Twitter now, with content then linking back to various social networks. We&#8217;ll see how that goes.</p>
]]></content:encoded>
			<wfw:commentRss>http://kyleryanmatthews.com/2011/08/23/updated-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Ezra Matthews Story</title>
		<link>http://kyleryanmatthews.com/2010/10/23/the-ezra-matthews-story/</link>
		<comments>http://kyleryanmatthews.com/2010/10/23/the-ezra-matthews-story/#comments</comments>
		<pubDate>Sat, 23 Oct 2010 05:06:13 +0000</pubDate>
		<dc:creator>Kyle Matthews</dc:creator>
				<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://kyleryanmatthews.com/?p=51</guid>
		<description><![CDATA[This is a summary video of the Ezra Matthews story - my son has Neuroblastoma cancer.]]></description>
			<content:encoded><![CDATA[<p><a href="http://vimeo.com/16059311">The Ezra Matthews Story</a> summary video was shot and edited by a friend who&#8217;s family by now, AJ Hurley. We&#8217;re grateful for the memories.</p>
]]></content:encoded>
			<wfw:commentRss>http://kyleryanmatthews.com/2010/10/23/the-ezra-matthews-story/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

