Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Private message (/msg) notification

by Wassercrats
on Aug 13, 2004 at 00:01 UTC ( #382505=monkdiscuss: print w/replies, xml ) Need Help??

Several times I've had private messages that were related to a current CB conversation, but I didn't see them until much later because I wasn't looking up there and they weren't noticeable enough. Also I've heard others being reminded to look for their /msg's. How about displaying /msg's in bold and a different color, and displaying a notice in the chat area? The highlighting and chat-area notice would go away the next time the page is loaded.

Replies are listed 'Best First'.
Re: Private message (/msg) notification
by diotalevi (Canon) on Aug 13, 2004 at 00:11 UTC

    Try adding this to your CSS. I'm guessing this is right anyway. I just read the site HTML to see that.

    #Chatterbox * SPAN { font-color: red; }

      Here is the CSS that worked for me

      span.privatemessage { background-color: rgb(255,200,200); }


      ___________
      Eric Hodges
        Interesting. I didn't see the privatemessage class. I must get my eyes fixed. Just as a nit, you *can* just say 'red' instead of the longhand with 'rgb( ... )'.
Re: Private message (/msg) notification
by castaway (Parson) on Aug 13, 2004 at 06:30 UTC
    You could always use another CB client.. The one I use has them in the normal flow of CB text, but in red. Katterbox also does something similar, I think.

    As for PM itself, the most you're probably going to get is the messages each with their own class set, so you can style them yourself.. Unless you'd like to go through all the available themes on PM, and suggest a suitable colour for each, in which case someone might actually change them.. If you're lucky.

    C.

      You are right. It has an IM like interface, such that current users sit in its own window, and new private messages causes a popup for that user.

      Bart: God, Schmod. I want my monkey-man.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://382505]
Approved by Moriarty
help
Chatterbox?
[Lady_Aleena]: Um, how does grep do multiline? print "$file:$_" if grep { /get_(array|hash| data)\(.+\)/ } $_; only returns the same 18 lines the command line grep does.
[Lady_Aleena]: my scratchpad has what I have so far.
[choroba]: what do you mean by multiline?
[Discipulus]: thanks 1nickt!
[choroba]: grep is a filter, it selects elements from a list based on a boolean condition
[moritz]: you need to read the file in one go to do a multiline regex match
[erix]: ha ha, I like the Vigilante
[Lady_Aleena]: Forget it. I'm getting angry with it.
[Lady_Aleena]: I'll just have to search for the files using the subs and open them up.

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2017-05-23 19:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?