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

BuddyPress Private Messages for Friends Only

描述

By default, any member on your BuddyPress site is allowed to send private messages to anyone in your userbase.

This plugin only allows friends and site administrators to send private messages. Thus, acting as another deterrent from illegitimate users.

Donate!

I’m a forum moderator on the buddypress.org forums. I spend a lot of my free time helping people – pro bono!

If you downloaded this plugin and like it, please:

  • Fund my work soundtrack! Music helps me help you! A dollar lets me buy a new tune off Amazon MP3, Amie Street or emusic.com! Or if you’re feeling generous, you can help me buy a whole CD! If you choose to donate, let me know what songs or which CD you want me to listen to! 🙂
  • Rate this plugin
  • Spread the gospel of BuddyPress

安裝

  1. Download, install and activate the plugin.
  2. That’s it! 🙂

常見問題

What happens when I try to send someone a private message who isn’t my friend?

You’ll get a nice error message saying that your message wasn’t sent because you are not the recipient’s friend!
Site administrators can always send private messages.

Can I allow certain user IDs to be private messaged without being friends?

As of version 1.1, you can! Simply add the following line to /wp-config.php or /wp-content/plugins/bp-custom.php:

define( 'BP_PM_RECIPIENT_WHITELIST', '1,2' );

In the example above, anyone can send a message to user ID 1 and 2 without needing to be their friend.

I noticed that the error message is in English!

Yes it is. But fear not! You can send me a translation file for inclusion in the next release of the plugin.

評價

2016年9月3日
surprisingly it's working with the latest buddypress (now 2.6.1.1) and wp 4.5.3 ! well done!
閱讀全部3個評價

貢獻者及開發者

“BuddyPress Private Messages for Friends Only” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

修改日誌

1.1

  • Added support to whitelist recipient user IDs
  • Make sure site admins can always view the “Send Private Message” button (thanks to intimez and brianglanz for reporting)
  • Added check to see if friends component is enabled
  • Restructured the plugin into a class

1.0

  • First version!