Ok i have figured it out for anyone wishing to comply with google here is the fix.
open up your /core/templates/core_htmlhead.tpl or ,php depending if you have converted to php files, the line you are looking for is,
<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=true"></script>
You need to replace that with
<script async defer src="https://maps.googleapis.com/maps/api/js?key=PLACE YOURKEY IN HERE&callback=initMap"></script>
Replace PLACE YOURKEY IN HERE with your generated key
To generate your API key from Google log in to your Google account and go to https://developers.g...get-api-key#key
Remember this modification will get overwritten on any update as its in the core_htmlhead.tpl
Hey guys this may seem odd but in the settings page of admin (/admin/index.php/settings) there should be a place to input your google maps api key, on the dev version my field is missing, can i add this in to the local congig directly or where does it go.
By the way google maps work fine never had an issue but there is an error in the console of chrome stating about the api
Cheers.
Its php mailer standard in php,
We farmed out the mail function to google rather than hosting smtp from the server as its prone to errors and vulnerable to constant attacks.
Just make sure your not black listed as that will get your mail rejected also.
You can check on http://mxtoolbox.com/blacklists.aspx
This could be causing your problem,
550-Please turn on SMTP Authentication in your mail client.
Harry if i follow you you can use the logged in feature ie display different content for users logged in or not.
The function is,
<?php
if(Auth::LoggedIn() == false)
{ ?>
<p align="center">Your content for visitors</p>
<?php
}
else
{
$pilotid = PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid);
?>
//stuff goes here to display for logged in users
<?php
} /* End the else */
?>
Thats if im following you right.
You could look at addressing it a different way, just like the ranks, if your not using that feature you can change that function about to only display schedules to certain ranks.
Here is what im trying to achieve, any help would be appreciated as its been a while since i have dived deep in to the code pf vms.
When a pilot is deleted and their is data in the system ie from a screen shot or past event it displays the pilot as 0000, now is there a way to globally set that to echo something else out via the config file?
Cheers.
This is the default behavior for the schedules, front schedules does work, if your getting errors with it not showing then check your logs to see whats erroring
HI Mate this is fspax setting if I remember right, chech the va config file send out to fspax also the company created should match the correct code AZC or AZI
Ok Off the top of my head without looking at the code there is a function in the acars script that if the charter function is used the acars will generate a random flight number with a alpha character at the end so there is no way the system will confuse it as a scheduled flight.
For example TOM123A would be a schedules flight TOM123AV would be a charter flight, the system accepts this no problem then i have some manual sql queries to handle the points scoring system which fall through the net because its a charter flight. But basically if you send it the system should accept it.
Its been a year or so so i will have to dig about in the code to find out exactly what happens.
I will have to look at the code but wè never had any problems with selecting dep and arr aitports in the acars system. It's been a while but I'm sure there is nothing special to make them accept.
I use a charter function on one of my sites through the acars system, I have a switch in the code if to enable it or not, I have 95% of the world airports and the pilots can choose from the dropdown where and to.
I think pilots being able to add routes could really mess things up.
I had a quick go this morning, we have use an extensive reporting in the logs like bank angle exceeded, overspeeds, wind on takeoff and landing, com frequency and squawk code, will these be options in a paid for version?
For ease and simplicity i would say just overwrite the existing route then its fully compatible to all acars systems that pull the routes in the same way.