HCStrike
-
Posts
72 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by HCStrike
-
-
I dont think it is a problem with my KEY as the map loads after I refresh the page
-
1 minute ago, web541 said:
For the "google is not defined" error, try replacing the contents of your core_htmlhead.php file with this
https://raw.githubusercontent.com/DavidJClark/phpvms_5.5.x/master/core/templates/core_htmlhead.php
And then replace this line
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>
With this one
<script async defer src="http://maps.googleapis.com/maps/api/js?key=YOURKEYHERE" type="text/javascript"></script>
And replace YOURKEYHERE with your Google Maps API Key (from their dev console).
Remove any google maps <script> from your layout.php file (keep it in core_htmlhead).
Just remember to keep the order of the lines correct and don't move any around otherwise it will screw up the loading sequence.
This is what is in my core_htmlhead.php file
<script async defer src="http://maps.googleapis.com/maps/api/js?key=MY_KEY" type="text/javascript"></script>
-
5 minutes ago, web541 said:
If it isn't showing up (or showing as a white screen), can you please check your browser console (right click, inspect element => console) and post any errors. If the map is loading but there are no flights showing, then enable and check your logging for any DB errors.
To be honest, they are both an issue, my map only loads after a refresh of my page and No flights show in the map, I'll try the error logging but you can reference this post for the map not loading https://stackoverflow.com/questions/45627716/google-maps-not-appearing-until-refresh
-
Hello,
I use smartCARS for my acars tracker and I was flying a flight just for a test and for some reason the live flight tracker wasn't loading. Does anyone know of any code that I need to add/change so it will work?
Thanks
-
So no other configuration is required?
-
15 hours ago, Parkho said:
You can disable "bids on bid" in "local.config.php" file. Look for the following:
Config::Set('DISABLE_BIDS_ON_BID', false);
Just change "false" to "true". Now your pilots will be able to bid on a bidded schedule.
Wouldnt I keep it at false as if I changed it to true people wouldnt be able to bid on bids?
-
I cannot find the simbrief section in my schedule_briefing.php on phpVMS 5.5
I added this code, is it all correct?
<form id="sbapiform"> <table> <tr> <?php $planedata=(OperationsData::getAircraftByReg($schedule->registration)) ;?> <td><input type="hidden" name="type" size="5" type="text" placeholder="ZZZZ" value="<?php echo $planedata->icao ;?>"></td> </td> <tr> <tr> <td><input type="hidden" name="orig" size="5" type="text" placeholder="ZZZZ" maxlength="4" value="<?php echo $schedule->depicao ; ?>"></td> <tr> <tr> <td><input type="hidden" name="dest" size="5" type="text" placeholder="ZZZZ" maxlength="4" value="<?php echo $schedule->arricao ; ?>"></td> <tr> <tr> <td><input type="hidden" name="route" placeholder="Enter your route here"></td> </tr> <tr> <td colspan=2></td> </tr> <tr> <td><input type="hidden" name="units" size="5" type="text" placeholder="ZZZZ" maxlength="4" value="KGS"></td> </tr> <tr> </table> <br><br> <input type="hidden" name="airline" value="<?php echo $schedule->code?>"> <br> <input type="hidden" name="fltnum" value="<?php echo $schedule->flightnum?>"> <?php $today = date("dMy");?> <input type="hidden" name="date" value="<?php echo $today?>"> <?php $deptimes = explode(":", $schedule->deptime); ?> <input type="hidden" name="deph" value="<?php echo $deptimes[0]?>"> <input type="hidden" name="depm" value="<?php echo $deptimes[1]?>"> <?php $arrtimes = explode(":", $schedule->arrtime); ?> <input type="hidden" name="steh" value="<?php echo $arrtimes[0]?>"> <input type="hidden" name="stem" value="<?php echo $arrtimes[1]?>"> <input type="hidden" name="reg" value="<?php echo $schedule->registration?>"> <input type="hidden" name="navlog" value="1"> <input type="hidden" name="selcal" value="GR-FS"> <input type="hidden" name="planformat" value="lido"> <input type="button" onclick="simbriefsubmit('http://fly.multicrew.co.uk/index.php/SimBrief');" style="font-size:30px" value="Generate Simbrief"> </form>
-
Is there a way to manually, or through a pilot selection, to assign users to the on leave status?
-
The app_top contains all the information for both the top and the navbar, the nav bar contains 1 and the header contains 2 as there is a dropdown, I'll post the sections later
-
Updated link anyone?
-
Find and replace
<?php echo SITE_URL?>/lib/skins/crewcenter/dist/img/pilot.png
with
"<?php echo PilotData::getPilotAvatar($pilotcode); ?>"
There should be one in your (phpVMS Install)/lib/skins/(crewcenter)/profile_main.php and three in /app_top.php
-
5 hours ago, shakamonkey88 said:
What version of phpVMS?
Also, your username doesn't look complete to me, so try
noreply@multicrew.co.uk
That fixed it, thanks
-
Hi,
I am trying to setup my noreply email to send the registration confirmation emails etc. out to people when they register but they dont seem to be sending. My host is zoho and my settings are as follows
# Email Settings Config::Set('EMAIL_FROM_NAME', 'MultiCrew No-Reply'); Config::Set('EMAIL_FROM_ADDRESS', 'noreply@multicrew.co.uk'); Config::Set('EMAIL_USE_SMTP', true); # Add multiple SMTP servers by separating them with ; Config::Set('EMAIL_SMTP_SERVERS', 'smtp.zoho.com'); Config::Set('EMAIL_SMTP_PORT', '465'); Config::Set('EMAIL_SMTP_USE_AUTH', true); Config::Set('EMAIL_SMTP_SECURE', 'ssl'); # must be "ssl" for Google Apps Config::Set('EMAIL_SMTP_USER', 'noreply@multicrew'); Config::Set('EMAIL_SMTP_PASS', '*********');
I tried testing by sending a mass mail but I did not receive any emails. What could be wrong in my configuration?
-
Anyone know what code I can change in the profile_main.php so that when users change their avatar in the settings that change is reflected in their profile
-
I fixed it by making my directory lower case, im an idiot ahaha
-
Anyone know why my crew center looks like this, http://prntscr.com/g5bus8 I am on phpvms 5.5 and I am using the files in the php_templates folder
-
Does anyone know if this is possible now for mybb?
-
Did you manage to fix this, I have the same problem
-
Hi,
Is it possible to make 2 pilots fly a single route as well as just 1, so there are 2 options for the route, 1 for shared cockpit and one for single pilot flying?
-
Hello,
Would it be possible if someone could help me create a bridge for phpVMS so that my phpBB users can log into phpVMS with their phpBB information.
Thanks
-
Hello,
I currently have a phpBB forum on my website and I am wondering if I can use the user information from my forum to allow users to log in to the phpVMS site.
Thanks,
Harry
Live flight not working
in Support Forum
Posted
I don't have flights running at the moment but yesterday I did and the flight didn't show up. There is nothing in the logs at the moment but I set the logging to 2 so I changed it to 1 and I'll try a flight