March 04, 2003
Movable Type plugin to add threading and subjects to comments
Last modified by Alexei Kosut at March 1, 2004 10:01 PM
Post a new comment
Syndicate this entry (XML)
So it appears that there is currently no interface for the blog owner to edit the Comment Subject field of a comment posted using this plugin.
That could lead to some problematic situations.
First off your instructions are great. I only had one small issue.
For “Altering the Individual Entry Archive template” you suggest in #2:
“Replace the comment listing—that is, the part enclosed by [MTComments]—with this:
[$MTInclude module=”Nested Comments” $]
I made a mistake and took the instructions verbatim so I ended up putting [MTRootComments] inside [MTComments]. I would suggest either mention replacing [MTComments] through [/MTComments] with [MTRootComments] through [/MTRootComments] or adding some sort of clarifying note.
Thanks a lot for this great mod!!! Also, MTThreadMail is a good addition to the functionality of your application!
I’m having a little trouble with this plugin. Obviously it’s something wrong on my end, since so many people are satisfied with your work. Do you have any idea what could be causing this:
I can post a comment and reply to it, but can’t reply to that reply. Also, I can only post two parent comments. After that, I can’t comment on either thread or create a new thread. It sounds like some kind of counter issue that I have mangled up, but I can’t find it. I know you can’t really help much without seeing my code, and asking you to dig through my code is like asking a stranger to come unclog my toilet. So, just off the top of your head, do you have any ideas?
Just curious. Implementing your plugin and patch, doesit affect the functionality on blogs that I would rather leave alone with the regular MT commenting? I only want to implement this feature on my main blog…
Could MTThreadedComments be updated to be compatible with MTBlacklist?
MTThreadedComments is compatible with 2.64??
MTThreadedComments seems very cool, but I can’t inplement it in my environment.
Could someone help with my problem?
Must I start with a clean created weglog? Or must do something else?
According to the instruction in “Installing MTThreadedComments”;
1. applied patches to ./lib/MT/App/Comments.pm and ./lib/MT/Comment.pm.
I ftped them with text mode, and changed their permission to 644.
2. created a new test weblog within MT2.64, and created two new entries.
3. changed “individual archive” template and “comment listing” template
in accordance with the instruction.
4. created “Nested Comments” template module
When rebuilding all, I get an error message something like “failed rebuiding individual entries.”
When calling Comment Listing Template the message:
Build error in template ‘Comment Listing Template’: Error in tag: You used an ‘MTCommentBody’ tag outside of the context of a comment; perhaps you mistakenly placed it outside of an ‘MTComments’ container?
Is there a way to apply the patch to MT if I don’t have access to a unix shell on my server? They got rid of all shell access for everyone. Is there an alternate way of implementing the patch?
MTThreadedComments intallation on FreeBSD
I’m having difficulty installing this plugin on a FreeBSD server. I’m actually just porting an MT website from a Windows XP machine (my workstation/test server), but I’m stuck on getting the plugin to work. I had no problems getting it working with the MT installation on my machine, but with this server after carefully checking all of the steps of the installation multiple times to make sure i did them correctly, I still can’t get the plugin to even be recognized. The new tags in the template are simply not recognized and rebuilds fail. With this being the error, is there any way i could narrow the problem down to determine whether the cause is from either the plugin file, the patch, or altering the mysql database? I actually wasn’t able to do the last alter to create the index that’s indicated in the instructions (claimed that this was bad syntax) yet i also had this with Windows XP, but the plugin was still recognized and i could utilize the new tags. If anyone could point me in a direction towards solving this, I would greatly appreciate it. Thanks
I’m attempting to install this patch on a blog I’ve set up for an online class because I’d like my students to reply to each others’ comments. Unfortunately, I’m getting an error message:
patching file ./lib/MT/App/Comments.pm
Hunk #1 FAILED at 103.
Hunk #2 succeeded at 171 (offset 23 lines).
Hunk #3 succeeded at 194 (offset 23 lines).
Hunk #4 succeeded at 231 (offset 23 lines).
1 out of 4 hunks FAILED — saving rejects to file ./lib/MT/App/Comments.pm.rej
patching file ./lib/MT/Comment.pm
Any idea what this means? Help!!
I had just one problem, and would suggest you alter your instructions:
You say at various points to “remove everything between and ” and I did so, but I left the tags in there. This caused all kinds of interesting problems where n^2 comments appears with duplicates of every one. Anyway, making it explicit would be great.
Otherwise, pretty much a success.
This might be a known issue (I haven’t had the time to read all of the comments on this page); however, since the instructions still reflect this error, I thought I would submit this regardless.
Nesting box border
I posted this on the wrong site, I think, so I’m trying again here:
I noticed that the left border of the comment nesting boxes, here, stop at the top and bottom of the comment. They look beautiful.
On my site, though, they extend into the top and bottom padding of the comment (padding-top and padding-bottom of .comments-body). Naturally, I can reduce the padding to zero, but then the comments are all squished together. This seems to be true on the other sites I’ve seen that use threaded comments.
How can I adjust this so that left border doesn’t extend into the top and bottom padding?
I’m getting the following error… any ideas?
[taz3] 1:54am yosoy > patch -p0
Hmm... Looks like a unified diff to me...
The text leading up to this was:
|diff -bru ../MT-2.62/lib/MT/App/Comments.pm ./lib/MT/App/Comments.pm
|--- ../MT-2.62/lib/MT/App/Comments.pm 2003-02-16 00:20:08.000000000 -0800
|+++ ./lib/MT/App/Comments.pm 2003-02-18 11:56:46.974335000 -0800
Patching file ./lib/MT/App/Comments.pm using Plan A...
Hunk #1 succeeded at 187 (offset 84 lines).
Hunk #2 succeeded at 150 (offset 2 lines).
Hunk #3 succeeded at 255 (offset 84 lines).
Hunk #4 succeeded at 211 (offset 3 lines).
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
|diff -bru ../MT-2.62/lib/MT/Comment.pm ./lib/MT/Comment.pm
|--- ../MT-2.62/lib/MT/Comment.pm 2003-02-11 16:15:03.000000000 -0800
|+++ ./lib/MT/Comment.pm 2003-02-18 11:57:41.144109000 -0800
Patching file ./lib/MT/Comment.pm using Plan A...
Hunk #1 failed at 10.
1 out of 1 hunks failed--saving rejects to ./lib/MT/Comment.pm.rej
[taz3] 1:54am yosoy >
MTThreadedComments on Windows server
My server is Apache running on Windows, so I don’t have access to the patch utility. I read in one of the MT support forums that I could patch the Comments.pm file myself using the information in the .patch file, but I looked at both and have no idea what to do. Has anyone installed this plugin on Windows, and can offer some advice?