It's probably not correct - else there would not be this error
All the settings you pasted have nothing to do with database setup, tho. But that's where the error probably is. The database settings come right after the part you copied.
Do the following:
- find out whether you have your Photopost data in the same database as vBulletin.
- If this is the case, make sure line 49 reads "$other_db = FALSE;" (w/o the "). If this is now set to TRUE, this is most likely to cause your problem.
- If you indeed use another database for Photopost, set this variable to "TRUE" and make sure the settings that follow are correct.