I have vbulletin 3.09 and photopost 5.20.
I bleieve it was fine before I tried to upgrade vbulletin to 3.50 but that is whole different story.
After I was finally able to restore the forum and db everyhting seem function except when I try to logout forum the gallery.
When I logout of the forum it works as expect.
I get the below message when logging out of the gallery
Error: 404 Document Not Found
I have a dev forum (hope it is okay with you guy) but I have the same exact error. >> lakerszone.com/forum / lakerszone.com/gallery