I've created a Ning application and requested access to the source so that I could wipe it out and start from scratch. That is, I wanted to get rid of all the social networking application code and use my own framework.
Now that I've done this, I really only have an index.php file and the xn* directories left in my application.
In the index.php file, I have the following as a test:
<h1>Foo!</h1>
That's all that's in there.
As you might guess, when I go to the site in a browser, I see "Foo!" displayed as I should, but I don't see the ningbar. How do I add the ningbar to a bare site?
It's been a while since I've used ning and some of the earlier sites I created a couple of years ago (and are still running) automatically put the ningbar into the output, but now, new sites created do not appear to have this functionality.
As for the ningbar for pages on your "app from scratch", take a look at the widgets/index/templates/embed/header.php template on the social network code to get an idea of how the regular page is built. Basically, what you will need is the <ning:ningbar/> tag. Something similar to this:
Thanks for your reply. <ning:ningbar/> appears to work just fine, though it's styled weird, but this might be because I've removed everything else from the directory.
In short, I removed everything from the directory because I wanted a clean slate. I'm a bit obsessive about having clean directories and not having any files in there that I'm not using. :-)