I've been doing some hand fiddling with the Drupal comments file recently and have needed to rebuild the statistics and the tread field in the comments table. Where there are many scripts I've found to rebuild comment_statistics, there's little out there on rebuilding the comment thread field (which at first looks like a little black magic). I've built a script which walks all nodes and rebuilds both. (Parts of the script are mine, parts are lifted out of comments.module parts are bits of code I've found on drupal.org).
I received a few emails about my twit-out post and I figured while I don't won't post the address of the posters I would answer them publicly. If you want to comment on my blog, please use comments and not email. Thanks!<!--block-->
Subject: This is why!
Sean-
Twitter is down right now. This is why we need to have a boycott. Get it now?
<name redacted>
----------------------------
Subject: It's not hard why don't you get it
We're protesting to get twitter fix their *%^!.
<name redacted>
So in the last few weeks I've taken on a few projects involving comments on seanreiser.com and it seems that they are conflicting with each other, and I've come to the decision that where I like disqus, I have to go back to the default Drupal comment module.
I stared making these inside "inside baseball" kind of posts more for myself then for anyone else. As some people find these posts interesting I'll keep posting them. They do seem rather meta to me but the feedback is good as I plan on making this code available when all is said and done. if you don't find this all interesting but are an LJ user please read the last paragraph of this post. There is a question I'd love to hear your opinion on.
Sean Reiser, 40, is a developer, technologist, and amateur photographer. Sean has spent the past 20 years as a programmer, system architect and development manager. He is a life long New York resident.
Sean currently serves as the President and Chief Geek Officer of Repair Sense, Inc.. Please go to that site with any professional inquiries.
Sean can be found using a number of social networks. These are the ones he's most active on: