-
Posts
1307 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Jeff
-
If that is the crystal w/dropdown, open www/public_html/core/templates/crystal/layout.tpl Find the registration link and replace it with <li><a href="<?php echo url('/pages/yourpage'); ?>">Your Page</a></li> You might need to do it in the /public_html/core/templates/core_navigation.tpl as well
-
As soon as someone is ready to finish the project. For now it has been grounded.
-
www.yoursite.com/index.php/pages/yourpage Sorry, I forgot to add that in my last post. Thank you Nabeel
-
Ah yes... � is coming up because you have an extra space between the text (double space). You will need to remove all extra spaces and they will go away.
-
Nicely done Roman.
-
I'm not sure why you gave me a link to the forum, I can't log in.
-
For the sake of ownership I have removed the link.
-
Coming right up!
-
Okay. You have many many options when linking to your Registration page. This can be done while including the ReCaptcha. The ReCaptcha is a security measure to prevent spammers from repeatingly clicking the submit button. I once made a page similar to that one just a couple weeks back. All that it includes is you opening the Admin Center and creating a new "Page". Name it something like "Terms" or "Application" (something along those lines) and then place the links you want that page to go to. In that case, he has 2 links, one to go to Main and another one that goes to the Registration page. You can also have just DECLINE and ACCEPT. If they decline, have it link to Google or something, and if they accept, have it link to the Registration.tpl.
-
Never give up on any problem regarding phpVMS. There are plenty of people who are willing to help anyone with any problem you are having.
-
I managed to get it fixed. I just reloaded some files to the site. It must've been some misspell on my part in one of the files.
-
You seem to be missing the recaptcha: <dt>reCaptcha</dt> <dd> <?php echo recaptcha_get_html(Config::Get('RECAPTCHA_PUBLIC_KEY'), $captcha_error); ?> </dd> <dt></dt> If you lost your original, Here is my whole code for that page. <h3>Registration</h3> <p>Welcome to the registration form for <?php echo SITE_NAME; ?>. After you register, you will be notified by a staff member about your membership.</p> <form method="post" action="<?php echo url('/registration');?>"> <dl> <dt>First Name: *</dt> <dd><input type="text" name="firstname" value="<?php echo Vars::POST('firstname');?>" /> <?php if($firstname_error == true) echo '<p class="error">Please enter your first name</p>'; ?> </dd> <dt>Last Name: *</dt> <dd><input type="text" name="lastname" value="<?php echo Vars::POST('lastname');?>" /> <?php if($lastname_error == true) echo '<p class="error">Please enter your last name</p>'; ?> </dd> <dt>Email Address: *</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>Select Airline: *</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>Location: *</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>Password: *</dt> <dd><input id="password" type="password" name="password1" value="" /></dd> <dt>Enter your password again: *</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>By clicking register, you're agreeing to the terms and conditions</p></dd> <dt></dt> <dd><input type="submit" name="submit" value="Register!" /></dd> </dl> </form>
-
Yeah most of the templates previously done are from FSPaintshop, and the site is down.
-
I know I shouldn't, but I just have to laugh on that one.
-
Not sure what you are trying to do here. If you are trying to start a new page, it can be done in the Admin Center. Under News & Content, click Pages. On the next page (on the top left) you will see Add Page and View Pages. There you can create a new page and once it has been created, you can link to it by placing www.yoursite.com/index.php/pages/pagename (pagename= the title of the page you created)
-
I just received this message on the flight chart on the main admin index page. Any ideas?
-
Oops, totally missed the download. Must've been all the long days in front of my computer lately.
-
Too much coffee for Vansers. lol just kidding... I'll give it a test run when you get it working. PM me when is done
-
Also another good point Keith. The further you get along in your VA, The database cannot determine exactly who actually signs up and who departs your VA, therefore, you can never stay on top of the Pilot Identification numbers. Whenever a new member joins your VA, they always are assigned the next sequential number for their ID. So really there is no point in trying to get it changed.
-
try loggin in, and then enter the panel (www.yoursite.com/admin)
-
I'd like to see the result of your site using that template. Nice choice. I personally like the little news item on the menu. I'm certain there are endless possibilities of what you can add there.
