2015-09-05, 03:30 PM
Pages: 1 2
2015-09-06, 10:31 AM
I went to your site (on my phone) and it appears that the gomobile theme is not working currently (it's just your default theme)?
2015-09-06, 10:38 AM
now chek it i active theme
2015-09-06, 10:49 AM
Make sure your plugin is up to date, this is caused by an outdated member_register template.
https://github.com/Phumix/MyBB-GoMobile
https://github.com/Phumix/MyBB-GoMobile
2015-09-06, 10:50 AM
ok,
i'll try to updating
done!
i'll try to updating
done!
2015-09-06, 10:54 AM
Moved to theme support. Poll removed.
2015-09-06, 10:55 AM
updated!
but problm not solved
but problm not solved
2015-09-06, 10:58 AM
Try the below and see if that fixes it, if it does, we know where to look.
AdminCP - > Configuration - > User Registration and Profile Options - > Display a hidden CAPTCHA - > No
AdminCP - > Configuration - > User Registration and Profile Options - > Display a hidden CAPTCHA - > No
2015-09-06, 10:59 AM
2015-09-06, 11:42 AM
I modified the template and added in all the new validation, time checks, hidden captcha, language and question box, it should work now.
Template: member_register
Template: member_register
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->registration}</title>
{$headerinclude}
<script src="{$mybb->asset_url}/jscripts/validate/jquery.validate.min.js?ver=1804"></script>
</head>
<body>
{$header}
<form action="member.php" method="post" id="registration_form"><input type="text" style="visibility: hidden;" value="" name="regcheck1" /><input type="text" style="visibility: hidden;" value="true" name="regcheck2" />
{$regerrors}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->registration}</strong></td>
</tr>
<tr>
<td class="trow1"><span class="smalltext"><label for="username"><strong>{$lang->username}</strong></label></span><br /><input type="text" class="textbox" name="username" id="username" style="width: 95%" value="{$username}" /></td>
</tr>
{$passboxes}
<tr>
<td class="trow1"><span class="smalltext"><label for="email"><strong>{$lang->email}</strong></label></span><br /><input type="text" class="textbox" name="email" id="email" style="width: 95%" maxlength="50" value="{$email}" /><br /><br />
<span class="smalltext"><label for="email2"><strong>{$lang->confirm_email}</strong></label></span><br /><input type="text" class="textbox" name="email2" id="email2" style="width: 95%" maxlength="50" value="{$email2}" />
<div style="display: none;" id="email_status" class="validation_error"> </div></td>
</tr>
{$hiddencaptcha}
{$requiredfields}
{$customfields}
{$referrer}
{$regimage}
</table>
{$questionbox}
<br />
</td>
<td width="50%" class="trow1" valign="top">
<fieldset class="trow2">
<legend><strong>{$lang->account_prefs}</strong></legend>
<table cellspacing="0" cellpadding="{$theme['tablespace']}" width="100%">
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="allownotices" id="allownotices" value="1" {$allownoticescheck} /></td>
<td valign="top"><span class="smalltext"><label for="allownotices">{$lang->allow_notices}</label></span></td>
</tr>
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="hideemail" id="hideemail" value="1" {$hideemailcheck} /></td>
<td valign="top"><span class="smalltext"><label for="hideemail">{$lang->hide_email}</label></span></td>
</tr>
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="receivepms" id="receivepms" value="1" {$receivepmscheck} /></td>
<td valign="top"><span class="smalltext"><label for="receivepms">{$lang->receive_pms}</label></span></td>
</tr>
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="pmnotice" id="pmnotice" value="1"{$pmnoticecheck} /></td>
<td valign="top"><span class="smalltext"><label for="pmnotice">{$lang->pm_notice}</label></span></td>
</tr>
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="pmnotify" id="pmnotify" value="1" {$pmnotifycheck} /></td>
<td valign="top"><span class="smalltext"><label for="pmnotify">{$lang->email_notify_newpm}</label></span></td>
</tr>
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="invisible" id="invisible" value="1" {$invisiblecheck} /></td>
<td valign="top"><span class="smalltext"><label for="invisible">{$lang->invisible_mode}</label></span></td>
</tr>
<tr>
<td colspan="2"><span class="smalltext"><label for="subscriptionmethod">{$lang->subscription_method}</label></span></td>
</tr>
<tr>
<td colspan="2">
<select name="subscriptionmethod" id="subscriptionmethod">
<option value="0" {$no_auto_subscribe_selected}>{$lang->no_auto_subscribe}</option>
<option value="1" {$no_subscribe_selected}>{$lang->no_subscribe}</option>
<option value="2" {$instant_email_subscribe_selected}>{$lang->instant_email_subscribe}</option>
<option value="3" {$instant_pm_subscribe_selected}>{$lang->instant_pm_subscribe}</option>
</select>
</td>
</tr>
</table>
</fieldset>
<br />
<fieldset class="trow2">
<legend><strong><label for="timezone">{$lang->time_offset}</label></strong></legend>
<table cellspacing="0" cellpadding="{$theme['tablespace']}" width="100%">
<tr>
<td><span class="smalltext">{$lang->time_offset_desc}</span></td>
</tr>
<tr>
<td>{$tzselect}</td>
</tr>
<tr>
<td><span class="smalltext">{$lang->dst_correction}</span></td>
</tr>
<tr>
<td>
<select name="dstcorrection">
<option value="2" {$dst_auto_selected}>{$lang->dst_correction_auto}</option>
<option value="1" {$dst_enabled_selected}>{$lang->dst_correction_enabled}</option>
<option value="0" {$dst_disabled_selected}>{$lang->dst_correction_disabled}</option>
</select>
</td>
</tr>
</table>
</fieldset>
{$boardlanguage}
<br />
<div align="center">
<input type="hidden" name="regtime" value="{$time}" />
<input type="hidden" name="step" value="registration" />
<input type="hidden" name="action" value="do_register" />
<input type="submit" class="button" name="regsubmit" value="{$lang->submit_registration}" />
</div>
</form>
<script type="text/javascript">
$(document).ready(function() {
$("#registration_form").validate({
rules: {
username: {
required: true,
minlength: {$mybb->settings['minnamelength']},
maxlength: {$mybb->settings['maxnamelength']},
remote: {
url: "xmlhttp.php?action=username_availability",
type: "post",
dataType: "json",
data:
{
my_post_key: my_post_key
},
},
},
email: {
required: true,
email: true,
},
email2: {
required: true,
email: true,
equalTo: "#email"
},
},
messages: {
username: {
minlength: "{$lang->js_validator_username_length}",
maxlength: "{$lang->js_validator_username_length}",
},
email: "{$lang->js_validator_invalid_email}",
email2: "{$lang->js_validator_email_match}",
},
errorPlacement: function(error, element) {
if(element.is(':checkbox') || element.is(':radio'))
error.insertAfter($('input[name="' + element.attr('name') + '"]').last().next('span'));
else
error.insertAfter(element);
}
});
{$validator_extra}
});
</script>
{$footer}
</body>
</html>
Pages: 1 2