Skip to:
Content

Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#2575 closed defect (bug) (fixed)

Logging in as a marked spammer does nothing and shows no error message

Reported by: nuprn1 Owned by:
Milestone: 1.5 Priority: normal
Severity: Version: 1.5
Component: Core Keywords: dev-feedback has-patch
Cc:

Description

marked an user as spammer - they can still post within public groups

Attachments (1)

2575.001.patch (615 bytes) - added by r-a-y 3 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 r-a-y3 years ago

  • Keywords dev-feedback added
  • Summary changed from when user is mark as spammer - they can still post to forums to Logging in as a marked spammer does nothing and shows no error message
  • Version set to 1.3

Tested this on 1.3-bleeding.

When I marked a user as a spammer and attempted to login as the spammer, the spammer just gets redirected to the $bp->root_domain with no message saying that the spammer was banned. So the original bug report no longer applies.

However, should the logged-in spammer see a template notice saying that s/he was banned? Seems like a usabilty bug to me, especially if a user was marked as a spammer accidentally.

Changed the title of the ticket to reflect this issue.

Thoughts?

r-a-y3 years ago

comment:2 r-a-y3 years ago

  • Keywords has-patch added

Attached patch adds a template notice using bp_core_add_message() if the logged-in user is a spammer.

Just noticed I made a typo in the notice, replace:

You were marked as spammer

with:

You were marked as a spammer

comment:3 Ipstenu3 years ago

I put this on a BP 1.2.7 (on WP 3.0.4 MultiSite) install and it doesn't seem to work. Login redirects the user back without any input. I thought it was WP, but apparently not.

http://core.trac.wordpress.org/ticket/15176

A redirection to an error page would almost be better.

comment:4 djpaul3 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3734]) Tell users if they've been marked as a spammer, or haven't activated their account yet, when they try to log in. Fixes #2575

comment:5 Ipstenu3 years ago

AWESOMESAUCE!

Note: See TracTickets for help on using tickets.