The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
ZH - Don't Require Password Confirmation Details »» | |||||||||||||||||||||||||
This modification was brought to you by KXDesign http://www.kxdesign.com/ ~Hack name Don't Require Password Confirmation ~Hack description Requested by Floris.This modification simply removes the password confirmation so users don't have to verify the password again. ~Hack options None ~Hack info File uploads: 0 Template edits: 4 Templates: 0 File edits: 3 Plugins: 0 SQL Queries: 0 Phrases: 0 Settings: 0 Install time: 3 minutes Install level: Medium ~Hack installation Step 1: Open template register ,then find and delete this: Code:
<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('$vbphrase[fill_out_both_password_fields]'); return false; } else if (password1.value != password2.value) { alert('$vbphrase[entered_passwords_do_not_match]'); return false; } else { <if condition="$show['coppa']"> pass_copy = password1.value; passconfirm_copy = password2.value; </if> var junk_output; md5hash(password1, document.forms.register.password_md5, junk_output, $show[nopasswordempty]); md5hash(password2, document.forms.register.passwordconfirm_md5, junk_output, $show[nopasswordempty]); <if condition="$show['coppa']"> document.forms.register.password.value = pass_copy; document.forms.register.passwordconfirm.value = passconfirm_copy; </if> return true; } return false; } </script> Code:
onsubmit="return verify_passwords(password, passwordconfirm);" Code:
<input type="hidden" name="passwordconfirm_md5" /> Code:
<td> $vbphrase[confirm_password]:<br /> <input type="password" class="bginput" name="passwordconfirm" size="25" maxlength="15" value="$passwordconfirm" /> </td> Code:
'passwordconfirm' => TYPE_STR, 'passwordconfirm_md5' => TYPE_STR, Code:
OR (empty($vbulletin->GPC['passwordconfirm']) AND empty($vbulletin->GPC['passwordconfirm_md5'])) Code:
// check for matching passwords if ($vbulletin->GPC['password'] != $vbulletin->GPC['passwordconfirm'] OR (strlen($vbulletin->GPC['password_md5']) == 32 AND $vbulletin->GPC['password_md5'] != $vbulletin->GPC['passwordconfirm_md5'])) { $userdata->error('passwordmismatch'); } ~Hack screenshots None ~Hack copyright This may not be distributed,released or claimed as your work without author's permission. Show Your Support
|
Comments |
#2
|
||||
|
||||
Reserved
|
#3
|
|||
|
|||
*sweet*
|
#4
|
|||
|
|||
* Installed, works fine so it seems *
|
#5
|
||||
|
||||
Pleased )
|
#6
|
||||
|
||||
Just out of curiosity, why wouldn't you want Verification?
|
#7
|
|||
|
|||
The people who are going to use this forum are unexperienced with the internet and forums. They have to be provoked to join and the less things / steps to do / take the better. It is a thing they simply don't understand (why do i need to type it twice?) .. we thin kfrom admin point of view, but this forum is a all end-user view perspective. The spam issue,.. is issue for the hired mods, not for the users. We even skip the forum rules using &agree=1
http://www.vraaghetaantom.nl/forums.php Click on register to see how the registration page looks like now. That said, don't register, we drop the userbase jan 1st.. |
#8
|
|||
|
|||
[[OFFTOPIC]]
Floris, Your link isn't working properly at the moment..... register.php??do=register&agree=1 There are two '?' so the 'do' and 'agree' arguments are lost and you get the forum rules again Just thought i'd let you know Ollie |
#9
|
||||
|
||||
I suppose that makes sense Floris; I guess I'm just stuck thinking from an administrative point of view and the endless number of people asking why there password isn't working.
|
#10
|
|||
|
|||
very nice ziki, now installed both hack
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|