Lionel
01-02-2002, 05:42 PM
to tell me how and where to do this in online.php. On my board, guests have no viewing rights.
{if userid="0" (or if nopermission)
$userinfo[where] = "Attempting to view a member's only area";
}
else{ do regular stuff below
function show($userinfo) {
global $thread, $post, $forum, $event, $gotforum, $hideprivateforums, $bbuserinfo, $timeformat, $enableemail, $enablepms, $bbtitle, $usergroupdef, $numberguests, $onlineloc;
switch($userinfo[activity])
{if userid="0" (or if nopermission)
$userinfo[where] = "Attempting to view a member's only area";
}
else{ do regular stuff below
function show($userinfo) {
global $thread, $post, $forum, $event, $gotforum, $hideprivateforums, $bbuserinfo, $timeformat, $enableemail, $enablepms, $bbtitle, $usergroupdef, $numberguests, $onlineloc;
switch($userinfo[activity])