How to show "Log in or register to post comments" message when no comments on content? The "Log in or register to post comments" message does not display when there are no comments on a piece of content.

However, it does show when there is at least one comment.

Looking in the comment module code, the "Log in or register to post comments" message is in the code that only runs when there are already one or more comments!

How dumb is that?! Is there a module or an existing approach to making this display when there are no comments?

I can write a hook in my own module to override this but it might be re-inventing the wheel if it's already been done.
this is my temp solution.. i copy the ds-1col template to my ds-1col--node.tpl.php and add this code at bottom.

&lt;?php global $user;
if (!$user-&gt;uid) {
print render($content['links']['comment']['#links']['comment_forbidden']['title']);
} ?&gt;