URL Shortening with Your Own Domain

URL shortening services are plentiful at the moment. With micro blogging services such as Twitter restricting posting to 140 characters we need to shorten URLs can can waste those valuable characters.  I have always wanted to keep URL shortening to a domain of my choice rather than using bit.ly or tinurl etc, mainly because I am curious.  Here is how I have done it.

A quick search on the Internet and you will find several offerings of different solutions of how to shorten URLs using your very own domain for example Google offer a url shortening service for their domain app customers.  However some of these seemed quite complicated and I just wanted something really simple. As I was not bothered about statistics or anything I just wanted something where I could enter the domain I wanted to shorten, press go and then it would provide me with a shortened URL using the domain I wanted.

Continue reading URL Shortening with Your Own Domain

Bypassing WordPress Attachment Posts

This problem has been bugging me for a while now and finally I have managed to find a fix that seems to work well.  The problem being that clients, when linking to something they have uploaded to a page or post never click the ‘File URL’ for the link, instead leaving it on ‘Post URL’ which causes problems.  Here is how I fixed it.

When clients forget to click the File URL button it means that when they click on a link, instead of being show the file that they think they are linking to they are shown the post that WordPress creates for that attachment.  If the attachment is an image this not a major issue as you can include a custom image.php file in your theme folder and make that page looks nice. However if the link is to a PDF for example the user is simply presented with another post with the same link in that they just clicked on.  Worse still is that if the author has not added a title tag to the attachment they will see an ugly link.

Continue reading Bypassing WordPress Attachment Posts

Using WordPress for Client Development Logs

Over at Equal Web Creative I have recently introduced the use of client development logs so that clients can keep a track of the progress on their sites and so that you can communicate more effectively with clients during a project.  In order to implement this I have used WordPress as a multisite installation as well as a few themes and plugins.  Here I intend to explain how I have produced this.

To start with your will need to install a copy of WordPress onto your server and then activate the multisite capabilities of WordPress.  To do this I followed the excellent tutorial below:

Continue reading Using WordPress for Client Development Logs

From Browser to Server – How it Works

As a web developer and designer I often get asked the same question over and over again, how does a website actually work? I mean when you type the domain name in how does it find the right website?  Well I thought that this blog would be a good place to try explain it in simple terms how it works.

Firstly for all you true techies out there there will be in accuracies in my description here, but what I am trying to do is to simplify the process and enable people to understand how it works and not necessarily all the little ins and outs.

Lets start at the end where the website is stored.  Web sites are stored on something called a server.  This is essentially just a computer that is connected to the Internet.  This server has an address, just like your house has an address so that you can find it.  In fact every device that is connected to the internet has an address called an IP (Internet Protocol) address.  At a very basic level if you type that address of the server which holds a website into your browser you will be able to access the website.  An example is the IP address 209.85.135.103 which will take you to the Google homepage.

Continue reading From Browser to Server – How it Works

WordCamp UK 2010

This weekend just gone I attended WordCamp UK in Manchester, which is the annual gathering of UK WordPress users and developers in the UK.  As was the case last year in Cardiff, I fully enjoyed the sessions and the whole weekend, and as normal I am writing  this post as a summary of what I saw and found out about on the weekend.

Travel

Last year event in Cardiff meant a long (ish) journey down to south Wales and a stay over in a Hotel.  This year I was a little more fortunate as I was able to drive their and back on both days without having to endure and overnight stop.  I am not a fan of staying in hotels, in fact I like my own bed too much!

Still a city centre location had me slightly nervous about driving through Manchester centre with all the one way roads and tricky navigation.  Thanks to several people on the WorddCamp UK mailing list, including Rachel Shillcock and Gurbir Singh about car parking facilities and directions getting their was easy.  The free parking also made the event extremely good value for money at £20 for a ticket.

Themes

WordCamp UK started off for me with a talk from Michael Kimb Jones all about the development of WordPress themes.  It really is amazing how far we have come with themes, especially over the last 12 – 18 months.  There was a time when all themes were essentially the same with just different CSS, whereas now we have all sort of themes doing different things with option pages etc.

The commercial theme market was very much at the forefront of the discussion and as to how companies such as StudioPress, Woo Themes and the like make their money.  What can certainly be said is that they make big money according to the figures that were mentioned during the session.

Later in the day, Jonny A also talked about themeing with some interesting ideas, hints and tips about best practice when creating a theme.  Particular he concentrated on some of the newer WordPress 3.0 template tags and features such as get_template_part() and custom post types.  Personally the jury is still out about Custom Post Types particularly since they are driven by the active theme which could cause problems, but I am sure they have their uses.  In fact OttoPress has stated just this rcently, indicating that they are often misunderstood.

Using custom post types right now is, for most people, a bad idea. Only specialized usages really exist for them… for now

That then brings me onto Theme Frameworks.  Don’t get me wrong I can see the benefits of using a theme frameworks, but in my limited experience of using them, they cause a lot of problems as it feels as though you don’t have full control.  It will be interesting to see first impressions of Wonderflux the new theme frameworks for designers out soon in private beta.

Plugins

I also attended the WOW plugins session, another presented by MKJones.  I found this very useful as it opened me up to a lot of plugins that would be very useful, yet I have never heard of.  There are so many plugins that you tend to just stick to the ones that you know about really, so sessions like this were people can share there experience of different plugins is a really good idea.

One that really caught my eye was Gravity Forms, even though it is paid for.  Many had been advocating this in the past on Twitter and having seen it first hand I thought it was worth buying, particularly as I negotiated a 25% for WordCamp UK after the event through a Twitter conversation with the author!

I am yet to write my first real plugin but maybe it is time to delve into that area now after having seen what can be done.  I am sure that some time in the future I will give it a go when I have some time, or have the necessity.

Enterprise

Dave Coveney is always an interesting speaker and he did not fail to deliver this year, particularly with his talk on WordPress in Enterprise. This is something that is always close to me because we run an ‘Enterprise’ environment in our school, with over 1000 users.  Dave was mentioning about some of the difficulties of integrating WordPress with an Enterprise Windows server environment, something which we seem to have overcome at the moment using a plugin called wpDirAuth.

In many ways WordPress seems like the perfect solution for so many enterprises with it licensing and open source advantages, yet we still see a slow uptake by the enterprise community. Personally I think the majority of this comes down to accountability. Since WordPress is Open Source there is no-one on the end of the phone to ring up and sue if it all goes pear shaped.

BuddyPress

BuddyPress looks like a really good tool and would seem to have all sorts of uses in all sorts of sector, particularly in my sector of education.  Paul Gibbs, a BuddyPress forum moderator gave 2 very good talks covering the basics of BuddyPress as well as how to create your own BuddyPress theme to get your sites looking as you want them.

This is something that I definitely want to have a go with in the near future and Paul’s presentations with the advice and insight he offered is certainly going to help.

WordCamp (UK?)

The weekend ended on a slightly controversial note.  The last session was intended to be a meta session with attendees discussing the future of WordCamp UK, what worked well this year and what could be improved in future years.  Jane Wells from Automattic (the company behind the WordPress project) appeared to indicate that WordCamp UK would need to become a regional event rather than having a single national event.

The audience did not take too kindly to this and argued against this being the case.  Personally I think that it should stay the way it is, and if people want to get together regionally then fine.  In fact some already do, for example there is a Manchester group.  We are a small country at the end of the day and an event of nearly 200 is better in my opinion than events all over the country of 20 -30 people.  But to be honest, I don’t think I am that bothered either way, as long as WordCamps in the UK can continue, whatever they are called and wherever they are.