
Author Archives: Daniel Porter - Page 2
Just picked up an @ASUSAU Transformer (took a photo first chance I got!)
Self hosted Tumblr / Twitpic using WordPress
Do you have a self hosted WordPress? If so, why are you redirecting traffic away from your blog by using the likes of Twitpic or Tumblr? Aside from giving them traffic, you are also giving them permission to use YOUR content ‘royalty free’ anywhere in the word as per the terms and conditions on their sites (check it out!)
I sat down on Saturday afternoon with a determination to get a solution working in WordPress. About 2 hours later I had it worked out! This method set’s up categories so you can post pictures to your blog and not have them turn up on your front page, then have a link to the pictures in a sidebar like the “Twitter Photos” and “Updates on the Go” in the sidebar on this blog.
You will need the following WordPress plugins :
- Simply Exclude – if you want to exclude the content posted for twitter from your usual posts.
- Latest News Widget - a way to include a ‘feed’ in your widgets area.
- Tweetable – so new updates are instantly tweeted (note this will mean all future posts will be published to twitter as well)
I’m sure there are alternate plugins that will work, but these are the ones which I’ve now set up on 2 blogs and what this post is based one.
Installing Tweetable
- Install the Tweetable plugin and ‘Activate’ it once installed.
- Click ‘Install’ which is under “Twitter” in the side panel. I have NOT had any luck setting up the link between this application and Twitter via the instructions presented on the page as it only gives ‘Read Only’ access. Go to http://dev.twitter.com/apps and click ‘Register New Application’ there (you may need to log in). Fill out the following fields there as per the instructions on Step 1 Tweetable’s Install. Note: The Description field needs at least 10 characters. See below for an example:

Be sure to set the “Default Access type” to ‘Read & Write’ otherwise Tweetable WON’T be able to tweet from your WordPress!
Complete the Captcha, and then click ‘Register Application’. Read through the Twitter API Terms of Service and if you agree, click “I Accept”. Leave the “Application details” screen up as you are going to need information from it in the next step of the Tweetable install.Go back to the Tweetable Installation Step 1 screen and click ‘Continue’. - Tweetable’s Step 2 screen prompts for a “Consumer key” and “Consumer secret”. Copy and paste these from the Twitter “Application details” screen (that you didn’t close last step) and click ‘Save and Continue’.
- Tweetable’s Step 3 asks for your “Twitter Username”. Enter your Twitter Username then click ‘Save and Continue’.
- Tweetable’s Step 4 will “Authorise Your Twitter Account”. Click ‘Sign in with Twitter’ and follow the prompt to sign in, then click ‘Authorize app’.
- Tweetable’s Step 5 is the confirmation that Twitter has been linked to the account. Click ‘Finish’ and you will be taken to Tweetable’s setting screen.
Configuring Tweetable
- If you aren’t there, in WordPress, click on ‘Settings’ in the “Twitter” section on the sidebar.
- Update the following settings (we will change settings later):
URL Shortner: In my situation I was using bit.ly. I was able to link it to my account so I could see click throughs etc.
Tweetmeme button: You can have both Tweetmeme and Tweetable installed, they work together. Initial investigation, Tweetable puts the link at the bottom of the post where as Tweetmeme puts it up the top right!
Auto-Tweet Posts: UNCHECK!!!! (we will enable this later)
Remove Stylesheet: For the feature we are setting up, check this box so the additional stylesheets aren’t loaded. - Click ‘Save Changes’
Create New Categories
- In WordPress, click on ‘Categories’ in the “Posts” section on the sidebar.
- Create 1 (or more if you want to use this like Tumblr for short posts) New Category. eg:

It doesn’t have to be “Twitter Photos”, it can be anything you would like. That’s just what I’ve chosen for this site. If you want to do a short post update (ala Tumblr), you could create a category for that as well. - Click ‘Add New Category’.
Simply Exclude
- Install the Simply Exclude plugin and ‘Activate’ it once installed.
- Click on ‘Exclude Categories’ under “Simply Exclude” in the sidebar.
- Set the “Inclusion/Exclusion” to ‘Exclude’ for “Front”.
Set the “Inclusion/Exclusion” to ‘No’ next to “Widget” (if set to Yes, Category lists will display ‘No Categories’).

- In the bottom part of the “Manage Category Exclusions”, find the “Category” you just created (or two). I don’t want my “Twitter Photos” to appear as a post on my “Front” page or in peoples RSS “Feed” (“Archive” needs to be unchecked so people can view the individual posts).I do want my ‘Updates on the go’ to appear on the front screen, so I leave everything unchecked.

- Click ‘Save Changes’.
Latest News Widget
- Install the “Latest News Widget” and ‘Activate’ it once installed.
- Click on ‘Widgets’ under “Appearance” in the sidebar.
- Drag the “Latest News Widget” to where you want your twitter photos to appear on your blog.
- Set a Title (I’ve set it to “Twitter Photos”), then set the first of the “Categories to Pull Posts From” to the Category you specified earlier and the others to ‘None’.
Check “Show Post Title” and specify a number of “Posts to Show”. Set “Hide the Content”.This will show just the “Title” of the post in the Widget Area you specified, it won’t show the image. This widget won’t shrink images to display properly, so they will appear as text only. - Click ‘Save’.
Note, if you want to set up a small Tumbler type post, add another “Latest News Widget”, specify the second Category you set up, in my case it was “Updates on the Go”, then in this Widget, select ‘Show Post Title’ and set the “Content Limit” to about ’30′. I think that’s a nice way to display those posts in the sidebar.
Test post
I’d recommend doing a test post so you know what this will look like on your blog first.
- Open the WordPress application on your smart phone and create a new post.
- The title of the post in future will be the contents of your tweet, so be caution of the 140 character limit. Be sure to specify the Category as the one you have created. In Media, click ‘Add’. Find the image you want to test with and publish the post.
What we’ve got so far
If you have set up everything as above, you should NOT see the post published on your mail blog. Where you widget is, you should see a text link which is the subject:
Clicking the text will open up the post with the image:
Setting up an automatic Tweet
- Click on ‘Settings’ under “Twitter” in the sidebar.
- Check “Auto-Tweet Posts” and add content to the “Auto-Tweet Posts Prefix”. I’ve just specified “New Stuff:” (10 characters)

Note: Once this is set, all future posts will be tweeted to your Twitter account with whatever you typed in the “Auto-Tweet Posts Prefix” before your post title in your tweet. - Click ‘Save Changes’
Mobile Theme
If might also be a good idea to install a mobile theme for your blog. That way when people who are using smart phones access your blog, they will see a mobile friendly version of the post which improves their user experience (IMHO).
Post away!
Start creating Posts in your Twitter Application on your smart phone or via the web client.
Just be sure to specify the Category when you post so it will appear in the correct location on your blog!
Small thing to note
As you are posting these photos IN WordPress, when someone opens the post of the image, the next/previous may link them to an actual blog post and viceversa.
Conclusion
So now, you can post images and short blog posts ala TwitPic / Tumblr and have it all hosted on your own site. It won’t clog up the main blog roll and will direct more traffic to your site!
If you found this post useful, and set up something on your site, please let me know in the comments below and maybe even say a little thank you by sending a donation my way.
Problems completing things
I admit it! I have problems finishing things (this post was started 2 months ago!). It seems as soon as I get my head ready to work on a project, I get motivated to do something totally different. Unfortunately this tends to mean that a number of projects I’ve wanted to complete over the last 10-15 years, have never been finished.
In the last 5 years there have been:
MCSE/MCSA – since leaving school I’ve said I wanted to get this qualification, which is self paced. I learnt when doing a year of University via correspondence, sitting down and applying myself was hard. This project will take 6 months to complete the first level, then a couple of months to upgrade it. What’s my biggest hurdle in accomplishing this? Time and concentration/dedication.
Christmas Lights – ever since seeing the video of Christmas Lights done to music a few years ago, I’ve wanted to do my own version. I’ve got a plan, it’s just execution, and again time. From start to finish, this is a few months worth of work.
Animated Short – back in 2006, I was on a site which was planning on producing a short animated film. The scope of thee first film was huge, so I put forth a short story, which got a few people working together, however due to problems with the Webmaster, the site disappeared, just after I had backed up all my data, since then it’s been during dormant except for the opening credit I’ve worked on.. This is a project which will take several months to complete, time and learning is required to complete this now.
Album – since I started writing in about 1995, granted the throughput hasn’t been that much, but I’ve always wanted to record a complete album. I’ve tried working with others on the internet to collaborate on an album (see RPM Challenge) which didn’t come about, and even when I try to do the challenge by myself, I didn’t get past 2-3 songs being written (and only 1 being recorded). Again, this comes down to quiet time at home, which I don’t seem to get much of.
Coding a CMS – I think it was 2005, I designed a website with a registration system which submitted the details via email. Since then, it’s turned in to a database driven CMS/event registration system. Last year, it was made more modular, however the registration still requires a lot of manual coding each year to update information. Each year I say I’m going to update it and never seem to fully get around to it. This year I will so the management can potentially be passed on to others, plus I can release the code so others can use this. I keep having more and more ideas about how to implement this, which will mean this will always be a work in progress. Why don’t I use an ‘out of the box’ CMS? Well, I haven’t had one that will allow the registration we require along with a newsletter mailer!
Coding a Social Network – A couple of months ago I had an idea to create a Social Network (I won’t give anything away as yet as it’s still on the backburner), I’m thinking once the CMS is sorted, this can be extended from that.
Of course I have other goals, such as health (lose weight) and house goals (de-clutter). And dreams that go with them, such as a trip over to the States and other locations around the world/Australia.
How does one start?
Thinking back, it always seems to come back to music. Each time I got to do something, I pretty much pack up my studio. Within a week, I’m unpacking microphones and guitars again. So maybe keeping them out to record on the side is a good thing.
Considering that the site which the CMS was initially designed for is going to be going live for this year shortly, that should be my first priority. Next would be study/music. Lights will be working in 2012, it’s going to take a full year of work to get that sorted.
So, CMS, here I come..
(Yes, this is just a ramble I needed to put on paper)



