Threaded Comments 1.5.3

Threaded comments

I'm pleased to announce Brians Threaded Comments 1.5.3.

New version has following features:

  • It's not screwed up, like the version that has been out for a week or so was

  • Patch from Salil Deshpande requiring login for commenting if the preference for this is set

  • Automatically has features for Scriptygoddess' "subscribe to comments" plugin if it's present and activated

  • A document structure check that might help people figure out why the plugin isn't working when they have altered the comments.php file

Link to Brians Threaded Comments page with install instructions and download link.

Update: It's now 1.5.4 – minor bugfixes from Salil Deshpande.
Update 2: It's now 1.5.5 – Added an options panel to "Options" for the few settings.

RSS feed | Trackback URI

33 Comments

Comment by danithew
2005-08-01 21:00:40

This looks great. I'm not sure if it covers the odd little suggestion I had sometime ago, that if comments are closed, perhaps it wouldn't show the "reply to comment" line any longer. If that's already been handled and I missed it, cool. I'll be downloading this and using it. If not, please consider this as a friendly reminder.

You write great plugins. Thank you for sharing them.

Comment by Brian Meidell
2005-08-02 22:09:48

Thank you :)

Thank you for the suggestion. I'll put it on the todo list – it seems fairly simple, so it should be done in not too long.

Note that I released 1.5.5 just now :)

(Comments wont nest below this level)
 
 
Comment by Joen
2005-08-02 00:01:41

Now just to add a tiny feature request for when you feel like it.

  • A setting for a single level of threading. That is, main comments, and only one sub-level.

Currently, the smallest setting has two levels of threading, as in the screenshot above.

I tried digging through the code, but somehow I failed to see how to solve this.

Comment by Brian Meidell
2005-08-02 19:02:14

I'll take a look at it this when I have time :) Thanks for the reminder.

(Comments wont nest below this level)
 
 
Comment by Lu
2005-08-04 19:48:03

Hi! Where is the new version?! The only archive I can download is the 1.5 version… :(

Comment by Brian Meidell
2005-08-04 22:07:17

That is the one containing the new version. The archives name is still briansthreadedcomments15.zip. Check the version number in the briansthreadedcomments.php file.

(Comments wont nest below this level)
Comment by Martey
2005-08-05 09:09:47

The "Version" still shows as 1.5.1. If it weren't for the updated History and increased file size, it would be impossible to tell that this is an updated version – for a second I thought I had downgraded (was using 1.5.2 before).

 
 
 
Comment by Martey
2005-08-05 09:16:17

Also, it would be better if the plugin used "do_action('comment_form', $post->ID)" (like the standard WordPress comments.php) instead of displaying its own form, in order to maintain compatibility with other plugins.

Comment by Brian Meidell
2005-08-05 12:26:49

Thanks for the heads up about the version number.
I fixed it now.

As for this comment, I didn't know about that hook (I know much too little on the wordpress plugin api – it's on my todo list).
I'll take a look at it asap.

Thanks for your very useful input :)

(Comments wont nest below this level)
 
Comment by Brian Meidell
2005-08-05 13:15:20

Ok, it's done. 1.5.6 is now out there with this change.

(Comments wont nest below this level)
 
 
Comment by LuAnn Subscribed to comments via email
2005-10-18 23:53:36

just wondering if there's a way to get rid of the javascript error alert. The plugin is working just fine, but it comes up whenever you reply to a comment saying something about a div tag. I thought I already commented about this, but it's not here.

Comment by Brian Meidell
2005-10-23 09:38:37
(Comments wont nest below this level)
 
 
Comment by Gianko
2005-11-08 20:44:23

Hi!
first, thanks for this wonderful plugin, I love it so much!
Now, I'm having these little problems:
1.- people on Mac's IE 5.0 can't comment or read the comments.
2.- when you click to "cancel the reply" the comment form disapear!

Can you please help me?

Comment by Brian Meidell
2005-11-08 21:44:50

Thank you :) I am glad you like it.

The Mac IE 5.0 issue sucks. I don't want to spend time hacking around shortcomings of marginalized browsers unless they are from a company I really like :) I am sorry, but I am not going to try and fix it.
If someone fixes it and tells me about it, I will surely incorporate their fixes though.

There's a problem with Safari too as far as I remember – maybe if I am lucky, it will clear up the mac ie issue as well.

As for the second part, see if you have this string in your source:

id="content"

If not, that's your problem. You need a div with ID content, or the content form will disappear.

(Comments wont nest below this level)
 
 
Comment by David W. Boles
2005-11-09 18:06:55

Does Threaded Comments work with K2 Beta One 96? If yes, does anything need to be modified or changed?

 
Comment by crickie Subscribed to comments via email
2005-11-25 06:19:00

I'm having an issue with the comment form not remembering author information. It happens to everyone, so I know it's not a cookie/browser issue. What could be going on?

Comment by Valentine
2006-02-19 14:19:37

Same here. Doesn't get registered user information, doesn't save info if they've commented before (registered or not). Any ideas?

(Comments wont nest below this level)
 
 
Comment by Eli Subscribed to comments via email
2005-11-30 04:27:38

I'm using this plugin and for some reason the "+" and "-" images aren't showing right – any clues?

I'm using WP2b2 and K2r125 BTW.

Comment by ray
2006-02-16 21:04:11

I found that the ".primary img" of K2's style.css is inherited by these images. I just took the padding and border down to 0 and it works fine. also, these are png's which don't work in IE ;)

(Comments wont nest below this level)
 
Comment by Kelvin Wong`
2006-02-25 07:34:54

Did you manage to get it working witht the K2 styled comments in K2 (with AJAX) or did you just do a standard replace of the comments.php to get it working on K2?

(Comments wont nest below this level)
 
 
Comment by medon
2006-01-03 22:47:49

i need use your plugins but im use WP version 2.** can you write comment.php for wordpress version 2.*** sent me e-mail inzies@gmail.com if you can help me.. please ….

 
Comment by stacee
2006-01-07 11:27:39

I just wanted to say thanks for creating this plugin and making it available for public use. I love it and how clean and orderly it keeps my comments. I've installed it a couple days ago, and haven't yet upgraded to WP 2.0 because I want to keep using this plugin. I'm sure you're probably working on making a version that'll work with 2.0, so rather than bug you about that, I just wanted to say thank you.

Comment by Brian Meidell
2006-01-07 11:45:40

Thank you :)

(Comments wont nest below this level)
 
 
Comment by David Eads
2006-02-01 05:08:10

Brian—Hey man, While I really like your plugin's functionality, I'm not really happy with the implementation or the lack of graceful degradation, so I've been working on my own developer-centric threaded comments plugin, and it is near completion.

It won't replace your plugin for many (probably most) users, but might for people who want easier customization and better degradation for users without JS. Basically, if you want a plug-n-play plugin, mine probably won't do, but if you do a bit of hacking in WordPress, mine should be a bit easier to work with. I've followed your naming conventions so that one can move back and forth between the plugins pretty easily.

Anyway, can you give me a shout via email to discuss this a bit? I'd love to start a thread discussing some of the technical details and pros and cons of various approaches to handling complex comment scenarios in WordPress, but I'm not sure that the announcement posts are the place to do it.

Thanks again, for the inspiration and a very useful plugin.

 
Comment by Brian Schmidt
2006-07-09 21:41:36

Hi Brian :)

I'm in the process of setting up wordpress to my liking and found the threaded/paged plugin based on this plugin.

A few feature suggestions which I think would be cool (and very useull):
1. Have posts be auto-folded based on certain criterias. The most basic example would be something along the lines of this:

<?php
// Code before The_Loop
$autofold_age = 4 * 7 * 24 * 60 * 60; // 4 weeks (4wks * 7days * 24hrs * 60 mins * 60 secs) = 2419200 seconds
$num_folds = 0;

// Code inside The_Loop
if (strtotime($comment->comment_date) + $autofold_age <= time()) {
if ($num_folds < 0) $js_fold_array .= ',';
$js_fold_array .= $comment->comment_ID;
}

// Code after The_Loop
if (!empty($js_fold_array)) {
?>
<script type="text/javascript">
var foldArray = array(<?php echo $js_fold_array; ?>);
for (var i = 0; i < foldArray.length; i++) {
collapseThread('div-comment-' + foldArray[i]);
}

</script>
<?php
}

?>

Ofcourse this is just an example and won't work just 'out of the box', and I know too little JavaScriptto write that part properly :)

Hope it's something you can use and are able to implement into your plugin :)

Venlig hilsen
Brian igen igen ;)

 
Comment by Neto Cury Subscribed to comments via email
2006-11-01 11:54:19

Insert Gravatar in your plugin, is possible?
Other question:

Why you do not create a specific page for the plugin, thus you show the new realeses in an only place?
Thus you facilitate the spreading.
Tears.

 

Sorry, the comment form is closed at this time.