whats the
$dbpassword="";
$DB_site->password="";
for after the connect?
what are the queries you use?
I think they use $DB_site->query() etc, i just use the normal mysql_query
this is how i have mine setup
PHP Code:
include_once("/home/vhosts/fragblast.com/httpdocs/forums/admin/db_mysql.php");
$DB_site=new DB_Sql_vb;
$DB_site->appname='vBulletin';
$DB_site->appshortname='vBulletin (forum)';
$DB_site->database="fragblast";
$DB_site->server="localhost";
$DB_site->user="myusername";
$DB_site->password="mypass";
$DB_site->connect();
include("/home/vhosts/fragblast.com/httpdocs/forums/admin/functions.php");
include("/home/vhosts/fragblast.com/httpdocs/forums/admin/sessions.php");
i didnt bother with the config.php
and the query isnt showing anything?
try doing
echo mysql_error(); to see if something did go wrong