You can also use this code:
<?php
if($mybb->user['uid'] == 0)
{
error_no_permission();
}
?>
(2009-09-16, 07:09 PM)Skiilz Wrote: [ -> ]You can also use this code:
<?php
if($mybb->user['uid'] == 0)
{
error_no_permission();
}
?>
So which way is better? the First Post or the Code listed above?