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