A few months ago I posted this tip on how to flag new inbox messages

That thread has gotten a little messy and the tip has been updated to make it look a lot cleaner and less image reliant, so i thought I'd post a clean format here.

The idea is to give members and easier way to spot that they have unread messages in their inbox and/or friend requests waiting. I've used green because that stands out on my site but obviously you can play around with colours. Here's the result on my site:

Here is the code that you'll need for you Appearance/Advanced CSS box:

/* Inbox Alert */
.xj_messages_present .xj_count_unreadMessages {
    background-color: #009900;
    border: solid 1px #006600;
    color: #FFFFFF;
    margin-left: 2px;
    padding:0 3px;
text-shadow: 1px 1px #3F3F3F;
border-radius: 2px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;

}

.xj_messages_present small {
background-color: transparent;
margin-right: -30px;
}

.xj_messages_present small a{
text-decoration:none !important;
color:transparent !important;
}


/* friend request */
.xj_one_friend_request small{
background-color: #009900;
    border: 1px solid #006600;
    color: #FFFFFF;
    margin-left: 2px;
    padding: 0px 3px 1px 3px;
text-shadow: 1px 1px #3F3F3F;
border-radius: 2px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
}

.xj_one_friend_request small a{
text-decoration:none !important;
color:#ffffff;
}

There are some suggestions in the former thread that you could replace the background colours with flashing animated gifs, a good idea if you want that extra level of notification.

Enjoy

SP

More tips on my profile page.

Tags: Inbox notifications

Views: 1562

Reply to This

Replies to This Discussion

Very nice idea... thanks for sharing it...

yups gud thnx

This is really nice. Well done!

Do you know how to change the code that you wrote above to make your green flash?

You'd have to make a flashing gif image and then make that the background

Were would I embed the gif image into your code?

Replace
background-color: #00990;

With

Background: url(your image URL);

Thanks SweetPotato, sorry for being so pesty :)

No worries

Sweetpotato,

This is a great tip. On my network, I changed Alerts to Comments. When you click on comments it takes you to your comment wall (on your member profile). I was wondering if a similar alert could be created (for # of new comments on a users profile wall) like the inbox and message alerts code in this tip. 

Not really sure what alerts does to be honest, never had one either on creators or my own site. How did you change it to comments?

Yes, I haven't seen anything in alerts. It seems like a wasted area. At least with comments, we might get some use out of that space.  I got the tip to change alert to comments at TJ's jqueryhelp site (TJ labeled it: My Comment Wall): http://jqueryhelp.ning.com/forum/topics/how-to-modify-my-html-code

 

RSS

Latest Activity

Jordon McGee (Jords) replied to soaringeagle's discussion '3.0 feature request'
"+1"
1 hour ago

NC for Hire
JFarrow replied to JFarrow's discussion 'Become a Youtube Master with These 4 Tricks'
"apparently ning strips that.."
1 hour ago
Chris replied to soaringeagle's discussion '3.0 feature request'
"This is a standard feature of most forums, and very important! Hopefully it will be implemented."
1 hour ago
Ambroise replied to JFarrow's discussion 'Become a Youtube Master with These 4 Tricks'
"I see nothing between line "compared to this:" and lien "When the user hits the play…"
2 hours ago
Cindy replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"Allison would you please make sure that Phoron's new link gets picked up "
2 hours ago
Cindy replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"Phoron's new live link  http://lifesmagickalweave.ning.com"
2 hours ago
Kos replied to sho allan's discussion '[TIP-NING 3.0] Add icon in menu tabs!!'
"I was able to do it but you're right; I wish they allowed for more characters in the Tab Name.…"
3 hours ago
CPA replied to sho allan's discussion '[TIP-NING 3.0] Add icon in menu tabs!!'
"Thanks Sho, I'm going to try this!"
4 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service