I like the way the comment system works in digg, and i was wondering if there is interest in getting that to work in this module.
This includes having the indented comments hidden by default. So there is more overview.
I created it for one of my sites, so could help in making it happen.

CommentFileSizeAuthor
#2 thread_folding.patch3.46 KBmunikho

Comments

neochief’s picture

Yes, it is in battle plan, called "Thread Folding". If you're provide initial patch, I could put it in module faster.

munikho’s picture

StatusFileSize
new3.46 KB

I included a patch here. It also fixes a placement issue i was having.

in the comment.tpl.php you need to add something like

	<?php if(comment_num_replies($comment->cid)){
		if(comment_num_replies($comment->cid) == 1){
			$reply_one_many = ' reply';
		} else {
			$reply_one_many = ' replies';
		}
		print '<small class="read_replies">'.comment_num_replies($comment->cid) . $reply_one_many . '</small>';
	} ; ?>

to make a link with the number of replies in them that can be clicked to fold out the thread

I made a comment at every change i made, so you can just search for 'munikho'

Hope this works for you.

rjbrown99’s picture

Status: Active » Fixed

It seems like this functionality is present in the current DRUPAL-6--1 branch, as part of the comments_bonus_api changes. Since that's the case and this issue is more than 1.5 years old I'm closing this out. Just trying to tidy up the issue queue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.