<?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>Web Design, SEO &#38; CSS... etc &#187; Uncategorized</title>
	<atom:link href="http://www.ellis87webdesign.com/blog/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ellis87webdesign.com/blog</link>
	<description>General tips and ramblings to do with web design, SEO &#38; CSS and a few stories...</description>
	<lastBuildDate>Tue, 29 Mar 2011 11:27:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Facebook Profile Thumbnail Piccy LOLZ</title>
		<link>http://www.ellis87webdesign.com/blog/2011/03/facebook-profile-thumbnail-piccy-lolz/</link>
		<comments>http://www.ellis87webdesign.com/blog/2011/03/facebook-profile-thumbnail-piccy-lolz/#comments</comments>
		<pubDate>Tue, 29 Mar 2011 11:27:41 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ellis87webdesign.com/blog/?p=182</guid>
		<description><![CDATA[I&#8217;ve seen a bunch of blogs that show you how to add a series of photos to your facebook and then tag them in reverse order so the thumbnail shown on your profile page show as lile a cartoon or make up parts of abigger picture etc. I thought there could be a lot more [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve seen a bunch of blogs that show you how to add a series of photos to your facebook and then tag them in reverse order so the thumbnail shown on your profile page show as lile a cartoon or make up parts of abigger picture etc.</p>
<p>I thought there could be a lot more LOLs in doing it to others&#8230;</p>
<p>Create five pics 97px x 68px and upload them to an album. Then tag them with your chosen friends name, in reverse order&#8230;</p>
<p>I chose &lt; &#8211; LOL but oh dear the opportunities <img src='http://www.ellis87webdesign.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ellis87webdesign.com/blog/2011/03/facebook-profile-thumbnail-piccy-lolz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE6 Warning &amp; Upgrade Message</title>
		<link>http://www.ellis87webdesign.com/blog/2011/01/ie6-warning-upgrade-message/</link>
		<comments>http://www.ellis87webdesign.com/blog/2011/01/ie6-warning-upgrade-message/#comments</comments>
		<pubDate>Tue, 25 Jan 2011 10:58:48 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ellis87webdesign.com/blog/?p=163</guid>
		<description><![CDATA[I made a conscious decision last year to stop farting about, adding hours of additional coding to my work for the sake of those people who insist on continuing to use Internet Explorer 6&#8230; However I also realized it&#8217;s better to offer reasons to upgrade rather than just delivering a simplified version of a given [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><a href="http://www.ellis87webdesign.com/blog/wp-content/uploads/2011/01/ie6lol.png"><img class="aligncenter size-full wp-image-164" title="ie6lol" src="http://www.ellis87webdesign.com/blog/wp-content/uploads/2011/01/ie6lol.png" alt="IE6 Warning &amp; Upgrade Message" width="361" height="327" /></a></p>
<p style="text-align: left;">I made a conscious decision last year to stop farting about, adding hours of additional coding to my work for the sake of those people who insist on continuing to use Internet Explorer 6&#8230; However I also realized it&#8217;s better to offer reasons to upgrade rather than just delivering a simplified version of a given website.</p>
<p style="text-align: left;"><span id="more-163"></span>I&#8217;ve read the comments and excuses across countless blogs, some users are stuck with IE6 at work and their companies won&#8217;t upgrade&#8230; others do not know how to upgrade (a pop up advising to upgrade is easily missed) or they simply fear change. Whatever the reasons are, it&#8217;s a crappy browser. IE6 is ancient, it&#8217;s successor is now very old too and let&#8217;s face it, it could do with being purged from use as well.</p>
<p style="text-align: left;">I had to LOL the other day reading some review on IE9 that included a quote about standards compatibility across all browsers etc. If you&#8217;re a designer, you&#8217;ll know IE (any version) can be the bane of a web designers life. Maybe IE9 is going to be great (IE8 sucks at CSS3), but so f***ing what? It&#8217;s late, very late and from what I have read so far offers nothing that hasn&#8217;t been provided by Firefox, Chrome and others for at least a couple of years now.</p>
<p style="text-align: left;">I have been using the <a title="Universal CSS for Internet Explorer 6" href="http://universal-ie6-css.googlecode.com/files/ie6.0.3.css">Universal IE6 CSS</a> for a while now but figured rather than just serve a plain version of a site I&#8217;d like to still include a nudge to the viewer to get rid of that turd of a browser and at least upgrade to IE8 or better still try a decent browser out.</p>
<p style="text-align: left;">I also wanted to include that ancient, long dead Office Assistant as hopefully a reminder as to how old some things are&#8230; and how they are not missed :O) The displayed message is a little tongue in cheek without being obviously sarcastic Here is a screenshot (as hopefully you&#8217;re not using IE6 and won&#8217;t be able to see my live version)&#8230;</p>
<p style="text-align: center;"><a href="http://www.ellis87webdesign.com/blog/wp-content/uploads/2011/01/ie6warning.png"><img class="aligncenter size-medium wp-image-167" title="Screenshot: IE6 Warning &amp; Upgrade Message" src="http://www.ellis87webdesign.com/blog/wp-content/uploads/2011/01/ie6warning-300x151.png" alt="Screenshot: IE6 Warning &amp; Upgrade Message" width="300" height="151" /></a></p>
<p style="text-align: left;">Before we begin, <a title="Download the code and background image" href="http://www.ellis87webdesign.com/downloads/ie6alert.zip">download IE6 Warning Message Code</a> and feel free to use it, edit it however you like.</p>
<p style="text-align: left;">Here&#8217;s the html (note the conditional comments that only display the enclosed html to IE6):</p>
<p style="text-align: left;">
<pre class="brush: xml;">&lt;!--[if IE 6]&gt;

&lt;div id=&quot;ie6lol&quot;&gt;

&lt;h1&gt;It looks like you're trying to browse the World Wide Web using Internet Explorer 6&lt;/h1&gt;

&lt;p&gt;Did you know the Internet Explorer 6 (IE6) browser was released way back in 2001 and even IE7 (IE6's replacement) was released way back in 2006?&lt;/p&gt;

&lt;p&gt;Today's web browsers such as &lt;a href=&quot;http://www.microsoft.com/uk/windows/internet-explorer/default.aspx&quot;&gt;IE8&lt;/a&gt;, &lt;a href=&quot;http://www.mozilla.com/en-US/firefox/&quot;&gt;Firefox&lt;/a&gt; and &lt;a href=&quot;http://www.google.com/chrome&quot;&gt;Google Chrome&lt;/a&gt; provide you with a significantly better online experience.&lt;/p&gt;

&lt;p&gt;Having to include tweaks and hacks to cater for a last generation browser holds back today's web designers, it holds back innovation and progress at a time when things are progressing daily. This means that unless you upgrade you will only see a basic version of this and many other websites. In time your continued use of the IE6 browser will cause you to be denied access to popular websites completely.&lt;/p&gt;

&lt;h2&gt;What would you like to do?&lt;/h2&gt;

&lt;br /&gt;

&lt;a href=&quot;http://www.mozilla.com/en-US/firefox/&quot; title=&quot;&quot;&gt;Get Firefox&lt;/a&gt;

&lt;a href=&quot;http://www.google.com/chrome&quot; title=&quot;&quot;&gt;Get Google Chrome&lt;/a&gt;

&lt;a href=&quot;http://www.microsoft.com/uk/windows/internet-explorer/default.aspx&quot; title=&quot;&quot;&gt;Upgrade Internet Explorer&lt;/a&gt;

&lt;/div&gt;

&lt;![endif]--&gt;</pre>
</p>
<p style="text-align: left;">and here&#8217;s the very basic css:</p>
<p style="text-align: left;">
<pre class="brush: css;">#ie6lol {
position: absolute;
top: 20px;
width: 800px;
height: 400px;
background-color: white;
background-image: url('img/ie6assistant.jpg');
background-repeat: no-repeat;
font-family: arial, sans-serif;
color: black;
padding: 30px 50px 0 50px;
}

#ie6lol h1 {
font-size: 16px;
font-weight: bold;
margin-left: 40px;
margin-bottom: 20px;
}

#ie6lol h2 {
font-size: 13px;
font-weight: bold;
margin-bottom: 1px;
}

#ie6lol p {
font-size: 12px;
line-height: 15px;
width: 700px;
}

#ie6lol a.button {
font-size: 12px;
margin-right: 15px;
border: 1px solid #CCC;
padding-top: 5px;
padding-right: 10px;
padding-bottom: 5px;
padding-left: 10px;
background-color: #FFFFC1;
color: black;
text-decoration: none;
}

#ie6lol a:hover.button {
font-size: 12px;
margin-top: 15px;
margin-right: 15px;
border: 1px solid #808080;
padding-top: 5px;
padding-right: 10px;
padding-bottom: 5px;
padding-left: 10px;
background-color: #FCFD89;
color: black;
text-decoration: none;
}</pre>
</p>
<p style="text-align: left;">What we end up with is a div that is only displayed in IE6 with an Office Assistant background image, a bit of info about how old IE6 is (you can also include warnings about security etc to the user &#8211; it might scare them into upgrading unless they&#8217;re 100% I don&#8217;t know how to computer, what is an internets?) and then the options to try another browser or to upgrade &#8211; on occasion I include a 4th option offering help, basically a link to contact me if they want. You never know, it could be your next client&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ellis87webdesign.com/blog/2011/01/ie6-warning-upgrade-message/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where does the time go?</title>
		<link>http://www.ellis87webdesign.com/blog/2011/01/where-does-the-time-go/</link>
		<comments>http://www.ellis87webdesign.com/blog/2011/01/where-does-the-time-go/#comments</comments>
		<pubDate>Mon, 24 Jan 2011 16:17:56 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ellis87webdesign.com/blog/?p=160</guid>
		<description><![CDATA[Oh dear I have really neglected this blog for so long now. It&#8217;s difficult to get back into the &#8216;swing of things&#8217; after some time away on other projects and trying to get by in life generally. The longer the gap between posts the harder it is to get back into the momentum and so [...]]]></description>
			<content:encoded><![CDATA[<p>Oh dear I have really neglected this blog for so long now. It&#8217;s difficult to get back into the &#8216;swing of things&#8217; after some time away on other projects and trying to get by in life generally. The longer the gap between posts the harder it is to get back into the momentum and so for 2011 I am going to try to add a post each week&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ellis87webdesign.com/blog/2011/01/where-does-the-time-go/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My latest work &#8211; Cyden Dressage</title>
		<link>http://www.ellis87webdesign.com/blog/2010/07/my-latest-work-cyden-dressage/</link>
		<comments>http://www.ellis87webdesign.com/blog/2010/07/my-latest-work-cyden-dressage/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 09:47:17 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ellis87webdesign.com/blog/?p=158</guid>
		<description><![CDATA[I was approached by British Dressage rider Lara Dyson to design her own website after working closely with her on the Cyden Homes website for her family company. Aside from riding, Lara has set up Cyden Dressage based in Lincolnshire to train horses and other riders. I&#8217;ve recently been taking a lot of notice of [...]]]></description>
			<content:encoded><![CDATA[<p>I was approached by British Dressage rider <a title="Lara Dyson, Cyden Dressage" href="http://www.cydendressage.com/lara-dyson.php">Lara Dyson</a> to design her own website after working closely with her on the Cyden Homes website for her family company. Aside from riding, Lara has set up <a title="Cyden Dressage Yard" href="http://www.cydendressage.com/">Cyden Dressage</a> based in Lincolnshire to train horses and other riders.</p>
<p><span id="more-158"></span>I&#8217;ve recently been taking a lot of notice of the beauty of partial transparency now available to good browsers primarily the RGBa css unfortunately not supported by the bag of crap Internet Explorer. I ended up having to find a very functional workaround for IE involving an <a title="RGBa .php script for non RGBa supporting browsers" href="http://leaverou.me/2009/10/new-version-of-rgba-php-is-out/">rgba.php</a> script that generates a partial transparent .png file which is then tiled as an old fashioned background.</p>
<p>Firefox, Chrome, safari all beautifully render partial transparency just that sack of shit IE that continues to be the bane of an easy design life.</p>
<p>As I was coming up with the initial layout photoshop mockup for Lara to approve Google released their IMO seriously cool <a title="Google Fonts Directory" href="http://code.google.com/webfonts">fonts directory</a>. I was keen to use a different font having spent ten years stuck pretty much with Arial, ,Verdana, Times and Georgia.</p>
<p>I have also shifted away from Windows in favour of Ubuntu and so far I have to say, I love it! fast, clean and just better. So aside from the design headaches I was also having to get used to new software primarily Bluefish, Gedit and the Gimp for graphics/photo work. My old FTP client Filezilla was available for Ubuntu so there are some familiar things around. I also extended my desktop with an additional monitor so now have a 24&#8243; and my older 19&#8243; running alongside each other. Productivity is certainly speeded up and dragging a window across from one monitor to the other also looks pretty cool.</p>
<p>So, back to the site design. Lara was very happy with the initial layout and all the over lapping transparencies bring a real depth and 3 dimensional effect. The text blocks etc all go darker when hovered, highlighting the text more clearly too and I have used a lot of jQuery. It&#8217;s a bit slower in IE as the rgba.php script has to generate the images and then the css tiles each elements background but as far as I&#8217;m concerned IE is for people who aren&#8217;t really all that bothered about their internet experience. With Firefox and Chrome easily available there is no real reason to continue to use Microsoft&#8217;s awful browser. I just don&#8217;t understand why they Microsoft seem to steer clear of supporting great CSS.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ellis87webdesign.com/blog/2010/07/my-latest-work-cyden-dressage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prestashop Modifications &#8211; &#8220;Send To A Friend&#8221; with (non captcha) anti spam protection.</title>
		<link>http://www.ellis87webdesign.com/blog/2010/03/prestashop-modifications-send-to-a-friend-with-non-captcha-anti-spam-protection/</link>
		<comments>http://www.ellis87webdesign.com/blog/2010/03/prestashop-modifications-send-to-a-friend-with-non-captcha-anti-spam-protection/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 11:09:18 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[captcha]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[prestashop]]></category>

		<guid isPermaLink="false">http://www.ellis87webdesign.com/blog/?p=138</guid>
		<description><![CDATA[I have been developing an installation of the superb Prestashop eCommerce solution for my wife&#8217;s lingerie webshop. I&#8217;ve made a significant amount of changes and additions to the coding in places for increased security, usability and SEO. One of the first things I found was that the &#8220;Send To A Friend&#8221; module was wide open [...]]]></description>
			<content:encoded><![CDATA[<p>I have been developing an installation of the superb Prestashop eCommerce solution for my wife&#8217;s lingerie webshop. I&#8217;ve made a significant amount of changes and additions to the coding in places for increased security, usability and SEO.<span id="more-138"></span></p>
<p>One of the first things I found was that the &#8220;Send To A Friend&#8221; module was wide open to possible attack by automated spammers. I don&#8217;t know about you, but I am really tired of annoying captcha images that are getting harder and harder to read and being crap at maths i don&#8217;t like having to perform sums before submitting a form.</p>
<p>So, I thought I&#8217;d try and implement a thing called a honeytrap or spam trap, whatever it&#8217;s called it was something I&#8217;d read about.</p>
<p>In a nutshell it is a field in the form that has to be left blank in order for the form to process and send when the user clicks submit. If the field is filled in the form does not send and as spambots, being a bit thick, fill in every field of the form, surely this trap will catch them out.</p>
<p>It required a bit of hacking into the original code and a couple of lines of CSS adding to the theme/yourtemplatename/css/global.css file but all in all it was pretty quick to do.</p>
<p><strong>Here are the 3 files that need to be edited:</strong></p>
<p><em>(Remember, always create a backup of the original files before editing)</em><strong><br />
</strong></p>
<ul>
<li>/themes/yourtemplatename/css/global.css</li>
<li>/modules/sendtoafriend/sendtoafriend.php</li>
<li>/modules/sendtoafriend/sendtoafriend.tpl</li>
</ul>
<p>I use notepad++ for editing files but line numbers may vary if your files have already been edited or are from a different version.</p>
<p><strong>sendtoafriend.tpl</strong> is the template file for the front end view of the send to a friend form that is displayed. In your file find this snippet of code:</p>
<pre class="brush: php;">
&lt;p&gt;
&lt;label for=&quot;friend-address&quot;&gt;{l s='Friend\'s email:' mod='sendtoafriend'}&lt;/label&gt;
&lt;input type=&quot;text&quot; id=&quot;friend-address&quot; name=&quot;email&quot; value=&quot;{if isset($smarty.post.name)}{$smarty.post.email|escape:'htmlall'|stripslashes}{/if}&quot; /&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;input type=&quot;submit&quot; name=&quot;submitAddtoafriend&quot; value=&quot;{l s='send' mod='sendtoafriend'}&quot; /&gt;
&lt;/p&gt;
</pre>
<p>We&#8217;re going to add the new field for the spam trap between the email address field and the submit button (line 5 in the code above) to give us the following.</p>
<pre class="brush: php;">

&lt;p&gt;
&lt;label for=&quot;friend-address&quot;&gt;{l s='Friend\'s email:' mod='sendtoafriend'}&lt;/label&gt;
&lt;input type=&quot;text&quot; id=&quot;friend-address&quot; name=&quot;email&quot; value=&quot;{if isset($smarty.post.name)}{$smarty.post.email|escape:'htmlall'|stripslashes}{/if}&quot; /&gt;
&lt;/p&gt;

&lt;p&gt;SPAM Trap Please leave the following field blank&lt;/p&gt;
&lt;input type=&quot;text&quot; name=&quot;begonespam&quot;&gt;

&lt;p&gt;
&lt;input type=&quot;submit&quot; name=&quot;submitAddtoafriend&quot; value=&quot;{l s='send' mod='sendtoafriend'}&quot; /&gt;
&lt;/p&gt;
</pre>
<p>This adds the new text input called &#8220;begonespam&#8221; which is fine but at this stage the field will be visible to users. Although it instructs them to leave the field blank it could be confusing and it looks kind of silly. We can use a bit of css to hide the new field, so it&#8217;s still there to catch the spambot but just not visible to the human user.</p>
<p>First, place the new code into a &lt;div&gt;, call it what you like but in this example the &lt;div&gt;is given the id, &#8220;begonespam&#8221; like so:</p>
<pre class="brush: php;">
&lt;div id=&quot;begonespam&quot;&gt;
&lt;p&gt;SPAM Trap Please leave the following field blank&lt;/p&gt;&lt;input type=&quot;text&quot; name=&quot;begonespam&quot;&gt;
&lt;/div&gt;
</pre>
<p>and the following CSS is added to the <strong>global.css</strong> file</p>
<pre class="brush: css;">
/* spam trap hidden field for sendtoafriend */
div#begonespam {

display: none;

visibility: hidden;

}
</pre>
<p>So now we have an invisible form field &#8211; (Note when you come to test the form you may want to keep the field visible to begin with to test that it works correctly. From your installation, send a product to yourself once with the field left blank and then again with it filled in to see what .)</p>
<p>Before testing it though, we need to edit the final file, <strong>sendtoafriend.php</strong> the form processor.</p>
<p>Around line 44 in your text editor (note, the numbering here is all to sh** now &#8211; if anyone knows of a nice code snippet plugin for WP let me know!) you&#8217;ll see this code:</p>
<pre class="brush: php;">

/* Fields verifications */
 if (empty($_POST['email']) OR empty($_POST['name']))
 $error = $this-&gt;l('You must fill all fields.');
</pre>
<p>Between <strong>/* Fields verifications */</strong> and <strong>if(empty($&#8230;</strong> add the following code:</p>
<pre class="brush: php;">

if (!empty($_POST['begonespam'])) { return false; }
</pre>
<p>so we now have something like this:</p>
<pre class="brush: php;">

/* Fields verifications */

 if (!empty($_POST['begonespam'])) { return false; }

 if (empty($_POST['email']) OR empty($_POST['name']))
 $error = $this-&gt;l('You must fill all fields.');
</pre>
<p>As I mentioned above, keep the new form field visible while you test it. You can either comment out the div tags or just leave the css part until you&#8217;re sure it works.</p>
<p>You can see, or more to the point not see, the thing in action here: <a title="Prestashop - Send To A Friend with non captcha anti spam protection in action on my wifes's lingerie website" href="http://www.dusk2dawnunderwear.com/modules/sendtoafriend/sendtoafriend-form.php?id_product=238">Pretashop &#8211; Modified Send To A Friend Module</a></p>
<p>It&#8217;s early days to give any performance indicators but it sure is a lot nicer looking than a big old, illegible captcha image.</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ellis87webdesign.com/blog/2010/03/prestashop-modifications-send-to-a-friend-with-non-captcha-anti-spam-protection/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

