How could i link a login form on my homepage to all the users which have registered on vbulletin
So for example they log in inputting their username and password on the homepage and once logged in it states their name on the homepage and keeps them logged in when switching pages to the vbulletin forum.
This is the code so far in the html index.php for login.
Code:
<!--header -->
<div id="header">
<div class="top">
<form action="" method="get" enctype="multipart/form-data" id="LoginForm">
<div>
Username <input type="text" name="name" value="" class="input1" /> Password <input type="password" name="pwd" value="" class="input2" /> <a href="#" class="link" onclick="document.getElementById('LoginForm').submit()"><span><span>Login</span></span></a><br />
I am really not to great with coding, any help would be really appreciated.
Thank you.