Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2018-07-19 08:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (404 votes). Check out past polls.

    Notices?