I wonder if its possible to see a working example rather than just the code snippets?
PHP Code:
<?php
If ($vbulletin->userinfo['userid']!=0)
{
echo "Your logged in so we can display this";
} else {
echo "Your not logged in so we display this";
}
?>
I am looking to create a page (within a separate CMS) which checks to see if the current user is authenticated against the forum. This code above looks promising but it seems incomplete.
I am wondering, where is the variable $vbulletin created? Does it need to be declared as a global?
cheers (: