How to disable chat in CSS?

Discussions about BGA (all languages)
Forum rules
Warning: challenging a moderation in Forum = 10 days ban
More info & details about how to challenge a moderation: viewtopic.php?p=119756
Locked
Death Smoke
Posts: 2
Joined: 11 April 2021, 18:31

How to disable chat in CSS?

Post 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:
User avatar
gghaveanicedayseeya
Posts: 5
Joined: 20 June 2017, 08:44

Re: How to disable chat in CSS?

Post by gghaveanicedayseeya »

Just found a player, I can't pm her, but she didn't red me. Perhaps she uses CSS.
User avatar
Paul_Chelsfield
Posts: 8
Joined: 13 April 2020, 21:22

Re: How to disable chat in CSS?

Post 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...
User avatar
gghaveanicedayseeya
Posts: 5
Joined: 20 June 2017, 08:44

Re: How to disable chat in CSS?

Post 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!
User avatar
Paul_Chelsfield
Posts: 8
Joined: 13 April 2020, 21:22

Re: How to disable chat in CSS?

Post 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.
Locked

Return to “Discussions”