ID for comments

Posted under General

kuuderes_shadow said:

You can see the ID number of a comment if you hover over the "vote up" or "vote down" buttons.

Nope. Doesn't work for me at least.
But why hovering? Shouldn't this be visible just by looking at it, just like forum posts^^?

Gollgagh said:

a quick and dirty way to do it with CSS:

.comment:after {
    content: " CommentID: " attr(data-comment-id);
}

It won't be selectable, but you can see the number.

Something like this, yes. But maybe it should be visible normally and not with some kind of CSS^^?

Provence said:

Nope. Doesn't work for me at least.
But why hovering? Shouldn't this be visible just by looking at it, just like forum posts^^?

I mean the link that comes up (usually in the bottom left of the window when you hover over the link) - there's a number where the asterisk is in .../comments/*/vote... - that is the comment ID. Checked and it works in Firefox, Opera, Chrome and IE.

BrokenEagle98 said:

I think what Provence is getting at is "Is there any reason not to show the comment ID like the forum post ID is shown?"...

Yeah, exactly that.
But maybe I'm the only one who thinks that it should be shown just like the ID on forum posts is shown^^.

I'm working on a userscript that adds this (among many other things). Basically it adds post #1234 / comment #1234 / forum #1234 syntax across the site wherever possible, to make copy-pasting easier. I'll try to post the userscript today, after I clean it up some.

And I agree, it would be better to have this built in to the site, but I'm just doing it in a userscript for now, just to test it out.

Provence said:

Well, that's all nice and dandy, but here's an image how it could look like:
http://i.imgur.com/TUsYTGz.png

Agree, but there are probably some that wouldn't want to see the ID, so regardless, CSS settings will have to be used for a subset of the Danbooru population. The trick is to figure out which way most users would prefer, cater to that as the default, and then provide an easy how-to guide for those that want to see it the other way.

1