our thoughts

Blogs and forums are made of the same content structure (post + comments) but are organised in different visual formats (blogs sort by post date, forums sort by last comment date). To show what I mean, take a look at this basic “forum view” of my blog.

It’s a common request: to have a site with both a blog and forums. There’s a number of ways to approach this:

Install blogging software in one folder, install forum software in another.
You get the best of both pieces of software and all the functionality, yet each needs to be themed so that the site looks like it fits together – each in its own way. Visitors usually have to register for the forum and enter in their details to post a comment in the blog section – not the ideal for usability. If you want to “promote” a forum topic to the home page of your blog, you’ll have to re-post it, generating two places for conversations to occur (unless you turn off comments in the blog). There’s not only often a lack of visual similarities, there’s two different systems for your visitors to learn, and real separation of the content (basic useful information such as merged latest comments are difficult to create). You also have two lots of software to upgrade and maintain. If you change your site’s design, you’ll have to change it in two places.
Hack blog and forum software so they work together
Force the software to use the same login, user and permission information. This can work, although it’s messy and upgrading can be a nightmare. You’ll still have two lots of software to upgrade and maintain. If you change your site’s design, you’ll have to change it in two places (unless you’ve hacked this as well – but that’s highly unlikely given the different templating systems used).

Install software which has both blog and forum functionality.
We’ve used Drupal (wonderful) and XOOPS (not so great). For more solutions, search at CMS Matrix (tick Blog and Discussion Forum features). Drupal is brilliant in that you can categorise blog and forum content using the same taxonomy if you like, there’s RSS feeds for taxomony terms, or forums, or blogs – whatever takes your fancy. You can also promote stories from the forums into the blog – and comments are all kept together. One user system for both, one theme, one lot of software to maintain. Drupal is a lot more flexible than Wordpress but has a steeper learning curve at the beginning.

If you’ve already got a successful blog, the thought of moving platforms in order to accomodate forums can be off-putting.

But wait! Are blogs and forums really that different?
Well… yes and no.

While the appearance (think template), functionality (think format/plugins) and usage are different (see Lee’s insightful article on the difference between blogs and forums), the basic underlying content structure is exactly the same:

Blogs are full of posts and comments, created by authors, organised into categories.
Forums are full of topics and comments created by members, organised into different sub-forums.

They fill different roles and exist side-by-side on sites – indeed we would not want to remove either tool from the community sites we run.

This leads me back to my initial thought: if blogs and forums are made up of the same content underneath, could two different templates be created for a site running on blog software – one for the traditional “blog view” and one for the traditional “forum view”? We would then be back to having one piece of software to maintain, one theme, one user and permissions system.

Wordpress’ permissions system is flexible enough to allow users to add forum topics (blog entries), categorise them and have them displayed in a separate area of the site. A template would handle the display and sorting (by last comment date, rather than by last post date). Note-worthy forum topics could be “promoted” to the home page of the site with meta-tags that only users with a certain permission level (e.g. the blog’s owner) could access.

Of course, some features of forums would not be automatically built in and would need to be made available by way of plugins (e.g. if you wanted threaded comments, you’d grab the plugin discussed recently). User profile pages would substitute in for forum member pages.

On the other hand, many forum software systems are bloated with features which can be daunting for new users and full of heavy-to-load pages. Vanilla is an obvious exception – but have a closer look… how different is that from a blog… really?

Once again, would appreciate your thoughts!

Again, here’s a basic “forum view” of my blog.

Wordpress 2.0 bug fixes

January 30 2006
by Rachel

Tagged

If you’ve downloaded Wordpress 2.0, you may have struck one or more of the following annoying bugs. I’ve heard that an updated version will be out soon (2.01) but here are some quick fixes for you in the meantime.

Uploading images: when you click on the “Use original” option, it still sends the thumbnail to the editor. You have to manually resize by dragging the corner of the image or by editing the HTML.
Solution: Grab the fixed version of inline-uploading.php (from Wordpress) and upload to your wp-admin folder.
Always logged out: when you’re already logged in but it says you’re logged out. This gets really tedious really fast.
Solution: Grab the fixed version of wp-login.php (from Wordpress) and upload to the directory you installed Wordpress into.
Permalink sagas: There’s lots of permalinks issues out there, since the system was changed drastically in Wordpress 2.0. I haven’t had too many issues, although I noticed that since I’ve set my blog up in /blog/, whenever there was the word “blog” in my post title, the permalink went to a 404.
Solution: Replace functions-post.php and classes.php and put them both into your wp-includes folder.

A word of caution:

It’s always a really good idea to make a backup before changing anything. I’m not resposible for any changes you make.

Improving Trackback display

January 30 2006
by Rachel

This tutorial will explain how to change or hide the display of Trackbacks/Pingbacks in Wordpress. You can see an example of this.

This post follows on from my nicer trackbacks plugin and post on improving comment section readability.

  1. Open your Comments Template and look for the sort of code below (yours may look different, depending on your theme). I’ll refer to this code as the display code.

    <li class="<?php echo $oddcomment; ?>" id="comment- <?php comment_ID() ?>">
    <cite><?php comment_author_link() ?> Says:
    <?php if ($comment->comment_approved == '0') : ?>
    <em>Your comment is awaiting moderation.</em>
    <?php endif; ?>
    <br />
    <small class="commentmetadata"><a href="#comment- <?php comment_ID() ?>" title=""<>?php comment_date('F jS, Y') ?> at <?php comment_time() ?></a> <?php edit_comment_link('e','',''); ?></small>
    <?php comment_text() ?>
    </li>

  2. Adjust the code to switch based on whether it’s a real comment.

    <?php if (get_comment_type() == "comment"){ ?>
    display code
    <?php } ?>

    This will now only show comments on your site. People can still trackback/ping your site (if your permissions allow this) and you’ll receive notification, but they won’t clutter up the comments section.

  3. If you want to show Trackbacks/Pingbacks on your site, mixed in with the comments, but in a different style, after the code in Step 2, add:

    <?php else { ?>
    display code
    <?php } ?>

    Remember that “display code” is replaced with the chunk of code in Step 1. Now, change this second lot of the display code to change the way Trackbacks/Pingbacks appear on your site. I have removed the body of the comment and just shows the link to their post:

    <li class="trackback" id="comment-lt;?php comment_ID() >">Trackback: <?php comment_author_link() ?></li>

    I’ve created a special class for my trackbacks so it can have its own style in the stylesheet (e.g. smaller font, different background color). If you decide to leave in the body of their post, my nicer trackbacks plugin will help get rid of the “[...]” bits if you want them gone.

Coming soon: I’m still working on an efficient way of being able to display your Trackbacks/Pingbacks entirely separately from your comments. One simple way would be to loop through your comments twice, once displaying the comments and the other to display the Trackbacks/Pingbacks. A better solution would be to loop through once and store the Trackbacks/Pingbacks for later display. Unfortunately most of the functions in Wordpress don’t return a variable which can be stored, they echo the results directly…

For many blogs, managing blog comments actually often means deleting spam comments. For others, entries may get many comments and it can be daunting for readers to wade through the piles of comments in order to find the gems.

Here’s some strategies for improved readability when dealing with large numbers of comments:

  1. Highlight your comments – so they stand out from all other commenters’ comments. We use this on IdolBlog, which was built using Drupal. It helps when you’re clarifying issues, responding to questions, or stepping in to calm down a discussion. It helps others to scan through the pile of comments too. Here’s a Wordpress plugin which will do this for you.
  2. Provide visual cues – by adding a mini icon (what’s know as a Gravatar or Favatar or Comvatar, depending on how the icon is obtained) which is always the same for a commentor, one is able to scan comments more quickly. You can see whether only a few people are leaving a tonne of comments back and forth (especially ones which argue regularly) or whether the post is attracting a wide variety of commenters. See the Gravatar, Favatar and Comvatar plugins for Wordpress.
  3. Show what’s new – forums have done this well in the past by indicating the number of new comments since your last visit. Drupal offers this for all commented on content. There’s a Wordpress plugin for unread comments. Of course, comment RSS feeds or email notifications can be used to track new comments on posts that interest you too.
  4. Split things up – I’m sure you’ve all been to a post which has hundreds of comments and it takes forever to load. Paginate your comments once there’s too many to load on a single page.
  5. Newest first – this one can be a little confusing for your visitors as it’s not the norm. We’ve tried it on IdolBlog and there are groups who prefer having the newest comments listed at the top, and others who prefer the standard of having the newest comments at the bottom. While posts are shown in reverse chronological order, reading a conversation in reverse order might not be appropriate. In some cases though, it can be handy to reverse the order of comments. (We now offer members the choice of the order they list comments on IdolBlog.)
  6. Distinguish Trackbacks – Wordpress mixes these all up and sometimes it can be rather confusing if commenters are discussing a post to be “interrupted” by a trackback. Create a different style for your trackbacks to help reduce the lack of flow.
  7. Rate comments – Like Slashdot, enable comments to be rated with a user-defined filter which hides comments below a certain threshold. Helps sort the wheat from the chaff. Alternatively, text size, text colour and background colour could be altered so as to “quieten” unimportant voices and enhance important contributions – more useful when dealing with large amounts of comments than displaying a score beside the comments.
    Remember the trick here is to help improve readability of large numbers of comments. Less clutter is better. I haven’t seen a plugin for major blogging tools (apart from Drupal which does this).
  8. Nested comments – This can be a little confusing if you’re not used to threaded comments but wonderful if your commenters frequently go off in little tangents, or have mini-conversations which aren’t relevant to everyone. See this Wordpress plugin.
  9. Editable comments – Blog commenters often muck up an original comment and post a comment straight afterwards to fix the first, or add an after-thought. If comments were editable, this would be greatly reduced.
    The problem here is when someone leaves a provocative or controversial comment, then comes back and changes or deletes what they initially said. This can make others out to look stupid or can confuse newcomers to the conversation. We get around this by allowing editable comments on IdolBlog in conjunction with nested comments. If someone has already responded to their comment, they are unable to edit it. If no-one has yet, they can.
  10. Categorise comments – I’ve been thinking about this recently but I haven’t yet seen an implementation of it. If an idea were floated on a post, with the post author asking for feedback on the idea, often this is done by way of a mixture of blog comments. Sometimes, a poll may be used and the poll may also allow commenting on it. However, while an overall tally of the percentage of people for/against an idea is available at-a-glance, the reasons why people are for/against the idea are all mixed together.
    If comments were categorisable (such as agree/disagree/neutral/suggestion), then these could be displayed differently (such as a different background colour) or even separately physically (left, right, middle). At the end, a list of reasons for and against the idea could be found at a glance too.
    Categorised comments would be invaluable in other circumstances too, e.g. political blogs (which candidate/party the commenter supports). In some cases, categories would be replaced by more flexible tags. You a post you could specifc the type of tags you’re looking for (relevant to the post) – e.g. affiliation.

I’d appreciate any feedback on this concept of tagging/categorising comments. Would you find it useful? How would you envisage using it?

If you’ve seen other ways of improving the readability of large numbers of comments on blogs (or other systems), I’d love to heard them!

Blog Design Solutions

January 28 2006
by Rachel

I was over at Chris Jarvis’ blog today and noticed he’s announced a new book coming out: Blog Design Solutions (pre-orders are available but it’s not out till the 20th of February). Funnily enough, I said to someone last night that I found it strange that no-one had yet put out a book on blog design!

The book is a team effort of Phil Sherry, Andy Budd, Simon Collison, Michael Heilemann (aka binarybonsai), Drew McLellan (aka allinthehead), David Powers, Chris J. Davis and John Oxton (aka joshuaink). See their author bios. I gotta say, if Chris, Andy, Michael and John are working together on a book, it’s gotta be good! (I don’t know the others but I’m sure they’ll be interesting too).

The book’s excerpt was a little off-putting in parts however. Here’s the meat of it: (more…)

I’ve now put up the code for the plugin used to create the TechCrunch Index.

Installation

  1. Check you have Ultimate Tag Warrior installed and activated
  2. Download the plugin and rename from cre8d_tags_in_columns.txt to cre8d_tags_in_columns.php
  3. Activate the plugin.
  4. Access the listing by including echo cre8d_UTW_TagArchive(); somewhere in your template. This will give, by default, 3 columns and tags grouped vertically in 5’s. If you wanted 2 columns and groups of ten, use: cre8d_UTW_TagArchive(2,10) and so forth.
  5. Add to your stylesheet the following:

    .list-column { float: left; width: 160px; margin: 0 5px; }
    .list-column ul { margin-left: 0; padding-left: 0; }
    .list-column ul li { list-style-type: none; }
    .spacer { margin-bottom: 20px; }

  6. Optionally tweak the width of .list-column to suit your blog’s layout. You may like to change the vertical spacing (.spacer) between groups too.

Blog design 101 One of the most common questions I’m asked is for beginner’s help in creating a new Wordpress theme. There’s a few approaches you could take and I’ll list some of the advantages and disadvantages of each method.

  1. Adapt the default theme (Kubrick) – Great if you’re only wanting some basic changes, like putting in a new header. If that’s you, you should check out Kubrickr! I wouldn’t recommend adapting the Kubrickr theme if you’re wanting a completely different design. There’s a tonne of bits and pieces to sort through (e.g. some of the CSS code is in the header file, not in the stylesheet which can confuse beginners) and quite a bit of PHP code to figure out. Urban Giraffe has a tutorial on adapting the default theme to your own custom theme.
  2. Adapt another theme – Use something like the theme browser for something that’s similar in layout/content to what you’re after. Again, sometimes the code may be overly complex/simple for what you’re after. Working with someone else’s code can take time to get your head around.
  3. Create your own theme from scratch – The most flexible, if you know what you’re doing. Using the Wordpress theme documentation is a good place to start but it can be a little daunting for beginners. If you’re wanting to release your theme publically for others to download and use on their blogs, there’s extra things you’ll need to do as well.

Plenty of starting places.

Coming soon: While one theme certainly won’t be the starting place for all themes, over the next little while I’ll be creating a skeleton Wordpress theme which will be a nice easy place to start your theme’s design from.

In this series of posts, I’ll step you through I created the theme and show you how you can quickly adapt the theme to suit your own purposes.

Elsewhere: Skype MSN Messenger Twitter Facebook