Jump to content
Vangelis

Sim Brief for phpvms

Recommended Posts

Vangelis    767

I know that many of you where waiting for it, i would like to thank Ashley Jones from virtualthomson - TuiVirtual for the motivitation to make it.

You are free to download it at http://baggelis.com/...mbrief-briefing

What it does is adding a button to your briefing template and fetch all the info from the simbrief to your website.

In order to use it you have to contact with simbrief via email at contact@simbrief.com in order to get an API key for free.

Also your pilots need to be registered with simbrief in order to use their services.

As it is free please consider buying me a coffee with the donate button

Any questions will be answered throught the forum

Download has been updated with new instructions as the old one was incorect sorry for the trounble

  • Like 2

Share this post


Link to post
Share on other sites
Vangelis    767

What php version do you have ? it seems that the function that converts the time from timestamp to normal time is not working

Share this post


Link to post
Share on other sites
Toyuko    365

What php version do you have ? it seems that the function that converts the time from timestamp to normal time is not working

Version 5.3

Share this post


Link to post
Share on other sites
Strider    252

I am having another problem now, the button that says generate simbrief, does nothing, nothing loads or anything.

Share this post


Link to post
Share on other sites
elfrost    2

need links so i can help most propably wrong location of files

Followed your readme file

one question:

var api_dir = 'core/modules/SimBrief/'; //Ex. "some/directory/";

Is it correct? file is there : /public_html/wj-virtual.org/core/modules/SimBrief

Thank you

Share this post


Link to post
Share on other sites
Vangelis    767

there you should write full url like in your case

http://www.wj-virtual.org/virgintest/core/modules/SimBrief/

Share this post


Link to post
Share on other sites
Vangelis    767

add this line in your layout.tpl

<script type="text/javascript" src="<?php echo fileurl('lib/js/simbrief.apiv1.js');?>"></script>

Share this post


Link to post
Share on other sites
elfrost    2

Great!! Thamk you for your help!

Now, I get new popup Simbrief but get this Fatal Error: Unknown aircraft typedd

Share this post


Link to post
Share on other sites
Vangelis    767

i saw it the dash aircraft has actualy an icao code of DH8C and not DHC8 you have to make sure that the icao codes of your aiplanes are the same of siembrief you can have a look in the my fleet option of simbrief

Share this post


Link to post
Share on other sites
Strider    252

In the schedule_briefing.tpl for the button where it says onclick and to put your full web address put this code:

<?php echo SITE_URL?>/index.php/Simbrief

It means you dont have to go in to make that change, it will already be there.

Share this post


Link to post
Share on other sites
Strider    252

I had it working great, now when I go to generate a brief, I can only download to pdf, nothing else.

Share this post


Link to post
Share on other sites
FSX30HD    8

I had it working great, now when I go to generate a brief, I can only download to pdf, nothing else.

to solve the problem you need to edit the core_htmlhead.tpl (in your skin folder)

and put this

<script type="text/javascript" src="<?php echo fileurl('lib/js/simbrief.apiv1.js');?>"></script>

Not in the layout.tpl

Share this post


Link to post
Share on other sites
Strider    252

It seems to work fine for legs departing wmkk, but returning it doesn't. Also you can put it in the layout.tpl. that is not the problem, as unless stated code is not selective.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×