vBulletin

Thank you for visiting. This is our website archive. Please visit our main website by clicking the banner above.
vBulletin FAQ is dedicated to helping the forum owner build, manage and profit from his vBulletin Forum
vBulletin Web Hosting - Free skins and styles for your vBulletin - Search Engine Optimization




Register Side Bar Add On

Half Pint
09-04-2007, 12:44 PM
Hi people, some of you might have seen my side bar mod (http://www.vbulletin-faq.com/forum/showthread.php?t=10152) well this is a extra to it..... but i am having some problems and was hoping someone out there might no the answer......

well people can register, but if the image and age verification is turned on then it wont work..... does anyone know how i can get them to show up in the following code....

<table width="$vboptions[sidebar_width]" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" align="center">
<thead>
<tr>
<td class="tcat">$vbphrase[sidebar_register]</td>
</tr>
</thead>
<tbody>
<tr>
<td class="thead">
<a style="float:$stylevar[right]" href="#top" onClick="return toggle_collapse('forumhome_register')"><img id="collapseimg_forumhome_register" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_register].gif" alt="" border="0" /></a></td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_register" style="$vbcollapse[collapseobj_forumhome_register]">
<tr>
<td class="alt1">
<script type="text/javascript" src="$vboptions[bburl]/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="$vboptions[bburl]/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="$url" />
<input type="hidden" name="agree" value="" />
<input type="hidden" name="password_md5" />
<input type="hidden" name="passwordconfirm_md5" />
$vbphrase[sidebar_username]:<br>
<input type="text" class="bginput" name="username" maxlength="15" value="" style="width:70px" /><br>
$vbphrase[sidebar_password]:<br>
<input type="password" class="bginput" name="password" maxlength="15" value="" style="width:70px" /><br>
$vbphrase[sidebar_confirmpassword]:<br>
<input type="password" class="bginput" name="passwordconfirm" maxlength="15" value="" style="width:70px" /><br>
$vbphrase[sidebar_email]:<br>
<input type="text" class="bginput" name="email" maxlength="50" value="" style="width:70px" /><br>
$vbphrase[sidebar_confirmemail]:<br>
<input type="text" class="bginput" name="emailconfirm" maxlength="50" value="" style="width:70px" /><br>
<input name="agree" id="cb_rules_agree" value="1" type="checkbox">
$vbphrase[sidebar_rules]<br>
<div align="center">
<input type="submit" class="button" value="$vbphrase[sidebar_submit]" accesskey="s" />
</div></form>
</td>
</tr>
</tbody>
</table>

well hope someone can help me out here....

Half Pint

Half Pint
09-04-2007, 03:47 PM
Heres a lil update, i got the age to display, if set in the ACP. take a look.....


vBulletin

seo book

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum