Jump to content

Recommended Posts

Posted

With the same route, on simbrief's site, I can download to any format, but on the module you created it wont let me download to anything else but pdf. The route: OMAA-WMKK. So it should give me more options then just download to pdf,

  • Members
Posted

unfortunatly with that route i am not able to reproduce the porblem in my setup i am able to export to all the avaiable files

untitled.bmp

If something like this occurs again please attach the ofp_id you will find it on the address bar for example

/index.php/SimBrief?ofp_id=1406567438_D73BD240A0

Posted

Hi Vangeles,

thx for this Addon.

I have the following problem. After I start the process by clicking on the simbrief button and the 100% bar finished, nothing happens. There is still the old briefing and nothing changed.

I use PHP 5.4, is this a problem?

Posted

First Screen: https://dl.dropboxus...27786/first.jpg

Second Screen: https://dl.dropboxus...7786/second.jpg

When it reaches 100% the litte windows close and nothing happens anymore.

When I start your demo, after the 100% the briefing page had to change to the simbrief briefing page, but not in our Briefing.

When I type the direct URL to the simbrief template into my browser I get this, perhaps this could help:

https://dl.dropboxusercontent.com/u/53727786/direct.jpg

  • 2 weeks later...
Posted

Great Module thanks for this ! . A question , is there a way to give the pilot an option to change the aircraft type ( from default in schedule). For example a pop-up window perhaps when one clicks on "Get simbrief" ? which would change the submission to for example...

http://www.simbrief.com/ofp/ofp.loader.api.php?type=A332&orig=LTBA&dest=EGLL

to

http://www.simbrief.com/ofp/ofp.loader.api.php?type=XXX&orig=LTBA&dest=EGLL , XXX one could enter aircraft of choice perhaps ?

Just wondering..thanks in advance.

Deepan

  • 2 months later...
  • Members
Posted

Your aircraft type needs to be according to the list bellow

post-271-0-33254800-1416129825_thumb.png

in your example you have in your va an ac with icao code 744 and that is not correct it should be b744

  • 2 months later...
Posted

Sorry but I have tried for hours double checking everything 3-4 times and I get nothing from pressing the Generate Button .. :(

Followed the readme but nothing appears to be working for me

Added script to layout.tpl, added files modified the files mentioned in the readme,

Got the API Key and added it to the .js file.

If any one has any ideas on how I could trouble shoot this please ?

  • 3 weeks later...
Posted

Hi Vangelis one help please

Version simpilot 5.5.1

Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@) at position 0 (@): Unexpected character' in /homepages/10/d328219951/htdocs/core/templates/SimBrief/SimBrief.php:64 Stack trace: #0 /homepages/10/d328219951/htdocs/core/templates/SimBrief/SimBrief.php(64): DateTime->__construct('@') #1 /homepages/10/d328219951/htdocs/core/classes/TemplateSet.class.php(238): include('/homepages/10/d...') #2 /homepages/10/d328219951/htdocs/core/classes/TemplateSet.class.php(181): TemplateSet->getTemplate('SimBrief/SimBri...', false, true, false) #3 /homepages/10/d328219951/htdocs/core/classes/Template.class.php(82): TemplateSet->showTemplate('SimBrief/SimBri...') #4 /homepages/10/d328219951/htdocs/core/classes/CodonModule.class.php(92): Template::show('SimBrief/SimBri...') #5 /homepages/10/d328219951/htdocs/core/modules/SimBrief/SimBrief.php(12): CodonModule->render('SimBrief/SimBri...') #6 [internal function]: SimBrief->index() #7 /homepages/10/d328219951/htdocs/core/classes/M in /homepages/10/d328219951/htdocs/core/templates/SimBrief/SimBrief.php on line 64

Posted

The problem is in the variable string I pass manually and no longer get the error.

any solution

$epoch = (string) $info->times[0]->sched_out;

$epoch = 1344988800;

$dt = new DateTime("@$epoch");

// $dt = new DateTime('@'.$epoch); // convert UNIX timestamp to PHP DateTime

echo $dt->format('H:i'); // output = 2012-08-15 00:00:00

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...