I had a login script where users could login from the main site and it would also log them into the forums as well. After I upgraded to vB 3.5 it seems not to be working, any ideas why?
I had something like this and at the top of the page I had
PHP Code:
<?
chdir('forums/');
require('./global.php');
?>
PHP Code:
if(!$bbuserinfo['userid']){
print('<b><font color="#D82A2A">Attention:</font></b> You are not logged in, click <a href="login.php">here</a> to login.');
} else {
$username=$bbuserinfo['username'];
print("Logged in as, <b>$username.</b>");
}