Jump to content

Nabeel

Administrators
  • Posts

    8141
  • Joined

  • Last visited

  • Days Won

    38

Everything posted by Nabeel

  1. Nice idea. What you can do is: $lastreport = PIREPData::GetLastReports($pilotid, 1); $lastreport->arricao; // This is the airport they arrived at $pilotid is their pilot number, without the code (so 001, etc) If you're doing it in the profile_main.tpl, you can do: echo 'Your arrival apt was '.$report->arricao; Since I pull the last report to show the latest PIREP. Any other template/page you can do the above code (before this one)
  2. They are different PIREPs. The number at the end of the URL is the PIREP #.
  3. Huh, well if you can post the log, I can see what's goin on
  4. In core/local.config.php, set the ACARS_DEBUG to true, if it's not there, then set it in /app.config.php. Then, do a flight, and paste here the log that's in /core/modules/acars/log.txt
  5. For installin Joomla you'll have to goto them. I don't really know anythin' about it. phpVMS just install it, and skin it tolook like your Joomla site. There's no "bridge" or whatever to use them both together
  6. For new flights? You'll be able to fix it in the update. Stupid FSACARS
  7. In your local.config.php, there's a setting ACARS_DEBUG, set it to true, Then post the log file from core/modules/acars/log.txt
  8. Nabeel

    Ideas

    I would recommend against using iframes... For forums, they have their own skinning usually, similar to the way phpVMS is done. Might be worth looking into (usually its just adding your divs in). I haven't designed it for wrapping etc, so you might run into probs..
  9. When it stops working like that suddenly, either reinstall FSACARS or delete the fsacars.ini. It's a finicky program.
  10. After you click "stop log" then accept flight, does it get sent then?
  11. He commented out one line in the code, in core/modules/acars/fsacars.php, did you do that?
  12. I've fixed this in the update, it's a issue with your host not allowing remote_url_fopen
  13. Yup, Roger wrote a quick bit about that in the FAQ http://www.phpvms.net/forum/index.php/topic,135.0.html
  14. Yes, the registrations have to be unique, along a common scheme: http://en.wikipedia.org/wiki/Aircraft_registration Interesting it let you add multiple with the same reg. /Goes bug hunting
  15. Not the name, the aircraft *registration*. It won't recognize the name, especially if there are multiple with same name but different registrations.
  16. Yes they have to fill in the registration. I've changed it in the next version so it will warn you if there's no aircraft filled in (it will show up) I'm not sure if that's your issue though. Are you sure the reports are reaching the site? Do a quick 5 min flight with everything filled in to see if it works. If aircraft is your issue, a temp fix for now: core/common/pirepdata.class.php, line 60ish: INNER JOIN '.TABLE_PREFIX.'aircraft a ON a.id = p.aircraft Change that INNER to LEFT so it reads: LEFT JOIN '.TABLE_PREFIX.'aircraft a ON a.id = p.aircraft
  17. Yup, copy it to your skin folder so it doesn't get overwritten!
  18. According to site referrals, it seems as though there about 60+ VAs now using phpVMS in one form or another. I would like to build a list, but make it voluntary to add your VA to the mix. This list will be automatically aggregated on another page. Put your entry as: No other comments please, just the name and address
  19. You can have the one domain that's not on the key just forward to the domain which does have the key. I'll have to look at the code and see if I can spot you on how to have two separate keys
  20. Yeah, wrap is good. The aircraft, that's a bug in the backend.
  21. You'll have to adjust the table CSS to fix that. Same with the search.To have them all showing, mess with the HTML in the schedule_searchform.tpl As for the aircraft flight, that's a known bug and been fixed in the next version.
  22. Ok, find that sscanf() line, around line 499, replace that line and the next one with this: $txtcolor = str_replace('#', '', Config::Get('SIGNATURE_TEXT_COLOR')); $color = sscanf($txtcolor, '%2x%2x%2x'); $textcolor = imagecolorallocate($img, $color[0], $color[1], $color[2]);
  23. Haven't got to it yet, workin' my way down my list, it's the 3rd one down, hopefully by this afternoon, unless my boss decides to do something crazy like give me work.
  24. Yes you define on the schedule what type it is, charter, cargo, pax
×
×
  • Create New...