2013-12-25, 11:28 AM
I'm so happy I've done it at last.
Here's the code
<?php
if(!$mybb->user['uid'])
{
error_no_permission();
}
?>
I inserted it in my index template and it worked although I use a pluginto enable php code in templates.
Thanks for your time anyway. Just that you didn't understand me.
Here's the code
<?php
if(!$mybb->user['uid'])
{
error_no_permission();
}
?>
I inserted it in my index template and it worked although I use a pluginto enable php code in templates.
Thanks for your time anyway. Just that you didn't understand me.