![]() |
Logging in on main page
I need to create a page that has a login screen. When you login it kicks you back to the home page but you are still logged into the forums. It has to use sessioncookies for it to work. Also when you go to the home page and not the forums you have to be logged in. So assuming you've logged into the forums at one point and you set it to remember you then each time you visit the page you have to be logged in. Anyone know how I can accomplish this?
|
Include global.php in your non-vb pages, be sure to add the session data to each link on and to your own site, for the login use a small form that contains something like:
<form action="/forum/member.php" method="post"> Username: <input type="text" name="username"><br> Password: <input type="password" name="password"><br> <input type="hidden" name="action" value="login"> <input type="hidden" name="url" value="/index.php?s="> <input type="submit" value="Login"> </form> |
All times are GMT. The time now is 12:27 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|