Code:
Content visible to verified customers only.
I do not see any issues with that query provided things are installed correctly
My suggestion would be to reinstall and on your config portion make sure the database info for Photopost and vbulletin are entered in the correct place. You can then run through install make sure to choose external integration and in the next step select vb3 and fill out all pertinent info
You may also post a regular user test login so I can login and see any errors.