Gambalunga
💖 Chevereto Fan
This issue applies to a site that is set up for Community Private mode with sign ups allowed.
Several users have reported that with some browsers part of the pop-up form on the Create account button is not visible. In particular the Submit button.
I thought it best to avoid the pop-up form and to take the new user directly to the signup page.
I have made a small (and probably dirty) modification to Peafowl header.php at about line 379
Several users have reported that with some browsers part of the pop-up form on the Create account button is not visible. In particular the Submit button.
I thought it best to avoid the pop-up form and to take the new user directly to the signup page.
I have made a small (and probably dirty) modification to Peafowl header.php at about line 379
Code:
<?php /*
<form method="post" action="<?php echo G\get_base_url("signup"); ?>" autocomplete="off">
<?php echo G\Render\get_input_auth_token(); ?>
<div class="input"><input type="email" class="text-input" name="email" placeholder="<?php _se('Email address'); ?>" autocomplete="off" required></div>
<div class="input"><input type="text" class="text-input" name="username" placeholder="<?php _se('Username'); ?>" autocomplete="off" required></div>
<div class="input"><input type="password" class="text-input" name="password" placeholder="<?php _se('Password'); ?>" autocomplete="off" required><button type="submit" class="icon-input-submit"></button></div>
<?php if(CHV\getSetting('user_minimum_age') > 0) { ?>
<div class="input"><div class="checkbox-label"><label for="minimum-age-signup"><input type="checkbox" name="minimum-age-signup" id="minimum-age-signup" value="1" required><?php _se("I'm at least %s years old", CHV\getSetting('user_minimum_age')); ?></label></div></div>
<?php } ?>
<div class="input text-align-center margin-bottom-0"><?php _se('By signing up you agree to our <a href="%s">Terms of service</a>', G\get_base_url('page/tos')); ?></div>
</form>
This section commented out and replaced by the line below */ ?>
<?php _se("Don't have an account? <a href='%s'>Sign up</a> now.", G\get_base_url('signup')); ?>