{"id":9147,"date":"2010-05-14T20:14:12","date_gmt":"2010-05-14T20:14:12","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/buddypress-private-message-for-friends-only\/"},"modified":"2010-06-04T00:46:52","modified_gmt":"2010-06-04T00:46:52","slug":"buddypress-private-message-for-friends-only","status":"publish","type":"plugin","link":"https:\/\/he.wordpress.org\/plugins\/buddypress-private-message-for-friends-only\/","author":3083456,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"1.1","tested":"","requires":"","requires_php":"","requires_plugins":"","header_name":"BuddyPress Private Messages for Friends Only","header_author":"r-a-y","header_description":"","assets_banners_color":"","last_updated":"2010-06-04 00:46:52","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=CT8KZGFEVA3R6","header_plugin_uri":"http:\/\/buddypress.org\/community\/groups\/buddypress-private-message-for-friends-only","header_author_uri":"http:\/\/buddypress.org\/community\/members\/r-a-y","rating":5,"author_block_rating":0,"active_installs":20,"downloads":10820,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"3"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[204,2231,2785,2786,599],"plugin_category":[41,44,54],"plugin_contributors":[77846],"plugin_business_model":[],"class_list":["post-9147","plugin","type-plugin","status-publish","hentry","plugin_tags-buddypress","plugin_tags-message","plugin_tags-pm","plugin_tags-private-message","plugin_tags-spam","plugin_category-communication","plugin_category-discussion-and-community","plugin_category-security-and-spam-protection","plugin_contributors-r-a-y","plugin_committers-r-a-y"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/buddypress-private-message-for-friends-only.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>By default, any member on your BuddyPress site is allowed to send private messages to anyone in your userbase.<\/p>\n\n<p>This plugin only allows friends and site administrators to send private messages.  Thus, acting as another deterrent from illegitimate users.<\/p>\n\n<h3>Donate!<\/h3>\n\n<p>I'm a forum moderator on the buddypress.org forums.  I spend a lot of my free time helping people - pro bono!<\/p>\n\n<p>If you downloaded this plugin and like it, please:<\/p>\n\n<ul>\n<li><a href=\"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&amp;hosted_button_id=CT8KZGFEVA3R6\">Fund my work soundtrack!<\/a>  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! :)<\/li>\n<li>Rate this plugin<\/li>\n<li>Spread the gospel of BuddyPress<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Download, install and activate the plugin.<\/li>\n<li>That's it! :)<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What happens when I try to send someone a private message who isn't my friend?<\/dt>\n<dd><p>You'll get a nice error message saying that your message wasn't sent because you are not the recipient's friend!\nSite administrators can always send private messages.<\/p><\/dd>\n<dt>Can I allow certain user IDs to be private messaged without being friends?<\/dt>\n<dd><p>As of version 1.1, you can!  Simply add the following line to \/wp-config.php or \/wp-content\/plugins\/bp-custom.php:<\/p>\n\n<pre><code>define( 'BP_PM_RECIPIENT_WHITELIST', '1,2' );\n<\/code><\/pre>\n\n<p>In the example above, anyone can send a message to user ID 1 and 2 without needing to be their friend.<\/p><\/dd>\n<dt>I noticed that the error message is in English!<\/dt>\n<dd><p>Yes it is.  But fear not!  You can send me a translation file for inclusion in the next release of the plugin.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1<\/h4>\n\n<ul>\n<li>Added support to whitelist recipient user IDs<\/li>\n<li>Make sure site admins can always view the \"Send Private Message\" button (thanks to intimez and brianglanz for reporting)<\/li>\n<li>Added check to see if friends component is enabled<\/li>\n<li>Restructured the plugin into a class<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First version!<\/li>\n<\/ul>","raw_excerpt":"This plugin only allows friends and site administrators to send private messages on your BuddyPress site.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/9147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=9147"}],"author":[{"embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/r-a-y"}],"wp:attachment":[{"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=9147"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=9147"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=9147"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=9147"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=9147"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=9147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}