Jump to content

Recommended Posts

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

  • Haha 1
Posted

@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

Posted (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 by LeeCley2017
  • Administrators
Posted

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.

  • 1 month later...
Posted (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 by djtiger76
  • 1 month later...
Posted
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?

  • 2 weeks later...
Posted

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?

 

 

  • Administrators
Posted
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.

  • 2 weeks later...
Posted (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 by Curshad
Posted

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.

  • 2 weeks later...
Posted
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.

  • Administrators
Posted

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.

 

Posted
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

Posted

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.

  • 2 months later...
Posted

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

  • 3 months later...
Posted

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

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