Sorry about that, I was quite vague. Anyway, I am running vBulletin 3.08 and would like to integrate the forums with my site through shared logins,variables,etc. After reading through the forums it appears that the simplest way to do such a thing is by including global.php in all of my pages. So, at the top of every page I have:
Quote:
$dir = dirname(__FILE__);
chdir('../community/');
require_once('global.php');
chdir("$dir");
|
Now the problem I am having is that if I turn Forums Active in the control panel to "Off" I get the forums are down message on every page on my site that includes global.php. I can understand why this is happening but can't quite find where in the VB php files this happens so I can remedy the problem. Hopefully I have provided enough details this time, if not I can always supply more. Thanks.