Okay you edited your config which corrected the one issue
Next as noted in the FAQ
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /xxx/xxx/xxx/xxx/forums/vb3.php on line
This error is usually caused by one of two issues and rerunning the install script and inputting the correct information will fix this issue.
a) In the initial config settings of install of photopost the wrong database information under User Database Settings.
b) If the config options are correct when running install where you are asked the vbulletin mysql table prefix on STEP 4 you must input that information there.
You can find the correct vbulletin database and table prefix settings in your vbulletin config.php file in the includes directory of your forum installation.
Either you have not placed the correct vb
database info in the photopost config on the first step of install for the user database or you have not correctly entered the table prefix of vbulletin tables where asked on step 4. Your corrective action is to rerun install and make sure this information is correct. The error happens because we can not query your vb
database and grab your user info.