Brians Threaded Comments 1.5.1

Like my plugins? Try my game!

If you like my plugins, maybe you'll like the popular game I made for PC and Mac (yes, shameless plug).

Try Deep Blue Sea - it's free (Download: PC | Mac)

Threaded comments

Brians Threaded Comments 1.5.1 are out, with one little addition:

The open/closed images that I use here on my blog are now in the plugin version, and there are no external image files. Just update the plugin files and let me know if there are any problems.

Download Brians Threaded Comments 1.5.1

RSS feed

70 Comments

Comment by Lara
2005-04-09 18:45:44

Wow! This is great and works seamlessly…. I'm wondering (being not so great at the detailed coding stuff) if there's a way to change the nested comments to look more like your theme, as opposed to changing your theme to match the comments…. Is there a certain place in the comments.php that I should make those style changes?

(or if I'm making no sense, it's because I have no idea what I'm talking about…) :)

Comment by Brian Meidell
2005-04-15 08:22:44

The CSS in the briansthreadedcomments.php is probably the best place to change the looks.

(Comments wont nest below this level)
Comment by doug
2005-04-15 12:24:21

Great plugin. Thanks!

 
 
Comment by owlet Subscribed to comments via email
2005-09-11 19:32:47

I agree I just followed a small course for making a blog, but when I saw this I immediatly downloaded it. Only some lettres are very small I cannot read it without my +3 glasses

(Comments wont nest below this level)
Comment by Adam
2007-11-26 16:25:46

Great discussion!

 
Comment by Adam
2007-11-26 16:26:48

Does the nested comments feature work with the latest release of Wordpress?

 
Comment by Brian Meidell Subscribed to comments via email
2007-11-26 16:34:14

I haven't heard that it doesn't work.

 
 
 
Comment by Ryan Miller Subscribed to comments via email
2005-04-13 09:53:59

I keep getting errors of the following form:

Warning: file(/home/rmm4pi8/public_html/buckinghaminquirer/wp-content/plugins/briansthreadedcomments.php): failed to open stream: Permission denied in /home/rmm4pi8/public_html/buckinghaminquirer/wp-admin/admin-functions.php on line 932

Warning: implode(): Bad arguments. in /home/rmm4pi8/public_html/buckinghaminquirer/wp-admin/admin-functions.php on line 932

Any idea what could be causing them? I am using WP 1.5.

 
Comment by Ryan Miller Subscribed to comments via email
2005-04-13 09:56:18

To be clear, the errors in question show up on the 'plugins' page, and clearly prevent WP from parsing the plugin, as it doesn't even show up to be activated. I looked through the headers of the plugin, and they looked fine…tried changing the opening

 
Comment by James Noonan
2005-04-16 10:38:30

I've activated the plugin and got the following error message:

get_col("DESC $table_name", 0) as $column ) { if ($debug) echo("checking $column $column_name
"); if ($column $column_name) { return true; } } //didn't find it try to create it. $q = $wpdb->query($create_ddl); // we cannot directly tell that whether this succeeded! foreach ($wpdb->get_col("DESC $table_name", 0) as $column ) { if ($column == $column_name) { return true; } } return false; } } function bnc_altertable() { global $tablecomments; $sql = "ALTER TABLE $tablecomments ADD COLUMN comment_reply_ID INT NOT NULL DEFAULT 0;"; maybe_add_column($tablecomments, 'comment_reply_ID', $sql); } function btc_alter_comment($new_id) { global $tablecomments, $wpdb; $sql = "UPDATE $tablecomments SET comment_reply_ID=".$_POST['comment_reply_ID']." WHERE comment_ID = $new_id;"; $wpdb->query($sql); } function briansnestedcomments() { global $font_gets_smaller; if (!($withcomments) && ($single)) return; // You can safely delete the single line below if your threaded comments are up and running bnc_altertable(); ?>

It appears at the top of my admin and blog pages. Any ideas where I'm going wrong?

 
Comment by danithew
2005-04-23 17:20:39

Brian,

I am experimenting a bit with a blog right now and am (as always) grateful for your threaded comments plugin which is a great design. I am wondering about something. I've noticed that if I close comments on a particular post, that the comments already still in existence still maintain the "reply to this comment" link. It appears that this link will not work in that instance, but I'm wondering if there is a way to code the plugin, so that if comments are closed, the "reply to this comment" line goes away. Is that too bizarre a question? I hope you won't mind my asking.

Comment by Brian Meidell Subscribed to comments via email
2005-04-23 20:39:30

No, that's a very good question and it simply hasn't ocurred to me, since I have never closed comments.

I'll take it as a feature request :)

(Comments wont nest below this level)
Comment by danithew
2005-04-23 20:43:35

As always I appreciate your work. If you can integrate that function into the plugin, I certainly would be interested. Thanks! :)

 
 
 
Comment by danithew
2005-04-23 22:21:49

Does this plugin need to be activated in any way? Its not working for me in Firefox (though in your blog comments the feature is working for me just fine). In IE it is working for me but there is only a checkbox, without any lines going through the middle of it (vertically or horizontally). Of course yours has some other nice little features (subscription to comments) for example… I'm not sure how similar yours is to the download of 1.5.1.

Comment by danithew
2005-04-23 22:26:28

Whoops, that last comment doesn't look completely clear. The threaded comments function is working … what's not working is the open and close capability on different threads. That was the box I was referring to.

(Comments wont nest below this level)
Comment by Brian Meidell Subscribed to comments via email
2005-04-24 13:57:20

Yes, you also need to activate it on your plugins page.

 
Comment by danithew
2005-04-25 18:47:46

I notice when I choose the specific post and the threaded comments are openly displayed, that the "open" and "close" box does not appear (this is in Firefox). When I hit the refresh button, I sometimes see the box that should be there flicker (appear for a moment) and then disappear. I'm not sure what is causing this.

 
Comment by Brian Meidell
2005-04-25 19:40:27

Are the permissions set so the file is publicly accessible?

 
Comment by danithew
2005-04-25 19:48:59

Forgive my ignorance … because this sounds familiar. Are permissions set from within the briansthreadedcomments.php file or elsewhere? I'm not sure I'm understanding where to check or how to adjust the permissions you are talking about.

 
Comment by Brian Meidell
2005-04-27 07:18:26

It's something you need to do with your ftp client.

 
Comment by danithew
2005-04-30 23:40:59

Well, I thought I had already done this, so I don't know what happened … but I reloaded the files involved and it worked. The solution had nothing to do with ftp.

Thanks again for the amazing plugin. I love it.

 
Comment by Brian Meidell
2005-05-03 11:38:44

Thank you :) I am glad it's useful.

 
 
 
Comment by Geof F. Morris
2005-04-27 20:05:15

Brian, I'm having issues with this; looks like the link up top isn't to the latest version …? Could also be that I'm getting conflicts with another program. Can you verify that the link in the entry is correct?

 
Comment by THOR
2005-04-30 21:38:14

I've got the strangest thing where when I comment in a thread it takes forever to consummate, and then it just posts it like a normal new comment, but when I have others try to do the same, theirs show up threaded like normal. Any thoughts?

Comment by Brian Meidell
2005-05-07 16:32:40

What browser are you using?

(Comments wont nest below this level)
Comment by THOR
2005-05-07 22:42:03

Firefox v1.0.3
I've since completely re-installed my WP installation as well as the threaded comments plugin, and that seems to have resolved the problem.

The only difference between my previous and this installation is that previously I'd installed the newest version of the 'favatars' plugin which I have not done this time. Whether that is the culprit or not, I do not know.

 
Comment by Brian Meidell
2005-05-08 09:41:45

If you decide to install favatars again and it comes up again, let me know and I'll try to fixi t.

 
 
 
Comment by Martin Geisler
2005-05-04 21:31:00

Great plugin—- just one thing: the collapseicon image tag should have an alt attribute so that the XHTML becomes valid.

Comment by Brian Meidell
2005-05-07 12:31:02

Thank you for pointing this out. I totally forgot to validate the page after making changes to it.

I appreciate it.

(Comments wont nest below this level)
 
 
Comment by Martin Geisler
2005-05-21 13:31:58

Please update the btc_alter_comment() function to properly escape the $_POST['comment_reply_ID'] variable! As it is now, it is open to all sorts of nasty SQL-injection attacks…

Comment by Martin Geisler
2005-05-21 23:21:57

Specifically, change the SQL statement so that is uses mysql_real_escape_string($_POST['comment_reply_ID']) instead of just a plain $_POST['comment_reply_ID'], I believe that should have things secure again.

(Comments wont nest below this level)
 
 
Comment by jet Subscribed to comments via email
2005-05-27 12:37:01

thanks for this great plugin! i finally moved over to wp because the only thing keeping me in livejournal was thier commenting system.
but now i've changed my theme, i can't seem to get this plugin to work any more.
any one got any ideas? theme i'm using is: http://teo.esuper.ro/download/testing/

sorry to be a nuisance.

thanks again

Comment by Brian Meidell
2005-05-30 14:33:44

Well, the comments page was made for the default kubrick theme, so it's not unlikely it breaks with other themes.
If you tell me in what way it doesn't work, maybe I have some clues.

(Comments wont nest below this level)
Comment by Doodle
2007-11-11 21:33:14

Thanks, i figured itout

 
 
 
Comment by Rob Hyndman
2005-05-31 18:37:41

Great plug-in!! I'm having trouble running it with WP-Shortstat, though. When I activate Shortstat, I get the following error:

Fatal error: Cannot redeclare maybe_add_column() (previously declared in /home/.lanier/rhyndman/robhyndman.com/wp-content/plugins/briansthreadedcomments.php:42) in /home/.lanier/rhyndman/robhyndman.com/wp-admin/upgrade-functions.php on line 262

Jeff Minard, the author of that plug-in, says it's an issue with yours and suggested I ask you – any thoughts?

 
Comment by Danny Subscribed to comments via email
2005-06-06 22:30:49

Hey,

very sweet plugin.
I want to combine it with the gravatar plugin but doesnt seem to work. Been playing alot with it and threaded comments just dissapears. Have anyone succeeded with this?

cheers

Comment by ikoko
2005-06-15 11:51:29

yes.. i'm agree with you.. I really like this plugins too… :)

(Comments wont nest below this level)
 
Comment by ikoko
2005-06-15 11:52:31

thanks !

(Comments wont nest below this level)
 
 
Comment by Andrea
2005-06-09 02:26:41

Hi, I'd like to use your plugin, but I can't get it to work with the theme I've downloaded. Can you help? (I can reactivate it to show you the problem, if you need.) Thanks a bunch!

Comment by Brian Meidell
2005-06-10 19:07:10

I can try to help.

Tell me when it's activated and not working.

How much do you know about html/php/javascript?

(Comments wont nest below this level)
 
 
Comment by GaryP
2005-06-24 10:10:20

the function btc_alter_comment($new_id) for some reason is not passing the $new_id. I get an error because "WHERE comment_ID =$new_id" always gets expanded to "WHERE comment_ID="

Any ideas? I am using WordPress 1.5

 
Comment by GaryP
2005-06-25 09:37:09

function btc_alter_comment($new_id)

The portion of the function that reads:
WHERE comment_ID = $new_id

does not work on mine. $new_id returns null and so generates an error showing the sql update line that ends with WHERE comment_ID = ;

Any help would be appreciated

Comment by Brian Meidell
2005-06-25 13:48:57

Do you have any kind of spam filtering plugins installed that attach to the same hooks as threaded comments?

(Comments wont nest below this level)
Comment by GaryP
2005-06-26 21:53:07

I turned off everything I thought was related to comments. The only thing I think that might fit in this category would be the badbehavior plugin? I could try turning it off.

 
 
 
Comment by Mario
2005-10-17 17:53:28

Thanks for this useful and great plugin. I am translating some of the words to Spanish but I could not find the reference for Comment by. Where I can find it so that I can translate it?

Comment by Brian Meidell Subscribed to comments via email
2005-10-23 09:40:45

I am sorry, but I don't quite understand what you are asking me.
Are you asking me where the string "Comment by" exists in the code so you can translate it?

(Comments wont nest below this level)
 
 
Comment by Franky
2006-02-15 03:56:07

Hi there, I really like this plugin. but one suggestion: could we put the long css format and javascripts into seperate files and load them into the .php files? I think that will make the code looks simple and webpage load fast. thanks.

 
Comment by Pablo
2006-07-18 14:47:17

Man this plugin is awesome. I greatly appreciate your work, but a lil' constructive criticism, your font-size is insane!.

 
Comment by praveen Subscribed to comments via email
2006-07-18 19:07:40

When the browser tries to access the embedded images in the plugin file, I am getting "500 – Internal server error". In the apache log file, I am getting "[Tue Jul 18 14:02:52 2006] [error] [client 203.124.221.53] Premature end of script headers: php-script"

 
Comment by sere
2006-12-24 21:39:16

Excellent browsing have the to

 
Comment by ricevere
2006-12-28 11:03:41

good site

 
Comment by braveh
2007-01-06 12:48:51

Beautiful site!

 
Comment by kiletryyz
2007-11-05 08:32:24

Hope you can help me, are this shoes safe ??

Heelys Skate Shoes
Heelys Roller Shoes
Heelys Roller Shoes
Heelys Skate Shoes

 
Comment by eico
2007-11-08 04:12:04

Hi.
I'm happy to find this plugin!

I want to make comments order DESC, not ASC.
Could you teach me how to make chage comments order.

Sorry, for my poor English…X(

thx.

 
Comment by sylv3rblade
2007-11-12 13:46:00

Hmm I was wondering if it were possible to separate Trackbacks and Pingbacks from the who list of comments before implementing the thread?

Comment by Robert Irizarry Subscribed to comments via email
2007-11-28 00:45:34

I've been wondering the same – has anyone separated Trackbacks and Pingbacks in Brian's Threaded Comments?

(Comments wont nest below this level)
 
 
Comment by Mike Dan Subscribed to comments via email
2007-11-27 09:15:02

Thanks for your plugin.

But i have some troubles with it. When i am copying file comments.php to my theme and activate it, then in my blog in a comments i having error:
Warning: Invalid argument supplied for foreach() in /wp-content/themes/andreas04-10/comments.php on line 136

And some more question.
What must I do to activate 'Subscribe to comments via email'

Sorry, for my poor English

Comment by Robert Irizarry Subscribed to comments via email
2007-11-28 00:50:01

Mike: "Subscribe to comments via email" is implemented with the Subscribe to comments plugin – http://txfx.net/code/wordpress/subscribe-to-comments/

(Comments wont nest below this level)
 
 

Sorry, the comment form is closed at this time.