by the thanks for the fix you sighted on the changing dir that was very good catch on your part.
Now looking at just this
if (!$vbulletin->userinfo['userid'])
{
print_no_permission();
}
Here it now with the above lines does and checks to see if the user is loged in yet and if not he gets a error message telling him he is not - so if he is not loged in I want him to be required to login at that point. So not only is he going to have to enter the password to get into the private fourm in this case a sub-fourm - i want the login screen to pop up and have the user be required to login before going any futher.
So how would i modfy the below php to do that ?
if (!$vbulletin->userinfo['userid'])
{
print_no_permission();
}
THANKS
Frank H. Shaw
|