The module may already do this but I haven't been able to figure it out... but it would be very useful if a comment that has been marked as spam is surrounded by a "spam" css div so that a theme can be modified to display that comment differently -- that way the admin can know at a glance that the comment was marked as spam and is not being displayed for regular viewers.

Comments

jeremy’s picture

Version: 5.x-1.1-2 » 5.x-3.x-dev

Moving to 3.x tree, where this will be implemented.

jeremy’s picture

Assigned: Unassigned » jeremy

Assigning to myself, would like to implement before we have a beta release.

jeremy’s picture

Status: Active » Fixed

Code committed.

This requires custom code in your theme -- there's no way for the spam module to modify the tags around comments. But you can create your own theme_comment() function. You will want to set a different CSS tag if the status is SPAM_COMMENT, not just COMMENT_NOT_PUBLISHED.

You will also need to manually set the spam_override_comment_status variable to 0 in the database. I could expose this configurable somewhere if it becomes popular, but for now I feel it just clutters the interface. I will add more details in the README when I find time to write the documentation (I added a TODO to the file for now).

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.