Re: Adding the admin bar to a php file.
So you’re saying you want to use the BuddyBar outside of WordPress?
If so, this article helped me:
http://dev.commons.gc.cuny.edu/2009/10/12/displaying-the-buddypress-admin-bar-in-other-applications/
I used this on a Moodle install and it worked.
—
Is your homepage powered by WordPress? If so, the answer will be much easier.
Let us know what your setup is.