Fixed it,
<?php
// Add these lines in the very top of your code
define('FORUM_ROOT', './punbb/');
require FORUM_ROOT.'include/common.php';
if($forum_user['username'] == "Guest"){ echo "Hi Guest"; }
else echo $forum_user['username'];
?>
You are not logged in. Please login or register.
PunBB Forums → Posts by D-Guy
Pages 1
Fixed it,
<?php
// Add these lines in the very top of your code
define('FORUM_ROOT', './punbb/');
require FORUM_ROOT.'include/common.php';
if($forum_user['username'] == "Guest"){ echo "Hi Guest"; }
else echo $forum_user['username'];
?>
Hi,
It seems that the avalible codes aren't working with version 1,3.
How to show users username outside forums?
Pages 1
PunBB Forums → Posts by D-Guy
Powered by PunBB, supported by Informer Technologies, Inc.