Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Ignore monks in last hour of cb

by ambrus (Abbot)
on Apr 29, 2015 at 19:28 UTC ( #1125165=note: print w/replies, xml ) Need Help??

in reply to Ignore monks in last hour of cb

Rather than using javascript, wouldn't it be easier to use a user CSS rule in your Display Settings for this, such as .chatfrom_52855 { display: none; }? That would hide the chatter everywhere, such as in the chatterbox nodelet, fullpage chat, and last hour of cb. If you want to be more specific, you can make it #id-596792 .chatfrom_52855 { display: none; } to hide it only in last hour of cb.

Replies are listed 'Best First'.
Re^2: Ignore monks in last hour of cb
by chacham (Prior) on Apr 30, 2015 at 12:38 UTC

    How does that ignore specific monks?

      Chat from Corion will have the class chatfrom_5348 class.

        I didn't know that. That does sound superior.

        One possible benefit of using javascript is that it could automatically pull the list from Ignored Users, which i didn't implement for fear of unduly stressing the server and possible delays in rendering the page. (Caching it would far exceed my knowledge of JS.) But this leads me to ask. If its so easy to add the CSS, could we have it as an option to add it when ignoring a user?

        Regardless, thank you for explaining it. I going to try it out right now.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1125165]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2018-03-19 07:45 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (236 votes). Check out past polls.