How to make FACEBOOK like top bar ( Ning bar)?

This tip includes : a small profile photo exactly like facebbok ( small profile photo on ning bar code is originally written by TJ) , profile link with my profile written, my friends link, find friends link on the left side of Ning Bar.


Simply copy and paste the following code into Custom Code. 

Note: If you are looking for a person to customize your site, I'm available for hire. You may want to check my profile or you can directly contact me via my email id

Try Private help full support

The Code

<script type="text/javascript">
if (ning.CurrentProfile != null) x$('#xn_bar_menu').find('a#xn_username').after('<div style="font-size:11px; font-family:Tahoma;"><img style="border:solid 1px white;margin:0px;padding:0px;" src="' + ning.CurrentProfile.photoUrl + '" width="26" height="26" /><a href="/profiles" style="color:#f5f5f5; font-weight:bold;">My Profile</a><a href="/profiles/friend/list?my=1" style="color:#f5f5f5; font-weight:bold;">My Friends</a><a href="/profiles/members/advancedSearch" style="color:#f5f5f5; font-weight:bold;">Find Friends</a> </div>');

#xn_bar_menu_tabs a#xn_username {
display: none;

You can also check live preview if you are the member of my network here.

Tags: bar, facebook, ning

Views: 2309

Reply to This

Replies to This Discussion

Thank you Bernard and TJ, it works beautifully on my site.

You're welcome! :-)

Does this work for 3.0, dear Bernard?

Yes this does work on 3.0 but a bit of the code needs changing, I wold hang on a bit though as ning are adding some more items to the Ning bar like notifications etc so best wait until they have finished that to see what's been added and what room there is left over if you still need to add some links there.

Thant's right John...

Thank you so much !amazing
Bernard Lama


What's Up With Ning 3.0?

Click here to share your thoughts on what features we should develop next! - Survey will close Friday, 4/25

Projects that the Ning 3.0 Team is currently working on: 

Articles - a new way of organizing longer content pieces. Released 4/16.

Activity Feed Updates - options for more content in the activity feed.

Forum Notifications - ability for members to opt into receiving notifications of new discussions in forums. Released 4/9. 

APIs - The ability to create new members and content programatically.

For more information on what's next, visit the Product Roadmap

Latest Activity

soaringeagle replied to Riccardo Rossini's discussion 'Please Ning staff'
27 minutes ago
Phil McCluskey replied to Riccardo Rossini's discussion 'Please Ning staff'
"We reverted this change and will give it another shot early next week. Apologies for the bugs and…"
2 hours ago

NC for Hire
JFarrow replied to John Bizley's discussion 'Has anyone else considered using a tab container for help files ?'
"this tip is infinitely useful to NCs John .. I've been doing something similar, but instead of…"
4 hours ago
soaringeagle replied to Riccardo Rossini's discussion 'Please Ning staff'
"category nav seems fixed  but custom page module still screwy but..great job on a very speredy…"
4 hours ago
Jelena replied to Riccardo Rossini's discussion 'Please Ning staff'
"Same as SE. That would be a problem with the Trademark name.."
6 hours ago
soaringeagle replied to Riccardo Rossini's discussion 'Please Ning staff'
"same on all sites its a bug"
6 hours ago
Jelena replied to Riccardo Rossini's discussion 'Please Ning staff'
"Hi Riccardo I see no navegation on your network"
6 hours ago
Aaron replied to Rainer Glaap's discussion 'Heartbleed, MITM - Security Issues'
"Thanks for bringing this up! As Rainer mentioned, wasn't vulnerable to the Heartbleed…"
7 hours ago

© 2014   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service