2011-04-27, 08:09 PM
I am trying to write an if statement to place on the index page, so that if a guest is viewing the page they see a welcome box with information, just below the header, otherwise the box is not displayed.
I know how to check the usergroup, but can't figure out how to code for the welcome box display.
Any help would be appreciated. This is what I have now:
I know how to check the usergroup, but can't figure out how to code for the welcome box display.
Any help would be appreciated. This is what I have now:
<?php
define("IN_MYBB", 1);
require_once "./global.php";
if(!$mybb->user['uid']){
I'M LOST HERE;}
?>