<?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>MHough &#187; Web Design</title>
	<atom:link href="http://mhough.com/category/web-design/feed" rel="self" type="application/rss+xml" />
	<link>http://mhough.com</link>
	<description>You know yo ass is doomed</description>
	<lastBuildDate>Fri, 13 Aug 2010 17:58:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9-beta-2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>New Image Rotator WordPress plugin released!</title>
		<link>http://mhough.com/web-design/2008/new-image-rotator-wordpress-plugin-released</link>
		<comments>http://mhough.com/web-design/2008/new-image-rotator-wordpress-plugin-released#comments</comments>
		<pubDate>Thu, 21 Aug 2008 22:29:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://mhough.com/web-design/2008/new-image-rotator-wordpress-plugin-released/</guid>
		<description><![CDATA[I’m proud to release my newest plugin for Wordpress titled “Image Rotator Pro”. What does it do? It adds images to your blog that will rotate based on 7 different time options.
 Features are as follows:

Rotates the images based on 7 different time variables
You can upload and delete directly from the admin options page
You can [...]]]></description>
			<content:encoded><![CDATA[<p>I’m proud to release my newest plugin for Wordpress titled “Image Rotator Pro”. What does it do? It adds images to your blog that will rotate based on 7 different time options.</p>
<p> Features are as follows:</p>
<ul>
<li>Rotates the images based on 7 different time variables</li>
<li>You can upload and delete directly from the admin options page</li>
<li>You can link the images to any URL you specify</li>
<li>No limit to the number of pictures</li>
<li>You can style the CSS directly from the admin options pages</li>
<li>A total of 5 sections, which can be turned on and off, give you the flexibility to add multiple rotating sections. Each section will rotate according to it’s own schedule</li>
<li>File types supported: .gif, .jpg, .png, .tiff, .tif, .jpeg, .raw, .bmp, .ppm, .pgm, .pbm, .pnm, .cgm, .svg, .psd, .psp, .ai, .drw, .dxf, .eps, .indd, .mng, .pct, .pdf, .ps, .svg, .flv</li>
</ul>
<p>You can go download it here: <a href="http://wpimagerotator.com/image-rotator-plugin/">WPImageRotator.com</a></p>
<p>
And here&#8217;s a video tutorial of how to install it and what it can do&#8230;<br />
<embed id="VideoPlayback" style="width:449px;height:366px" allowFullScreen="true" src="http://video.google.com/googleplayer.swf?docid=5038055594981621603&#038;hl=en&#038;fs=true" type="application/x-shockwave-flash"> </embed></p>
]]></content:encoded>
			<wfw:commentRss>http://mhough.com/web-design/2008/new-image-rotator-wordpress-plugin-released/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New site launched!</title>
		<link>http://mhough.com/web-design/2008/new-site-launched</link>
		<comments>http://mhough.com/web-design/2008/new-site-launched#comments</comments>
		<pubDate>Thu, 31 Jul 2008 03:57:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://mhough.com/web-design/2008/new-site-launched/</guid>
		<description><![CDATA[I launched a new website called WPImageRotator.com. The website&#8217;s sole purpose is to house the Header Image Rotator plugin for WordPress. It was becoming increasingly difficult to manage the traffic, comments, and support questions as the popularity of the plugin grew. Hopefully, this new website will help people use and enjoy the plugin even more. [...]]]></description>
			<content:encoded><![CDATA[<p>I launched a new website called <a href="http://wpimagerotator.com/">WPImageRotator.com</a>. The website&#8217;s sole purpose is to house the Header Image Rotator plugin for WordPress. It was becoming increasingly difficult to manage the traffic, comments, and support questions as the popularity of the plugin grew. Hopefully, this new website will help people use and enjoy the plugin even more. So, if you&#8217;re looking for the plugin, go to <a href="http://wpimagerotator.com/">www.WPImageRotator.com</a> for download. Thanks for stopping by and thanks for supporting the plugin! </p>
]]></content:encoded>
			<wfw:commentRss>http://mhough.com/web-design/2008/new-site-launched/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making custom user roles in Wordpress</title>
		<link>http://mhough.com/web-design/2006/making-custom-user-roles-in-wordpress</link>
		<comments>http://mhough.com/web-design/2006/making-custom-user-roles-in-wordpress#comments</comments>
		<pubDate>Wed, 16 Aug 2006 05:39:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://freestd.net/~matt/mhough/?p=13</guid>
		<description><![CDATA[&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;I finally figured out how to hack the user roles in wordpress to control exactly what they could and couldn&#39;t do. Although the default user roles were adequate, it didn&#39;t provide the type of control I needed. Wordpress 2.0 assigns user roles with an associated user level for backwards compatibility. These access levels are labeled [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I finally figured out how to hack the user roles in wordpress to control exactly what they could and couldn&#39;t do. Although the default user roles were adequate, it didn&#39;t provide the type of control I needed. Wordpress 2.0 assigns user roles with an associated user level for backwards compatibility. These access levels are labeled 0-10; 10 being the highest access level granted.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; So, exactly how do you customize these default user roles? The first thing to do is go to <a href="http://codex.wordpress.org/Roles_and_Capabilities">http://codex.wordpress.org/Roles_and_Capabilities</a> and read the user level vs. role conversion details and brush up on the different user roles.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next, let&#39;s familiarize ourselves with exactly what happens when a user logs in to Wordpress. This is a very obtuse and basic overview of the process; please don&#39;t hold me accountable for details. When a user logs in they are redirected to the admin.php page. Once they enter their id and password admin.php calls other php files to check the user roles then calls menu.php to build the admin page and menu. The menu is built based on access levels (0-10). So if your profile is set as a level 7 and the &quot;Write Page&quot; button is set with a level 8; you can&#39;t see it. In a nutshell, we are going to alter this menu.php document to give us the custom access we want. Let&#39;s get busy and start coding!</p>
<p>Step 1: Go to your Wordpress root, then \wp-admin\menu.php. Open it in the editor of your choice.</p>
<p>Step 2: Now edit any menu item or sub-menu item according to different user levels. See below for my example.</p>
<p>Example: I had a user setup as&nbsp;with the role of&nbsp;&quot;Editor&quot;, but, due to a custom Wordpress build I did not want the user creating, editing, or managing pages or categories. So I found the items I wanted to edit&#8230;</p>
<ul>
<li><font color="#003399">$submenu[&#39;post.php&#39;][10] = array(__(&#39;Write Page&#39;), &lsquo;edit_pages&#39;, &lsquo;page-new.php&#39;);</font></li>
<li><font color="#003399">$submenu[&#39;edit.php&#39;][15] = array(__(&#39;Categories&#39;), &lsquo;manage_categories&#39;, &lsquo;categories.php&#39;)</font></li>
</ul>
<p>Since the default Editor role has an access level of 7, I needed to change the level of these sub-menu items to 8 by adding the following lines of code:</p>
<ul>
<li><font color="#003399">$submenu[&#39;post.php&#39;][10] = array(__(&#39;Write Page&#39;), <font color="#ff0000">8,</font> &lsquo;edit_pages&#39;, &lsquo;page-new.php&#39;);</font></li>
<li><font color="#003399">$submenu[&#39;edit.php&#39;][15] = array(__(&#39;Categories&#39;), <font color="#ff0000">8,</font> &lsquo;manage_categories&#39;, &lsquo;categories.php&#39;)</font></li>
</ul>
<p>Save the file and copy it over ther old and now when the user logs in they no longer see the &quot;Write Page&quot;, &quot;Manage Page&quot;, or any Categories menu items. All done!</p>
<p><!--  				 		 				--></p>
]]></content:encoded>
			<wfw:commentRss>http://mhough.com/web-design/2006/making-custom-user-roles-in-wordpress/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
