Jump to content

citizengodden

Members
  • Posts

    3
  • Joined

  • Last visited

citizengodden's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi all, I know this is an old thread, but I'm looking to get my VA up and running fairly soon - and the timetable sounds like a great idea. Anyway, I've solved the problem people were mentioning. The main one displaying the ICAO of the aircraft on the timetable. Now I'm not sure if this is the "correct" way to do it, or if it can be done more efficiently, but it works! Look for: echo '</td><td>'.$route->arrtime.'</td></tr>'; And replace it with: $query='SELECT * FROM '.TABLE_PREFIX.'aircraft WHERE id="'.$route->aircraft.'"'; $craft=DB::get_results($query); foreach($craft as $aircraftinfo) echo '</td><td>'.$route->arrtime.'</td><td>'.$aircraftinfo->icao.'</td><td>'.Util::GetDaysCompact($route->daysofweek).'</td></tr>'; This also shows the days of the week as shorthand day names, rather than numbers. The only other thing I did to the timetable was to make it a little bigger, with the extra headings on, by amending the openChild function: function openChild() { echo '<td><table width="500" border="1" rules="none">'; echo '<tr bgcolor=#7B0D0D align="center"><td><font color=#FFFFFF>Departure</td><td><font color=#FFFFFF>Flight</td><td><font color=#FFFFFF>Destination</td><td><font color=#FFFFFF>Dep Time</td><td><font color=#FFFFFF>Arr Time</td><td><font color=#FFFFFF>Aircraft</td><td><font color=#FFFFFF>Frequency</td></tr>'; } Hopefully this helps someone out.
  2. Bump? I don't really want to start looking into creating something if it's already out there - or planned for inclusion in a new release? Any ideas would be welcome
  3. Hi all - new to the forums and phpVMS. Me and a friend are really excited about finding this software and we're pouring our heart and soul into starting up a VA over the next few months or so. I have questions of course, most of which I've been able to find the answers to, or with a little bit of experimenting, figured out myself. I do have one though (I've tried searching) - When a new pilot signs up to the website they automatically get a pilot's ID - is there a way to disable this? I think personally they should only get a pilot's ID once they've been activated by the site admins. If I've missed something, or there's an add-on that does this I would be really interested! And if not, I will probably get around to writing one myself - for release FOC of course Thanks for your time.
×
×
  • Create New...