Skip to:

Opened 13 years ago

Last modified 13 years ago

#1623 new enhancement

Send user roles along to Akismet for better handling of submitted comments

Reported by: dllh's profile dllh Owned by:
Milestone: Future Release (Legacy) Priority: normal
Severity: normal Version: 1.1-alpha
Component: General - Content Creation Keywords: has-patch
Cc: dllh


The Akismet folk have suggested that adding user roles to the info submitted to Akismet would allow them to do a better job of checking comments for spam. The forthcoming patch adds the appropriate info.

Attachments (1)

1623.patch (1.4 KB) - added by dllh 13 years ago.
Adds user roles to Akismet data

Download all attachments as: .zip

Change History (4)

13 years ago

Adds user roles to Akismet data

#1 @cnorris23
13 years ago

  • Version changed from 2.0 to 1.1-alpha

#2 @GautamGupta
13 years ago

  • Milestone changed from Awaiting Review to 1.1

#3 @johnjamesjacoby
13 years ago

  • Milestone changed from 1.1 to 1.2

Patch applies clean but doesn't seem to work, either because $bb_current_user isn't set as global, or because Akismet uses:

$user = bb_get_user( $bb_post->poster_id );

...instead of creating a new BP_User(), which would give us role data.

Moving to 1.2 for more review.

Note: See TracTickets for help on using tickets.