djtiger76 Posted April 6, 2020 Report Share Posted April 6, 2020 Is your site secure (https)? When i go to https://www.vexvirtual.com/index.php/ it says the site is not secure. Try changing it to http://www.vexvirtual.com/index.php/SimBrief. Otherwise, I am not sure why. This solution worked for me.. surprisingly Quote Link to comment Share on other sites More sharing options...
nfinger Posted April 7, 2020 Report Share Posted April 7, 2020 12 hours ago, ViniciusQuadros said: <input type="button" onclick="simbriefsubmit('https://www.vexvirtual.com/index.php/SimBrief');" style="font-size:30px" value="Generate Simbrief"> This is my code above. Open on a new tab when I click on generate Simbrief. Hi ViniciusQuadros, I am also using crewcenter and never got the simbrief plugin to work. Could you please shared the complete code you are using with me to use from the briefing page? Currently i am using a cut-down version that simply links to the simbrief site and automatically inputs flight number, departure and destination only. 1 Quote Link to comment Share on other sites More sharing options...
Lausitzaircargo Posted April 8, 2020 Report Share Posted April 8, 2020 @Vangelishave tried a look for my Request? I think so. The Button worked. But i have a another Question: When i will Generate my Dispatch i become the following Answer back: Fatal Error: Unknown aircraft type I have add a ATR42-500 to my Fleet. Can you help me again or have anybody a Tutorial. I dont know what i have to do to add a fake Aircraft or whatever. Im a Beginner in Coding Thanks for your help. Cheers Quote Link to comment Share on other sites More sharing options...
LeeCley2017 Posted April 8, 2020 Report Share Posted April 8, 2020 (edited) @Lausitzaircargo in the aircraft type field you should so AT72/B see that this error refers to the fact that in the Simbrief system there is only the ATR 72-500 registration and you should use it as a basis for other ATRs it was the only solution that I found and implanted in my VA Edited April 8, 2020 by LeeCley2017 Quote Link to comment Share on other sites More sharing options...
Lausitzaircargo Posted April 8, 2020 Report Share Posted April 8, 2020 Hi Lee i have tried this. Nothing. Also AT42/B, AT45/B, AT72, AT45, AT42. nothing is working. Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted April 8, 2020 Administrators Report Share Posted April 8, 2020 simBrief does not have an ATR42 aircraft type available. They do have an ATR72. At the simBrief site, you can create a custom airframe for the ATR42 by using the ATR72 as a base. Then you can share the airframe. Once you do that, you can add the share to your on site simBrief code. I suggest you look in the simBrief support forums for how to create a custom airframe. Quote Link to comment Share on other sites More sharing options...
fullmetalsleeve Posted May 17, 2020 Report Share Posted May 17, 2020 So, everything but the return works. Simbrief generates the ofp (I have the downloader thing pop up telling me my latest plan is ready). But no matter what, index.php/SimBrief doesn't exist. Quote Link to comment Share on other sites More sharing options...
djtiger76 Posted May 17, 2020 Report Share Posted May 17, 2020 (edited) Hey guys, Fiiiinally, got my crew center going live! I have a pilot asking about the prefile feature on the SimBrief website (where pilots could prefile their report with VATSIM, IVAO, etc). That option doesn't appear to be available in the template/module. Is that correct or is there a way I can add that to the template? Thanks --edit My IT department figured it out. Looks like just needed to add some additional code on the actual briefing. Edited May 18, 2020 by djtiger76 Quote Link to comment Share on other sites More sharing options...
Brunosoares Posted June 28, 2020 Report Share Posted June 28, 2020 On 7/28/2014 at 5:42 AM, FSX30HD said: I just make the changes I told you inmy previous post to have ALL options: Anybody can help me? i click in generate OFP but nothing happen, any body here get solution? Quote Link to comment Share on other sites More sharing options...
GustavoMinuano Posted July 7, 2020 Report Share Posted July 7, 2020 In my VA (https://www.anumara-cargo.com), I adjusted the local.config.php: define ('SITE_URL', 'https://www.anumara-cargo.com'); and in simbrief.apiv1.js: var api_dir = 'https://www.anumara-cargo.com/core/modules/SimBrief/'; The plan generated, however with the following error on the console: Mixed Content: The page at 'https://www.anumara-cargo.com/index.php/SimBrief?ofp_id=1594082924_CF736D9208' was loaded over HTTPS, but requested an insecure frame 'http://www.simbrief.com/ ofp / flightplans / SBBRSBEG_PDF_1594082928.pdf '. This request has been blocked; the content must be served over HTTPS. I was analyzing the simbrief.apiv1.js file here and we have several references to: "http://www.simbrief.com" and in the do_simbriefsubmit function there is: outputpage_calc = outputpage.replace ("http: //", "") ; if you change the http to https will it work correctly? Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted July 7, 2020 Administrators Report Share Posted July 7, 2020 2 hours ago, GustavoMinuano said: In my VA (https://www.anumara-cargo.com), I adjusted the local.config.php: define ('SITE_URL', 'https://www.anumara-cargo.com'); and in simbrief.apiv1.js: var api_dir = 'https://www.anumara-cargo.com/core/modules/SimBrief/'; The plan generated, however with the following error on the console: Mixed Content: The page at 'https://www.anumara-cargo.com/index.php/SimBrief?ofp_id=1594082924_CF736D9208' was loaded over HTTPS, but requested an insecure frame 'http://www.simbrief.com/ ofp / flightplans / SBBRSBEG_PDF_1594082928.pdf '. This request has been blocked; the content must be served over HTTPS. I was analyzing the simbrief.apiv1.js file here and we have several references to: "http://www.simbrief.com" and in the do_simbriefsubmit function there is: outputpage_calc = outputpage.replace ("http: //", "") ; if you change the http to https will it work correctly? Look thru ALL the simBrief files and change all http to https - and let us know if that fixes it. Quote Link to comment Share on other sites More sharing options...
GustavoMinuano Posted July 7, 2020 Report Share Posted July 7, 2020 2 hours ago, ProAvia said: Look thru ALL the simBrief files and change all http to https - and let us know if that fixes it. Great friend @ProAvia It worked. Thanks for the promptness to help Best Regards Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted July 7, 2020 Administrators Report Share Posted July 7, 2020 You're welcome! Glad you were able to sort it. 1 Quote Link to comment Share on other sites More sharing options...
rpuig Posted July 18, 2020 Report Share Posted July 18, 2020 (edited) Hi ! Does anyone knows why does the "Generate OFP" Button for simbrief on the StislaSkin doesn't do anything? Edited July 19, 2020 by rpuig Quote Link to comment Share on other sites More sharing options...
Benjamin5896 Posted July 20, 2020 Report Share Posted July 20, 2020 On 7/19/2020 at 12:55 AM, rpuig said: Hi ! Does anyone knows why does the "Generate OFP" Button for simbrief on the StislaSkin doesn't do anything? Same for me, but I have found it is not just StislaSkin. SimBrief deleted http://www.simbrief.com/ofp/flightplans/xml/.xml which is a file the module relies on. Quote Link to comment Share on other sites More sharing options...
Strider Posted July 20, 2020 Report Share Posted July 20, 2020 Make sure your browser allows popups, if the browser blocks them, nothing will happen. I have it and it works fine, so that is not the cause. Quote Link to comment Share on other sites More sharing options...
Benjamin5896 Posted July 20, 2020 Report Share Posted July 20, 2020 Thanks for letting me know. It was my AdBlocker all along. Quote Link to comment Share on other sites More sharing options...
Curshad Posted July 24, 2020 Report Share Posted July 24, 2020 (edited) On 7/20/2020 at 1:08 PM, Strider said: Make sure your browser allows popups, if the browser blocks them, nothing will happen. I have it and it works fine, so that is not the cause. My browser Allows popups, and it doesn't work what do you recommend me to check to fix the issue? -EDIT- If this is you, i fixed by going to yourwebsite/lib/js/simbrief.apiv1.js line 23 was this var api_dir = ''; for me. Just change to: var api_dir = 'http://yourwebsite.com/core/modules/SimBrief/'; - If i didn't need to say that i'm a dunce (honestly) i just need to read... Edited July 24, 2020 by Curshad Quote Link to comment Share on other sites More sharing options...
Strider Posted July 24, 2020 Report Share Posted July 24, 2020 What exactly happens, does it come up with an invalid api key? Or no pop up shows at all? A link to your site might help, it could be you haven't put the link to the JS file in which would cause that problem. Quote Link to comment Share on other sites More sharing options...
Salinas Posted August 6, 2020 Report Share Posted August 6, 2020 Hey!, i'm trying the simbrief module, bt isn't working for me, i've this console trouble https://prnt.sc/tv6rbr, I looked everything and nothing works... My API key is fine. Quote Link to comment Share on other sites More sharing options...
PaintSplasher Posted August 8, 2020 Report Share Posted August 8, 2020 You're sure you got the right url? crew.caribbeanwings/simbrief/&p Where is the .tld ? Just my first thougts. Quote Link to comment Share on other sites More sharing options...
Members Vangelis Posted August 8, 2020 Author Members Report Share Posted August 8, 2020 What is the link of your website ? Quote Link to comment Share on other sites More sharing options...
Strider Posted August 8, 2020 Report Share Posted August 8, 2020 On 8/6/2020 at 4:35 PM, Salinas said: Hey!, i'm trying the simbrief module, bt isn't working for me, i've this console trouble https://prnt.sc/tv6rbr, I looked everything and nothing works... My API key is fine. Is your site a .com/.org/.net??? As the url I see doesn't have that, which would mean your code is trying to call a non web address and is failing. Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted August 8, 2020 Administrators Report Share Posted August 8, 2020 Are you using VAM or phpVMS? What is your URL? Sure would be great if you showed credit to the CMS developer on the front page or had a "Credits" link to a page with info on who the CMS, modules, skins, etc. developers are. Quote Link to comment Share on other sites More sharing options...
Salinas Posted August 10, 2020 Report Share Posted August 10, 2020 On 8/8/2020 at 10:10 AM, Strider said: Is your site a .com/.org/.net??? As the url I see doesn't have that, which would mean your code is trying to call a non web address and is failing. is .org, bt isn't the main page, is a subdomain, crew.caribbeanwings.org Quote Link to comment Share on other sites More sharing options...
Salinas Posted August 10, 2020 Report Share Posted August 10, 2020 On 8/8/2020 at 12:36 AM, Vangelis said: What is the link of your website ? http://crew.caribbeanwings.org Quote Link to comment Share on other sites More sharing options...
Strider Posted August 10, 2020 Report Share Posted August 10, 2020 Thew link needs to point to that address, it seems in the error, the .org is missing, thus it is giving an error, look at the code and see if you can find where the code is going wrong. Quote Link to comment Share on other sites More sharing options...
xrb936 Posted October 25, 2020 Report Share Posted October 25, 2020 Looks like simbrief cannot get my fleet information correctly, so it cannot generate anything for me due to "parameters missing" Quote Link to comment Share on other sites More sharing options...
crazyconzie Posted October 31, 2020 Report Share Posted October 31, 2020 Hello. I received the following error when clicking the generate OFP button: Refused to execute script from 'http://va-conzieairlines.com/vms/index.php/schedules/brief/add%20you%20full%20website%20address%20here/core/modules/SimBrief/simbrief.apiv1.php?api_req=EGCCEIDWA20N1604150080va-conzieairlines.com/vms/index.php/SimBrief&p=1108346' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled. Any help would be appreciated, Thanks Conor Quote Link to comment Share on other sites More sharing options...
Paulevans1 Posted February 10, 2021 Report Share Posted February 10, 2021 Hi im having a problem in which ive not seen after reading through every comment in this thread, I have uploaded all files and changed all relevent information. when i click the generate SimBrief button i DO get the pop up and the progress bar does go across. i DONT get any errors. once its completed my page reloads but its just blank? any advice? Using Crew Centre Tried multiple version of PHP from 5..4 up to 7.4 still the same 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.