← Back to vBulletin 3.8 Template Modifications

Status of PHP 8.5 support: Possible. Open Contacts for details.

Guest thread login and register form
Mod Version: 1.00, by bellaa

vB Version: 3.8.x Rating: (1 vote - 5.00 average) Installs: 9
Released: 23 Jul 2009 Last Update: Never Downloads: 0
Not Supported Re-usable Code Translations  

**:: Name: Guest thread login and register form
**:: Version: all version
**:: Developer: http://www.vbdestek.tk
**:: Published: 2009

guest


postbit/ postbit legacy open

find;
PHP Code:
<!-- message -->   
        <
div id="post_message_$post[postid]">$post[message]</div>   
        <!-- / 
message --> 
change;
PHP Code:
<if condition="$show['guest']">  
 <!-- 
login form --> 
        <
form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])"> 
        <
script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script> 
        <
table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> 
        <
tr> 
            <
td class="smallfont" style="white-space: nowrap;"><label for="navbar_username">$vbphrase[username]</label></td> 
            <
td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td> 
            <
td class="smallfont" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td> 
        </
tr> 
        <
tr> 
            <
td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td> 
            <
td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td> 
            <
td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td> 
        </
tr> 
        </
table> 
        <
input type="hidden" name="s" value="$session[sessionhash]" /> 
        <
input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> 
        <
input type="hidden" name="do" value="login" /> 
        <
input type="hidden" name="vb_login_md5password" /> 
        <
input type="hidden" name="vb_login_md5password_utf" /> 
        </
form> 
        <!-- / 
login form --> 
<
table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
<
thead> 
<
tr> 
<
td class="tcat" colspan="6"><div align="center"><phrase 1="$vboptions[bbtitle]">Fast Register !</phrase></div></td> 
</
tr> 
<
tr> 
<
td class="alt1" colspan="6"> <div align="center"> 
<
span class="smallfont"><script type="text/javascript" src="clientscript/vbulletin_md5.js"></script> 
<
script type="text/javascript"> 
function 
verify_passwords(password1, password2) 
{ 
// do various checks, this will save people noticing mistakes on next page 
if (password1.value == '' || password2.value == '') 
{ 
alert('Fill out both password fields'); 
return 
false; 
} 
else if (
password1.value != password2.value) 
{ 
alert('Entered passwords do not match'); 
return 
false; 
} 
else 
{ 
md5hash(password1, document.forms.register.password_md5); 
md5hash(password2, document.forms.register.passwordconfirm_md5); 
return 
true; 
} 
return 
false; 
} 
</
script> 
<
form action="register.php" name="register" method="post" onsubmit="return verify_passwords(password, passwordconfirm);"> 
<
input type="hidden" name="s" value="" /> 
<
input type="hidden" name="do" value="addmember" /> 
<
input type="hidden" name="url" value="index.php" /> 
<
input type="hidden" name="agree" value="" /> 
<
input type="hidden" name="password_md5" /> 
<
input type="hidden" name="passwordconfirm_md5" /> 
Fast Register.<br><br> 
User Name: 
<
input type="text" class="bginput" name="username" maxlength="15" value="" style="width:70px" /> 
Password: 
<
input type="password" class="bginput" name="password" maxlength="15" value="" style="width:70px" /> 
Confirm Password: 
<
input type="password" class="bginput" name="passwordconfirm" maxlength="15" value="" style="width:70px" /> 
Email Address: 
<
input type="text" class="bginput" name="email" maxlength="50" value="" style="width:70px" /> 
Confirm Email Adress: 
<
input type="text" class="bginput" name="emailconfirm" maxlength="50" value="" style="width:70px" /> 
<
br><input type="checkbox" name="agree" id="cb_rules_agree" value="1" /><strong><a href="register.php">I have read, and agree to abide by the Forum rules.</a></strong><br> 
<
input type="submit" class="button" value="Kayıt" accesskey="s" /> 
</
span> 
</
div></td> 
</
tr> 
</
thead> 
</
table> 
        <else />   
        <!-- 
message -->   
        <
div id="post_message_$post[postid]">$post[message]</div>   
        <!-- / 
message -->   
        </if> 

Download

No files for download.

Supporters / CoAuthors

  • bellaa

Similar Mods

Mini Mods Login Popup - Adds a DHTML popup login form w/ forgotten password & register links vBulletin 3.6 Add-ons
Mini Mods Created table the request Login if you are a Member or register if a Guest vBulletin 3.7 Template Modifications

vblts.ru supports vBulletin®, 2022-2025