這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Contributor Notifications

描述

An incredibly simple and lightweight solution for alerting you of new pending posts from contributors and alerting contributors when their submissions are either approved or declined.

Features

  • Sends email to admin if new post pending
  • Sends email to author if pending post approved
  • Sends email to author if pending post declined

安裝

Automatic

  • From your WordPress Admin, navigate to: Plugins > Add New
  • Search for: Contributor Notifications
  • Install it
  • Activate it

Manual

  • Download
  • Unzip
  • Upload to /plugins/ folder
  • Activate

That’s it. There are no settings to adjust.

常見問題

Text Customization & Translation

The email text is fully customizable and translation-ready. You can change the wording, the language, and add custom HTML and CSS.

Use whatever string swap/translation method you like, but I recommend the Say what? plugin because it’s the easiest way to change the text with no coding required.

To use Say what?, you need to add three pieces of info, the exact text string you’d like to alter, the text domain, and the replacement string you’d like to use.

Strings:

New Pending Post
<!--email-admin-->
Your Post Has Been Approved
<!--email-contributor-approved-->
Your Post Has Been Declined
<!--email-contributor-declined-->
Sorry, your post has been declined.
 | 

Text Domain:

contributor-notifications

(see example screenshot)

Why aren’t emails being sent?

I’m using the built-in wp_mail function. Most hosting environments (even shared hosts like Bluehost and GoDaddy) can handle email, but not very well out-of-the-box and require being optimized. It actually takes a bit of work to make sure your emails are deliverable. Some recommendations:

  • Check that your SPF, DKIM, and other email records are set up correctly (mail-tester.com is a great all-around tool for checking and fixing common email deliverability issues)
  • Even on shared hosts, you should be able to add a dedicated IP to your account for very cheap (which allows you to get away from shared IPs that have a bad reputation because your neighbors are spamming)
  • If all else fails, you can abandon using your own server for mail altogether, and host offsite with a free or paid third-party service like Gmail (check out the WP Mail SMTP plugin to go that route)

This plugin only works for the Pending post status.

Some examples of when this plugin might be useful include when you allow registration on your site and by default, new users are granted the Contributor role, or when using a plugin like User Submitted Posts.

評價

2021年3月11日 4 replies
Very neat, light and works out of the box. No settings provided, but it would be nice if there is an option for message composing. I’ve changed the message in the code, but not all users can do it, by editing the file. Good start though. Thank you!
閱讀全部1個評價

貢獻者及開發者

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

貢獻者

Contributor Notifications 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Contributor Notifications 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

0.5

  • Minor code cleanup

0.4

  • Set the admin/editor notification to a custom email address

0.3

  • Email text can now be customized/translated

0.2

  • Fixed error “Call to undefined function wp_get_current_user()”

0.1

  • New