{"id":27376,"date":"2014-01-21T06:18:36","date_gmt":"2014-01-21T06:18:36","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/buddypress-messages-spam-blocker\/"},"modified":"2016-04-26T18:36:19","modified_gmt":"2016-04-26T18:36:19","slug":"buddypress-messages-spam-blocker","status":"publish","type":"plugin","link":"https:\/\/da.wordpress.org\/plugins\/buddypress-messages-spam-blocker\/","author":12351279,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.5","stable_tag":"trunk","tested":"4.5.33","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Buddypress Messages Spam Blocker","header_author":"Florian Schiessl","header_description":"","assets_banners_color":"cc9d79","last_updated":"2016-04-26 18:36:19","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/ifs-net.de\/donate.php","header_plugin_uri":"http:\/\/ifs-net.de","header_author_uri":"http:\/\/ifs-net.de","rating":5,"author_block_rating":0,"active_installs":50,"downloads":8672,"num_ratings":4,"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":"4"},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"852773","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","2.0","2.1","2.2","2.3","2.4","2.5"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[204,3514,599],"plugin_category":[41,44,54],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-27376","plugin","type-plugin","status-publish","hentry","plugin_tags-buddypress","plugin_tags-messages","plugin_tags-spam","plugin_category-communication","plugin_category-discussion-and-community","plugin_category-security-and-spam-protection","plugin_committers-quan_flo"],"banners":{"banner":"https:\/\/ps.w.org\/buddypress-messages-spam-blocker\/assets\/banner-772x250.png?rev=852773","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/buddypress-messages-spam-blocker_cc9d79.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>If there is a user (or a bot) that signed up at your site this user can start to send messages to every other user.\nI had some negative experiences with this and so I wrote a module that should help to block such a spam.<\/p>\n\n<p>Buddypress Messages Spam Blocker introduces some restrictions to your users:<\/p>\n\n<ul>\n<li>New users can send messages only 24h after their registration, so you'll have time if bot registrations have to be removed manually (modify this value using filter 'buddypress_messages_spamblocker_newMembersWaitingPeriod')<\/li>\n<\/ul>\n\n<p>Their are also some more restrictions for mass mailings (mails that are sent to \"friends\" of the contact list are not included in this calculation):<\/p>\n\n<ul>\n<li>Users can send 6 messages maximum in 5 minutes (modify this value using filter 'buddypress_messages_spamblocker_5m')<\/li>\n<li>Users can send 10 messages maximum in 10 minutes (modify this value using filter 'buddypress_messages_spamblocker_10m')<\/li>\n<li>Users can send 20 messages maximum in 30 minutes (modify this value using filter 'buddypress_messages_spamblocker_30m')<\/li>\n<li>Users can send 30 messages maximum in 60 minutes (modify this value using filter 'buddypress_messages_spamblocker_60m')<\/li>\n<li>Users can send 35 messages maximum in 12 hours (modify this value using filter 'buddypress_messages_spamblocker_12h')<\/li>\n<li>Users can send 45 messages maximum in 24 hours (modify this value using filter 'buddypress_messages_spamblocker_24h')<\/li>\n<li>Users can send 50 messages maximum in 48 hours (modify this value using filter 'buddypress_messages_spamblocker_48h')<\/li>\n<\/ul>\n\n<p>Users with the capability \"edit_users\" (admins etc.) have no restrictions for outgoing messages<\/p>\n\n<p>Install, activate, and it will work.<\/p>\n\n<p><strong>More about me and my plugins<\/strong><\/p>\n\n<p>Since the year 1999 I do administration, customizing and programming for several forums, communities and social networks. In the year 2013 I switched from another PHP framework to Wordpress.\nBecause not all plugins I'd like to have exist already I wrote some own plugins and I think I'll continue to do so.<\/p>\n\n<p>If you have the scope at forums or social networks my other modules might also be interesting for you. <a href=\"http:\/\/wordpress.org\/plugins\/search.php?q=quan_flo\" title=\"ifs-net \/ quan_flo Wordpress Plugins\">Just take a look at my Wordpress Profile to see all my Plugins.<\/a> Use them and if my work helps you to save time, earn money or just makes you happy feel free to donate - Thanks. The donation link can be found at the right sidebar next to this text.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the files to the <code>\/wp-content\/plugins\/buddypress-messages-spamblocker\/<\/code> directory or install through WordPress directly.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Are there some options for the parameters or are these parameters hard coded?<\/dt>\n<dd><p>At the moment they are hardcoded, you can easily chance them inside the code as you need them.<\/p><\/dd>\n<dt>New members<\/dt>\n<dd><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.5<\/h4>\n\n<ul>\n<li>Fixing PHP Fatal error:  Call to undefined function friends_get_friend_user_ids() in \/wp-content\/plugins\/buddypress-messages-spam-blocker\/buddypress-messages-spamblocker.php on line 42 =&gt; https:\/\/codex.buddypress.org\/plugindev\/checking-buddypress-is-active\/ applied now<\/li>\n<\/ul>\n\n<h4>2.4<\/h4>\n\n<ul>\n<li>Added filter for redirection url. You can uzse buddypress_messages_spamblocker_blockedURL to specify a page for redirecting a blocked user<\/li>\n<li>little code cleanup<\/li>\n<\/ul>\n\n<h4>2.3<\/h4>\n\n<ul>\n<li>fixing wrong redirect url if messages slug is not \"messages\"<\/li>\n<\/ul>\n\n<h4>2.2<\/h4>\n\n<ul>\n<li>New filter for changing waiting period for new buddypress members (buddypress_messages_spamblocker_newMembersWaitingPeriod)<\/li>\n<\/ul>\n\n<h4>2.1<\/h4>\n\n<ul>\n<li>fixed little bug for different messages-module-locations (thanks to reflectgrowth)<\/li>\n<li>fixed little bug in sql statement (thanks to vizzweb)<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>added filters for easy customizing of message quantity that should be able to be sent. See plugin description for details.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>users that have the capability \"edit_users\" have no restictions for outgoing messages<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First version.<\/li>\n<\/ul>","raw_excerpt":"This plugin will block mass mailing for the buddypress messaging system","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/27376","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=27376"}],"author":[{"embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/quan_flo"}],"wp:attachment":[{"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=27376"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=27376"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=27376"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=27376"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=27376"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=27376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}