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: 1577

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


NC for Hire
JFarrow replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"you guys are starting to impress me all over again!  thanks for the updates!"
1 hour ago
Melinda Orr replied to Michael Goebel's discussion 'Where have the text boxes on the profile pages gone ?!?!'
"Wishing for some response from Ning here... thanks Patrick for sharing these details :) "
1 hour ago
Melinda Orr replied to Michael Goebel's discussion 'Where have the text boxes on the profile pages gone ?!?!'
"I'm thinking bringing back the  RSS feed box would be a good thing as well. What's…"
2 hours ago
Melinda Orr replied to Michael Goebel's discussion 'Where have the text boxes on the profile pages gone ?!?!'
"Thanks Kos! "
2 hours ago
Kos replied to soaringeagle's discussion 'killer penguins'
"Here's the updated Keyword Tool link http://bit.ly/16hsT0x"
2 hours ago
Jordon McGee (Jords) replied to Rafael's discussion 'Multiple Chat rooms for Ning 3.0'
"Thanks Allison!"
2 hours ago
Kos replied to soaringeagle's discussion 'killer penguins'
"Only 2 days old and emphasizes high quality links, social, etc. although it does not specifically…"
3 hours ago
Chazz replied to Chazz's discussion 'Below Header HTML Box/ Above Footer HTML Box Glitch Developed' in the group The Sandbox
"I am fully updated I will check on my settings."
3 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service