• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Banned users via "Spam" option not in Banned Usergroup?

XenBurger

Active member
#1
1) Is the best way to ban a user with thousands of posts, to use the "Spam" button on one of their posts?

2) We did this and left the "Delete posts" option checked. This resulted in countless 404's in our Google Console. No likey.

3) So I told my moderators to UNCHECK "delete posts" when they use this function. This effectively leaves the posts and doesn't delete the threads.

But users who are *banned* this way don't show as "banned". It says "Member" under their username, which has a line through it.

I don't understand why this doesn't put the user into the "Banned" usergroup and give them the appropriate title?

We would like all the benefits of the "Spam" function as well as put the user into the Banned usergroup.
 

Mike

XenForo developer
Staff member
#2
XenForo has no banned group by default. There's little outward indication of this to an average user. If you want a user to be added to a group when banned, you need to configure the "Add User Group on Ban" (and configure the banned group styling as necessary).

Note that if you're trying to ban users, there are better approaches than using spam, especially if you aren't trying to clear them out. Admins may be able to ban directly. Otherwise, we recommend setting up warning actions and then moderators can follow a standard warning procedure (points, etc) to lead to bans.
 

XenBurger

Active member
#3
Note that if you're trying to ban users, there are better approaches than using spam, especially if you aren't trying to clear them out.
I'm realizing this now. So basically the "Spam" function is aptly named, because you'd want to use it on actual spammers (viagra, porn, etc). This adds them to the spam databases, etc.

If we just want to ban an unruly user without deleting their entire history, clicking "Ban" on their profile performs this function.

I tried this on a very old member just now, and it says "Junior User" under their username.

Recommended (easiest) method for getting "Banned" to show up under their username instead?
 

XenBurger

Active member
#4
Edit:

"If the users are banned via the Warning System via an appropriate Warning Action, then they can be automatically placed in a specific usergroup and they will then be removed once the Warning Action expires."

Also:

Admin CP -> Home -> Options -> User Discouragement and Discipline -> Add User Group on Ban
 

Mike

XenForo developer
Staff member
#5
Recommended (easiest) method for getting "Banned" to show up under their username instead?
Configure the "Add User Group on Ban" option to add them to a new group you create. Set a user title in that group with a high display styling priority and that should do it (for any future bans).
 

XenBurger

Active member
#6
Configure the "Add User Group on Ban" option to add them to a new group you create. Set a user title in that group with a high display styling priority and that should do it (for any future bans).

How does this differ?
Admin CP -> Home -> Options -> User Discouragement and Discipline -> Add User Group on Ban
Edit: Clarification ... all I did was click "yes" on the above and it put the word "Banned" on a newly banned user automatically. Didn't have to do the other steps. Previously banned users were unaffected. Is that because I already chose display word of "Banned" for that usergroup?
 
Last edited: