Conversation
supportThe administrators email notification for anonymous posts just says “by Anonymous” I wanted more information in my email so I can easily report spammers to Stop Forum Spam, and block the IP in CloudFlare, so I’ve hacked the plugin to read: $message .= "by Anonymous - IP:".bbp_current_author_ip()." author:".get_post_meta( $post_id, '_bbp_anonymous_name', true )." email:".get_post_meta( $post_id, '_bbp_anonymous_email', true )."\r\n\r\n"; Not elegant, but it works. Is it possible to get this incorporated in a future release? If not, so I don’t lose my mod on the next update, can anyone point me in the right direction of a method to change the bbPressModeration class. I’ve tried searching for the best way to do this, but can’t find anything so far. Thank you for this excellent plugin. https://wordpress.org/plugins/bbpressmoderation/
I had a look at their code and they don’t use filters where you’d need it. Shameless self promotion: install bbPress Notify (No-Spam) (free) and bbPress Moderation Add-On (premium but cheap) and you’ll be able to hook into the filter bbpnns_moderation_body and do whatever you want with the message body (not to mention a lot of other filters provided by bbPNNS). Cheers, Vinny
I had a look at their code and they don’t use filters where you’d need it. Shameless self promotion: install bbPress Notify (No-Spam) (free) and bbPress Moderation Add-On (premium but cheap) and you’ll be able to hook into the filter bbpnns_moderation_body and do whatever you want with the message body (not to mention a lot of other filters provided by bbPNNS). Cheers, Vinny