Mark,
i was sneaking on your site and i notiched that you made a direct link with vroute
could you explain how you got this done.
thanks in advance joeri
Mark,
i was sneaking on your site and i notiched that you made a direct link with vroute
could you explain how you got this done.
thanks in advance joeri
HI Joeri,
If you send a email to Michal Rok he will set vroute to look for a text file with all your vatsim id’s in and new ones will automatically be added to your community overnight.
This is the code i use to pull the vatsim id’s from the database.
<?php
error_reporting(E_ALL);
ini_set('display_errors', 'on');
include 'Your site path//core/codon.config.php';
$allpilots = PilotData::getAllPilots();
foreach($allpilots as $pilot)
{
echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID');
echo '<br />';
}
?>
All you need to change is the include to your location and it does need the two // for some reason
Just put that in a file and give the url to Michal.
ok thanks m8
will give it a go