Archive for the ‘wordpress’ Category

Testing WordPress install

Sunday, April 5th, 2009

So you’ve installed WordPress- what next? -I think you should thoroughly test it especially if you have set it up for some one else to use. You want to be sure that on hand over everything is working as you expect.

Therefore based on the idea of actually testing which I know is a foreign concept to some :) below is my list of the essential WordPress post install testing tasks based on Ross Mckillops -WordPress complete post install checklist

  1. Edit your blog title, add email address
  2. If you let WordPress generate your password then now is a good time to change it to something strong that you will remember
  3. Add users if others will be contributing
  4. Change the tagline
  5. Set a date and time format
  6. Modify Reading and Writing settings
  7. Edit Discussion settings
  8. Edit permalink settings
  9. Add a test post and check that you can upload images and other multimedia elements- You may need to modify the folder permissions to allow WordPress to upload images.
  10. Edit or add a page
  11. Add some categories
  12. Edit blogroll
  13. Install plugins (Next post will have a plugin essentials list)
  14. Check blog and test plugins
  15. Pick a theme
  16. upload your theme
  17. Customize your theme
  18. Check blog and test plugins again

Ok so this post wasn’t strictly about only post install checking but more about what to do next after you’ve install WordPress and depending on how you installed it (manually or through your control panel) the tasks will be slightly different but you get the idea.

(Remeber test, test, test and then test some more :)

Locked out of wordpress admin

Thursday, April 2nd, 2009

So you can’t login to your admin area- not as stupid as it sounds, of course if you have literally just forgotten your password then maybe you are silly but how this can happen is that you forgot your password and then decided to use the recover/reset option which will change the password in the wordpress database but then for what ever reason the new password is not emailed to you- so you still are no better off because you still don’t know the password so therefore can’t login- yes you could scream!!!!

But wait help is at hand.

Option 1: Steven has written a couple of scripts that as long as you have ftp access to your blog then you can upload his scripts and use it to reset the password or user name.  BUT read carefully his disclaimer below and remember buyer beware :)

Steven’s comment

Hey Urshula, here’s those 2 scripts I was telling you about:
change_wp_username.zip.
reset_wp_password.zip.

As advertised it’s not a good idea to leave them up on a server!
I’ve made sure the textboxes are protected against MySQL injections and stuff like that, though if your password has a single or double quotes in it, or any backslashes you may have some problems. Though who uses those characters in a password… honestly!

Option 2: This is another one from Village-idiot.org which does the same thing and works well. Luckily haven’t used it lately :) But last time I used it worked a treat.

Option 3: Now I’m going to seem like the silly one but I’ve also reset me password directly through the database so if you have access to your database this to can be an option. This site has print screens to help you through this option

WordPress install instructions

Saturday, March 28th, 2009

Disclaimer: As most readers of this blog know I am an IT teacher so for my diploma students here is an update version of wordpress’s famous 5- minute install readme.html file.

Even though most of you don’t read the readme or all install instructions!! -Smart people know to read the readme properly first. But having said that many readme’s have a real expection of assumed knowledge so this is based on my what I know about my students assumed knowledge :)

The install instructions on wordpress are great but below is a short version of that and a better version of the readme that comes with the down load of wordpress 2.7

Updated WordPress: Famous 5-minute install

  1. Down load the latest version of WordPress from www.wordpress.org
  2. Unzip the package into an empty directory. (for my student this will be our local Dreamweaver folder so this about how you are going to work with it!!)
  3. Login into your control panel and create a new database and user for this wordpress installation (if you don’t understand this step check with your hosting provider about creating a mysql database and user with full privileges)
  4. Once you have these details
    -Open up
    wp-config-sample.php on your local machine with a text editor like notepad or similar and fill in your database connection details. (my student know I will have define a site within Dreamweaver and will open wp-config-sample.php within Dreamweaver because I am about to customise wordpress to the max but any text editor will be fine)
  5. Save the file you have edited as wp-config.php
  6. Upload everything!!!!! – this begs the question to where??- do you want your domain to be the blog or do you want this blog to be a subsection of your site- think ABOUT WHAT YOU WANT- then either upload everything to the root of your domain if you want your whole site to be the blog or to a specific folder if you want your blog to be a subsection of your domain. (If that made no sense don’t hesitate to comment me – student or otherwise)
  7. Open http://yourdomainname/installfolder/wp-admin/install.php in your browser. This should setup the tables needed for your blog. If there is an error, look at the error properly – most of the time it what you entered into wp-config.php file, and try again. Note the password given to you. And comment me with full details and I’ll have a look and let you know if it was your config or upload that is wrong
  8. The install script should then send you to the login page. If you get this far WOOHOO.
  9. Sign in with the username admin and the password generated during the installation. You can then click on ‘Profile’ to change the password.

The next post next week is how to test your wordpress install.

If this post was helpful please let me know- I love wordpress so will happily have a look and write a post about your install.

Blog Terms Definitions

Sunday, September 21st, 2008

Here is a list of some common blog terms. If you have any further suggestions please leave them in the comments and I will include them.

A

B

Blogger-Person who contributes to or runs a blog.

Bloggies-One of the most popular blog awards.

Blogging-the act of posting on blogs

Blogiday-blogger get fed up and takes a holiday from blogging

Blogroll-A list of blogs usually listed in the sidebar of the blog that the blog owner is associated with and recommends like a roll of honour.

Blogosphere-the blogging community. Often use in the sense that one needs to get out of the blogosphere when one doesn’t have a life outside of their blog world.

Blogstipation-writer’s block for bloggers.

Blogoholic-addicted to blogging

Blogorific/ blogtastic-something which a blogger says is terrific

Blogsit-maintaining a blog while the primary blogger is on leave

C

Categories-A collection of topic specific posts

Collaborative blog-A blog where multiple users enjoy posting permission. Also known as group blog.

Comment- A message left in direct response to a post.

Comment spam-Like e-mail spam where junk orbogus comments are left either manually or by “robot” with either advertising or links.

D

E

Entry/post-An entry published to a blog.

F

Fisking-To rebut a blog entry.

Flog-A fake blog that’s ghostwritten by someone, such as in the marketing department.

M

Moblog-A blog featuring posts sent mainly by mobile phone, using SMS or MMS messages.

P

Permalink-Permanent link. The unique URL of a single post. This is what you use when you want to link to a post on a another blog or website.

Pingback-The alert in the TrackBack system that notifies the original poster of a blog post when someone else writes an entry concerning the original post.

Podcasting-a method of distributing multimedia files (audio / videos) online using feeds for playback on mobile devices and personal computers. Podcasts are created by podcasters.

Post/entry-An entry published to a blog.

Plugins-Small files that add functionality and features. WordPress plugins can greatly improve blog usage and interactivity.

R

RSS-Really Simple Syndication is a family of Web feed formats used to publish frequently updated content such as blog entries, news headlines or podcasts.

RSS feed-The file containing a blog’s latest posts which can be read by an RSS aggregator/reader and shows automatically when a blog has been updated. It may contain only the title of the post, the title plus the first few lines of a post, or the entire post.

S

Subscribe-The term used when a blogs feed is added to a feed reader which allows readers to receive notification when there are new posts in a blog.

T

Tags-labelling / attaching keywords to collect similar posts

Theme-Images and CSS files which can be uploaded to a blog to control the visual display of a blog. Often referred to as the blog design.

TrackBack-A system that allows a blogger to see who has seen the original post and has written another entry concerning it. The system works by sending a ‘ping’ between the blogs, and therefore providing the alert.

V

Vlog-A video blog

Blogs as examples of dynamic websites

Thursday, September 18th, 2008

Take this blog as an example- I did not need to hand code any html either by hand or in Dreamweaver to get it going. I just

  1. turned it on in my web hosting control panel
  2. choose a theme from one of the millions of wordpress theme sites
  3. uploaded the theme
  4. entered in some configuration settings such as the name of my blog “what I’ve learned today” as well as other configurations

And in under an hour I’m an official blogger- woohoo. No html coding from me as the wordpress blog software does everything for me and the millions like me who are using the software which is great because it is dynamic. When I ad a post it is added to the database backend from which all the content is generated dynamically . Which is great and convenient.

When I add a link to the blog roll it dynamically appears on every page I do not manuallly add it ot every page. which is all great.

But as an example of when this can be an issue- because it’s basically one size fits all is demonstrated up in my banner. If you are viewing this site in ie 7 the text “What did I learn today” has the word “today” going over the picture frame which it doesn’t in the browser firefox and which I don’t want it to!!

In Firefox the word today is on a new line which is the way I like it. Now those that know any html will go “just put in a <br /> tag ” which will give a nice single line break between learn and today. But because this is a dynamic site in the source code that creates the page dynamically there isn’t <h1> What I did i learn today <h1/> where I can just insert my <br /> into.

What there is in the code is <?php bloginfo(‘name’); ?> which dynamically gets out of the database my blog name. And no I can’t enter in the break tag in the configuration because it will render the <br /> literally as a <br />.

Yes there are other work arounds but I just thought this was a good example of a dynamic site and how something that you may think is a minor tweak with dynamic sites can actually be hidden iceberg waiting to suck you in and that free hour you thought you had has just gone down the tube.

Happy blogging :)

PS: just in case your wondering what is the solution I think the best option is to modify the style sheet to reflect the presentation you want. I could replace the dynamic php code with static html but this would mean I’d have to do it every time i wanted to change the name of the blog in the code rather than the back end of blog. And since I change the name of the blog as often as my proverbial undies I think leaving the name dynamic is a good option. :P

Why I hate blogs

Monday, September 15th, 2008

The problem is blog usability

bloggersOK I don’t hate blogs in themselves but I do really hate navigating them. Sometimes I think they were a search engine invention as a self serving tool. I mean have you ever gone back to a blog to try to find a great post or article only to not be able to find it which means you need to remember the original search term if you actually found it via search engine. Too bad if you just stumbled upon it following links from other sites.

Before blog evangelists starts commenting with a history of blog development I know the search engines didn’t invent them but blog navigation nightmares are an added bonus to search engines on top of the fresh content because very few people navigate them and most rely on google and co to find the content for them hense my conspiracy theory that blogs were invented by Google and co.

Blog usability problems are a well documented issue which Jacob Neilson has outlined in this great article at http://www.useit.com/alertbox/weblogs.html

So all you bloggers check your blog against Jacobs Weblog Usability: The Top Ten Design Mistakes (same article as above) and see if you’ve learnt anything since this article was written in 2005.

This article Twenty Usability Tips for Your Blog from “I’d rather be writing” also has some great blog usability improvement tips.