Jump to content

ProAvia

Administrators
  • Posts

    1634
  • Joined

  • Last visited

  • Days Won

    70

Everything posted by ProAvia

  1. We've been using TS3 for a number of years. The laptop the TS3 server runs on has a dynamic IP. We set up a dynamic DNS at no-ip.com and run their free DUC program to keep the dynamic IP synced to the static URL at no-ip.com. It's worked great for 3+ years. Only downside is having to confirm continued use every 30 days - but that only takes a few minutes time to do. Pilots connect using the same URL. IP address can change as often as it wants - the DUC program keeps the two synced. We can even hafe someone else at a different location host the TS3 server. All that needs to be done in that case is to manually change the IP address at no-ip.com. I believe there are other sites that provide the same or similar services - some are free and others have minimal cost.
  2. Your error points to line 12 in the file SimBrief.php Can you post line 12 from SimBrief.php?
  3. The link in my post - just a few posts above this one - works fine. It takes you to Github, where you can download the module. If you're using phpVMS 5.5.2, you may have to adapt the module from .tpl to .php .... but that's pretty easy.
  4. You will need to install the module I linked to above. The instructions state where to enter the API key.
  5. This module: https://github.com/vangelisb/Simbrief/tree/master/phpvms And you will also need to contact simBrief for an API key in order to implement this.
  6. Did you install the following module first? Did you get an API key from simBrief and enter it in the correct place?
  7. Better yet, why not post it here - so everyone can benefit from the fix.
  8. You might also wish to look into applying for a management role with an existing VA. This will help you acquire a background into how a VA is run and how much time it takes. If you decide to persue a role with an existing VA, think about what you have to bring to the table to help out that VA.
  9. Using version 5.2.2 Yes, I checked the default schedules page also. All routes show, even when ranks are restricted. I created a new account for testing which carries the minimum rank. The restricted aircaft list a rank one or two levels above this minimum rank. I only checked the database to see if there was something amiss - after verifying minimum rank didn't seem to have any affect.
  10. Thanks for the reply! Yes, that's what I'm seeing in Front Schedules. And local.config is set to true for restrict aircraft ranks. In the aircraft table, minrank consistently is one number higher than ranklevel..... If minrank=3, ranklevel=2. EDIT - checked via Schedules also - restricted rank aircraft schedules all show. I used a new account I set up with the minimum rank level.
  11. In the aircraft table, what is the purpose of the minrank and ranklevel fields? I'm assuming one if them is for the minimum rank level to use that specific equipment. Also, in phpVMS 5.2.2 - does restricting the aircraft by rank actually work correctly. I'm using simpilot's Front Schedules if that makes any difference. Thanks
  12. My site has 3 airlines. All are active, but I want only two to show in the timetable. Is there an easy way to accomplish this? Airline A, airline B and airline C. I only want to show results in the timetable from airline A and airline B. Thanks for any assistance!
  13. You can start by visiting the link I posted above and then contact them with your requirements and get an estimate. The estimate won't cost you anything and may provide one possible solution.
  14. What do you consider a cheap budget? Have you looked into kACARSII? http://www.fs-products.net
  15. Make sure your operations manual states that pilots need to use the automated system to file PIREPS. Also state that manual PIREP submissions will only be considered with a valid reason listed in the comments section and that manual PIREPS will not continuously be accepted. Then when the pilot continues to submit a manual PIREP - just reject them. Sooner or later they will start submitting manual PIREPS. All that being said, in over 3 years, none of my pilots has ever submitted a manual PIREP without contacting me first. Honestly, it's easier to use the automated system - unless your not being truthful about your flights.
  16. No, kACARS_Free cannot prevent the pilot from using whatever aircraft they want. I don't believe there is any PIREP system out that can do whay you are asking. But, an admin can reject the PIREP. Does your ops manual state the pilot must fly the aircraft listed in the particular schedule they choose? If so and the pilot flys in another aircraft, just reject the report and add a comment to the report stating the flight was done in the wrong aircraft.
  17. I think the file is pilots_list.php - the default file is in /core/templates. If you already customized this file, it may be in your skin folder (/lib/skins/(your_skin_name). To paste code here, use the ' <> ' in the menu and then copy the code from your file and paste it here.
  18. Can you post the code for that page? I think I had something similar at first - but don't recall how I fixed it. It may have been by defining a specific/static width for each column. If I recall, each column or the header may be based on a percentage of total width and that width dynamically fluctuates based on the number of characters in each cell within the table. Setting a static column width might fix it.
  19. I'll preface this with - I'm not sure if this will work or not......... As for deleting the aircraft. Did you delete it through the admin panel in phpVMS or directly from the database (phpvms_aircraft table)? I see you said directly form the database, but wanted to be sure. Are you able to access the database using phpMyAdmin? If so, and you know what the 'id' of the aircraft was (from the 'id' column in the aircraft table), you may be able to add it back - but it will take a little work. If you've never done this before, I'd probably advise against it. This may be another option: If you haven't added any aircraft since the last database backup, Can the site owner re-upload the contents of the aircraft table? And another: Review ALL of your schedules and be sure an aircraft that is in the database is assigned to that schedule. In any case, this may also 'fix' the kACARS issue you posted about too........
  20. For the Google recaptcha issue: Can you access the site files using Filezilla or via CPanel? If so, open local.config.php and look for this section: /* Keys for recaptcha, you can change these if you want to your own but it's a global key so it should just work */ Config::Set('RECAPTCHA_PUBLIC_KEY', '6LcklAsAAAAAAJqmghmMPOACeJrAxW3sJulSboxx'); Config::Set('RECAPTCHA_PRIVATE_KEY', '6LcklAsAAAAAAMeQy5ZBoDu8JOMTP-UL7ek1GedO'); Replace the listed PUBLIC and PRIVATE keys (the ones that start with 6LcklA.... above) with the ones you received from Google. Save the file and re-upload to your server. Make sure you added your domain (fsnb.ca) to the Google recaptcha page where you received your key.
  21. I was waiting a few days to test it out before posting back here. Change $selected = is_null($selected) ? date('H') : $selected; //current hour to $selected = date('H'); //current hour and change $selected = is_null($selected) ? date('i') : $selected; //current minute to $selected = date('i'); //current minute I also moved the echo statements to the end of the code area. Here's the entire section of the schedule_briefing.php file..... <td> <?php date_default_timezone_set('UTC'); {$r = range(0, 23); // range of hours $selected = date('H'); //current hour //$selected = is_null($selected) ? date('H') : $selected; //current hour $select = "<select name=deph id=dephour>\n"; foreach ($r as $hour) { if(strlen($hour) <2) { $hour = str_pad($hour, 2, "0", STR_PAD_LEFT); } $select .= "<option value=\"$hour\""; $select .= ($hour==$selected) ? ' selected="selected"' : ''; $select .= ">$hour</option>\n"; } $select .= '</select>';} {$rminutes = range(0, 59); //range of minutes $selected = date('i'); //current minute //$selected = is_null($selected) ? date('i') : $selected; //current minute $selectminutes = "<select name=depm id=depmin>\n"; foreach ($rminutes as $minutes) { if(strlen($minutes) <2) { $minutes = str_pad($minutes, 2, "0", STR_PAD_LEFT); } $selectminutes .= "<option value=\"$minutes\""; $selectminutes .= ($minutes==$selected) ? ' selected="selected"' : ''; $selectminutes .= ">$minutes</option>\n"; } $selectminutes .= '</select>';} echo $select; echo "&nbsp;"; echo $selectminutes; ?> </td> I don't know why it works or if it will cause other issues down the line. The time is now correct and the simBrief OFP uses this time in its report. Hoping someone can explain what the sections I deleted/changed are supposed to do.
  22. Thanks Mark! That took care of it. I must have looked right past that setting at least a half dozen times. I also see a default setting in acarsmap.js of 12000 -- but will leave that one be.
  23. The saga continues...... With the following code, the hours still display correctly, but the minutes box also now displays the hour. <td> <?php date_default_timezone_set('UTC'); $r = range(0, 23); // range of hours $selected = is_null($selected) ? date('H') : $selected; //current hour $select = "<select name=deph id=dephour>\n"; foreach ($r as $hour) { if(strlen($hour) <2) { $hour = str_pad($hour, 2, "0", STR_PAD_LEFT); } $select .= "<option value=\"$hour\""; $select .= ($hour==$selected) ? ' selected="selected"' : ''; $select .= ">$hour</option>\n"; } $select .= '</select>'; echo $select; echo "&nbsp;"; $rminutes = range(0, 59); //range of minutes $selected = is_null($selected) ? date('i') : $selected; //current minute $selectminutes = "<select name=depm id=depmin>\n"; foreach ($rminutes as $minutes) { if(strlen($minutes) <2) { $minutes = str_pad($minutes, 2, "0", STR_PAD_LEFT); } $selectminutes .= "<option value=\"$minutes\""; $selectminutes .= ($minutes==$selected) ? ' selected="selected"' : ''; $selectminutes .= ">$minutes</option>\n"; } $selectminutes .= '</select>'; echo $selectminutes; ?> </td> If I move the entire minutes section to above the hour section, minutes displays in the first box and in the second box. Seems - in either case (hour section first or minutes section first) - that the later section will only display what's in the first section. The time send to simBrief is as listed in the hour and minutes boxes. Anyone have any ideas? The generation of the simBrief package works great, it's just this time issue. Also, once it's working correctly, I'd like to increment the returned minutes time by 30 (add 30 minutes).
  24. When clicking on an aircraft in the ACARS map, the nav fixes and route will display (if a route is available). After about 5-7 seconds, the nav fixes disappear (the red route line remains). Is there a way to set the display time longer for the nav fixes? TIA!
  25. I'm having an issue with the minutes box. The hours displays correctly, but the minutes box displays the number 01, regardless of the actual minute time. Both dropdown boxes display the range as listed below. <?php $r = range(1, 24); $selected = is_null($selected) ? date('H') : $selected; $select = "<select name=deph id=dephour>\n"; foreach ($r as $hour) { if(strlen($hour) <2) { $hour = str_pad($hour, 2, "0", STR_PAD_LEFT); } $select .= "<option value=\"$hour\""; $select .= ($hour==$selected) ? ' selected="selected"' : ''; $select .= ">$hour</option>\n"; } $select .= '</select>'; echo $select; echo":"; $rminutes = range(1, 60); $selected = is_null($selected) ? date('i') : $selected; $selectminutes = "<select name=depm id=dephour>\n"; foreach ($rminutes as $minutes) { if(strlen($minutes) <2) { $minutes = str_pad($minutes, 2, "0", STR_PAD_LEFT); } $selectminutes .= "<option value=\"$minutes\""; $selectminutes .= ($hour==$selected) ? ' selected="selected"' : ''; $selectminutes .= ">$minutes</option>\n"; } $selectminutes .= '</select>'; echo $selectminutes; ?> While not 100% sure, I don't think the current minute is being pulled. I did do some research and this line looks correct. $selected = is_null($selected) ? date('i') : $selected; Yes, I know the ranges should be hours (0, 23) and minutes (0, 59). But am using the default code to try to remedy my issue. Any help is greatly appreciated. TIA!
×
×
  • Create New...