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

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

Fire-Tech replied to soaringeagle's discussion '3.0 feature request'
"+1"
5 hours ago
Allison Leahy replied to soaringeagle's discussion '3.0 feature request'
"Thanks. I'll make sure this is filed as a feature improvement for 3.0."
7 hours ago
Kos replied to SweetPotato's discussion 'Simple, Responsive Slider for Ning 3.0'
"Ha!  Nevermind.  Suddenly it's back to normal again.  Gremlins in the hardware,…"
7 hours ago
Kos replied to SweetPotato's discussion 'Simple, Responsive Slider for Ning 3.0'
"Hey SP is your slide still running alright?  Came back from dinner and saw this.  idk if…"
8 hours ago
FedMedic replied to soaringeagle's discussion '3.0 feature request'
"+1"
10 hours ago
Kos replied to John Bizley's discussion 'File Manager NO DELETION option anymore ? Plus can you expand the file name size box.' in the group The Sandbox
"It's a glitch on Ning's end; plain and simple"
11 hours ago
John Bizley replied to John Bizley's discussion 'File Manager NO DELETION option anymore ? Plus can you expand the file name size box.' in the group The Sandbox
"Thanks Riccardo, it took a bit of moving the mouse about to find it but my mouse does change to the…"
11 hours ago
Riccardo Rossini replied to John Bizley's discussion 'File Manager NO DELETION option anymore ? Plus can you expand the file name size box.' in the group The Sandbox
"John, actually the button is only hidden, more or less you'll find it here your pointer will…"
11 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service