I think he wants it to be like this, on the index.php page on his site, not the forum index.php:

Code wrote:

<?php
if ($cookie['is_guest'])
{
   //login here
}
else
{
   //You have 2 new PM's

}
?>

I don't know the code, havn't installed the PM script... yet. But i will, I would like the code by hand then smile

I really don't know how to do it.

This is how my code looks like, i use the "cookie online, not online code"

It works fine, but look at the bold text, how do i make that link to the user who is currently online?

code wrote:

<?php
define('PUN_TURN_OFF_MAINT', 1);
define('PUN_QUIET_VISIT', 1);

$pun_root = './forum/';
@include $pun_root.'include/common.php';

// If PUN isn't defined, config.php is missing or corrupt
if (!defined('PUN'))
    exit('config.php doesn\'t exist or is corrupt. Please run install.php to install PunBB first.');
?>
<?php
if ($cookie['is_guest'])
{
   include "loginBoxI.php";
}
else
{
   echo 'Welcome to my site '.pun_htmlspecialchars($cur_user['username']);

   echo '<a href="http://myforum.com/profile.php?>Your Profile</a>

}
?>

/And also, i love your forum script! It's good and very easy to blend in!