Jump to content

ProAvia

Members
  • Content count

    173
  • Joined

  • Last visited

  • Days Won

    7

ProAvia last won the day on March 8

ProAvia had the most liked content!

Community Reputation

12 Good

1 Follower

About ProAvia

  • Rank
    Advanced Member

Profile Information

  • Location
    : ¬†Near KPHX

Recent Profile Visitors

1907 profile views
  1. kACARS_Free airplane issue

    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.
  2. Pilot Roster - Align Columns

    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.
  3. Pilot Roster - Align Columns

    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.
  4. Removed aircraft "ANY" from fleet [SOLVED]

    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........
  5. Removed aircraft "ANY" from fleet [SOLVED]

    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.
  6. SimBrief form to tailor OFP result

    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.
  7. ACARS Map - route display time

    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.
  8. SimBrief form to tailor OFP result

    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).
  9. 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!
  10. SimBrief form to tailor OFP result

    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!
  11. kACARS Free v1.0.4.0

    Only if you're requiring all users to update to 1.0.1.4 If you wish to allow users to use 1.0.1.1 or 1.0.1.4, just change the "forceOut" line from 1 to 0 $forceOut = 0; // Force disconnect is wrong version 0=no 1=yes This will allow any version of kACARS_Free to connect. And may prove less confusing to those who aren't using P3D v4.
  12. Open letter from David Clark/Simpilot

    Hi David Yes, family always comes first and foremost! Thank you for your many years of tireless work in this community. Have you given any consideration in how support for your payware modules may be provided in the future? Would it be possible to provide that here on this forum through PM only? What will happen to your payware modules once the Simpilot site is shuttered? Thanks again for your many years of commitment to our hobby!
  13. Just a tease

    Hoping that many/most of the present freeware modules are included in version 4, as was stated in the teaser for the now defunct version 3. Or at least an easy fix to existing modules to work with the Laravel framework. It would be a shame to lose many of the existing modules many of us are using.
  14. https Warning

    Seems that you are correct in that the security certificate for https has expired. Loading just now, I see the https has reverted to http - that's totally fine with me.
  15. https Warning

    Is anyone else getting an https warning on their Android device? Or a "Cannot Verify Server Identity" on iOS? Does this have to do with the transfer of hosting from Simpilot to Nabeel?
×