Log in

View Full Version : ZH - Don't Require E-Mail Confirmation


Ziki
12-19-2006, 10:00 PM
This modification was brought to you by
KXDesign
http://www.kxdesign.com/


~Hack name
Don't Require E-Mail Confirmation

~Hack description
I always hated to confirm my mail address by registration.It is senseless.This modification deletes that thing ;)

~Hack options
None

~Hack info
File uploads: 0
Template edits: 1
Templates: 0
File edits: 4
Plugins: 0
SQL Queries: 0
Phrases: 0
Settings: 0

Install time: 2 minutes
Install level: Medium

~Hack installation

Step 1: Open template register ,then find and delete this:

<td>
$vbphrase[confirm_email_address]:<br />
<input type="text" class="bginput" name="emailconfirm" size="25" maxlength="50" value="$emailconfirm" dir="ltr" />
</td>

Step 2: In the register.php file find and delete this parts of code:

'emailconfirm' => TYPE_STR,
OR empty($vbulletin->GPC['emailconfirm'])
// check for matching email addresses
if ($vbulletin->GPC['email'] != $vbulletin->GPC['emailconfirm'])
{
$userdata->error('emailmismatch');
}
$emailconfirm = htmlspecialchars_uni($vbulletin->GPC['emailconfirm']);


~Hack screenshots
Attached


~Hack copyright
This may not be distributed,released or claimed as your work without author's permission.

Ziki
12-20-2006, 11:46 AM
Reserved

Rich
12-20-2006, 06:41 PM
Hello,

Why not just disable it in the ACP instead of removing the code?

Ziki
12-20-2006, 06:57 PM
NOBODY GETS THIS HACK!

You see the block where you have to type in the email address?It has the same purpose as the confirm password thing.I don't see the sense of having that.The email confirmation that sends emails to click on links to activate their profile still works normally it is not affected by this!

Rich
12-21-2006, 10:58 AM
Hello,

LMAO. I see what it does now. The way you worded it above in the description made me believe you didn't like the email confirmation the site sends, so you removed the block for people to enter their email addresses completely. lol

Ziki
12-22-2006, 01:09 PM
HEh nope.

Ziki
02-06-2007, 10:14 AM
Oh yeah a PR 3 thread :p