Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Ignore monks in last hour of cb

by ambrus (Abbot)
on Apr 29, 2015 at 19:28 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1125165]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-03-29 01:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found