Jump to content

Recommended Posts

Posted (edited)

Hello,
I would like to ask a technical question to implement the current flights on the live board of our website.
I don't know if this is possible with phpvms or via acars.

Pour pouvoir peut-être me donner une indication sur ce que je veux dire je vous ajoute le lien vers notre VA .

 

http://new.aireuropeva.com/

 

Merci pour vos réponses par avance .

Edited by Jbaltazar67
follow topic
Posted

Hi,

 

There is no easy or pre-built / default way for what you think or need. It is still possible of course, but you need to code it yourself to fit your needs and system. Logic is simple;

 

1. Read live flights data (or anything you need) from phpvms v7

2. Convert it to an universal format for other applications of your VA to read

3. Read that converted data and process (Live Flights Board, Custom Live Map etc)

 

(You may need to build your own module for 1 and 2)

 

As long as you can develop things on your own, everything is possible. If you are not able to code things, then it will be really hard to achieve custom outputs like you wish.

 

Hope this helps, God speed and good luck.

  • 2 weeks later...
Posted

Hi,

 

I am the webmaster of Air Europe VA. I was hoping to use the API for current flight returns but the service does not exist.

 

I deduce that I need to create an addon to read the values and transform them into JSON format. I will not have any problems with points 2 and 3 of your answer.

Is it possible for you to show us how to display (for example) the registration of a live flight on the screen?

 

This could be a useful addition to the documentation:
https://docs.phpvms.net/developers/addons

 

Good day

Posted

Hi,

 

I have a module and a widget doing what you need, but it works inside phpvms so it will not fit your needs as far as I understood.

 

If you are ok with php/laravel and can create a custom module for yourself, what you need is to read live flights (actually live pireps) data from v7. Technically it would be the easiest step though, just getting a model with its relationships from a laravel, or more basic way reading from a database table with some joins (if you are willing to go that way of course).

 

Don't get this wrong but the example you request will be the final step and it will be something like this {{ $liveflight->aircraft->registration }} for blade, <?php echo $liveflight->aircraft->registration ?> for plain php.

 

For this to work, you need to complete steps 1 and 2 and then pass that data to somewhere, process it as you need etc. I know, writing this is easy but the process will take time, trial and errors, fine tunings according to your needs too. So no one can give you a working example for what you need at the moment.

 

Good luck

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...