Jump to content

chrisbontnewydd

Members
  • Posts

    13
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

chrisbontnewydd's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. When in the admin centre, I always get the same problem. In the pilots section, when I edit a pilot, country is always Afghanistan (first alphabetically) and the rank is always trainee. This means I always have to check the country and rank before editing, and make sure that I change them. Is there an easier way to do this, so that the selected item is always the right one? Thanks.
  2. Thanks simpilot. I've now got it working fine.
  3. I've been changing some settings in the app.config.php file and uploading it to the website. I'm uploading it to the right place, it is definitely overwriting the previous file, but it's not changing anything. I changed the Pilot ID offset, and the no. of characters in the Pilot ID but it remains the same. I also tried to change the ranks to manual, but it's either not updating, or I can't find the option to change ranks. Thanks in advance for any help.
  4. My knowledge of PHP is very limited, so I have no idea how I would call the data, and what code to use etc. Do you have a piece of code that will work by itself that I can integrate into a page? Thanks.
  5. I noticed that there is an embedded METAR in the pilot brief page, and would like to be able to do this on another website (i.e. not phpVMS), but I can't find the code to do it. How is it embedded, and does it use PHP or JavaScript?
  6. I have modified the boarding pass template, but I'm getting this error: Parse error: syntax error, unexpected $end in /home/vol7/byethost5.com/b5_3263459/htdocs/core/templates/schedule_boarding_pass.tpl on line 70 I don't know what's causing it. Here is the code: <?php # This will only show this message if it's not a popup window # Ends on line 13-15 if(!isset($_GET['newwindow'])) { ?> <h1>Requirements for Online Checkin</h1> <p>To proceed through Security Checkpoint, you will need a government-issued photo ID and either a Boarding Pass or Security Document. Customers under 18 years of age are not required to show government-issued photo ID.</p> <p><a href="#" onclick="window.open('<?php echo SITE_URL?>/action.php/schedules/boardingpass/<?php echo $schedule->id?>?newwindow'); return false;">Open in new window for printing</a></p> <style type="text/css"> <!-- .tdback { background-image: url(http://flybluesky.byethost5.com/lib/images/boarding-pass.jpg);} --> </style> <table style="text-align: left; width: 473px; height: 195px;" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td class="tdback"><small><small><span style="font-family: Helvetica,Arial,sans-serif;"><small><small><br> <br> <br> <big><big><br> </big><br> </big></small><big><big><br> </big></big></small><br> <?php echo Auth::$userinfo->firstname.' '.Auth::$userinfo->lastname?></span><br style="font-family: Helvetica,Arial,sans-serif;"> <span style="font-family: Helvetica,Arial,sans-serif;"> <?php echo Auth::$userinfo->code.strtoupper(substr(md5(Auth::$userinfo->pilotid), 0, 6))?></span><br style="font-family: Helvetica,Arial,sans-serif;"> <span style="font-family: Helvetica,Arial,sans-serif;"> <?php echo chr(rand(65, 90)); echo rand(100000, 999999); ?><br> <big><big> <?php echo chr(rand(65, 69)); echo rand(1, 20); ?> </big><?php echo $schedule->aircraft?></big><br> <br> <small><?php echo $schedule->code.$schedule->flightnum?><br> <small><?php echo "$schedule->depname ($schedule->depicao)";?> at <?php echo $schedule->deptime; ?><small><small><br> <big><big> <?php echo "$schedule->arrname ($schedule->arricao)"; ?> at <?php echo $schedule->arrtime;?><br> </big></big></small></small></small></small></span></small></small></td> </tr> </tbody> </table>
  7. Where can I find the template for the boarding passes. I would like to alter the look of the boarding pass.
  8. I would like to add a flightboard onto the front page of the site, one that updates according to the schedules, not the flights on the network. Does anyone know how I would be able to do this?
  9. I accidentally deleted the schedules table from the PHPVMS database, and now I can't add or import routes! What do I do?
  10. Is there a way to make pilots automatically inactive after a certain amount of time without filing a PIREP?
  11. I just realised the problem. My PHPVMS needs updating (already!). Thanks anyway.
  12. I can't find it in the admin centre, where is it? Knowing my luck, it'll probably be somewhere completely obvious! :
  13. How do you send mass emails in phpVMS? I would need to be able to email my users to notify them if the site will be down for maintenance etc. I would also like to know if there is a way to make confirmation emails, so that I can be sure that users have a real email address, since I've already had one without a real email address - I tried to send an email, but I got a "email address does not exist" reply.
×
×
  • Create New...