asmith Posted June 5, 2008 Share Posted June 5, 2008 hey guys I wanted to set my site like if the user login in the forum, he become logged in to the site pages too. I was checking index.template.php of the theme folder of SMF, and from what i saw i tried to test it : <?php global $context, $settings, $options, $txt; if($context['user']['is_logged']) { echo 'it is working!!!'; } else {echo 'sorry';} ?> it gave me "sorry" for both times i'm logged on forum or i'm not. what's the problem with that ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.