Verify Email Before Registration
Tested and working in vb 4.2.3
Product Description: Verify Mail before registration , and during update profile information (changing mail for members from usercp) This Product: Stop spam at the first order, it works to prevent the registration with anonymous mails, in order to ensure Forum mail arrives (Newsletters - Subscriptions - Contact members .. etc.), to emails properly and effectively. no member will be registered , or admitted to the database (both in group waiting activation or any other group), unless the mail is true. As if there was not a failed attempt to register. What are the anonymous mails? Are the emails that can not access by its owner, and browsed. Whether it was a mail already exists (used by another person), or not. As long as no member can or the new Registrar (who wrote this mail), access to the inbox in the mail will be an anonymous mail, and reject his request. Installation: Just Import The product from AdminCP. The product Will begin work as soon as the product installed. You can manage the product settings from AdminCP > Settings > Options > Verify Mail before registration. Enjoy Big thanks to ForceHSS for his help with ironing out the spelling issues To update, just import via Products in admincp, tick overwrite PLEASE UPDATE Last version had SQL issue, this is fixed now in this version IMPORTANT If you running Rename register.php by BOP5 you need to edit 2 templates Rename register.php by BOP5 1st search in languages for Code:
$vboptions[bburl]/register.php?so=1&emailcode=$emailcode 2nd edit in template : reg_ver_start Code:
<form id="registerform" action="register.php" name="register" method="post"> After that all should be good Note : CSS / FOOTER FIXED !!! Mobile Theme Fix HERE Spoiler (click to open)
Fix for mobile themes...
Goto Styles & Templates > Stlye Manager.. and in your mobile theme in drop down Add New Template Label the template Code:
reg_ver_start Code:
{vb:stylevar htmldoctype} <html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}"> <head> {vb:cssfile additional.css} {vb:cssfile register.css} <title><vb:if condition="$show['coppa']">{vb:rawphrase coppa} </vb:if>{vb:rawphrase register_at_x, {vb:raw vboptions.bbtitle}}</title> {vb:raw headinclude_bottom} {vb:stylevar htmldoctype} <script type="text/javascript" src="{vb:raw jqueryurl}"></script> </head> <body> <script type="text/javascript"> $(document).ready(function() { $('#registerform').submit(function() { $(".error").hide(); var hasError = false; var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/; var emailaddressVal = $("#email").val(); var emailconfirmVal = $("#emailconfirm").val(); if(emailconfirmVal == '') { $("#emailconfirm").after('<span class="error">{vb:rawphrase you_cant_leave_this_field_empty}</span> '); hasError = true; } if(emailaddressVal == '') { $("#email").after('<span class="error">{vb:rawphrase you_cant_leave_this_field_empty}</span> '); hasError = true; } if(!emailReg.test(emailaddressVal)) { $("#email").after('<span class="error">{vb:rawphrase invalid_email_form}</span> '); hasError = true; } if(!emailReg.test(emailconfirmVal )) { $("#emailconfirm").after('<span class="error">{vb:rawphrase invalid_email_form}</span> '); hasError = true; } if( emailconfirmVal != emailaddressVal ) { $("#emailconfirm").after('<span class="error">{vb:rawphrase emails_do_not_match}</span> '); hasError = true; } if(hasError == true) { return false; } }); }); </script> <html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html"> <head> <title>{vb:raw vboptions.bbtitle} - {vb:raw pagetitle}</title> {vb:raw headinclude} {vb:raw headinclude_bottom} </head> <body> {vb:raw header} {vb:raw navbar} <div id="pagetitle"> <h1>{vb:rawphrase vbulletin_registration}</h1> <vb:if condition="$vboptions['usecoppa']"><p class="description">{vb:rawphrase step_2_of_2}</p></vb:if> </div> <form id="registerform" action="register.php" name="register" method="post"> <vb:if condition="$show['emailerrors']"> <h2 class="blockhead">{vb:rawphrase errors_occurred_during_registration}</h2> <div class="blockbody"> <ul class="blockrow"> {vb:raw errorlist} </ul> </div> </vb:if> <h2 class="blockhead">{vb:rawphrase register_at_x, {vb:raw vboptions.bbtitle}}</h2> <div class="blockbody formcontrols"> <vb:if condition="$show['coppa']"> <div class="blockrow">{vb:rawphrase until_receive_signed_form}</div> </vb:if> <h3 class="blocksubhead">{vb:rawphrase email_address}</h3> <div class="blockrow"> <ul class="group"> <li> <label for="email">{vb:rawphrase email_address}:</label> <input type="text" class="textbox" name="email" id="email" maxlength="50" value="{vb:raw email}" dir="ltr" tabindex="1" /> </li> <li> <label for="emailconfirm">{vb:rawphrase confirm_email_address}:</label> <input type="text" class="textbox" name="emailconfirm" id="emailconfirm" maxlength="50" value="{vb:raw emailconfirm}" dir="ltr" tabindex="1" /> </li> </ul> <br> <p class="description">{vb:rawphrase reg_ver_confirm_code}</p> <input type="hidden" id="codehasbeenset" name="codehasbeenset" value="1" /> <vb:if condition="$show['reorder']"> <input type="button" onclick="$('#reorder').val('1'); $('#registerform').submit();" class="button" value="{vb:rawphrase reorderconfirmationcode}" tabindex="1" accesskey="s" /> <input type="button" onclick="$('#ihaveit').val('1'); $('#registerform').submit ();" class="button" value="{vb:rawphrase ifounditthanks}" tabindex="1" accesskey="s" /> <input type="hidden" id="reorder" name="reorder" value="{vb:raw reorder}" /> <input type="hidden" id="ihaveit" name="ihaveit" value="{vb:raw ihaveit}" /> </vb:if> <input type="submit" class="button" value="{vb:rawphrase complete_registration}" tabindex="1" accesskey="s" /> </div> </form> {vb:raw footer} </body> </html> Close
Download
English Verify Mail before registration vb4_v2.0.8.xml (42.7 KB, 565 downloads) Screenshots |