<?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>Emmense Technologies, LLC - WordPress Consulting</title>
	<atom:link href="http://emmense.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://emmense.com</link>
	<description>Just another Emmense.com weblog</description>
	<lastBuildDate>Wed, 25 Apr 2012 17:08:03 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-beta3-20582</generator>
		<item>
		<title>Facebook HipHop and WordPress</title>
		<link>http://emmense.com/blog/2010/02/02/facebook-hiphop-and-wordpress/</link>
		<comments>http://emmense.com/blog/2010/02/02/facebook-hiphop-and-wordpress/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 18:38:24 +0000</pubDate>
		<dc:creator>Aaron Brazell</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[hiphop]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://emmense.com/?p=260</guid>
		<description><![CDATA[By now, the news has hit the street about Facebook&#8217;s new PHP pseudo-compiler technology that is looking set to change the PHP world once again. It is called HipHop for PHP. Here at Emmense, we build on PHP and more specifically, we build on WordPress. The PHP community as a whole continues to innovate the [...]]]></description>
			<content:encoded><![CDATA[<p>By now, the news has hit the street about Facebook&#8217;s new PHP pseudo-compiler technology that is looking set to change the PHP world once again. It is called <a href="http://developers.facebook.com/news.php?blog=1&amp;story=358">HipHop for PHP</a>.</p>
<p>Here at Emmense, we build on PHP and more specifically, we build on <a href="http://wordpress.org">WordPress</a>. The PHP community as a whole continues to innovate the language and Facebook has been a longstanding member of that community. WordPress stands on the shoulders who have gone before, and there are certainly instances of large-scale installs of WordPress that could stand to use some acceration.</p>
<p>It is our intention, here at Emmense, to support the Facebook HipHop methodology where appropriate. We will be exploring the use and implementation of this technology in the days and weeks to come and will be working to build solutions that leverage it in the WordPress world for our clients. Where possible, our work will be conributed back to the WordPress core where appropriate.</p>
<p>While we expect that many more service providers will likely leverage this technology, we want to continue to lead in the WordPress community in an ever-open exchange of ideas between the <a href="http://technosailor.com/2009/12/03/php-doesnt-do-wordpress-and-wordpress-doesnt-do-php/">PHP and WordPress communities</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://emmense.com/blog/2010/02/02/facebook-hiphop-and-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SSHKey Management Made Easy</title>
		<link>http://emmense.com/blog/2009/12/15/sshkey-management-made-easy/</link>
		<comments>http://emmense.com/blog/2009/12/15/sshkey-management-made-easy/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 18:02:41 +0000</pubDate>
		<dc:creator>Aaron Brazell</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[dsa]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sshkeys]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://emmense.com/?p=229</guid>
		<description><![CDATA[I&#8217;ve been working with Linux for years now, and one of the main things you learn early on is that it&#8217;s better to use an SSHKey than it is to use a password. It gets confusing to some people (including myself), sometimes, where things are supposed to go to make it simple to do password-less [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working with Linux for years now, and one of the main things you learn early on is that it&#8217;s better to use an SSHKey than it is to use a password. It gets confusing to some people (including myself), sometimes, where things are supposed to go to make it simple to do password-less entry into a server.</p>
<p>I started using this script in 2007 and have kept it around and use it regularly (whenever I need to log on to other servers other than my own). It was originally somewhere on the internet, and I&#8217;ve taken it and modified it further.</p>
<p>Make sure this script is executable. It won&#8217;t work on Windows since Microsoft still hasn&#8217;t introduced native SSH. But it will work on Mac OS X or Linux variants.</p>
<div class="codecolorer-container bash mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:500px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#!/bin/sh</span><br />
<br />
<span style="color: #007800;">KEY</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$HOME</span>/.ssh/id_dsa.pub&quot;</span><br />
<br />
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #660033;">-f</span> ~<span style="color: #000000; font-weight: bold;">/</span>.ssh<span style="color: #000000; font-weight: bold;">/</span>id_dsa.pub <span style="color: #7a0874; font-weight: bold;">&#93;</span>;<span style="color: #000000; font-weight: bold;">then</span><br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;private key not found at <span style="color: #007800;">$KEY</span>&quot;</span><br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;* please create it with &quot;</span><span style="color: #c20cb9; font-weight: bold;">ssh-keygen</span> <span style="color: #660033;">-t</span> dsa<span style="color: #ff0000;">&quot; *&quot;</span><br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;* to login to the remote host without a password, don't give the key you create with ssh-keygen a password! *&quot;</span><br />
<span style="color: #7a0874; font-weight: bold;">exit</span><br />
<span style="color: #000000; font-weight: bold;">fi</span><br />
<br />
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-z</span> <span style="color: #007800;">$1</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>;<span style="color: #000000; font-weight: bold;">then</span><br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Please specify user@host.tld as the first switch to this script&quot;</span><br />
<span style="color: #7a0874; font-weight: bold;">exit</span><br />
<span style="color: #000000; font-weight: bold;">fi</span><br />
<br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Putting your key on $1... &quot;</span><br />
<br />
<span style="color: #007800;">KEYCODE</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #007800;">$KEY</span><span style="color: #000000; font-weight: bold;">`</span><br />
<span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #660033;">-q</span> <span style="color: #007800;">$1</span> <span style="color: #ff0000;">&quot;mkdir ~/.ssh 2&amp;gt;/dev/null; chmod 700 ~/.ssh; echo &quot;</span><span style="color: #007800;">$KEYCODE</span><span style="color: #ff0000;">&quot; &amp;gt;&amp;gt; ~/.ssh/authorized_keys; chmod 644 ~/.ssh/authorized_keys&quot;</span><br />
<br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;done!&quot;</span></div></td></tr></tbody></table></div>
<p>It is invoked simply by typing:</p>
<div class="codecolorer-container bash mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666;">ncc-1701$ </span>.<span style="color: #000000; font-weight: bold;">/</span>do_sshkeys.sh sshuser<span style="color: #000000; font-weight: bold;">@</span>sshhost.tld</div></td></tr></tbody></table></div>
<p>Clearly, substitute sshuser with your username and sshhost.tld with your IP address or servername. (Also, ncc-1701$ is my command prompt &#8211; don&#8217;t type that) You&#8217;ll have to enter the password the first time, then the script will take your DSA public key and place it in the appropriate place on the remote server. Logout and try logging in normally and, if all goes well, you&#8217;ll login without having to enter your password.</p>
]]></content:encoded>
			<wfw:commentRss>http://emmense.com/blog/2009/12/15/sshkey-management-made-easy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Preset Options Plugin</title>
		<link>http://emmense.com/blog/2009/07/11/wordpress-preset-options-plugin/</link>
		<comments>http://emmense.com/blog/2009/07/11/wordpress-preset-options-plugin/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 16:29:17 +0000</pubDate>
		<dc:creator>Aaron Brazell</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[b5media]]></category>
		<category><![CDATA[mu plugins]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress mu]]></category>
		<category><![CDATA[wpmu]]></category>

		<guid isPermaLink="false">http://emmense.com/?p=221</guid>
		<description><![CDATA[Late yesterday evening, my friend @immunity pointed me to Dan Gilmore&#8217;s post about hacking the database for WordPress MU to manually set options across a variety of blogs. @immunity figured there must be a better way and, indeed, there is. In fact, I had written some code while at b5media which just did this. Because [...]]]></description>
			<content:encoded><![CDATA[<p>Late yesterday evening, my friend <a href="http://twitter.com/immunity">@immunity</a> pointed me to <a href="http://www.dangilmore.com/?p=84">Dan Gilmore&#8217;s post about hacking the database for WordPress MU</a> to manually set options across a variety of blogs. @immunity figured there must be a better way and, indeed, there is.</p>
<p>In fact, I had written some code while at <a href="http://b5media.com">b5media</a> which just did this. Because I am a persistent packrat, I still had that plugin and got the permission from b5media to release the very simple plugin publicly.</p>
<p>This plugin is perfect for WordPress MU administrators who want to exercise some control, whether for QA or otherwise, over the WordPress blogs on the system. Drop this plugin into the mu-plugins folder and it will be universally applied.</p>
<p>Couple things to think about&#8230; as for now, with this cleaned up but made-for-b5media plugin, there is no admin interface. You do have to edit the file manually to preset the options you want and you might have to comb your database options table to find the names of certain options, etc. This is not a braindead stupid plugin, but for those who are savvy enough to be administrators, it shouldn&#8217;t be too difficult to figure out via the example usage in the plugin.</p>
<div class="codecolorer-container php mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:500px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br />47<br />48<br />49<br />50<br />51<br />52<br />53<br />54<br />55<br />56<br />57<br />58<br />59<br />60<br />61<br />62<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>?php<br />
<span style="color: #666666; font-style: italic;">/*<br />
Plugin Name: Preset Options<br />
Plugin URI: #<br />
Description: A plugin created when I was working for &lt;a href=&quot;http://b5media.com&quot;&gt;b5media&lt;/a&gt; and released, with permission, under GPLv2. The plugin provides two functions that will set any blog option as defined and unchangeable. Perfect for WPMU.<br />
Author: Aaron Brazell<br />
Version: 1.0<br />
Author URI: http://technosailor.com<br />
*/</span><br />
<br />
<span style="color: #666666; font-style: italic;">/*<br />
Example Usage:<br />
<br />
Turn off Smilies across the board:<br />
po_hardcode_option('use_smilies', '0');<br />
<br />
Remove the lifestream plugin from the list of active plugins.<br />
po_hardcore_option_serialized('active_plugins', array('lifestream/lifestream.php'), false, true );<br />
*/</span><br />
<br />
<span style="color: #009933; font-style: italic;">/**<br />
&nbsp;* Function takes two arguments and is meant for setting a setting for a single string/boolean option. It is not meant for serialized data.<br />
&nbsp;**/</span><br />
<span style="color: #000000; font-weight: bold;">function</span> po_hardcode_option<span style="color: #009900;">&#40;</span><span style="color: #000088;">$name</span><span style="color: #339933;">,</span> <span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'pre_option_'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$name</span><span style="color: #339933;">,</span> <a href="http://www.php.net/create_function"><span style="color: #990000;">create_function</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'$a'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'return &quot;'</span> <span style="color: #339933;">.</span> <a href="http://www.php.net/addslashes"><span style="color: #990000;">addslashes</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot;;'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #009933; font-style: italic;">/**<br />
&nbsp;* Function takes two required arguments, the name of an option and an array of key/value array data. Two optional arguments are boolean<br />
&nbsp;*/</span><br />
<span style="color: #000000; font-weight: bold;">function</span> po_hardcode_option_serialized<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$setting</span><span style="color: #339933;">,</span> <span style="color: #000088;">$options</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$removekey</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">,</span> <span style="color: #000088;">$removevalue</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span> <span style="color: #009900;">&#41;</span><br />
<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span><a href="http://www.php.net/empty"><span style="color: #990000;">empty</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$options</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$exist_options</span> <span style="color: #339933;">=</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #000088;">$setting</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$options</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$k</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #000088;">$v</span> <span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$removevalue</span> <span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$key</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array_search"><span style="color: #990000;">array_search</span></a><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$v</span><span style="color: #339933;">,</span> <span style="color: #000088;">$exist_options</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$key</span> <span style="color: #339933;">!=</span> <span style="color: #009900; font-weight: bold;">null</span> <span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/unset"><span style="color: #990000;">unset</span></a><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$exist_options</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$key</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> <a href="http://www.php.net/array_key_exists"><span style="color: #990000;">array_key_exists</span></a><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$k</span><span style="color: #339933;">,</span> <span style="color: #000088;">$exist_options</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #339933;">!</span><a href="http://www.php.net/is_int"><span style="color: #990000;">is_int</span></a><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$k</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$removekey</span> <span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/unset"><span style="color: #990000;">unset</span></a><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$exist_options</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$k</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">else</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$exist_options</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$k</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$v</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'pre_option_'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$setting</span><span style="color: #339933;">,</span> change_option_array<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$setting</span><span style="color: #339933;">,</span> <span style="color: #000088;">$exist_options</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #000000; font-weight: bold;">function</span> change_option_array<span style="color: #009900;">&#40;</span><span style="color: #000088;">$setting</span><span style="color: #339933;">,</span> <span style="color: #000088;">$array</span><span style="color: #009900;">&#41;</span><br />
<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; update_option<span style="color: #009900;">&#40;</span><span style="color: #000088;">$setting</span><span style="color: #339933;">,</span> <span style="color: #000088;">$array</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
?<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p><a href="http://emmense.com/downloads/preset-options.php.zip">Download the plugin here</a>.</p>
<p>So Dan, you would have just added the following line to the bottom of the plugin and would have been set. <img src='http://emmense.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<div class="codecolorer-container php mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">po_hardcode_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'comment_registration'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://emmense.com/blog/2009/07/11/wordpress-preset-options-plugin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Safeguard (OFFER)</title>
		<link>http://emmense.com/blog/2009/06/10/wordpress-safeguard-offer/</link>
		<comments>http://emmense.com/blog/2009/06/10/wordpress-safeguard-offer/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 22:10:43 +0000</pubDate>
		<dc:creator>Aaron Brazell</dc:creator>
				<category><![CDATA[Product News]]></category>

		<guid isPermaLink="false">http://emmense.com/?p=215</guid>
		<description><![CDATA[WordPress is such a wonderful platform that offers so many things. As a long time contributor to the community and working with a wide array of clients from enterprise software companies like DataDirect Technologies to individual brands like KevinMD and Thomas Hawk, it&#8217;s clear that, the demand for WordPress and WordPress-related services continues to go [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://emmense.com/wp-content/uploads/wordpress-logo-notext-rgb-150x150.png" alt="wordpress-logo-notext-rgb" width="150" height="150" class="alignright size-thumbnail wp-image-217" />WordPress is such a wonderful platform that offers so many things. As a long time contributor to the community and working with a wide array of clients from enterprise software companies like <a href="http://blogs.datadirect.com">DataDirect Technologies</a> to individual brands like <a href="http://kevinmd.com">KevinMD</a> and <a href="http://thomashawk.com">Thomas Hawk</a>, it&#8217;s clear that, the demand for WordPress and WordPress-related services continues to go up.</p>
<p>I am preparing to launch an initiative that will give the WordPress blogger the peace of mind they need to sleep at night. Nevermind worrying about upgrading, fixing hacked files or making tweaks to your theme. Instead, for a monthly rate, you can know that you can have Emmense Technologies handle this business for you.</p>
<p>While I am not prepared to release all the details of the WordPress Safeguard program yet, I will say that the service will include (at no additional cost), upgrades to your WordPress platform as well as monitoring of core files to ensure that nothing goes wrong.</p>
<p>If you&#8217;re interested in knowing more about this offer, email me at <a href="mailto:aaron+wpsg@technosailor.com">aaron+wpsg@technosailor.com</a>. In the meantime, stay tuned here for more announcements of the program.</p>
]]></content:encoded>
			<wfw:commentRss>http://emmense.com/blog/2009/06/10/wordpress-safeguard-offer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

