May 26th, 2003

  • jc

Problems querying zilla in Safari?

Up to now I've used Safari only to view individual bugs in zilla. Today I tried querying the system only to have Safari download buglist.cgi instead of displaying the results in the browser.

Collapse )

Safari has no such problems accessing Is there something special about LJ's zilla that would result in --thisrandomstring?
accomplishment, craft

Comment deletion with S2

(posted to lj_nifty and lj_dev, since I thought it would be nice to post about something that does work for once)

In the appropriate place in function EntryPage :: print_comment (Comment c ), insert this:

if (viewer_is_owner() ) {
"delete comment" ;

I don't think it lets people delete their own comments, but I'm not sure; please feel free to comment to something in my journal and see if the "pull weeds" link appears on the comment for you (and let me know either way). At the very least it does let journal owners delete comments to their journals, which I think is the most important thing!
  • Current Mood
depressed, cranky

Problem with collapsed comments

Just posted this to zilla (bug #1017):
Once a page hits fifty comments, threads collapse, and collapsed comment display defaults to

($c.subject) - $c.poster

However, when $c.poster is the owner of the entry, it doesn't seem to get displayed. The userinfo icon displays, but the URL attached to it goes to "userinfo.bml?user=".

An example of this is at
The problem is, I don't know why my comments page is collapsing in the first place. I can't find any place in my code that tells it to do so, nor any way to define at what point an entry is "full". I would really like to be able to tell it not to do that, or at least to manually edit the display code so as to fix the above problem for my journal and change the display of page numbers. Any help would be appreciated.
  • Current Mood
    annoyed annoyed