Forum Replies Created

Viewing 1 replies (of 1 total)
  • I noticed the plugin is registering user, despite giving the error. So I changed the js to check if it was on the registration form and assume all was ok.

    Find and change the ’empty_both’ part of default.js to:

    else if (loginform.length) {
    	if(s.form==='#registerform')
    	{
    		$('p:first', form[0]).before(
    			$(document.createElement('div'))
    				.html('<strong>Thank you!</strong><br/>Please check your email for registration details')
    				.attr('id', 'login_message')
    		);
    		activity.hide(); fields.show();
    	}
    	else
    	{
    		s.showError(form, ['empty_both']);
    		activity.hide(); fields.show();
    	}
    }

    And add the following to default.css:

    #simplemodal-login-container #login_message {
    	background-color: #FFFFCC;
    	border:1px solid #FF9900;
    	margin-bottom:8px;
    	padding:6px;
    	-moz-border-radius:3px;
    	-webkit-border-radius:3px;
    	border-radius:3px;
    }

    Just remember it will only fix things if the registration is actually working even though it gives the ’empty_both’ error (check your user lists).

Viewing 1 replies (of 1 total)