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

Attachments:

Reply to This

Replies to This Discussion

Thanks for the tip works perfect!

sure thing Braden!

GrayWitch

If you added the / and you have members pending, then I'm stumped.    Could almost use a drink right now *lol*

<script> insert your code </script>

on a side note, I'm not being allowed to reply to your posts.  The choice "Reply" isn't showing.  Strange, huh?

Hey guys,

How are you doing? here's the updated and language editor version only, for the Pending Approval new icon.

I hope you like it.

Good Day.

personally I like the "NEW" with out the the count.

Ning should work this in on their end

actualy it is worked in on their end its used in the dashboard for new items like the mobile site this just re-uses it in a new way

its like i used the featured photos slideshow as the header background on  www.dreadlockssite.com/main  just using a built in feature in a new way

I'm aware they use it in the dashboard I meant they should work it on their side into the Inbox too.

I try to run the least amount of costume code possible, I like to keep my load time under 2sec (Post Glam / 1sec pre Glam) and page size under 1mb.

dont use the custom code version use the m=language editor version

that's what I ended up doing

Me to

thank you very much

Thanks for the Example Above, We need something to indicate homany memebrs are online at any current time - as not all members use the chat function, yet Admins must see who is online at any given times Kindly ..

Thanks

RSS

Latest Activity

Mike Collins replied to Rafael's discussion 'Multiple Chat rooms for Ning 3.0'
"That's a shame. Understand about the video technology although the skype integration is an…"
1 hour ago
Michael Goebel replied to Michael Goebel's discussion 'Where have the text boxes on the profile pages gone ?!?!'
"I also don't think Ning will take much notice... I have been asking them for YEARS to fix the…"
4 hours ago
Strumelia replied to Michael Goebel's discussion 'Where have the text boxes on the profile pages gone ?!?!'
"It becomes a very serious problem if, along with taking away members' music player, also the…"
4 hours ago

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!"
5 hours 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 :) "
6 hours 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…"
6 hours ago
Melinda Orr replied to Michael Goebel's discussion 'Where have the text boxes on the profile pages gone ?!?!'
"Thanks Kos! "
6 hours ago
Kos replied to soaringeagle's discussion 'killer penguins'
"Here's the updated Keyword Tool link http://bit.ly/16hsT0x"
7 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service