<?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>Inspired By Wordpress &#187; Tutorial</title>
	<atom:link href="http://inspiredbywordpress.co.uk/category/tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://inspiredbywordpress.co.uk</link>
	<description>Wordpress Inspiration, Tips, Tricks, and Hacks</description>
	<lastBuildDate>Thu, 08 Apr 2010 21:32:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>How To Find Images For Your Blog Posts</title>
		<link>http://inspiredbywordpress.co.uk/2009/12/how-to-find-images-for-your-blog-posts/</link>
		<comments>http://inspiredbywordpress.co.uk/2009/12/how-to-find-images-for-your-blog-posts/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 15:08:39 +0000</pubDate>
		<dc:creator>Daniel Groves</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[image]]></category>

		<guid isPermaLink="false">http://inspiredbywordpress.co.uk/?p=434</guid>
		<description><![CDATA[We all need to find the best possible image for our next big Blog post, but this is often easier said than done.  I has  a brainwave earlier today, something that thousands of bloggers have been doing for years, nearly since time began.  So, what is this brain wave?  It&#8217;s simple.  Flickr. This is not [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_435" class="wp-caption alignnone" style="width: 410px"><a href="http://www.flickr.com/photos/mariareyesmcdavis/2890706354/"><img class="size-full wp-image-435 " title="Pen on pad" src="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/12/2890706354_7b38fc1268.jpg" alt="" width="400" height="300" /></a><p class="wp-caption-text">Image by websuccessdiva</p></div>
<p>We all need to find the best possible image for our next big Blog post, but this is often easier said than done.  I has  a brainwave earlier today, something that thousands of bloggers have been doing for years, nearly since time began.  So, what is this brain wave?  It&#8217;s simple.  <a title="Flickr" href="http://flickr.com" target="_blank">Flickr</a>.</p>
<p>This is not fool-proof.  There are certain obligations that you have to make, for example you need to watch the copyright.  But Flickr certainly does make these things easy to manage.</p>
<p><span id="more-434"></span></p>
<h3>Copyright</h3>
<p>Where ever you get your images from, copyright is a huge issue on the web.  It doesn&#8217;t matter if you steal a photograph from an Australian photographer or and English photographer.  Either way they can find your website as easily as you found there picture, and when they do they will kick up a fuss when they find out that you have been stealing their photo&#8217;s.</p>
<p>In order to get around the issue of copyright we must use the Flickr copyright system.  This is called <a href="http://www.flickr.com/creativecommons/">Creative Commons</a>.  The Creative Commons section of the Flickr website explains all of the different copyright categories of the various images, as well as allowing you to search in each individual category.  I won&#8217;t bother explaining all of these here because the guys over at Flickr really have done a good job as making everything clear.</p>
<h3>Searching Flickr</h3>
<p>For all example here I will be using the Attribution License category.  Go ahead and click the &#8220;See More&#8221; link.  The page that you have just opened only shows content that belongs in the Attribution License category.  This allows you to search this category for more images.</p>
<p>Think about the subject that you are writing about.  Just one or two keywords will do.  Search for them.  You will be surprised at how quickly you can find appropriate images for your blog postings.</p>
<h3>Summery</h3>
<p>All in all I think that once you know how to use Flickr it is the best image source at any bloggers disposal.  It is a quick, easy and copyright safe way of finding images.  If you stick to the <a href="http://www.flickr.com/creativecommons/by-2.0/" target="_blank">Attribution License</a> just make sure that you give credit and link back to the user profile that you took the image from and you will be fine.</p>
<p>Why didn&#8217;t I discover this sooner?</p>
]]></content:encoded>
			<wfw:commentRss>http://inspiredbywordpress.co.uk/2009/12/how-to-find-images-for-your-blog-posts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress User Directory: Part Three</title>
		<link>http://inspiredbywordpress.co.uk/2009/08/wordpress-user-directory-part-3/</link>
		<comments>http://inspiredbywordpress.co.uk/2009/08/wordpress-user-directory-part-3/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 18:58:23 +0000</pubDate>
		<dc:creator>Daniel Groves</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[wordpress user directory]]></category>

		<guid isPermaLink="false">http://inspiredbywordpress.co.uk/?p=129</guid>
		<description><![CDATA[It&#8217;s the final day of my guide on how to turn Wordpress into your own user directory.  I&#8217;ll start today by recapping what we have done so far. Created our profile page templates Added custom fields Installed the correct plug-ins for the basic settings Hidden un-used fields. If you have missed any of the days, [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s the final day of my guide on how to turn Wordpress into your own user directory.  I&#8217;ll start today by recapping what we have done so far.</p>
<ul>
<li>Created our profile page templates</li>
<li>Added custom fields</li>
<li>Installed the correct plug-ins for the basic settings</li>
<li>Hidden un-used fields.</li>
</ul>
<p>If you have missed any of the days, or wan to recapp, you should read the following posts:</p>
<ul>
<li><a style="color: #2089cc; text-decoration: underline; outline-style: none; outline-width: initial; outline-color: initial;" href="http://inspiredbywordpress.co.uk/2009/08/wordpress-user-directory-part-1">Part One: Creating the Profile pages</a></li>
<li><a style="color: #2089cc; text-decoration: underline; outline-style: none; outline-width: initial; outline-color: initial;" href="http://inspiredbywordpress.co.uk/2009/08/wordpress-user-directory-part-1"></a><a style="color: #2089cc; text-decoration: underline; outline-style: none; outline-width: initial; outline-color: initial;" href="http://inspiredbywordpress.co.uk/2009/08/wordpress-user-directory-part-2">Part Two: Adding Custom Fields</a></li>
<li><a href="http://inspiredbywordpress.co.uk/2009/08/wordpress-user-directory-part-3">Part Three: Listing the users, and optimisation</a></li>
</ul>
<p>So, we know where we left off, but what are we going to cover?  Today we will try to streamline and optimise the whole process, creating a minimal maintenance set-up.  In order to do this we will:</p>
<ul>
<li>Change the URL of the profiles</li>
<li>List all of the users on one page</li>
<li>Hide the Dashboard</li>
<li>Have an auto-mated email send to new members</li>
<li>Generate profiles for people who have not posted</li>
<li>Get more control over what users can do</li>
<li>Track what users do</li>
</ul>
<p><span id="more-129"></span></p>
<h3>Change the URL of user profiles</h3>
<p>Changing the URL of the author profiles is a very easy job, one which will take us only a few seconds.  Simply download and install the <a href="http://wordpress.org/extend/plugins/custom-author-permalink/">Customer Author Permalink</a> plug-in from the Wordpress repository.  Once you have done this go to Settings &#8211;&gt; Author Permalink and change the Permalink to whatever you like.  If you were to change the permalink to member as I have the admin profile would then be located at [yoururl]/member/admin.</p>
<div id="attachment_130" class="wp-caption alignnone" style="width: 310px"><a href="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/Author-Permalink.png"><img class="size-medium wp-image-130" title="Author Permalink" src="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/Author-Permalink-300x73.png" alt="The Custom Author Permalink Settings Page" width="300" height="73" /></a><p class="wp-caption-text">The Custom Author Permalink Settings Page</p></div>
<h3>List Authors on a Page</h3>
<p>It does seem a little pointless having gone to all of this work if we are not going list all of the member on one page and then link to their profiles.  Don&#8217;t forget that only users that have posted a post on the Blog and made a page will appear, but don&#8217;t worry we will solve this problem later on.  The first thing we need to do is create the file, in order to do this make a copy of page.php from your theme folder and add the following right at the top of the file.<br />
<code lang="php"><br />
<?php<br />
/*<br />
Template Name: List of Authors<br />
*/<br />
?><br />
</code><br />
This simply declares the file as being a custom page template called &#8220;List of Authors&#8221;, giving us the ability to create a page using this template that will list all of our authors.  For the next stage I have added two separate code snippets below.  Simply add the second snippet just before the first, the first should already exist in your new file as a line of code.<br />
<code lang="php"><br />
<?php endwhile; else: ?></p>
<p></code><br />
<code lang="php"><br />
<?php wp_list_authors('show_fullname=1'); ?><br />
</code><br />
Now save this file as authorslist.php in your theme folder.  You can now login to your Wordpress control panel and add a new page, using this newly created page template.  In order to do so navigate to the new-page panel and then select the template as shown below from inside the &#8220;Attributes&#8221; box.</p>
<div id="attachment_156" class="wp-caption alignnone" style="width: 287px"><a href="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/authors.png"><img class="size-full wp-image-156" title="authors" src="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/authors.png" alt="Selecting our new authors template" width="277" height="136" /></a><p class="wp-caption-text">Selecting our new authors template</p></div>
<h3>Role Manager</h3>
<p><a href="http://sourceforge.net/projects/role-manager/" target="_blank">Role Manager</a> is another good plug-in to play around with if you are going to allow members of the public to create an account with your website.  This plug-in will allow you to customise what the users can do.  It allows to to take away and add user levels, each with it&#8217;s own unique abilities to do various things.  On top of this it will also allow you to customise the settings for individual users.</p>
<h3>Show Authors Without Posts</h3>
<p>In order to show all users, you will need to install the &#8220;<a href="http://wordpress.org/extend/plugins/show-authors-without-posts/" target="_blank">Show Authors Without Posts</a>&#8221; plug-in.  This plug-in is not intend for quite the job that we are going to use it for, so once you have installed it you will need to change the default role for new member to author, and then use the Role Manager plug-in (detail below) in order to change what an author can do.  </p>
<h3>Audit Trail</h3>
<p><a href="http://wordpress.org/extend/plugins/audit-trail/" target="_blank">Audit Trial</a> is a very useful plug-in for some people, it will track exactly what every logged in user does and when they do it allowing the administrator to trace every move of the logged in users.</p>
<blockquote><p>Audit Trail is a plugin to keep track of what is going on inside your blog. It does this by recording certain actions (such as who logged in and when) and storing this information in the form of a log. Not only that but it records the full contents of posts (and pages) and allows you to restore a post to a previous version at any time.</p>
<p>To summarize:</p>
<ul>
<li>Log of user actions inside your blog &#8211; useful for finding out who did what in a multi-user system</li>
<li>Post/page revisions and restorations &#8211; every change to a post or page is recorded and can be instantly restored to a previous version</li>
<li>Differences are shown graphically</li>
<li>Extensible, allowing other plugins the ability to add and display items in the Audit Trail</li>
<li>Ability to track registered user page visits</li>
<li>Fully localized</li>
</ul>
</blockquote>
<h3>Conclusion</h3>
<p>Now, you should have a fully functioning Wordpress powered user directory.  This is all good, but you are now building you own online community, and so there are a few things you should consider.  For example, how are you going to back-up your database?  You lose that and you have lost your entire community.  You should should also monitor the activity of other <em>all</em> users.  You need to know which pages are the most popular, so you need a statistics plug-in like <a href="http://inspiredbywordpress.co.uk/2009/08/google-analyticator/" target="_blank">the one I reviewed the other day</a>.</p>
<p>Further, what about SEO (Search Engine Optimisation).  How are you going to publicise you directory?  How are you going to develop it?  These are all important thing to consider.</p>
<p>If you need any help or support with anything in here please feel free to comment below and I will do my best to get back to you as quickly as possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://inspiredbywordpress.co.uk/2009/08/wordpress-user-directory-part-3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Wordpress User Directory: Part Two</title>
		<link>http://inspiredbywordpress.co.uk/2009/08/wordpress-user-directory-part-2/</link>
		<comments>http://inspiredbywordpress.co.uk/2009/08/wordpress-user-directory-part-2/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 12:00:53 +0000</pubDate>
		<dc:creator>Daniel Groves</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[wordpress user directory]]></category>

		<guid isPermaLink="false">http://inspiredbywordpress.co.uk/?p=104</guid>
		<description><![CDATA[It&#8217;s now day two of the Wordpress user directory tutorial, today we will be adding our own custom fields to the users profile pages.  We will also turn the Website URL into a link, and turn the email address into a link for those of your who wish to keep it on your profile page. [...]]]></description>
			<content:encoded><![CDATA[<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; line-height: 24px; padding: 0px;">It&#8217;s now day two of the Wordpress user directory tutorial, today we will be adding our own custom fields to the users profile pages.  We will also turn the Website URL into a link, and turn the email address into a link for those of your who wish to keep it on your profile page.</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; line-height: 24px; padding: 0px;">This tutorial will be over multiple parts (that&#8217;s right, it’s our first series). The different parts are detail below.</p>
<ul style="list-style-type: none; margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; line-height: 0px; padding: 0px;">
<li style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 18px; line-height: 19px; zoom: 1; background-image: url(http://inspiredbywordpress.co.uk/wp-content/themes/monochrome/img/bullet1.gif); background-repeat: no-repeat; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: initial; background-position: 3px 7px;"><a style="color: #2089cc; text-decoration: underline; outline-style: none; outline-width: initial; outline-color: initial;" href="http://inspiredbywordpress.co.uk/2009/08/wordpress-user-directory-part-1">Part One: Creating the Profile pages</a></li>
<li style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 18px; line-height: 19px; zoom: 1; background-image: url(http://inspiredbywordpress.co.uk/wp-content/themes/monochrome/img/bullet1.gif); background-repeat: no-repeat; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: initial; background-position: 3px 7px;"><a href="http://inspiredbywordpress.co.uk/2009/08/wordpress-user-directory-part-2">Part Two: Adding Custom Fields</a></li>
<li style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 18px; line-height: 19px; zoom: 1; background-image: url(http://inspiredbywordpress.co.uk/wp-content/themes/monochrome/img/bullet1.gif); background-repeat: no-repeat; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: initial; background-position: 3px 7px;">Part Three: Listing the users, and optimisation</li>
</ul>
<p>So, what additional fields will we be adding?  I think that their is quite a lot missing so, we will add those listed below:</p>
<ul>
<li>Twitter</li>
<li>Linked In</li>
<li>Website Name (we&#8217;ll turn this into a link)</li>
<li>A Profile Picture</li>
<li>Posts they have written on the website</li>
</ul>
<p>On top of this we will also make any field that the user has not filled out hide themselves by default, this will make the profile page feel much more customized than it may otherwise feel.</p>
<p><span id="more-104"></span></p>
<h3>Creating the custom fields</h3>
<p>Now I have already talked you through doing this once already, but I will walk you through doing it with all of the above.</p>
<blockquote>
<ul style="list-style-type: none; margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; line-height: 0px; padding: 0px;">
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; line-height: 24px; padding: 0px;">Now, you can navigate to Settings –&gt; Register Plus in Wordpress in order to access the control panel for the plug-in.  You should now work through this page and customise the settings as you wish, the settings will change what the user can/has to do on the Wordpress sign-up page.</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; line-height: 24px; padding: 0px;">When you get to the “Add User Defined Fields” section you will need to be careful, the first input field should be the same as the name of the field all in lowercase, and the second should be the name of the field.  The name of the field can be whatever you like, but should be linked to what you expect the user to do with it, for example I added a custom field named “Twitter” where I wanted people to input there twitter user-names.  In the next box (the drop-down one) you can choose what type of field you want it to be.</p>
</ul>
</blockquote>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; line-height: 24px; padding: 0px;">So, now we will do one together.  We will start with Twitter, if you don&#8217;t already have a Twitter account I would suggest that you start by <a href="https://twitter.com/signup" target="_blank">going over to Twitter</a> and getting one for free.</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; line-height: 24px; padding: 0px;">To start navigate to the Register Plus page under Settings in your Wordpress control panel.  Now, scroll down to the User Defined Fields section, here you will see a sub-section labelled Custom Field, in the first box type &#8220;twitter&#8221; all in lower-case, and in the second box type &#8220;Twitter Username&#8221;.  After this make sure &#8220;Text Field&#8221; is selected in the drop-down box and then tick the &#8220;Add Registration Field&#8221; and &#8220;Add Profile Field&#8221; boxes.  Finally scroll box to the bottom of the page and click &#8220;Save Changes&#8221;.  That&#8217;s it, you have created you first custom field.  The custom fields should now look something like this.</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; line-height: 24px; padding: 0px;">
<div id="attachment_109" class="wp-caption alignnone" style="width: 310px"><a href="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/customFieldRegisterPlus.png"><img class="size-medium wp-image-109" title="customFieldRegisterPlus" src="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/customFieldRegisterPlus-300x16.png" alt="What your &quot;Twitter&quot; custom field should look like" width="300" height="16" /></a><p class="wp-caption-text">What your &quot;Twitter&quot; custom field should look like</p></div>
<p>Now try to repeat this process for the other fields, using the credentials shown in the picture below.  For now we will skips the recent posts and profile picture sections as they are done differently.  In order to add more fields you need to click the little green plus icon by the field that you have already created.</p>
<div id="attachment_112" class="wp-caption alignnone" style="width: 310px"><a href="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/customFieldComplete1.png"><img class="size-medium wp-image-112" title="customFieldComplete" src="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/customFieldComplete1-300x56.png" alt="What you custom fields should look like" width="300" height="56" /></a><p class="wp-caption-text">What your custom fields should look like</p></div>
<h3>Adding your custom fields to the template</h3>
<p>Now, like yesterday this isn&#8217;t as bad as people think it is going to be.  Open author.php again in your text editor and get ready to begin editing it.  We&#8217;ll start by adding the users twitter user-name, and linking it to the users twitter profile underneath the email address.  To do this add the following code, you should know where by now.</p>
<li>Twitter: ID, &#8216;twitter&#8217;);?&gt;</li>
<p>You&#8217;ll notice now that it is exactly the same what we were adding before, except we replace the code between the quotes with the variable we declared in the first box back in the control panels for the Register Plus plug-in.  So, how do we turn this into a link?  Well, we link to twitter.com/ and then the twitter user-name, just I have below.</p>
<li>Twitter: @<a href="http://twitter.com/%3C?php%20echo%20get_usermeta%28$curauth-%3EID,%20%27twitter%27%29;%20?%3E" target="_blank">ID, &#8216;twitter&#8217;);?&gt;</a></li>
<p>OK, twitter done, lets make the name of the user&#8217;s website into a link.</p>
<li>Website: <a href="%3C?php%20echo%20get_usermeta%28$curauth-%3EID,%20%27user_url%27%29;%20?%3E" target="_blank">ID, &#8216;websiteName&#8217;); ?&gt;</a></li>
<p>And then add a new bullet-point for there linked-in profile.</p>
<li>Website: <a href="%3C?php%20echo%20get_usermeta%28$curauth-%3EID,%20%27user_url%27%29;%20?%3E" target="_blank">ID, &#8216;websiteName&#8217;); ?&gt;</a></li>
<h3>Showing Author Posts</h3>
<p>This bit, will be really quite easy.  Go to your server and open archive.php, and then copy everything between:<br />
<code lang="php"></p>
<p></code><br />
and<br />
<code lang="php"></p>
<p></code></p>
<p>Now, paste it between the same two line sin author.php, and your done.</p>
<h3>Making Things Vanish</h3>
<p>So, this is all good and that, but what if someone doesn&#8217;t want to fill out a field?  Well, we need to make it vanish.  For this section I am  going to go through and edit the entire block of code in one go, and then I will explain what I did in a moment.</p>
<p><code lang="php"> $curauth = $wp_query-&gt;get_queried_object();</code></p>
<p>?&gt;</p>
<h2>ID, &#8216;nickname&#8217;); ?&gt;</h2>
<ul>ID, &#8216;websiteName&#8217;); ?&gt;) == &#8221;) {?&gt;</p>
<li>Website: <a href="%3C?php%20echo%20get_usermeta%28$curauth-%3EID,%20%27user_url%27%29;%20?%3E" target="_blank">ID, &#8216;websiteName&#8217;); ?&gt;</a></li>
<p>ID, &#8216;user_email&#8217;) == &#8221;) {?&gt;</p>
<li>Email: ID, &#8216;user_email&#8217;); ?&gt;</li>
<p>ID, &#8216;twitter&#8217;) == &#8221;) {?&gt;</p>
<li>Twitter: @<a href="http://twitter.com/%3C?php%20echo%20get_usermeta%28$curauth-%3EID,%20%27twitter%27%29;?%3E" target="_blank">ID, &#8216;twitter&#8217;);?&gt;</a></li>
<p>ID, &#8216;linkedin&#8217;) == &#8221;) {?&gt;</p>
<li>Linked-in: <a href="%3C?php%20echo%20get_usermeta%28$curauth-%3EID,%20%27linkedin%27%29;%20?%3E" target="_blank">ID, &#8216;linkedin&#8217;); ?&gt;</a><br />
ID, &#8216;aim&#8217;) == &#8221;) {?&gt;</li>
<li>AIM: ID, &#8216;aim&#8217;); ?&gt;</li>
<p>ID, &#8216;yim&#8217;) == &#8221;) {?&gt;</p>
<li>Yahoo: ID, &#8216;yim&#8217;); ?&gt;</li>
<p>ID, &#8216;jabber&#8217;) == &#8221;) {?&gt;</p>
<li>Google Talk/Jabber: ID, &#8216;jabber&#8217;); ?&gt;</li>
<p>ID, &#8216;description&#8217;) == &#8221;) {?&gt;</p>
<li>About: ID, &#8216;description&#8217;); ?&gt;</li>
</ul>
<p>So, what did I do here?  Well, it&#8217;s simple really.  Before every bullet-point I added a PHP if statement, so in simple terms this is what the description one is saying:</p>
<blockquote>
<ul style="list-style-type: none; margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; line-height: 0px; padding: 0px;">
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; line-height: 24px; padding: 0px;">If there is a user description, display this code, otherwise don&#8217;t.</p>
</ul>
</blockquote>
<p>So, what does mine look like?  Well, that what the picture below is of.  Take a look, your should be pretty similar at this time, but style to look like your theme.</p>
<div id="attachment_121" class="wp-caption alignnone" style="width: 249px"><a href="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/Picture-11.png"><img class="size-medium wp-image-121" title="Profile" src="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/Picture-11-239x300.png" alt="The finished article" width="239" height="300" /></a><p class="wp-caption-text">The finished article</p></div>
<h3>Conclusion</h3>
<p>Now you should have a fully working Wordpress profile page, but how you access it?  Simple, go to [yourwordpressurl]/author/[yourusername], and that should land you on your profile page.  If you need any help at all with this tutorial, or Wordpress in general post a comment below and I will get back to you ASAP.</p>
<p>Tomorrow we will be looking at how to optimise the whole user profile, as with the default settings every user has to have made a post to get a profile page.  That is just the start of what we will be looking at though, as I have a lot more lined up as well including controlling what members can do and tracking what they do.</p>
]]></content:encoded>
			<wfw:commentRss>http://inspiredbywordpress.co.uk/2009/08/wordpress-user-directory-part-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Wordpress User Directory: Part One</title>
		<link>http://inspiredbywordpress.co.uk/2009/08/wordpress-user-directory-part-1/</link>
		<comments>http://inspiredbywordpress.co.uk/2009/08/wordpress-user-directory-part-1/#comments</comments>
		<pubDate>Sat, 22 Aug 2009 08:53:50 +0000</pubDate>
		<dc:creator>Daniel Groves</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[wordpress user directory]]></category>

		<guid isPermaLink="false">http://inspiredbywordpress.co.uk/?p=73</guid>
		<description><![CDATA[In this tutorial you will learn how to make your own Wordpress User Directory, from scratch.  I will show you how to do everything from installing the correct plugins to writing the template files.  This is part one of a series.  ]]></description>
			<content:encoded><![CDATA[<p>I have literally spent hours working on this since I decided it had to be done.  I new there had to be a way, but where do you start with this sort of idea?  Frustratingly <a href="http://www.cagintranet.com/archive/the-new-improved-way-to-turn-wordpress-27-into-a-membership-communit/" target="_blank">Chris Cagle</a> beat me to it, but his tutorials are quite hard to follow, so I decided that someone had to explain how it is done set-by-step.  In this tutorial you will learn how to make your own membership directory, from scratch.</p>
<p>This tutorial will be over multiple parts (thats right, it&#8217;s our first series).  The different parts are detail below.  </p>
<ul>
<li><a href="http://inspiredbywordpress.co.uk/2009/08/wordpress-user-directory-part-1">Part One: Creating the Profile pages</a></li>
<li>Part Two: Adding Custom Fields</li>
<li>Part Three: Listing the users, and optimization</li>
</ul>
<h3>What You Will Need</h3>
<p>I could go on all day with plug-ins that will help to optimize this process, but I am going to start with the bare minimum, and then we will build on these over the next few days as we optimize the whole directory into a much more streamlined system.  We will start by building the system off just one plug-in, and then work from there.</p>
<p><span id="more-73"></span></p>
<p>So, I guess you want to know what plug-in this is?  The plug-in is called <a href="http://wordpress.org/extend/plugins/register-plus/" target="_blank">Register Plus</a>.  What does Register Plus do?  It is a plug-in that will simply enable us to customize the registration process in Wordpress.</p>
<p>Additionally, I would advise that you make sure that you are happy with your current Wordpress theme as we will have to edit the core files, but DON&#8217;T PANIC!  It&#8217;s not as bad as it sounds&#8230;. I promise.  Any theme will do, you should still be able to follow the steps here without any problems.</p>
<h3>The (really) easy bit</h3>
<p>As I say, this bit is really quite easy, so I&#8217;m not going to go into much detail here, if you need any extra help just leave a comment below and I will get back to you.  For this bit you need to install the Register Plus plug-in from the Wordpress plug-in repository and ensure you have the theme that you wish to use installed and activated.</p>
<p>Now, you can navigate to Settings &#8211;&gt; Register Plus in Wordpress in order to access the control panel for the plugin.  You should now work through this page and customize the settings as you wish, the settings will change what the user can/has to do on the Wordpress sign-up page.</p>
<p>When you get to the &#8220;Add User Defined Fields&#8221; section you will need to be careful, the first input field should be the same as the name of the field all in lowercase, and the second should be the name of the field.  The name of the field can be whatever you like, but should be linked to what you expect the user to do with it, for example I added a custom field named &#8220;Twitter&#8221; where I wanted people to input there twitter user-names.  In the next box (the drop-down one) you can choose what type of field you want it to be.</p>
<div id="attachment_81" class="wp-caption alignnone" style="width: 310px"><a href="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/twitter_custom_field.png"><img class="size-medium wp-image-81" title="twitter_custom_field" src="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/twitter_custom_field-300x54.png" alt="The &quot;Twitter&quot; custom field that I added" width="300" height="54" /></a><p class="wp-caption-text">The &quot;Twitter&quot; custom field that I added</p></div>
<p>Finally you should tick &#8220;Add Registration Field&#8221; if you want it to appear on the registration page when people register, &#8220;Add Profile Field&#8221; if you want it to appear on their profile page in the Wordpress back-end and Required if you want to <em>have</em> to fill-out the field.</p>
<p>If you want to add more custom fields, click the little plus at the end of the line, then scroll down to the bottom of the page and hit save.</p>
<h3>Editing Author.php</h3>
<p>This is where the fun begins.  You now need to login to your server via FTP, and then navigate to &#8220;[wordpress_root]/wp-content/themes/[your_theme]&#8220;.  Now some of you <em>might</em> have a file named author.php, if you do sorry but I cannot write a tutorial especially for you because they are all different.  So, for you there are two options, delete it and follow this guide or read this guide and try to work out what you can edit via trail and error.  If you need nay help, again just post a comment below.</p>
<p>For the rest of you duplicate the file in your theme called archive.php and rename the new copy to author.php.  Now, open it in a text editor.  The first thing that we need to do is remove the mark-up that is not needed from the file, you should three lines of code that look like those below, but note that it is common to find the first two of these lines on one line.  </p>
<pre name="code" class="php">
&lt;?php if (have_posts()) : &gt;
&lt;?php while ( have_posts() ) : the_post(); &gt;
&lt;?php endwhile; else: &gt;
</pre>
<p>The first thing that you will need to do is delete everything between line one and two and then everything between lines 2 and 3, so the three lines look like the above, do not delete anything outside of these lines as it may effect your theme.  </p>
<p>Now you need to add the following lines of php to the file between line one and two from the above php.  </p>
<p><code lang="php"><br />
&lt;?php</p>
<p>global $wp_query;<br />
$curauth = $wp_query->get_queried_object();</p>
<p>?&gt;<br />
</code></p>
<p>If I&#8217;m honest I believe that that was the hardest part.  Now, we are going to put all of the user data we can into a list on the page, once finished you can go through and delete any information that you don&#8217;t want.  Now, we need to create a bullet-pointed list, and then add our data.  In order to do this add the following directly after the php you just added before.  On top of this we will set the user nickname to the title of the page.  This assumes that your page titles for you theme are level 2 headings.  </p>
<p><code lang="html"><br />
&lt;h2&gt;&lt;/h2&gt;<br />
&lt;ul&gt;<br />
    &lt;li&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
</code></p>
<p>Now we will add (yet more) php that will make a call the user database and pull out the pieces of information that we request.  The first field that I will add is the page title, to do this we will edit the code that we just added.  </p>
<p><code lang="php"><br />
&lt;h2&gt;&lt;?php echo $curauth-&gt;nickname; ?&gt;&lt;/h2&gt;<br />
&lt;ul&gt;<br />
    &lt;li&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
</code></p>
<p>So, what did that bit of markup do? Well, it makes a call to the variable ($curauth) that we declared in the first piece of php we added, which has already fetched an array of all of the user data from the database, we then simply pulled out the correct piece of information.  the word &#8220;echo&#8221; simply tells the php to put the nickname into the html, allowing the browser to render the page normally.  Now, in a list we will add the other variables.  </p>
<p><code lang="php"><br />
	&lt;li&gt;Website: &lt;?php echo get_usermeta($curauth-&gt;ID, 'user_url'); ?&gt;&lt;/li&gt;<br />
	&lt;li&gt;Email:&lt;?php echo get_usermeta($curauth-&gt;ID, 'email'); ?&gt;&lt;/li&gt;<br />
	&lt;li&gt;AIM: &lt;?php echo get_usermeta($curauth-&gt;ID, 'aim'); ?&gt;&lt;/li&gt;<br />
	&lt;li&gt;Yahoo: &lt;?php echo get_usermeta($curauth-&gt;ID, 'yim'); ?&gt;&lt;/li&gt;<br />
	&lt;li&gt;Google Talk/Jabber: &lt;?php echo get_usermeta($curauth-&gt;ID, 'jabber'); ?&gt;&lt;/li&gt;<br />
	&lt;li&gt;About: &lt;?php echo get_usermeta($curauth-&gt;ID, 'description'); ?&gt;&lt;/li&gt;<br />
</code></p>
<p>So, what should you have far?  Well it should look something like the screenshot below, but of course it will appear blank where information is not filled out in their profile (we&#8217;ll fix that later).  </p>
<div id="attachment_97" class="wp-caption alignnone" style="width: 523px"><a href="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/profile_sofar.png"><img src="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/profile_sofar.png" alt="Your profile so far" title="profile_sofar" width="513" height="150" class="size-full wp-image-97" /></a><p class="wp-caption-text">Your profile so far</p></div>
<p>And your code so far:</p>
<p><code lang="php"><br />
&lt;?php if (have_posts()) : ?&gt;</p>
<p>&lt;?php</p>
<p>global $wp_query;<br />
$curauth = $wp_query-&gt;get_queried_object();</p>
<p>?&gt;</p>
<p>&lt;h2&gt;&lt;?php echo $curauth-&gt;nickname; ?&gt;&lt;/h2&gt;</p>
<p>&lt;ul&gt;<br />
	&lt;li&gt;Website: &lt;?php echo get_usermeta($curauth-&gt;ID, 'user_url'); ?&gt;&lt;/li&gt;<br />
	&lt;li&gt;Email: &lt;?php echo get_usermeta($curauth-&gt;ID, 'user_email'); ?&gt;&lt;/li&gt;<br />
	&lt;li&gt;AIM: &lt;?php echo get_usermeta($curauth-&gt;ID, 'aim'); ?&gt;&lt;/li&gt;<br />
	&lt;li&gt;Yahoo: &lt;?php echo get_usermeta($curauth-&gt;ID, 'yim'); ?&gt;&lt;/li&gt;<br />
	&lt;li&gt;Google Talk/Jabber: &lt;?php echo get_usermeta($curauth-&gt;ID, 'jabber'); ?&gt;&lt;/li&gt;<br />
	&lt;li&gt;About: &lt;?php echo get_usermeta($curauth-&gt;ID, 'description'); ?&gt;&lt;/li&gt;<br />
&lt;/ul&gt;</p>
<p>&lt;h2&gt;User's Post&lt;/h2&gt;</p>
<p>&lt;?php while ( have_posts() ) : the_post(); ?&gt;<br />
&lt;?php endwhile; else: ?&gt;<br />
</code></p>
<p>Now, don&#8217;t forget that you should still have other HTML and PHP around this which will control what your theme.  </p>
<p>Now, that wasn&#8217;t too bad&#8230; was it?  Feel free to leave comments if you need any help or support.  </p>
]]></content:encoded>
			<wfw:commentRss>http://inspiredbywordpress.co.uk/2009/08/wordpress-user-directory-part-1/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Installing Wordpress</title>
		<link>http://inspiredbywordpress.co.uk/2009/08/installing-wordpress/</link>
		<comments>http://inspiredbywordpress.co.uk/2009/08/installing-wordpress/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 17:42:50 +0000</pubDate>
		<dc:creator>Daniel Groves</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[beginer]]></category>
		<category><![CDATA[install]]></category>

		<guid isPermaLink="false">http://inspiredbywordpress.co.uk/?p=7</guid>
		<description><![CDATA[Before you can do anything - anything at all with wordpress, you need to install it.  Installing it can be rather confusing and if, like me, you are a little impatient it can also be very frustrating.  In this tutorial I attempt to make a clear an concise set of instructions on how to install wordpress, from uploading it to your server to running the install.  ]]></description>
			<content:encoded><![CDATA[<p><a href="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/wordpress-logo.png"><img class="alignnone size-full wp-image-31" title="wordpress-logo" src="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/wordpress-logo.png" alt="wordpress-logo" width="245" height="152" /></a></p>
<p>Before anyone can do anything with Wordpress, they need to be able to install it.  Weather it be on a local server or on a live server it has to be installed.  In this tutorial I will explain how to install wordpress from scratch.  Before you can precede with this tutorial you will require:</p>
<ol>
<li>A working web server</li>
<li>An FTP account</li>
<li>A MySQL database</li>
</ol>
<p><span id="more-7"></span></p>
<h3>Step 1: Downloading and Uploading</h3>
<p>The first that you will need to do is <a href="http://wordpress.org" target="_blank">visit the Wordpress website</a> where you will need to click the download link on the homepage.  This will take you to the Wordpress download page, here you need to click the large blue link on the right-hand side of the page, this will initiate the Wordpress download. Once the download is complete you need to extract the files.</p>
<p>If you are installing wordpress on your localhost, you can copy the wordpress folder to the location here you wish to install wordpress on your server and then skip to step two.</p>
<p>The rest of you, and no-doubt the majority of you, will now need to upload Wordpress to your server.  For those of you who do not have any hosting yet you can get some free hosting over at <a href="http://www.byethost.com/" target="_blank">byethost</a>.</p>
<p>In order to upload your website to your servers you will require and FTP client like <a href="http://filezilla-project.org" target="_blank">FileZilla</a>.  Once you have installed an FTP client you will need to input your FTP details so that it can connect to your host.</p>
<p>In order to do this in FileZilla you will need to go to File &#8211;&gt; Site Manager, then click &#8220;New Site&#8221; and fill-out the form that you are presented with, finally click &#8220;Connect&#8221; to connect to your FTP server.</p>
<div id="attachment_34" class="wp-caption alignnone" style="width: 312px"><a href="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/Picture-1.png"><img class="size-full wp-image-34   " title="FileZilla Site Manager" src="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/Picture-1.png" alt="The FileZilla site manager" width="302" height="212" /></a><p class="wp-caption-text">The FileZilla site manager</p></div>
<p>Once you have connected to your FTP server copy the contents of the &#8220;Wordpress&#8221; folder that was in the ZIP folder onto the server, in the location where you would like to install wordpress.  In order to do this in FileZilla, navigate to the location where you would like to install wordpress and in the left pain navigate to the location where you extract the wordpress ZIP folder.  Now click-and-drag the contents of the ZIP folder on the right-panel.</p>
<h3>Step 2: Running the Install</h3>
<p>You will now need to navigation to the location where you installed wordpress.  For those of you who have a <a href="http://www.byethost.com/" target="_blank">byethost</a> account this will probably be username.byethost.com.</p>
<p>Once you navigated to this page you should be presented with a screen that looks like the one below.</p>
<div id="attachment_19" class="wp-caption alignnone" style="width: 310px"><a href="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/Screen-1.png"><img class="size-medium wp-image-19 " title="Wordpress Install Screen 1" src="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/Screen-1-300x213.png" alt="The first screen that should be seen when installing wordpress" width="300" height="213" /></a><p class="wp-caption-text">The first screen that should be seen when installing wordpress</p></div>
<p>On this screen simply click &#8220;Create a Configuration File&#8221; to proceed.  The next screen will explain to you what you are going to do when installing wordpress.  Read the screen and then click &#8220;Lets Go!&#8221;.</p>
<p>Now, it&#8217;s time to insert your Wordpress database settings, you should be able to get these from the screen where you set-up your database with your host, if you cannot find these instructions contact your web host and they should be able to provide with assistance in finding them.</p>
<div id="attachment_21" class="wp-caption alignnone" style="width: 310px"><a href="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/Screen-3.png"><img class="size-medium wp-image-21" title="Wordpress Install Screen 3" src="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/Screen-3-300x213.png" alt="The Wordpress install screen where you configure your database settings" width="300" height="213" /></a><p class="wp-caption-text">The Wordpress install screen where you configure your database settings</p></div>
<p>Now, click &#8220;Submit&#8221;.  If the screen returns and error go back and check your settings.   Otherwise, you will  proceed onto a screen that will confirm that you have successfully connected wordpress with your database.  If you get this screen click the &#8220;Run the Install&#8221; button.</p>
<p>On the next screen you will need to choose a name for your Wordpress website.  Enter the name into the appropriate box and then insert an email address, this will be associated with the main admin account, and if you forget your password it will be emailed to this address.</p>
<p>If you want your website to appear on search engines, tick the box labeled &#8220;Allow my blog to appear in search&#8230;.&#8221; and then click &#8220;Install Wordpress&#8221;.</p>
<div id="attachment_24" class="wp-caption alignnone" style="width: 310px"><a href="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/Screen-6.png"><img class="size-medium wp-image-24" title="Wordpress Install Screen 6" src="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/Screen-6-300x213.png" alt="The screen that allows you to choose a name for your new Wordpress website" width="300" height="213" /></a><p class="wp-caption-text">The screen that allows you to choose a name for your new Wordpress website</p></div>
<p>On the next screen you will be presented with your username (admin) and a randomly generated password, note this password carefully before clicking &#8220;Log In&#8221;.</p>
<div id="attachment_25" class="wp-caption alignnone" style="width: 310px"><a href="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/Screen-7.png"><img class="size-medium wp-image-25" title="Wordpress Install Screen 7" src="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/Screen-7-300x213.png" alt="The final screen shows you your username and password" width="300" height="213" /></a><p class="wp-caption-text">The final screen shows you your username and password</p></div>
<p>Now for those of you who didn&#8217;t write down your password correctly, check your email.  Assuming that your host allows &#8220;php send mail&#8221; then you should shortly receive an email with your password in.</p>
<p>The final thing you now need to do is login, you should be presented with a screen like this the one below.</p>
<div id="attachment_26" class="wp-caption alignnone" style="width: 310px"><a href="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/Screen-8.png"><img class="size-medium wp-image-26" title="Wordpress Install Screen 8" src="http://inspiredbywordpress.co.uk/wp-content/uploads//2009/08/Screen-8-300x213.png" alt="The default wordpress logon screen" width="300" height="213" /></a><p class="wp-caption-text">The default wordpress logon screen</p></div>
<h3>Conclusion</h3>
<p>I hope this tutorial helps somebody install wordpress successfully on there server.  If you need any help, just give me a shout by leaving a comment and I will do my best to help you.</p>
<p>If you have any other comments, feedback or just want to share your thoughts on wordpress or this tutorial, feel free to leave a comment below.</p>
<p>Thank you for reading.</p>
]]></content:encoded>
			<wfw:commentRss>http://inspiredbywordpress.co.uk/2009/08/installing-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
