I got mine to work without creating a module. All the functions are now in phpVMS that are shown in the pic on the front page.
Mine is basic basic now but works. What I did was placed the frontpage_main.tpl from core templates into my skin so it would not be written over in updates.
I have added something liek this to make it work.
<h3>VA Statistics</h3>
<p>Total Pilots: <?php echo StatsData::PilotCount(); ?></p>
<p>Total Flights: <?php echo StatsData::TotalFlights(); ?></p>
<p>Total Flights Today: <?php VastatsData::totalflightstoday(); ?></p>
<p>Total Flight Hours: <?php echo StatsData::TotalHours(); ?></p>
<p>Total PAX Carried: <?php VastatsData::totalpaxcarried(); ?></p>
<p>Total Fuel Burned: <?php VastatsData::totalfuelburned(); ?></p>
<p>Total Miles Flown: <?php VastatsData::totalmilesflown(); ?></p>
<p>Total Aircraft: <?php VastatsData::totalaircraftinfleet(); ?></p>
<p>Total Schedules: <?php VastatsData::totalschedules(); ?></p>
<p>Total News Items: <?php VastatsData::totalnewsitems(); ?></p>
I know all the P’s are not necessary. I just hacked it together lastnight in a few minutes. But something like that will get you on your way.
I just looked way to far into it and tried and tried to create a module and never actually had to. :-[ Try doing something like I did in the frontpage_main.tpl if using crystal or a copied crystal and it should work. And obviously you will need to skin it and recode to suit your needs.