#2661 closed defect (bug) (fixed)
Ban & Kick user is broken.
Reported by: | yakster | Owned by: | DJPaul |
---|---|---|---|
Milestone: | 1.5 | Priority: | normal |
Severity: | Version: | ||
Component: | Groups | Keywords: | has-patch |
Cc: |
Description
When I go click on the ban & kick user saying "There was an error banning that user. Please try again. If I try again same error. I can still log back in as that user. I have put together some screen shots. I disabled all my plugins and still the same issue. This would appear to be a bug in buddypress. I really need this to work before I launch my site. Do you have a work around or fix?
Thanks,
Yak
Attachments (3)
Change History (14)
#1
@
14 years ago
- Keywords reporter-feedback close added
Have you upgraded BuddyPress to the latest version to see if this issue still happens on your install?
Just tried kicking and banning a user from a group on WP 3.0 and BP 1.2.6 and it works for me.
#2
@
14 years ago
- Resolution set to worksforme
- Status changed from new to closed
Works for me too. Could be a plugin or theme conflict. Upgrade (as r-a-y suggests), deactivate all plugins but BP, switch to the BuddyPress default theme, and try again. If it still doesn't work, please reopen this ticket.
#3
@
14 years ago
- Keywords needs-patch added; reporter-feedback close removed
- Resolution worksforme deleted
- Status changed from closed to reopened
Just re-read the OP's report.
Problem exists. Kick and ban a user, then login as banned user and attempt to post in a forum.
You are able to because the forum post form still shows up. Need to patch it so the forum post form doesn't show up if the user is banned.
The banned user can also see the "Join Group" button after they're banned.
Patch on the way!
#4
@
14 years ago
- Component changed from Core to Groups
- Keywords has-patch added; needs-patch removed
Needed to create a new function to check if a user is banned from a group, since bp_group_member_is_banned() is only applicable to the group member loop.
#6
@
14 years ago
Just noticed that the original report is missing many details.
Full thread is here:
http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/ban-and-kick-user-is-broken/
#9
@
14 years ago
Paul, on line 1032 in trunk/bp-groups/bp-groups-templatetags.php, shouldn't it return false instead of true?
http://trac.buddypress.org/browser/trunk/bp-groups/bp-groups-templatetags.php#L1032
Super admin shouldn't be banned right ;)
Screen shots of error.