Virtualei Posted August 28, 2013 Report Share Posted August 28, 2013 Thanks Simpilot Quote Link to comment Share on other sites More sharing options...
Virtualei Posted September 10, 2013 Report Share Posted September 10, 2013 Any news on this one Kyle Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted September 13, 2013 Moderators Report Share Posted September 13, 2013 He will have to look at the structure of the map template and the data that is returned from the vatsim file for ATC and make some changes to allow for ATC data to be shown from what I can tell by quickly going over the files. Any news on this one Kyle Allan, I had took another look at the pull request and the VATSIM Data. As google maps requires a lat. and long. parameter to show it on the map, there is no lat. or long for ATC in the data file from VATSIM. But I'll figure out something on my spare time to see what I can do to get ATC on the map. Quote Link to comment Share on other sites More sharing options...
Virtualei Posted September 14, 2013 Report Share Posted September 14, 2013 Thanks Kyle. Much appreciated Quote Link to comment Share on other sites More sharing options...
Members Vangelis Posted September 15, 2013 Members Report Share Posted September 15, 2013 I have it already ready done for somobody else in this forum so download this files replace your files on your server and call for <?php MainController::Run('Vatsim', 'create_vatsim_atclivemap', '!CLIENTS:', 'ATC', ''); ?> To kyle, the lat and lot are given bye the text file the only problem that i faced whas that the map took dynamicly the heading but the atc do not have heading so i modified your map and placed the atc.jpg icon Vatsim.zip 2 Quote Link to comment Share on other sites More sharing options...
Virtualei Posted September 15, 2013 Report Share Posted September 15, 2013 Great thanks Vangelis perfect Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted September 16, 2013 Author Administrators Report Share Posted September 16, 2013 @Vangelis - Are you ok if I merge your extension into the github version? If so, please get me how you would like attribution to be made and I will include it as well. Quote Link to comment Share on other sites More sharing options...
Members Vangelis Posted September 16, 2013 Members Report Share Posted September 16, 2013 I am fine with that no attribution needed as this is your creation and i took kyles map so it should go to you 2 i only forgot to put a dynamic picture in line 33 of atcmap.tpl i have hardcoded the picture source to http://www.baggelis.com/atc.jpg if you want and can corect it so i dont delete it some day and the maps don't work after that. Thanks 1 Quote Link to comment Share on other sites More sharing options...
Mike Posted February 16, 2014 Report Share Posted February 16, 2014 Hi all, Im sure i have seen this somewhere before on the forums but I must be searching the wrong terms because I cant find what Im looking for. Im wondering how to get these commands: <?php MainController::Run('Vatsim', 'create_vatsim_data', '!CLIENTS:', 'PILOT', ''); ?> to work in a html file? Quote Link to comment Share on other sites More sharing options...
Members Vangelis Posted February 16, 2014 Members Report Share Posted February 16, 2014 Copy and paste at the location that you want to show it Quote Link to comment Share on other sites More sharing options...
Mike Posted February 16, 2014 Report Share Posted February 16, 2014 Thanks Vangelis but if I copy that code directly into a .html file it will not work.... put it into a .tpl and it will work but I want to get it working in a .html page Quote Link to comment Share on other sites More sharing options...
Mike Posted February 16, 2014 Report Share Posted February 16, 2014 Oh, my bad... I just had to put a line in my .htaccess to get it to run php from inside a html Quote Link to comment Share on other sites More sharing options...
jusromaine Posted September 1, 2014 Report Share Posted September 1, 2014 ok ive been playing with it trying to find a way to get it in a table to make it look neat but Im not doing something wright? A little help thanks Quote Link to comment Share on other sites More sharing options...
Members Vangelis Posted September 2, 2014 Members Report Share Posted September 2, 2014 any code any screenshot anything ? Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted September 2, 2014 Author Administrators Report Share Posted September 2, 2014 ok ive been playing with it trying to find a way to get it in a table to make it look neat but Im not doing something wright? A little help thanks There are two files included in the distribution that should help. The first shows all the available fields coming back from vatsim - https://github.com/DavidJClark/phpVMS-VatsimReader/blob/master/core/templates/vatsim/vatsim.tpl The second has a small table example - https://github.com/DavidJClark/phpVMS-VatsimReader/blob/master/core/templates/vatsim/table.tpl Quote Link to comment Share on other sites More sharing options...
jusromaine Posted September 7, 2014 Report Share Posted September 7, 2014 so in your tpl I should be able to take out what I don't want and It would only show what I want then beable to do a tbl then put in the cod as like array exp Id then something else etc..... would you still need to run the code to run the vatsim code Quote Link to comment Share on other sites More sharing options...
jusromaine Posted September 7, 2014 Report Share Posted September 7, 2014 (edited) I have tried the create code with the table and it will show the full breaks down and won't fill in the table view and wont only show what I want SOLVED TKS Edited September 7, 2014 by jusromaine Quote Link to comment Share on other sites More sharing options...
Jakubovsky Posted January 28, 2015 Report Share Posted January 28, 2015 Warning: fopen(vatsimdata.txt) [function.fopen]: failed to open stream: Permission denied in /1/www/smart-express.info/core/modules/Vatsim/Vatsim.phpon line 33 Warning: fwrite() expects parameter 1 to be resource, boolean given in /1/www/smart-express.info/core/modules/Vatsim/Vatsim.php on line 34 Warning: fclose() expects parameter 1 to be resource, boolean given in /1/www/smart-express.info/core/modules/Vatsim/Vatsim.php on line 35 Warning: file(vatsimdata.txt) [function.file]: failed to open stream: No such file or directory in /1/www/smart-express.info/core/modules/Vatsim/Vatsim.phpon line 38 Warning: Invalid argument supplied for foreach() in /1/www/smart-express.info/core/modules/Vatsim/Vatsim.php on line 41 Quote Link to comment Share on other sites More sharing options...
Curshad Posted February 11, 2015 Report Share Posted February 11, 2015 reply deleted. Quote Link to comment Share on other sites More sharing options...
ncd200 Posted December 24, 2016 Report Share Posted December 24, 2016 Is this also compatible with the 5.5 version of phpvms. I am looking a while for a working script. Thanks in advance, Rick Winkelman budgetair-va.com Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.