If it's minor differences, you might be able to just do it in one module, and have settings within the file (like:
<?php
class ACARS_Remote extends CodonModule{
public $parse_vatsim = true;
public $parse_ivao = false;
public function index()
{
if($this->parse_vatsim == true)
{
$this->parse_vatsim_list();
}
// etc
}
}
Then different functions with each parsing. What are the differences? Maybe they can be compensated for within the code? But that would be the cleaner option in the end, IMO.
Also, did you see my sample for adding the data to the live map?
You don't need to do all that.
Just call:
include '/path/to/core/codon.config.php';
$allpilots = PilotData::GetAllPilots();
foreach($allpilots as $pilot)
{
// do stuff
}
Assuming you're not creating a module. Watch the API tutorial video too
Would you mind putting DEBUG_MODE to true in the local.config, and rerunning the import, see if there are error in the core/logs/log.txt (send that to me).
Also, if you don't mind, sending me your import file. I'm sure there's something I'm missing somewhere which happens with larger imports
Hey,
1 - are you entering the aircraft registration? And the registrations are correct?
2 - it will only show routes from the current day, maybe that's why? I'm looking at bugs currently with this.
3 - It should be updating on its own, when you accept a pirep. I'll take a look
4 - There are some bugs with this, that have been fixed for the next version
What peeves me is that XML is a standardized format, but they all refuse to use it... instead we have to do this inane parsing and picking apart data because it's in a dumb proprietary format. If XML is too verbose, they can use JSON, but they're both standardized and all languages have build in libraries to parse them... blah
/End rant
Yeah the instruction is wrong, it should be the aircraft's registration.
If you add one route manually, do an export, you'll see what's in there, then you can fill everything back up and then import it
Yeah, I haven't implemented the pictures showing yet, but for that PIREP can you link me to it so I can see the log.
I was just verifying that the image upload worked