We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Using extension hook to enable display of closed comments?

Development and Programming

Nathan Pitman's avatar
Nathan Pitman
531 posts
16 years ago
Nathan Pitman's avatar Nathan Pitman

I’m interested to know if anyone thinks it might be possible to use the ‘comment_entries_tagdata’ hook to deploy an extension that makes it possible to display closed comments (or certain parts of a closed comment) inline with open comments?

Specifically I’m looking to show that a comment existed (in it’s original location in a comment thread) but indicate why it has been removed.

For example: “Comment by ‘Nathan Pitman’ removed because of violation of terms of use.”

Any thoughts on how to achieve this greatly appreciated, I’m still a bit of a newb with extensions and the use of the hooks…

       
Dylan Smith/Context Design's avatar
Dylan Smith/Context Design
346 posts
16 years ago
Dylan Smith/Context Design's avatar Dylan Smith/Context Design

A shameless bump for this - the ability to even show a simple ‘This comment was removed for TOS violations’ message would be great!

While I could fake that sort of function by editing the comment, I’d rather not destroy the info, just hide it away in the db.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.