Actually you should not have to change Photopost files.
VBPortal works on the method of the forum sidebar is part of the forum header footer system so it is pulled with the VB
Possibly you need to investigate what templates are used to pull and close the sidebar in VB
and add those in the correct places.
You might need to ask someone who used VBadvanced how there sidebar works with the forum to see what needs to be done.