Threaded Comments 1.5.3

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.
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.
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 :)
Now just to add a tiny feature request for when you feel like it.
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.
I'll take a look at it this when I have time :) Thanks for the reminder.
Hi! Where is the new version?! The only archive I can download is the 1.5 version… :(
That is the one containing the new version. The archives name is still briansthreadedcomments15.zip. Check the version number in the briansthreadedcomments.php file.
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).
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.
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 :)
Ok, it's done. 1.5.6 is now out there with this change.
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.
Check out my reply in the other thread
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?
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.
Does Threaded Comments work with K2 Beta One 96? If yes, does anything need to be modified or changed?
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?
Same here. Doesn't get registered user information, doesn't save info if they've commented before (registered or not). Any ideas?
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.
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 ;)
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?
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 ….
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.
Thank you :)
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.
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 ;)
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.