4
Thank you for the quick reply. I figured it was something like that. But, I'm a moron. And, I can't get it to work. I'm trying to put it in a module, so here's the relevant part of the index.php...
if (!$xoops_isuser)
{
echo file_get_contents("segments/notxoops.html);
}
else
{
echo file_get_contents("segments/isxoops.html");
if ($xoops_isadmin())
{
echo file_get_contents("segments/isadmin.html");
}
}
---------------
When I'm logged on, and when I'm not, I still get the contents of notxoops.html.
What I'm trying to do is make it so I have item level control of what's displayed (vice displaying a whole block or module based upon user permissions). Any advice would be much appreciated.
Thanks again, in advance!