how can i take the functions of vbulletin to read the user session status? (if the user is a guest or not)
because i would like to put in my website (
www.gamempire.it) a script that read the user session permission of the forum (
www.forum.gamempire.it) and if it's logged in on the forum, it show something, and if the user is not logged in, it show something else..
like "
include ("../forum/
something.php");
if ($vbuser['isloggedin']) {
... }
else {
... }
"
thanks
--------------- Added [DATE]1220223938[/DATE] at [TIME]1220223938[/TIME] ---------------
i find this..
but if the file is not in the same directory of the forum, how can i include the global.php?
how can i set the forumpath for the global.php?