Quote:
Originally posted by Ruth
smachol, thanks, but i tried that it doesn't work...
RobAC, this is what i am trying to do...
i need to do the following in non-vB pages:
(1) if the user already logged use their cookies and display a welcome $username + logout link
(2) if the user is not logged use the login form before displaying the page content.
(3) prevent access to users awaiting confirmation (3) and users awaiting moderation (4)
i get error almost everywhere except for the login box, there is an error on show_nopermission line, and the user is not welcomed in non-vb pages. (i changed member.php to member3.php and alreasy set the redirect to the index of my main site (non-vB) )
please help
|
Is the main index page of your site an HTML document on PHP? So in other words, when someone clicks the link to go to your site....if they are a member, you want them to automatically be logged in....if they're cookies are set properly and have direct access to the site. If they aren't logged in, you want to be brought to a page that has nothing on it, other than the log in fields? It sounds like this is a little beyond my capability and I'm not sure I can help.