Members Vangelis Posted July 18, 2014 Members Report Posted July 18, 2014 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 2 Quote
Toyuko Posted July 19, 2014 Report Posted July 19, 2014 Hey I got this error... http://prntscr.com/443h8a I followed your instructions as well Thanks Quote
Members Vangelis Posted July 19, 2014 Author Members Report Posted July 19, 2014 What php version do you have ? it seems that the function that converts the time from timestamp to normal time is not working Quote
Toyuko Posted July 19, 2014 Report Posted July 19, 2014 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 Quote
Strider Posted July 19, 2014 Report Posted July 19, 2014 Same is happening to me, I have php version 5.3.21 Quote
FSX30HD Posted July 20, 2014 Report Posted July 20, 2014 Same issues No errors when I play with UNIX-timestamp http://stackoverflow.com/questions/12038558/php-timestamp-into-datetime But nothing are parsed (XML) Quote
Members Vangelis Posted July 20, 2014 Author Members Report Posted July 20, 2014 Ok i will have a look at it for your info i will be off for a week Quote
Members Vangelis Posted July 26, 2014 Author Members Report Posted July 26, 2014 Just arrived from a week off without internet monday i will start the research of the bug Quote
Members Vangelis Posted July 26, 2014 Author Members Report Posted July 26, 2014 Ok found the porblem it was a wrong file in the zip file i am sorry about it please redownload and install the new zip file and let me know link is here http://baggelis.com/index.php/phpvms-templates/simbrief-briefing Quote
Strider Posted July 26, 2014 Report Posted July 26, 2014 I am having another problem now, the button that says generate simbrief, does nothing, nothing loads or anything. Quote
elfrost Posted July 26, 2014 Report Posted July 26, 2014 Nothing happens when I click on "Generate SimBrief" Quote
Members Vangelis Posted July 26, 2014 Author Members Report Posted July 26, 2014 need links so i can help most propably wrong location of files Quote
elfrost Posted July 26, 2014 Report Posted July 26, 2014 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 Quote
Members Vangelis Posted July 26, 2014 Author Members Report Posted July 26, 2014 there you should write full url like in your case http://www.wj-virtual.org/virgintest/core/modules/SimBrief/ Quote
elfrost Posted July 26, 2014 Report Posted July 26, 2014 var api_dir = 'http://wj-virtual.org/core/modules/SimBrief/'; //Ex. "some/directory/"; same issue :s Quote
Members Vangelis Posted July 26, 2014 Author Members Report Posted July 26, 2014 add this line in your layout.tpl <script type="text/javascript" src="<?php echo fileurl('lib/js/simbrief.apiv1.js');?>"></script> Quote
elfrost Posted July 26, 2014 Report Posted July 26, 2014 Great!! Thamk you for your help! Now, I get new popup Simbrief but get this Fatal Error: Unknown aircraft typedd Quote
Members Vangelis Posted July 26, 2014 Author Members Report Posted July 26, 2014 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 Quote
Members Vangelis Posted July 26, 2014 Author Members Report Posted July 26, 2014 Download has been updated with new instructions as the old one was half sorry for the trouble Quote
elfrost Posted July 26, 2014 Report Posted July 26, 2014 Ok i'm gonna take a look later Thank´s again Appreciated Quote
Strider Posted July 27, 2014 Report Posted July 27, 2014 Still a problem, it says incorrect aircraft. Quote
Members Vangelis Posted July 27, 2014 Author Members Report Posted July 27, 2014 Can you post the code that is in schedule_briefing.tpl ? Quote
Members Vangelis Posted July 27, 2014 Author Members Report Posted July 27, 2014 New Version up Airplane bug is fixed the reason of the bug was that php exlode wasnt working well Quote
Strider Posted July 27, 2014 Report Posted July 27, 2014 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. Quote
Strider Posted July 27, 2014 Report Posted July 27, 2014 I had it working great, now when I go to generate a brief, I can only download to pdf, nothing else. Quote
FSX30HD Posted July 28, 2014 Report Posted July 28, 2014 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 Quote
Strider Posted July 28, 2014 Report Posted July 28, 2014 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. Quote
FSX30HD Posted July 28, 2014 Report Posted July 28, 2014 I just make the changes I told you in my previous post to have ALL options: Quote
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.