Page 1 of 2

[CDB] Confirm e-mail

Posted: Sun Sep 03, 2017 7:55 pm
by kinerity
Extension Name: Confirm e-mail
Author: kinerity

Extension Description: An extension for phpBB 3.2.x that adds the 'confirm e-mail address' field to the registration screen.
Extension Version: [RC] 1.0.0

Requirements: 3.2.0

Screenshots: Image

Demo URL: https://dev.project-w.org/
Demo Username: n/a
Demo Password: n/a

GitHub Repository: https://github.com/kinerity/confirmemail
Extension Download: https://github.com/kinerity/confirmemai ... /1.0.0-RC1

Pretty much done and ready for validation, but wanted to put this out here first. Credit to Steve for some of the modifications for this extension.

Re: [3.2][RC] Confirm e-mail

Posted: Sun Sep 03, 2017 11:32 pm
by chfs
Thanks!
Nice Extension

will compatible with RegCheck?

https://github.com/tas2580/regcheck

Re: [3.2][RC] Confirm e-mail

Posted: Mon Sep 04, 2017 2:39 pm
by Hartenheer
Wonderful, a few weeks ago I had asked for this extension.
Then got a reaction that was unnecessary

+10

Re: [3.2][RC] Confirm e-mail

Posted: Mon Sep 04, 2017 4:12 pm
by kinerity
chfs wrote:
Sun Sep 03, 2017 11:32 pm
will compatible with RegCheck?

https://github.com/tas2580/regcheck
Not out of the box. It would require code changed to that extension.

Re: [3.2][RC] Confirm e-mail

Posted: Tue Sep 05, 2017 12:56 am
by RMcGirr83
regcheck just checks if the email is allowed. If you use that and the email is allowed then why would you want to check on the email that is entered as a validation?

Re: [3.2][RC] Confirm e-mail

Posted: Tue Sep 05, 2017 5:22 am
by Hartenheer
RMcGirr83 wrote:
Tue Sep 05, 2017 12:56 am
regcheck just checks if the email is allowed. If you use that and the email is allowed then why would you want to check on the email that is entered as a validation?
Many people fill in the wrong email.
With this control, the chance is less.

I know you can copy and paste, but most people can only use Facebook and have no idea that this is possible.

Re: [3.2][RC] Confirm e-mail

Posted: Tue Sep 05, 2017 5:52 am
by Steve

Code: Select all

<!-- IF S_REGISTRATION -->
<script type="text/javascript">
$(function() {

	var $form = $('#register');
	
	var new_dl = '';
	new_dl += '<dl>';
	new_dl += '<dt><label for="email_confirm">{LA_CONFIRM_EMAIL}{LA_COLON}</label></dt>';
	new_dl += '<dd><input type="email" name="email_confirm" id="email_confirm" size="25" maxlength="100" value="{EMAIL_CONFIRM}" class="inputbox autowidth" title="{LA_CONFIRM_EMAIL}" autocomplete="off" /></dd>';
	new_dl += '</dl>';
	
	$form.find('input[type=email][id=email]').parents('dl').after(new_dl);
	
	$('input[type=email][id=email_confirm]').on("cut copy paste", function(e) {
		e.preventDefault();
	});
});
</script>
<!-- ENDIF -->
you could use this to prevent copy and paste.

Re: [3.2][RC] Confirm e-mail

Posted: Tue Sep 05, 2017 5:58 am
by Hartenheer
Steve wrote:
Tue Sep 05, 2017 5:52 am

Code: Select all

<!-- IF S_REGISTRATION -->
<script type="text/javascript">
$(function() {

	var $form = $('#register');
	
	var new_dl = '';
	new_dl += '<dl>';
	new_dl += '<dt><label for="email_confirm">{LA_CONFIRM_EMAIL}{LA_COLON}</label></dt>';
	new_dl += '<dd><input type="email" name="email_confirm" id="email_confirm" size="25" maxlength="100" value="{EMAIL_CONFIRM}" class="inputbox autowidth" title="{LA_CONFIRM_EMAIL}" autocomplete="off" /></dd>';
	new_dl += '</dl>';
	
	$form.find('input[type=email][id=email]').parents('dl').after(new_dl);
	
	$('input[type=email][id=email_confirm]').on("cut copy paste", function(e) {
		e.preventDefault();
	});
});
</script>
<!-- ENDIF -->
you could use this to prevent copy and paste.
Thank you Steve. Where should this be placed?

Re: [3.2][RC] Confirm e-mail

Posted: Tue Sep 05, 2017 8:11 am
by Steve

Re: [3.2][RC] Confirm e-mail

Posted: Tue Sep 05, 2017 8:49 am
by Hartenheer

Re: [3.2][RC] Confirm e-mail

Posted: Wed Nov 08, 2017 8:17 pm
by tojag
Is it still the RC version? Were any errors detected?
Best regards

Re: [3.2][RC] Confirm e-mail

Posted: Thu Nov 09, 2017 1:10 pm
by kinerity
tojag wrote:
Wed Nov 08, 2017 8:17 pm
Is it still the RC version?
Yes, I haven't had the chance to finalize and submit for validation. It's on the list though.

Re: [3.2][RC] Confirm e-mail

Posted: Mon Nov 13, 2017 5:33 pm
by spaceace
only issue i had was out of the box, the confirm email was showing under the confirm password. i use my own style and also use a custom extension to modify the base style to suit my site. the issue is fixed when i add the contents of overall_footer_after.html from your extension to that same event in my style modifying extension. my style does not inherit from prosilver so i don't know if that is what causes this. i do not use prosilver at all on my site.

nice extension :D

Re: [3.2][RC] Confirm e-mail

Posted: Mon Nov 13, 2017 11:10 pm
by kinerity
spaceace wrote:
Mon Nov 13, 2017 5:33 pm
my style does not inherit from prosilver
Correct, prosilver-inherited styles should work. Other styles will require manual edits.

I have submitted the extension for validation.

Re: [3.2][RC] Confirm e-mail

Posted: Tue Nov 14, 2017 9:28 am
by tojag
kinerity wrote:
Mon Nov 13, 2017 11:10 pm
I have submitted the extension for validation.
Good job. Super!