<?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>Lacquer Head</title>
	<atom:link href="http://lacquerhead.ca/feed/" rel="self" type="application/rss+xml" />
	<link>http://lacquerhead.ca</link>
	<description>Meat and Computers</description>
	<lastBuildDate>Sun, 19 Dec 2010 19:03:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Schnitzle Burger</title>
		<link>http://lacquerhead.ca/2010/12/schnitzle-burger/</link>
		<comments>http://lacquerhead.ca/2010/12/schnitzle-burger/#comments</comments>
		<pubDate>Sun, 19 Dec 2010 17:29:43 +0000</pubDate>
		<dc:creator>laqrhead</dc:creator>
				<category><![CDATA[Food]]></category>

		<guid isPermaLink="false">http://lacquerhead.ca/2010/12/schnitzle-burger/</guid>
		<description><![CDATA[Some late night hunger pangs lead to this delicious meaty creation. Starting from the bottom bun up there is a hamburger pattie, cheddar cheese, pork schnitzle, grilled black forest ham, lettuce and tomatoe. I topped it all off with some dijon mustard and mayo.]]></description>
			<content:encoded><![CDATA[<p><img style="display:block;margin-right:auto;margin-left:auto;" alt="image" src="http://lacquerhead.ca/wp-content/uploads/2010/12/wpid-IMAG0006.jpg" /></p>
<p><img style="display:block;margin-right:auto;margin-left:auto;" alt="image" src="http://lacquerhead.ca/wp-content/uploads/2010/12/wpid-IMAG0007.jpg" /></p>
<p>Some late night hunger pangs lead to this delicious meaty creation. Starting from the bottom bun up there is a hamburger pattie, cheddar cheese, pork schnitzle, grilled black forest ham, lettuce and tomatoe. I topped it all off with some dijon mustard and mayo.</p>
]]></content:encoded>
			<wfw:commentRss>http://lacquerhead.ca/2010/12/schnitzle-burger/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No Comments: WordPress Plugin</title>
		<link>http://lacquerhead.ca/2010/12/no-comments/</link>
		<comments>http://lacquerhead.ca/2010/12/no-comments/#comments</comments>
		<pubDate>Fri, 10 Dec 2010 19:42:42 +0000</pubDate>
		<dc:creator>laqrhead</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://lacquerhead.ca/?p=412</guid>
		<description><![CDATA[This is a simple WordPress plugin that removes all comments from the site. It works by preventing the comments template from being loaded. You might find it useful if you are using WordPress as a CMS on a regular site and don&#8217;t want to have to worry about comments. Download no-comments.zip]]></description>
			<content:encoded><![CDATA[<p>This is a simple WordPress plugin that removes all comments from the site. It works by preventing the comments template from being loaded. You might find it useful if you are using WordPress as a CMS on a regular site and don&#8217;t want to have to worry about comments.</p>
<p><a href="http://lacquerhead.ca/wp-content/uploads/2010/12/no-comments.zip">Download no-comments.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lacquerhead.ca/2010/12/no-comments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Control Your Windows Mobile Device With Your Mouse and Keyboard Through Your Computer</title>
		<link>http://lacquerhead.ca/2009/11/windows-mobile-mouse-keyboard-through-your-computer/</link>
		<comments>http://lacquerhead.ca/2009/11/windows-mobile-mouse-keyboard-through-your-computer/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 00:10:04 +0000</pubDate>
		<dc:creator>laqrhead</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://lacquerhead.ca/?p=236</guid>
		<description><![CDATA[So I found this great fee application called My Mobiler to use with your windows mobile phone or PDA. You plug in your device through your USB, and the screen pops up on your monitor. You can use your mouse and keyboard to run programs. I find it useful to quickly and easily check site [...]]]></description>
			<content:encoded><![CDATA[<p>So I found this great fee application called My Mobiler to use with your windows mobile phone or PDA. You plug in your device through your USB, and the screen pops up on your monitor. You can use your mouse and keyboard to run programs. I find it useful to quickly and easily check site designs in IE mobile and Opera Mobile.</p>
<p><a href="http://www.mymobiler.com/">http://www.mymobiler.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lacquerhead.ca/2009/11/windows-mobile-mouse-keyboard-through-your-computer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Just in time to miss BBQ season, a great Bar-be-Que sauce recipe.</title>
		<link>http://lacquerhead.ca/2009/10/bbq-sauce-recipe/</link>
		<comments>http://lacquerhead.ca/2009/10/bbq-sauce-recipe/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 02:32:36 +0000</pubDate>
		<dc:creator>laqrhead</dc:creator>
				<category><![CDATA[Barbeque]]></category>
		<category><![CDATA[Food]]></category>
		<category><![CDATA[sauce]]></category>
		<category><![CDATA[smoke]]></category>

		<guid isPermaLink="false">http://lacquerhead.ca/?p=230</guid>
		<description><![CDATA[First of all, this recipe is meant to be dabbled with. Consider it a canvas on which to work with. This recipe calls for my simple BBQ rub, which is just salt, pepper, and paprika. This recipe also requires a BBQ smoker. As with any kind of BBQ it also requires patience, so I&#8217;d reccomend [...]]]></description>
			<content:encoded><![CDATA[<p>First of all, this recipe is meant to be dabbled with. Consider it a canvas on which to work with. This recipe calls for my simple<a href="http://lacquerhead.ca/2009/06/bbq-rub/"> BBQ rub</a>, which is just salt, pepper, and paprika. This recipe also requires a BBQ smoker. As with any kind of BBQ it also requires patience, so I&#8217;d reccomend starting this recipe shortly after you get your meat in the BBQ. <span id="more-230"></span><br />
Ingredients:</p>
<ul>
<li>1 large can of tomato sauce (or 2 small ones)</li>
<li>1 Medium Size Onion (quartered and separated)</li>
<li>1 Medium Size Apple (peeled, cored and separated)</li>
<li>1/2 cup brown sugar (give or take)</li>
<li>Big splash (3 tablespoons) cider vinegar</li>
<li>3 cloves garlic crushed</li>
<li>1 teaspoon dry mustard</li>
<li>1 teaspoon chili powder</li>
<li>1 heaping tablespoon rub (equal parts salt, pepper, paprika, probably a teaspoon of each)</li>
<li>Molasses and/or Honey to taste</li>
</ul>
<p>Instructions:</p>
<ol>
<li>Take the apple and onion chunks and place them in a wire basket. Put them in the coolest spot in your smoker. They should sit in there for a couple hours, or until they can&#8217;t take anymore cooking. You may say to yourself, &#8220;Why am I doing this?&#8221; Well, by smoking the apple and onion we introduce a smokey flavour without having to use artificial smoke!</li>
<li>When the apple and onion are almost done, heat up the tomato sauce and add all of the other ingredients except the molasses and honey. Place apple and onion in the sauce and simmer them for another hour.</li>
<li>Scoop out the apple and onion chunks and place them in a blender with as much sauce as is practical. Blend it until it&#8217;s smooth and there are no more chunks.</li>
<li>Now it&#8217;s time to sweeten the sauce. The honey and molasses can be adjusted to your taste and the type of meat your serving. You might want to add lots of molasses or honey for ribs, and very little for beef brisket.</li>
<li>Once it&#8217;s at the right sweetness, simmer on a very low heat for as long as possible, up to two hours. When the sauce is blended it gets lots of tiny air bubbles in it, so simmering helps get rid of these.</li>
</ol>
<p>Now just dip your meat in it.</p>
]]></content:encoded>
			<wfw:commentRss>http://lacquerhead.ca/2009/10/bbq-sauce-recipe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What it looks like inside my brain.</title>
		<link>http://lacquerhead.ca/2009/09/what-it-looks-like-inside-my-brain/</link>
		<comments>http://lacquerhead.ca/2009/09/what-it-looks-like-inside-my-brain/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 19:56:30 +0000</pubDate>
		<dc:creator>laqrhead</dc:creator>
				<category><![CDATA[Nonsense]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://lacquerhead.ca/?p=222</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div id="attachment_223" class="wp-caption aligncenter" style="width: 310px"><a href="http://lacquerhead.ca/wp-content/uploads/2009/09/laqrheads-brain.jpg"><img class="size-medium wp-image-223" title="Lacquerhead's Brain" src="http://lacquerhead.ca/wp-content/uploads/2009/09/laqrheads-brain-300x260.jpg" alt="What it looks like inside my brain." width="300" height="260" /></a><p class="wp-caption-text">What it looks like inside my brain.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://lacquerhead.ca/2009/09/what-it-looks-like-inside-my-brain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook/Twitter Status Updater Plugin Does Everything at Once</title>
		<link>http://lacquerhead.ca/2009/09/facebooktwitter-status-updater-plugin-does-everything-at-once/</link>
		<comments>http://lacquerhead.ca/2009/09/facebooktwitter-status-updater-plugin-does-everything-at-once/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 03:46:06 +0000</pubDate>
		<dc:creator>laqrhead</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://lacquerhead.ca/?p=207</guid>
		<description><![CDATA[I&#8217;ve been using Twitter Tools for some time now and found it quite useful, however, a much simpler plugin is &#8220;Facebook/Twitter Status Updater.&#8221; It updates both twitter and Facebook, and it allows you to specify a different headline for the update, instead of just using the post title. Twitter tools also requires something to be [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://wordpress.org/extend/plugins/twitter-tools/">Twitter Tools</a> for some time now and found it quite useful, however, a much simpler plugin is &#8220;<a href="http://wordpress.org/extend/plugins/fb-status-updater/">Facebook/Twitter Status Updater</a>.&#8221; It updates both twitter and Facebook, and it allows you to specify a different headline for the update, instead of just using the post title. Twitter tools also requires something to be appended to the beginning like &#8220;Blog Update:&#8221; and this plugin doesn&#8217;t.</p>
<p>Twitter Tools has many more advanced features for Twitter, but lacks the Facebook update. If all you want to do is update your blog, Twitter, and Facebook from one place, this is the plugin for.</p>
<p>The only drawback I can see is that if you&#8217;re logged into Facebook when you publish a post, you will be automatically logged out.</p>
<p><a href="http://www.francesco-castaldo.com/plugins-and-widgets/fb-status-updater/">Thanks Francesco Castaldo for a great plugin. </a></p>
]]></content:encoded>
			<wfw:commentRss>http://lacquerhead.ca/2009/09/facebooktwitter-status-updater-plugin-does-everything-at-once/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>This Picture Has Everything</title>
		<link>http://lacquerhead.ca/2009/08/this-picture-has-everything/</link>
		<comments>http://lacquerhead.ca/2009/08/this-picture-has-everything/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 22:35:26 +0000</pubDate>
		<dc:creator>laqrhead</dc:creator>
				<category><![CDATA[Nonsense]]></category>

		<guid isPermaLink="false">http://lacquerhead.ca/?p=193</guid>
		<description><![CDATA[Me, one of my kids, the dog, the guinea pigs, a VW van, Darth Vader on a record, Dill, and my bass.]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;">
<div id="attachment_194" class="wp-caption aligncenter" style="width: 235px"><a rel="attachment wp-att-194" href="http://lacquerhead.ca/2009/08/this-picture-has-everything/2009all-1123/"><img class="size-medium wp-image-194" title="Me, Eden, and Gretchen" src="http://lacquerhead.ca/wp-content/uploads/2009/08/2009All-1123-225x300.jpg" alt="Me, Eden, and Gretchen" width="225" height="300" /></a><p class="wp-caption-text">Me, Eden, and Gretchen</p></div>
<p style="text-align: center;">Me, one of my kids (Eden), the dog (Gretchen), the guinea pigs (just a little bit of Cinnamon), a VW van, Darth Vader on a record, Dill, and my bass (behind the guinea pig cage).</p>
]]></content:encoded>
			<wfw:commentRss>http://lacquerhead.ca/2009/08/this-picture-has-everything/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change Media Attachment Parent: WordPress Plugin</title>
		<link>http://lacquerhead.ca/2009/07/change-attachment-parent/</link>
		<comments>http://lacquerhead.ca/2009/07/change-attachment-parent/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 21:33:51 +0000</pubDate>
		<dc:creator>laqrhead</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://lacquerhead.ca/?p=186</guid>
		<description><![CDATA[Change Attachment Parent allows you to edit the parent value of anything in the media library. This becomes useful if you have uploaded images you&#8217;d like to place in a post&#8217;s gallery that are not currently children of that post. I&#8217;ve also found that sometimes you add a new post with photos and they are [...]]]></description>
			<content:encoded><![CDATA[<p>Change Attachment Parent allows you to edit the parent value of anything in the media library.<span id="more-186"></span></p>
<p>This becomes useful if you have uploaded images you&#8217;d like to place in a post&#8217;s gallery that are not currently children of that post.</p>
<p>I&#8217;ve also found that sometimes you add a new post with photos and they are not added to the gallery because you hadn&#8217;t saved the post when you uploaded them. This allows you to associate those photos with the post.</p>
<p>The interface isn&#8217;t that user friendly, you must enter the post ID, and I&#8217;d appreciate feedback on how to improve this.</p>
<h2>Installation</h2>
<p>1. Extract change-post-attachment.zip and place change-post-attachment.php `/wp-content/plugins/` directory<br />
2. Activate the plugin through the &#8216;Plugins&#8217; menu in WordPress</p>
<h2>Download</h2>
<p><a href="http://wordpress.org/extend/plugins/change-attachment-parent/">Download the plugin from the wordpress plugins page.</a></p>
<h2>Donate</h2>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="7934153">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"><br />
</form>
]]></content:encoded>
			<wfw:commentRss>http://lacquerhead.ca/2009/07/change-attachment-parent/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Worst Pinball Machine Ever</title>
		<link>http://lacquerhead.ca/2009/07/worst-pinball-machine-ever/</link>
		<comments>http://lacquerhead.ca/2009/07/worst-pinball-machine-ever/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 01:06:56 +0000</pubDate>
		<dc:creator>laqrhead</dc:creator>
				<category><![CDATA[Nonsense]]></category>

		<guid isPermaLink="false">http://lacquerhead.ca/?p=160</guid>
		<description><![CDATA[A couple weekends we stayed at the Comfort Inn in Kamloops. We&#8217;ve stayed there a few times before, mostly because it has a pool and waterslide which the kids love. However this was our fist stay on the second floor which has a &#8220;games room.&#8221; I&#8217;m not sure how I could have missed this gem [...]]]></description>
			<content:encoded><![CDATA[<p>A couple weekends we stayed at the Comfort Inn in Kamloops. We&#8217;ve stayed there a few times before, mostly because it has a pool and waterslide which the kids love. However this was our fist stay on the second floor which has a &#8220;games room.&#8221; I&#8217;m not sure how I could have missed this gem before.<span id="more-160"></span></p>
<p>You know the games room is gonna rock when the first thing you see is this:</p>
<div id="attachment_173" class="wp-caption aligncenter" style="width: 235px"><a href="http://lacquerhead.ca/wp-content/uploads/2009/06/imag0071.jpg"><img class="size-medium wp-image-173" title="Sega Out Run" src="http://lacquerhead.ca/wp-content/uploads/2009/06/imag0071-225x300.jpg" alt="Sega Out Run" width="225" height="300" /></a><p class="wp-caption-text">Sega Out Run</p></div>
<div id="attachment_168" class="wp-caption alignright" style="width: 160px"><a href="http://lacquerhead.ca/wp-content/uploads/2009/06/imag0060.jpg"><img class="size-thumbnail wp-image-168" title="Error" src="http://lacquerhead.ca/wp-content/uploads/2009/06/imag0060-150x150.jpg" alt="Best value: don't put a quarter in because the game is broken." width="150" height="150" /></a><p class="wp-caption-text">Best value: don&#39;t put a quarter in because the game is broken.</p></div>
<p>So I put in my 3 quarters for two plays and it says there are 6 credits. Woot! Two games for a quarter! The table was old and I noticed a few problems off the bat, like the rubber around the left flipper was floppy and loose, but whatever. But then I started to notice the rubber was falling off everywhere. The balls kept getting stuck and you had to tilt the machine to get them out.</p>
<p>Finally three balls got stuck during a thrilling multi-ball episode and the machine shut down. It feebily displayed a message on it&#8217;s dying display: &#8220;3 BALLS MISSING.&#8221; I managed to get them free by almost flipping the machine upside down, but eventually they all got stuck in the same spot again and could not be freed.</p>
<p>I caught a couple other people plugging in quarters only to find out it wasn&#8217;t working. I guess that&#8217;s how they make money off this machine. Anyways, in the end I think I had more fun with the broken machine than I would have if it actually worked.</p>
<p>Some more bad pictures of the &#8220;Games Room.&#8221;</p>

<a href='http://lacquerhead.ca/2009/07/worst-pinball-machine-ever/imag0054/' title='3 Balls Missing'><img width="150" height="150" src="http://lacquerhead.ca/wp-content/uploads/2009/06/imag0054-150x150.jpg" class="attachment-thumbnail" alt="3 Balls Missing" title="3 Balls Missing" /></a>
<a href='http://lacquerhead.ca/2009/07/worst-pinball-machine-ever/imag0055/' title='Stuck Balls'><img width="150" height="150" src="http://lacquerhead.ca/wp-content/uploads/2009/06/imag0055-150x150.jpg" class="attachment-thumbnail" alt="Stuck Balls" title="Stuck Balls" /></a>
<a href='http://lacquerhead.ca/2009/07/worst-pinball-machine-ever/imag0056/' title='Stuck Balls'><img width="150" height="150" src="http://lacquerhead.ca/wp-content/uploads/2009/06/imag0056-150x150.jpg" class="attachment-thumbnail" alt="Stuck Balls" title="Stuck Balls" /></a>
<a href='http://lacquerhead.ca/2009/07/worst-pinball-machine-ever/imag0057/' title='Left Flipper'><img width="150" height="150" src="http://lacquerhead.ca/wp-content/uploads/2009/06/imag0057-150x150.jpg" class="attachment-thumbnail" alt="Left Flipper" title="Left Flipper" /></a>
<a href='http://lacquerhead.ca/2009/07/worst-pinball-machine-ever/imag0059/' title='Rubber Bumper'><img width="150" height="150" src="http://lacquerhead.ca/wp-content/uploads/2009/06/imag0059-150x150.jpg" class="attachment-thumbnail" alt="Rubber Bumper" title="Rubber Bumper" /></a>
<a href='http://lacquerhead.ca/2009/07/worst-pinball-machine-ever/imag0060/' title='Error'><img width="150" height="150" src="http://lacquerhead.ca/wp-content/uploads/2009/06/imag0060-150x150.jpg" class="attachment-thumbnail" alt="Best value: don&#039;t put a quarter in because the game is broken." title="Error" /></a>
<a href='http://lacquerhead.ca/2009/07/worst-pinball-machine-ever/imag0061/' title='Lethal Weapon Three Pinball'><img width="150" height="150" src="http://lacquerhead.ca/wp-content/uploads/2009/06/imag0061-150x150.jpg" class="attachment-thumbnail" alt="Lethal Weapon Three Pinball" title="Lethal Weapon Three Pinball" /></a>
<a href='http://lacquerhead.ca/2009/07/worst-pinball-machine-ever/imag0068/' title='Roadblasters broken screen.'><img width="150" height="150" src="http://lacquerhead.ca/wp-content/uploads/2009/06/imag0068-150x150.jpg" class="attachment-thumbnail" alt="Roadblasters broken screen." title="Roadblasters broken screen." /></a>
<a href='http://lacquerhead.ca/2009/07/worst-pinball-machine-ever/imag0069/' title='Road Blasters'><img width="150" height="150" src="http://lacquerhead.ca/wp-content/uploads/2009/06/imag0069-150x150.jpg" class="attachment-thumbnail" alt="Road Blasters" title="Road Blasters" /></a>
<a href='http://lacquerhead.ca/2009/07/worst-pinball-machine-ever/imag0070/' title='Sega Outrun'><img width="150" height="150" src="http://lacquerhead.ca/wp-content/uploads/2009/06/imag0070-150x150.jpg" class="attachment-thumbnail" alt="Sega Outrun" title="Sega Outrun" /></a>
<a href='http://lacquerhead.ca/2009/07/worst-pinball-machine-ever/imag0071/' title='Sega Out Run'><img width="150" height="150" src="http://lacquerhead.ca/wp-content/uploads/2009/06/imag0071-150x150.jpg" class="attachment-thumbnail" alt="Sega Out Run" title="Sega Out Run" /></a>

]]></content:encoded>
			<wfw:commentRss>http://lacquerhead.ca/2009/07/worst-pinball-machine-ever/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Other Applications to Work with WordPress Users</title>
		<link>http://lacquerhead.ca/2009/07/getting-other-applications-to-work-with-wordpress-users/</link>
		<comments>http://lacquerhead.ca/2009/07/getting-other-applications-to-work-with-wordpress-users/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 19:59:46 +0000</pubDate>
		<dc:creator>laqrhead</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://lacquerhead.ca/?p=175</guid>
		<description><![CDATA[Sometimes a wordpress plugin is not the proper solution for an complex application. You might want something to work alongside wordpress instead. One of the nice features of Worpress is the user managament. The WordPress documentation for this is non-existant as far as I ca tell, so here&#8217;s how you can quickly have your software [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes a wordpress plugin is not the proper solution for an complex application. You might want something to work alongside wordpress instead. One of the nice features of Worpress is the user managament. The WordPress documentation for this is non-existant as far as I ca tell, so here&#8217;s how you can quickly have your software find out if a user is logged in outside of WordPress.<span id="more-175"></span></p>
<p>WordPress stores the user&#8217;s login status in a cookie named &#8220;wordpress_logged_in_COOKIEHASH,&#8221; Where COOKIEHASH there is  an MD5 hash of the &#8216;Site URL&#8217; option. Line 421 of wp-settings.php:</p>
<p><code><br />
define('COOKIEHASH', md5(get_option('siteurl')));<br />
</code></p>
<p>So you can use that to check the cookie, or  you can copy it from an existing cookie on your machine, or generate it in your own cookie name. First, log yourself out of WordPress, because we are going to be changing the logged in cookie name, and you won&#8217;t be able to log in or out with the old cookie name. Now we can define a new cookie name in the wp-config.php file by adding the following line somewhere in the file:</p>
<p><code>define('LOGGED_IN_COOKIE', 'my_cookie_name');</code></p>
<p>For Reference The default is defined in wp-settings.php on line 392 as:</p>
<p><code>define('LOGGED_IN_COOKIE', 'wordpress_logged_in_' . COOKIEHASH);</code></p>
<p>So now I&#8217;ll always know what the cookie name is, so I can extract the username from the cookie value.</p>
<p>The value contains the following info:</p>
<p>username|doubleHashedPassword</p>
<p>Now that we have a username, we can fetch user data, such as a user_id. Something like this should do the trick assuming that you have established your DB connection:</p>
<p><code><?php<br />
if (!empty($_COOKIE[my_cookie_name])) {</p>
<p>    // The user is logged in, so retrieve user data<br />
    $userArr=explode('|',$_COOKIE[my_cookie_name]);<br />
    $user_login=$userArr[0];</p>
<p>    $sql="SELECT ID FROM wp_users WHERE user_login LIKE '$user_login'";<br />
    $query=mysql_query($sql);<br />
    $resultArray=mysql_fetch_array($query);<br />
    $user_id=$resultArray[ID];</p>
<p>} else {</p>
<p>    // The user is not logged in so do something else</p>
<p>}<br />
?></code></p>
<p>That should work.</p>
]]></content:encoded>
			<wfw:commentRss>http://lacquerhead.ca/2009/07/getting-other-applications-to-work-with-wordpress-users/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

