Customizing SMF > SMF Coding Discussion
not working
(1/1)
Julian Kuitert:
--- Code: ---<?php
require("./smf/SSI.php");
$ssi_ban = true;
$ssi_theme = 1;
$ssi_layers = array('body','main');
ob_start();
if ($context['user']['is_guest'])
{
echo
'logged off';
}
else
{
echo
'logged in';
}?>
--- End code ---
its not working, why :(? all the patches and codes are right:(
Yoshi:
1. SMF version?
2. Make a descriptive title
3. What's not working?
4. Why is this in Language Specific Support?
5. You forgot to global $context
6. Load SSI.php after setting the variables.
Yoshi:
Duplicate: http://www.simplemachines.org/community/index.php?topic=483215.0
Locked.
Navigation
[0] Message Index
Go to full version