New LJ Comments (A Sturdy Gesture)

By Braiba Grasshand Last update May 12, 2009 — Installed 160 times.


Script Summary: [Links include number of new comments] [New comments are highlighted] [Info box at the top of your friends page, listing which posts have new comments] ***NOTE: only works on pages using the 'A Sturdy Gesture' theme.***

The main function of this script is to provide an info box at the top of your friends page listing which posts have comments that you haven't read yet (and how many). Posts will only appear in this list if you've actually looked at the comments for that post*, so you won't be notified for posts where you don't care what the comments say.

The comments links are also changed to read 'X unread comments' if you haven't looked at the comments for that post, or 'X comments (Y new)' if you have looked at the comments and there have been more added since. Finally, comments that you haven't read yet will have a red border (I'll probably tweak this a bit when I get a chance to play around with this script on a computer that doesn't have a broken screen).

NOTE: Like my other LJ script, this only works with the 'A Sturdy Gesture' theme (mostly because all the other themes are much more of a pain to manipulate).

Updates
21/3/2008
- Fixed a bug that caused new posts with no comments not to be listed as new posts.
- Fixed a bug that stopped the 'no updates' message from appearing.
22/3/2008
- Fixed a bug that caused journals with numbers in their name to be ignored.
25/3/2008
- Added support for syndicated feeds
08/4/2008
- Fixed bug that meant it was actually relying on my other script being installed, which I hadn't noticed, because I'm a dumbass.
12/5/2009
- Fixed bug that was killing the script on ad-supported LJ accounts

*Viewing a post by clicking an lj-cut will still be counted as viewing the comments.