Yoast Comment Hacks

描述

Make comments management easier by applying some of the simple hacks the Yoast team uses.

This plugin adds some small hacks around core WordPress comments to make them more bearable:

  • Cleaner comment notification emails.
  • The option to disallow comments below and above a certain length.
  • The option to redirect first time commenters to a thank you page.
  • An input field on the comment edit screen to change the comment parent ID.
  • Links in the admin comments section to email individual commenters.
  • A button in the WP toolbar to email all the commenters on a post.
  • Adds a comment routing option. This adds a dropdown in a post’s discussion settings, allowing the routing of comment emails to another user.

See the screenshots to get an even better idea of the plugins functionality.

螢幕截圖

  • Screenshot of a clean comment notification email.
  • The comment parent edit box.
  • The plugins admin settings.
  • The button on the frontend to email all the commenters on a post.
  • The link in the backend to email an individual commenters on a post.

安裝

Install through your backend

  1. Search for “yoast comment hacks”, click install.
  2. You’re done.

Install manually

  1. Download and unzip the plugin.
  2. Upload the yoast-comment-hacks directory to the /wp-content/plugins/ directory.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
  4. Configure your settings on the Settings → Comment Hacks screen.

評價

2021年8月4日
I am sorry to leave you a 1 star, but your plugin does not work. Plus there is no instructions on how to use this plugin. I have click on the email icon a lot and nothing happens. The link looks like this (not putting my real email here) mailto:example@example.org?subject=RE%3A%20Why%20Did%20Jesus%20Come%20To%20earth%3F&body=Hi%20Living%2C%0D%0A%0D%0ALiving%20His%20Word%20has%20responded%20to%20your%20comment%2Fprayer%20or%20approved%20your%20comment%2Fprayer.%20Thank%20you%20for%20leaving%20your%20comment%2Fprayer%20on%20%22Why%20Did%20Jesus%20Come%20To%20earth%3F%22%20-%20https%3A%2F%2Flivinghisword.org%2Fwhy-did-jesus-come-to-earth%2F%0D%0A%0D%0AGod%20Bless%20You%21%0D%0ALiving%20His%20Word%20Ministries%2C%20Inc.%0D%0Awww.livinghisword.org%0D%0Aresponse%40livinghisword.org Okay now what? If you can tell me how this plugin works and I can get to work, this would be wonderful but if not then I will leave my review. Thank you
2020年5月28日
No warnings when the comment is too long. Someone could spend an hour writing a comment and then get the message that their comment is too long. It would be nice if, when someone reached the limit, a warning is given (Hey, you've reached your limit) No information given after the fact. For example, if I'm 1000 characters over the limit it'd be nice to get a message that says, "You're 1000 characters over the limit," instead of, "Your comment is too long. Try again." or whatever it says. Great idea but not a good implementation.
2017年2月10日
Doesn't send any emails to the commentators. False description.
閱讀全部9個評價

貢獻者及開發者

“Yoast Comment Hacks” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Yoast Comment Hacks 外掛目前已有 20 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Yoast Comment Hacks 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.7

  • Bugfixes:
    • Fixed: the “Email commenters” link would not be displayed in the WordPress admin bar and in the Comments list.
    • Fixed: the “Email commenters” link in the front end admin bar wouldn’t work when jQuery wasn’t enqueued.
    • Fixed: the notification emails for new comments would have incorrect content for the Author line and the text displayed before the comment.

1.6

  • Fix language packs.

1.5

  • Bugfixes:
    • Fixed: comment recipient dropdown would reset on reload of the page.
    • Fixed: admin bar CSS showing when no admin bar is showing.

1.4

  • Enhancements:
    • Limit the roles shown in the comment notifications dropdown to roles that normally exist and can write. Introduces a new filter to allow expanding them.

1.3

  • Enhancements:
    • Add option to restrict comments that are too long, next to too small.
    • Add reply-to header to comment notification and moderation emails, pointing to the post author.
    • Preserve the active tab when saving settings.
    • Remove [...] from pingback / trackback excerpt in cleaned emails as that’s already included by core.
    • Replace link to ARIN with link to ip-lookup.net for details about the IP.
    • Refactored code for readability and code quality.
    • Refactor upgrade routine to do less DB queries.

1.2

Fixes several issues:

  • Differentiate between AJAX request and normal POST for nonce checking, fixes #7.
  • Make sure comment type isn’t empty in cleaned email, fixes #8.
  • Allow setting the comment parent to 0, fixes #10.
  • Prevents defaults from being reinstated, fixes #14.

Also:

  • Adds translator comments to all strings with sprintf / printf.
  • Updates to new version of Yoast i18n, in the process switching from translate.yoast.com to translate.wordpress.org and removing packaged translations.
  • Added yarn.lock and removed no longer needed i18n grunt tasks.

1.1.1

  • Add text domain so the plugin can be translated.

1.1

  • Add comment routing option, adds a dropdown in a post’s discussion settings, allowing the routing of comment emails to another user.

1.0

  • Initial version.