Thanks for your reply and that link. This has given me the confidence to try a quick PHP script, and this works a treat (I know this is basic stuff, but I am still a beginner!):
PHP Code:
<?
require_once('global.php');
if ($vbulletin->userinfo['userid']!=0) {
echo "User is logged in</br>";
echo "Username is: ".($vbulletin->userinfo['username'])."</br>";
echo "Usergroup is: ".($vbulletin->userinfo['usergroupid'])."</br>";
if (is_member_of($vbulletin->userinfo, 5,6)){
echo "User is member of usergroup 5 or 6</br>";}
if (is_member_of($vbulletin->userinfo, 0,1)){
echo "User is member of usergroup 0 or 1</br>";}else{
echo "User is not a member of usergroup 0 or 1</br>";}
}else{
echo "User is not logged in! (put help and link to forum to log in here)</br>";
}
?>
If I am not logged in, it will say so. I can then log in to the forum and just refresh the page above and it shows me as logged in OK :up: (The other stuff was just testing to show it would recognise certain usergroups).
This is great as I can now restrict options and content on my site to only valid (and logged in) forum members.
JOB DONE