Wolverine
Member
- Aug 1, 2014
- 90
- 3
im looking to fix registration messages as they're not coming up
whenever i register it doesn't say whats wrong with the error such as "Username already taken"
whenever i register it doesn't say whats wrong with the error such as "Username already taken"
Code:
<div class="box_login regi">
<?php if(isset($template->form->error)) { echo '<span class="error-msg"><i class="fa fa-warning"></i>'.$template->form->error.'</span>'; } ?>
<form method="post">
<div class="titulo">Make your own Habbo</div>
<div class="msg regi">Username</div>
<input type="username" name="reg_username" placeholder="Habbo Name" >
<div class="clearfix"></div>
<div class="msg regi">Password</div>
<input type="password" name="reg_password" placeholder="Password">
<div class="clearfix"></div>
<div class="msg regi">Repeat Password</div>
<input type="password" name="reg_rep_password" placeholder="Repeat Password">
<div class="clearfix"></div>
<div class="msg regi">E-Mail</div>
<input type="username" name="reg_email" placeholder="E-Mail"><br/><br/><br/><br/>
<button type="submit" name="register" id="credentials-submit" class="regi">Sign up now!</button>
<div class="clearfix"></div>
<div class="box_cinza">By registering, you agree to our Terms & Conditions.</div>
</form>
</div>