
Dharam Patri - 2007-02-12 05:13:39
// $uname is the user name who logged in & by mapping it with phpBB_users(hit_users for me) TABLE i am geting the user_id of phpBB table now also calling the login() function
NOTE : I am using phpBB2.0
$sql2 = "SELECT user_id,user_level from hit_users
where username='$uname'";
$result2=dbQuery($sql2);
$rows2 = dbFetchAssoc($result2);
$phpLogin = new PHPBB_Login();
$phpLogin->login($rows2['user_id']);