Download

YATCP 0.6.5 Download YATCP 0.6.5

Questions, Bugs, Enhancements? Mail me: yatcp@organisiert.net

Features

  • Tested from WP 2.0.10, up to 2.5
  • Out of the Box threaded comments
  • Works without Javascript
  • Customizable through CSS or own templates
  • Completely internationalized for easy translation
  • Limiting of nesting depth
  • GPL v2 licensed

Quick Start

Using standard Wordpress your comments are linear, despite the fact that Wordpress provides the technical ability to thread comments. That way longer discussion Threads tend to get confusing, as the reader has to keep track who is responding to whom. YATCP (Yet another threaded comments plugin) tries to solve that problem by leveraging the possibilities provided by Wordpress. Screenshot of the reply to box

There are already solutions to this Problem, most known is probably Brians Threaded Comments which definitely is more mature than YATCP is now. Anyway I didn't like the Idea of requiring Javascript for anyone to be able to comment on a comment. Moreover I felt this made customizing that (really cool) plugin difficult.

So YATCP came to live in a small private Project where I needed nested comments. Due to the limitations made in this project the features realized today are rather small than complete. Nevertheless flexibility was a goal for this plugin so it should be easy to use YATCP in a way that fits your needs.

If you come across anything that is not solvable or obvious to see, don't hesitate to write me a Mail at yatcp@organisiert.net and we'll see what can be done. Finally YATCP is released under GPL, so feel free to get the Code and cook your own Plugin from that.

Installation

Installation is as easy as it could be

  1. Download the latest Version of YATCP
  2. Copy the .zip File to your Wordpress Plugins Folder
  3. Unzip the File (resulting in a new Directory yatcp being created)
  4. Activate YATCP in the Admin Panel
  5. Set the YATCP Options in the Options Panel (under "Options" » "YATCP Options") to your needs
  6. Adapt your Template according to the next section
  7. done

Template Adjustment

YATCP is a complete drop-in replacement for comments, so you need to adapt you template to this. The files that come with YATCP mimic the view of the default Theme. Additionally there are two ways in that you can adapt the display of the threaded comments to your needs. This is described in the section Customization.

The Adjustment to be made is fairy simple, just follow these steps (These are based on the Default Template, some parts may vary when you have installed another Template):

  1. Open the Administration Panel and navigate to Presentation
  2. Select Theme-Editor from the subnavigation
  3. Select Single Post from the right-hand List
  4. Scroll down to the bottom of the file. The last lines of the Template should roughly look like this: <?php comments_template(); ?>
    <?php endwhile; else: ?>
    <p>Sorry, no posts matched your criteria.</p>
    <?php endif; ?>
    <div>
    <?php get_footer(); ?>
  5. Replace the code comments_template() with yatcp_comments_template(), so your code block looks like this: <?php yatcp_comments_template(); ?>
    <?php endwhile; else: ?>
    <p>Sorry, no posts matched your criteria.</p>
    <?php endif; ?>
    <div>
    <?php get_footer(); ?>
  6. Click Update File to save your changes
  7. done

Known Problems

Currently the following things are known to be buggy or untested:

  • Hasn't been tested with wp-comments-popup.php