Vbulletin and another forum script Login Code for HTML or bla bla bla

salmandia

New Member
THIS TUTORIAL IS VERY OLD USE AT OWN RISK WILL UPDATE SOON!

This is just basic HTML and is nothing to be alarmed about, each software has a differnt way of logining in and involes just finding all the login form in the source code..made by me.

But I have done that for you just change the bolded text in the codes.

PHPBB2:
<form method="post" action="http://www.PATHTOYOURFORUMS/login.php">
<p>
<input name="username" type="text" id="username" />
</p>
<p>
<input name="password" type="password" id="password" />
</p>
<p>
<input name="redirect" value="" type="hidden"><input name="login" class="mainoption" value="Log in" type="submit">
</p>
</form>
Invision Power Board:
<form method="post" action="http://www.PATHTOYOURFORUMS/index.php?act=Login&CODE=01">
<p>
<input name="UserName" type="text" id="UserName" />
</p>

<p>
<input name="PassWord" type="password" id="PassWord" />
</p>
<p>
<input type="submit" name="Submit" value="Submit" />
</p>
</form>
vBulletin:
<form action="http://www.PATHTOYOURFORUMS/login.php" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, 0)">
<script type="text/javascript" src="http://www.PATHTOYOURFORUMS/clientscript/vbulletin_md5.js"></script>
<table border="0" cellpadding="0" cellspacing="3">

<tbody><tr>
<td ><label for="navbar_username">User Name</label></td>
<td><input class="bginput" style="font-size: 11px;" name="vb_login_username" size="10" accesskey="u" tabindex="101" value="User Name" onfocus="if (this.value == 'User Name') this.value = '';" type="text"></td>
<td colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" type="checkbox">Remember Me?</label></td>
</tr>
<tr>
<td ><label for="navbar_password">Password</label></td>

<td><input style="font-size: 11px;" name="vb_login_password" size="10" accesskey="p" tabindex="102" type="password"></td>
<td><input value="Log in" tabindex="104" title="Enter your username and password in the boxes provided to login, or click the 'register' button to create a profile for yourself." accesskey="s" type="submit"></td>
</tr>
</tbody></table>
<input name="s" value="" type="hidden">
<input name="do" value="login" type="hidden">
<input name="vb_login_md5password" type="hidden">
<input name="vb_login_md5password_utf" type="hidden">
</form>
Now what i suggest is JUST take all the input field attributes ie. name=
and add then to the inputs already in your template, DO NOT FORGET that you need to have the FORM tag and ALL of the input fields, some are hidden and required.

Hope this helps you ALL

best regards Salmandia
 
Top