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

Thank you my friend

This is great but I still getting the same as before. when I copy and paste do I need the numbers too? 1,2,3? this is what I am pasting on my  custom code box. Any help :(

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

Hi talenttobediscovered,

Thanks and no that's just for formatting. You can try the attachment for the ready made version or see here.

Hope that helps.

Hi Mr. Ron I click on the here and all I get is a blank page. Nothing else is there another way to get the code? thanks. Good idea! :)

Sure thing here it is:

<script> if(x$('.xj_count_unreadMessages').length > 0){
x$('.xj_messages_present').html('<a class="dy-locked dy-locked-new xj_tooltip"></a>');
} </script>

Yeah! Now I got it Thanks you Mr. Ron u Rock ok you now get a free life time membership to my website. :) Really thanks it look great let me know if any other update.

www.TalenttobeDiscovered.com

Sure thing and thanks. There's the Language Editor version now (see updated tip above) which is more integrated but it's new. Let me know if this is much better.

-Ron

Thanks Ron

ok... questions what is the Language Editor version.

What can I do with them?

:P Really I am new at this!

theres 2 ways to impliment this 1 uses javascript in the custom code the other uses the languageeditor to edit the text inserting the link class thats used in the dashboard for the new butto  thats next to mobile and other new features

i posted a simular tip a few weeks back using an uploaded animated gif instead   this is a more creative way that i wiuldnt have thought of

to use this go to the language editor for your sites language search for New   theres alot to sort through but find the 1 listed above and edit it with the extra code save

then when u get mail u will see the new

search for this

<span %1$s>%2$s</span> new

 

replace with

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

 

 

simple and brilliant

thanks Alliance.

RSS

Latest Activity

Kos replied to sho allan's discussion '[TIP-NING 3.0] Add icon in menu tabs!!'
"Going to try this today.  Fingers crossed I don't screw it up *lol*"
7 minutes ago
Kos replied to Elshara Silverheart's discussion 'Free Site Promotion'
"I have to bookmark this one.  Thank you!"
10 minutes ago
Ana Maria Sancho Biesa replied to Ana Maria Sancho Biesa's discussion 'Activity ha dejado de funcionar en mi red 3.0' in the group Ning Networks en español
"Las actividades se recuperaron.Cuando escribí lo que abre este hilo de discusión no…"
3 hours ago
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…"
6 hours 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
9 hours ago
Profile IconNing via Facebook
Thumbnail

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

See More
Facebook9 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
9 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…"
10 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service