Installing Simply Threaded

To install Simply Threaded, follow these simply steps:

  1. Extract the Simply Threaded distribution (the .zip or .tar.gz file) preserving the directories. The resulting folders correspond directly to the folders in your Movable Type directory. Upload these folders to your MT directory such that the final file structure is

    MT_DIR
    |__ plugins/
        |__ SimplyThreaded/
           |__ lib/
           |   |__ SimplyThreaded/
           |      |__ CommentThread.pm
           |__ php/
           |  |__ function.MTCommentReplyField.php
           |  |__ function.MTCommentReplyLink.php
           |__ simplythreaded.pl
    
  2. Point your browser to Movable Type (mt.cgi) and you will be prompted to install Simply Threaded. Although Simply Threaded no longer installs any tables in your database, this step is needed to migrate users from v1.0 of this plugin.

    Install Simply Threaded

  3. If the plugin has been correctly installed, the wizard will successfully complete and you will see the following under System Overview > Plugins

    Simply Threaded Registration

Installing Simply Threaded's Template Tags

For your commenters to be able to reply to comments, you need to add these two template tags to your templates.

MTCommentReplyLink

This needs to go within an <MTComments>...</MTComments> container and displays a Reply link that commenters can click to reply to a comment.

If you use the default templates, the best place to add MTCommentReplyLink is in the Comment Detail template module. Within this template module, you will find a section that is similar to this:

    <div class="comment-footer">
                <a href="#comment-<$MTCommentID$>" title="Permalink to this comment"><$MTCommentDate format="%x %X"$></a>
    </div>

Simply add MTCommentReplyLink there like so:

<div class="comment-footer">
            <a href="#comment-<$MTCommentID$>" title="Permalink to this comment"><$MTCommentDate format="%x %X"$></a> | <MTCommentReplyLink>
</div>

By default, MTCommentReplyLink will display an anchor (<a> tag) reading Reply, if you wish to change the text it uses for the anchor, simply add a label attribute like so:

<MTCommentReplyLink label="Reply to this Comment">

MTCommentReplyField

This template tag will publish some JavaScript that is triggered when someone clicks a reply link. This must go within your comment form.

In the default templates, open the Comment Form template module and search for this bit of markup:

<label for="comment-bake-cookie"><input type="checkbox" id="comment-bake-cookie" name="bakecookie" onclick="if (!this.checked) forgetMe(document.comments_form)" value="1" />Remember personal info?</label>

Simply add MTCommentReplyField after this like so:

<label for="comment-bake-cookie"><input type="checkbox" id="comment-bake-cookie" name="bakecookie" onclick="if (!this.checked) forgetMe(document.comments_form)" value="1" />Remember personal info?</label>

<p><MTCommentReplyField></p>

Remember to publish all the templates/archives you have changed whilst installing Simply Threaded!

14 Comments

lexxa replied to neveta's comment:
on Nov 3, 2007 6:42 PM | Reply

ั‚ะตัั‚

ChicoBangBang replied to Sina Hossein Zadeh's comment:
on Nov 7, 2007 1:22 PM | Reply

if i reply to the first comment, will I appear on top ?

Christopher said:
on Nov 24, 2007 2:38 AM | Reply

It's a nice idea, but the plug-in's javascript generates this error:

Char: 2 Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.

The plug-in is either buggy or the installation is more complicated then the instructions provided here. What a shame.

Kip Silverman said:
on Nov 24, 2007 9:49 PM | Reply

I downloaded what should have been 1.1 but both the install and the plugin info in the MT plugin screen say it 1.02. Can you please verify the download? The archive states 1.1. I am running MT4.

Thanks

Kip

Christopher said:
on Nov 27, 2007 8:33 AM | Reply

weird -- it simply doesn't seem to work on my blog unless the commentor is login into typekey. You can try it here:

http://libertydesirebelief.thechartersofdreams.com/2007/11/smarter-better-than-the-britis.html

Subbu Allamaraju replied to Kip Silverman's comment:
on Dec 17, 2007 8:42 PM | Reply

I noticed two problems:

a. The "Reply" link does not work on my blog. I just noticed it does not work even on this page (i.e. http://plugins.movalog.com/simply-threaded/install/).

b. As Kip Silverman pointed out, although I downloaded v.1.1, the plugin info page shows that the version is 1.02.

Thanks Subbu

John Shannon replied to Subbu Allamaraju's comment:
on Dec 19, 2007 11:06 AM | Reply

I think it is a feature that it will only work if you are logged in (works with me through TypeKey and native MT login. Would be nice to know if it could be adapted for anonymous commenting.

Dan Cooper said:
on Jan 24, 2008 11:46 PM | Reply

The plugin's installation instructions and the manual don't seem to me to agree as to the setup.

Also, they're totally unclear.

I find that after much tweaking, this thing does not work.

And if it doesn't indent indents, it's of no use anyway.

I think you need to build software that works without all sorts of diddling around in template modules.

Jim Walczak replied to Dan Cooper's comment:
on Apr 14, 2008 1:33 AM | Reply

I can't make it work either!

John M replied to John Shannon's comment:
on Apr 30, 2008 9:18 AM | Reply

I've had the same problems as some others with anonymous commenting. Other than that, the application works great in the test page I set up.

I'd like to know if anyone has a workaround for anonymous commenters.

demonsurfer said:
on May 30, 2008 9:32 AM | Reply

Thanks Arvind for donating this plugin to MT4.2.

About

This is part of the official user manual for Simply Threaded, a plugin for Movable Type by Arvind Satyanarayan.

More Information »

Screenshots

Click a screenshot to browse through the gallery or the arrows to flip through them

←→

I Heart Melody