Hi all,

Here's a simple tip which turns your side column Inbox notification text into a simple new icon that is already built-in to your base theme layout. I just thought this method is more noticeable so I have shared this tip. You don't need to upload any images just insert these few lines or copy and paste the attachment code text below into your custom code box and you're all set.

Sample screen shot:

 

Language Editor Version (with unread count, easy & more integrated)

Go to your Language Editor and search for the keyword 'new'. You can find the target field around mid part of the search result (Page 3) or sample link here: 

http://yournetwork.com/main/language/edit?locale=en_US&q=new&filter=all&page=3

Search for <span %1$s>%2$s</span> new and replace it with:

<span %1$s>%2$s</span> <a class="dy-locked dy-locked-new xj_tooltip"></a>

Hit 'Save' and the new changes should take effect.

Javascript/Custom Code Version (enclose the below with the <script>tags)

1
$(document).ready(function(){ if(x$('.xj_count_unreadMessages').length > 0){
2
x$('.xj_messages_present').html('<a class="dy-locked dy-locked-new xj_tooltip"></a>');
3
}});

 

Javascript version Option:

Latest: With unread messages count (Load time fix)

Choose your version and enjoy!

Tags: icon, inbox, language editor, new message, notification icon

Views: 1992

Attachments:

Reply to This

Replies to This Discussion

Outstanding!  Thank you ever SOOO much!

For newbies, I took Ron's attachment above, copied it, added <script> before it and </script> at the end and pasted the entire thing in Custom Code. 

you're welcome Kos, glad it turned out well.

were in custom code above or bottom    as it did not work lol

It looks right, but where did you put the coding?

In the Custom Code section

Thanx Kos! We must have posted at the same time, because I didn't see your above explanation!

were in if you have other codes it did not work

Top or bottom; doesn't matter but don't forget to wrap it with <script> before it and </script> after.........or it won't work at all.  I haven't tested it across all browsers but I'm using Firefox [fwiw]

did it and tried top and bottom  now work for me grrr wahhhhhhhhhhhhhh

Message me the entire code you're using.  I'll take a look at it.   Wait a minute, do you still have a member pending?  You deleted my request.  *lol*  Create a dummy member to join and see if it works then.  That might be why it's not appearing.  lol

<script>x$('.xj_count_users_approve').append('&nbsp;<a class="dy-locked dy-locked-new xj_tooltip"></a>');<script>

Your <script> at the end needs a slash / before it to close the code.  </script>  Also do you *have* a member pending?  You deleted my request the other day.  You may need to log off and create a dummy applicant otherwise it won't show up anyway.

RSS

Latest Activity

Joe Fulton replied to Jared's discussion 'Leaving members, deleting content, Archive feature'
"No response from Allison or Eric as of yet.  I had sent Eric Seuez an e-mail and expected…"
11 minutes ago
Rosemary Burns joined Allison Leahy's group
Thumbnail

The Sandbox

Join The Sandbox to experiment with Ning 3.0 now!The Ning Team will be triaging bug reports and…See More
2 hours ago
Profile IconNing via Facebook
Thumbnail

The Ning Platform explained in a bakers dozen of pretty slides. Enjoy!…

See More
Facebook2 hours ago · Reply
Allison Leahy joined arqueologiadigital.com's group
Thumbnail

Criadores Brasileiros - Brazilian Creators

Grupo para todas as redes Brasileiras do Ning. (Group for all Ning Brazilian Networks).See More
2 hours ago
Elshara Silverheart replied to Elshara Silverheart's discussion 'Free Site Promotion'
"Like before, remember to include the full web address of your network so that it can get properly…"
3 hours ago
Strumelia replied to Elshara Silverheart's discussion 'I am A Little Upset'
"I feel for you Elshara, it must have been upsetting.  But this is a good example of why we…"
4 hours ago
Sylvia Hysen replied to Sylvia Hysen's discussion 'Great Slider- must see!'
"Thx Where Women Blog... I did the graphic design in Photoshop and I hired a pro to do the…"
4 hours ago
Michelle Duchemin replied to Phil McCluskey's discussion 'Mini Release: CSS classes and bug fixes'
"Hi All, Just a quick question: Where can I find this document that has all the up to date CSS…"
4 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service