XF 2.3 Strikethrough for banned accounts

CTS

Active member
Licensed customer
Watching my visitors online widget, I notice from time to time a banned member account tries to log back in.

I would really like a strikethrough on the username when they do attempt to log in again. This way I can just glance and know instead of wondering and looking at his account to see if that account was banned. It would save a lot of time.

Has anyone else attempted this or figured it out?
 
Watching my visitors online widget, I notice from time to time a banned member account tries to log back in.

I would really like a strikethrough on the username when they do attempt to log in again. This way I can just glance and know instead of wondering and looking at his account to see if that account was banned. It would save a lot of time.

Has anyone else attempted this or figured it out?
If I'm not mistaken, XF does this by default. If we ban a member, the member name appears with a strikethrough line on their member name in all areas of the site.

There should be this line in the app_username_style.less template:

Code:
.username--banned
{
    text-decoration: line-through;
}
 
  • Like
Reactions: CTS
Thank you @AndyB and everyone above.

Andy sent me an email which gave me pause to think about what I was seeing. And was confirmed when I returned to this thread and then verified at my site.

First, everyone was correct. It is built in for banned accounts.

What I was seeing was logins on accounts that have been registration rejected via Andrew's Moderator Panel when a registration got flagged for approval. I know that's an xf function also.

So,... thank you all and my apologies for the confusion on my part.

Case closed.
 
Back
Top Bottom