damien82 Posted February 12, 2012 Report Posted February 12, 2012 Hello everybody When i will try to register to my VA it shows me always Pleas enter your first name enter your last name etc Here is the url to the registration form,if someone would like to try,so you can understand what i mean http://atlasvirtuel.com/gestion/index.php/registration Regards Quote
twelka3 Posted February 12, 2012 Report Posted February 12, 2012 In regards to showing you, are you meaning your name? As when i pulled it up it looks fine ready for a new pilot to apply. If this is not what you meant can you explain more? Quote
damien82 Posted February 12, 2012 Author Report Posted February 12, 2012 What i will say is that when im trying to register as a new Pilot,to test the registration form, I put my first name my last name email adresse password etc,i give in the code and when i push on register,it shows me that i must put in my first and last name. So like this Prenom: * Please enter your first name Sry but my english isnt so good Quote
twelka3 Posted February 12, 2012 Report Posted February 12, 2012 make sure the password is strong and dont use the same first & last name as that will do that. Let me know if that fixes it Quote
damien82 Posted February 12, 2012 Author Report Posted February 12, 2012 Hmm i tried it with different names The password ist strong enoughbut it still doesnt work... Here is my registration tpl <h3>Enregistrement</h3> <p>Bienvenue sur la page d inscription d <?php echo SITE_NAME; ?>. Apres votre Inscription,un email vous sera envoye par un membre de notre Staff pour confirmer l Inscription.</p> <form method="post" action="<?php echo url('/registration');?>"> <dl> <dt>Prenom: *</dt> <dd><input type="text" name="Prenom" value="<?php echo Vars::POST('Prenom');?>" /> <?php if($firstname_error == true) echo '<p class="error">Please enter your first name</p>'; ?> </dd> <dt>Nom de famille: *</dt> <dd><input type="text" name="Nom de famille" value="<?php echo Vars::POST('Nom de famille');?>" /> <?php if($lastname_error == true) echo '<p class="error">Please enter your last name</p>'; ?> </dd> <dt>Adresse email: *</dt> <dd><input type="text" name="email" value="<?php echo Vars::POST('email');?>" /> <?php if($email_error == true) echo '<p class="error">Please enter your email address</p>'; ?> </dd> <dt>Compagnie: *</dt> <dd> <select name="code" id="code"> <?php foreach($allairlines as $airline) { echo '<option value="'.$airline->code.'">'.$airline->code.' - '.$airline->name.'</option>'; } ?> </select> </dd> <dt>Hub: *</dt> <dd> <select name="hub" id="hub"> <?php foreach($allhubs as $hub) { echo '<option value="'.$hub->icao.'">'.$hub->icao.' - ' . $hub->name .'</option>'; } ?> </select> </dd> <dt>Pays: *</dt> <dd><select name="location"> <?php foreach($countries as $countryCode=>$countryName) { if(Vars::POST('location') == $countryCode) $sel = 'selected="selected"'; else $sel = ''; echo '<option value="'.$countryCode.'" '.$sel.'>'.$countryName.'</option>'; } ?> </select> <?php if($location_error == true) echo '<p class="error">Please enter your location</p>'; ?> </dd> <dt>Mot de passe: *</dt> <dd><input id="Mot de passe" type="Mot de passe" name="password1" value="" /></dd> <dt>Veuillez a nouveau entrer votre mot de passe: *</dt> <dd><input type="password" name="password2" value="" /> <?php if($password_error != '') echo '<p class="error">'.$password_error.'</p>'; ?> </dd> <?php //Put this in a seperate template. Shows the Custom Fields for registration Template::Show('registration_customfields.tpl'); ?> <dt>reCaptcha</dt> <dd> <?php echo recaptcha_get_html(Config::Get('RECAPTCHA_PUBLIC_KEY'), $captcha_error); ?> </dd> <dt></dt> <dd><p> En appuyant sur register,vous etes d accord avec les conditions d utilisation</p></dd> <dt></dt> <dd><input type="submit" name="submit" value="Register!" /></dd> </dl> </form> Quote
Moderators joeri Posted February 12, 2012 Moderators Report Posted February 12, 2012 have you changed all the coding to french? iff so have you also changed the table names to french 1 Quote
damien82 Posted February 12, 2012 Author Report Posted February 12, 2012 yes i changed,but im going to re update the reg tpl and hold it in english thats better lol Quote
twelka3 Posted February 12, 2012 Report Posted February 12, 2012 i completely forgot about that joeri nice one Quote
damien82 Posted February 12, 2012 Author Report Posted February 12, 2012 So Now it is working ;-) 1 Quote
damien82 Posted February 12, 2012 Author Report Posted February 12, 2012 Yeah I re uploaded te registrationmain.tpl and leave it in english for the moment thats better Thanks anyway Quote
Moderators Parkho Posted February 12, 2012 Moderators Report Posted February 12, 2012 Yeah I re uploaded te registrationmain.tpl and leave it in english for the moment thats better Thanks anyway lol! I just registered at your VA with M. Mousavi! to test it, could you please kindly remove that from your pilot DB? Oh! Glad your problem was solved thank to Joeri. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.