1st I want to say thanks for the quick replay with my other question(s)
I do however have one more question for you
I need to mimic the bar on the forums that show “welcome username” and than the control panel link if they have access to it…
I have found the code that does this but I am not very familiar with the source for the forum.
The code I need to emulate *I think* is in ubbsthreads/index_outside.php on lines 20-26
// Get the user info
$userob = new user;
$user = $userob -> authenticate("U_Groups, U_TimeOffset, U_FrontPage");
$Username = $user['U_Username'];
$html = new html;
if (!$user['U_Username']) {
$html -> not_right ($ubbt_lang['notloggedin']. $ubbt_lang['WEL_PRIV_NO'],$Cat);
}
if anyone has done this before could you please post/pm me your code?
(the purpose of all of this is to initigrate a welcome message for forum members into a custom website that isn’t based off of *.tmpl files)