-
Posts
435 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by mseiwald
-
I believe in schedule_results.tpl it should be $route->price not 100% sure though as i currently dont have any of the files here.
-
We'll i'm only on my phone now but then you will have a different conflict there. Just use the inspect functions of your Webbrowser and you will see the errors that are causing the issue.
-
is a html Tag. In a js file you only put the Script code without the Tags. You cant put any html Tags in a js file.
-
I see you are using script Tags in a js file. That doesnt work. In a js file you cant use script Tags. They are giving The Syntax error.
-
It says unexpected > or < at line 1?
-
Now it has a SyntaxError. Just check the inspect functions of your Webbrowser and you will see The error Messages.
-
the path is wrong. it gives a not found error http://argavirtual.com/public_html/cookies_permisos/cookiescrittext.js it surely should be without public_html
-
TopPilotData::top_pilot_hours($month, $year, 5) ; This likely gives you an array of the top 5. So i guess that is why you cant echo it. You need to put it in a foreach loop in order to echo it. Its just a guess i'm not using the toppilot module.
-
No that seems to be from the acarsmap.tpl. Thats wrong...you need to do that in ACARS.php where $percomplete is calculated.
-
I dont know your code for the progress bar but actually in your ACARS.php where you added the calculation for the progress bar you could adjust it to something like this (this code doesnt work as it is. Its just a hint. I currently dont have access to the files). if($depicao == $arricao) { $percentage = "100"; } else { //your normal progress bar calculation }
-
I doubt that these are functions. I think they are just replaced in the module before the mail is sent. With str_replace for example.
-
Like here is our list from Hellenic airways: http://www.flyhellen...hp/VatsimPilots Just make a new Module called Vroute or whatever you like and then in the index function i have this code: $pilots = PilotData::getAllPilots(); foreach($pilots as $pilot) { $fieldvalue = PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); if($fieldvalue != '') { if(strlen($fieldvalue) < 5) { continue; } if (!is_numeric($fieldvalue)) { continue; } echo $fieldvalue.'<br />'; } Then all you need to do is give them the link like http://www.YOURSITEURL.com/ACTION.php/vroute Note it`s important that you give then the link with action.php so that in your <body> tags you only have the VATSIM IDs one in a row. Thats all they need and i think the simplest method
-
You dont need a txt file for that. At Hellenic I have just a blank page with all the IDs each in a new line. Then use action.php when giving the link to vroute
-
I have already replied to your email regarding the executive division. Please send me another email and let me know what exactly you want to achieve in the departure tv module and best if you also add a URL to the module on your site. I'm sure we can sort it out pretty easily
-
in cACARS_Free php find the "metarlookup" function around line 179 and replace it with: public function metarlookup($icao) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://metar.vatsim.net/".$icao.""); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $output = curl_exec($ch); curl_close($ch); return $output; }
-
Its because it gets the data from VATSIM using file_get_contents. In your server config allow_url_fopen is disabled. You may be able to use curl instead.
-
Client Version 1.02 can now be downloaded from my website (link in the first post). A few minor bugs have been fixed and some improvements have been added to the code.
-
are the PIREPs showing up on the aircraft info page? Usually if there a no Pireps they dont appear on the map.
-
Hi Cedric, you might want to change the "um" in the DATE_FORMAT guess most VAs here dont want it in german haha
-
A small fix to the module is now available which fixes an issue that caused the wrong remaining distance and time shown on your website. No need to redownload the client. You just need to upload the new module via FTP and overwrite the old one. cACARS Free Module Version 1.00b can be downloaded by following the link in my first post.
-
Thank you for the offer David, i have sent you a PM.
-
Try changing: foreach($data as $l) to if($data) foreach($data as $l) and foreach($pirep_list as $pirep) to if($pirep_list) foreach($pirep_list as $pirep) I think Vansers just forgot to add it since probably when he wrote the module he had already done some flights with the aircraft and therefore didnt get the error.
-
Did you have the flight loaded? Actually The metars should be automatically loaded when you click on the flight. The refresh button was just added to get more recent Arrival METARS during the flight.
-
Thanks Thomas I have also added an option to enable crew announcements to be played. Every FSPassengers VoicePack can be used with it. Lots of them are available here for free: http://www.fspassengers.com/?action=download&cat=Voice+pack&sort=Date&page=&search=&searchtype=Title&download=submit Of course you can also make your own voice packs. The file just need to be named correctly with the same filenames as the FS Passenger files. The Announcements can be enabled and disabled in the client by the pilot. Several Voicepacks can be added from which the pilot can select the one he would like to use from the client settings window. Currently the following sounds are included: - All passengers on Board - Welcome on Board - Safety Announcement - Prepare for Takeoff - Climb / Devices - Cruise - Descent - Landing Shortly - After Landing - Parked at Gate This feature will soon be available as an extra option for the custom Versions.
-
Thanks Daniel Just finished it now.