Page 1 of 1

How to disable chat in CSS?

Posted: 07 July 2021, 14:40
by Death Smoke
second time a player insulted me when he lost, within days. Now I want to disable chat and get rid of those rude languages! :oops:

Re: How to disable chat in CSS?

Posted: 10 July 2021, 17:39
by gghaveanicedayseeya
Just found a player, I can't pm her, but she didn't red me. Perhaps she uses CSS.

Re: How to disable chat in CSS?

Posted: 13 July 2021, 19:03
by Paul_Chelsfield
If you really want to disable the chat bar entirely via CSS then it's very simple:

Code: Select all

#chatbar {
    display: none;
}
If you only want to get rid of it actually in the games:

Code: Select all

.game_interface #chatbar {
    display: none;
}
I'm not entirely certain if this has any matchmaking functions so removing this might break other things, but I certainly never use the in game chat...

Re: How to disable chat in CSS?

Posted: 14 July 2021, 13:44
by gghaveanicedayseeya
Paul_Chelsfield wrote: ↑13 July 2021, 19:03 If you really want to disable the chat bar entirely via CSS then it's very simple:

Code: Select all

#chatbar {
    display: none;
}
If you only want to get rid of it actually in the games:

Code: Select all

.game_interface #chatbar {
    display: none;
}
I'm not entirely certain if this has any matchmaking functions so removing this might break other things, but I certainly never use the in game chat...
thanks, just tried this, I think it works

but when I tried to use an alt account, to pm myself, although the message doesn't pop up, I can still find the message in inbox. And the other player is still allowed to pm me. But I found a player, @ArielFriedrichGauss, when trying to pm her, a message 'Sorry, you are not authorized to discuss with this player' pop up, though she didn't red me. If I can do the same (block all pms), it would be perfect!

Re: How to disable chat in CSS?

Posted: 14 August 2021, 17:44
by Paul_Chelsfield
Sorry for the slow reply, shows how often I log in to the forum (and that I hate notifications!)...

I'm not aware of a means to automatically block PMs by default on BGA, but then again I almost never use the chat system.

If you additionally wanted to block the messages from appearing in the messages area of your account you could add:

Code: Select all

#message-module {
    display: none;
}
so even if you visited that page (/message) it would appear to be empty. You could even hide the messages button from your own menu (under your avatar):

Code: Select all

#message-menu-item {
    display: none;
}
These are all 100% cosmetic though and messages can still be delivered, you just wouldn't know. To actually implement proper disabling of the chat / PM blocking you'd need to ask the site support team to do it in their back-end code.