3
Thanks for that, I had a bit of trouble placing it in the right place and got errors. I have now managed to make it work by adding it as below. Would you mind having a quick check over it to see that I have done it correctly because I am no expert and don't want my site to fall to pieces
Thanks a lot
this is what it looks like now...
include("mainfile.php");
include("header.php");
$xoopsOption['show_rblock'] = 1; //0 for no right block
if (!isset($xoopsUser) || empty($xoopsUser)) {
redirect_header(XOOPS_URL."/user.php",2,_MD_MUSTREGFIRST);
exit();
} ?>