That seems to just be a login portal for vB, but doesn't use the cookie for access to non-vB pages. What I am looking for (not a "hack" per se) is something that will allow me to do this on non-vB pages:
PHP Code:
//Not using literal PHP syntax
if (vBulletin cookie is present)
{
if (user is a registered user)
{echo Regular user content;}
elseif (user is a moderator)
{echo Mod content;}
elseif (user in an administrator)
{echo Admin-only content;}
}
else {echo "You must be a registered user to view this page. Please login or register";}