I also want to know on my site if people are logged in (and are able to vote an things,...)
However if I use:
PHP Code:
<?
echo "going for global.";
require ("board/global.php");
echo "done with global.";
if ($bbuserinfo[userid] == 0) {
echo "please log in!";
} else {
echo "thanks for logging in.";
}
?>
All I see is "going for global."
I'm using vB 2.2.6
Anyone? I'm sure this is the right path to global.php
How do I keep the session-string when going from my forum to my site and back?
thanks!