[buddypress-trac] [BuddyPress] #3660: Add Akismet to activity stream

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Oct 24 14:02:53 UTC 2011

#3660: Add Akismet to activity stream
 Reporter:  DJPaul    |       Owner:  DJPaul
     Type:  task      |      Status:  assigned
 Priority:  normal    |   Milestone:  1.6
Component:  Activity  |     Version:
 Severity:  normal    |  Resolution:
 Keywords:            |

Comment (by DJPaul):

 First pass at the front-end changes are in. Specifically:

 - Added bp_dtheme_spam_activity().
 - Updated global.js for activity spam button AJAX.
 - Updated bp_dtheme_new_activity_comment() for the new hide_spam param.
 - r5255 and r5256.

 - Added new "is_spam" column to the bp_activity DB table; incremented DB
 version number to force schema upgrade.
 - Akismet support is only loaded when the WordPress Akismet plugin is
 active and configured.
 - Added new "hide_spam" parameter to the entire Activity template loop
 stack; defaults to true, except if specific activity items have been
 requested (for backpat reasons).
 - "Mark as spam" buttons are added to activity stream items and comments,
 for site admins (filterable - "bp_activity_akismet_user_can_mark_spam").
 - By default, only status updates and comments are checked for spam
 (filterable - "bp_akismet_get_activity_types").
 - Removed a few old PHP4 constructors and general code tidy up.

 - wp-admin screens for the Activity component.
 - If a status update is marked as spam, and it has activity comments
 against it, the activity comments aren't visible. Consider adding
 something like a "this comment is pending notification" placeholder in the
 output so that those activity comments aren't hidden.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3660#comment:3>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list