Jump to content

Sim Brief for phpvms


Vangelis
 Share

Recommended Posts

4 hours ago, ViniciusQuadros said:

 

I already changed. But still opening on a new web browser's tab.

 

 

To my friend "djtiger76", who made the post and uses the "Crewcenter" skin, I made the change and it works perfectly. I also use the same skin and the results are placed on the page. I do not know what to say.
Regards

Edited by gio1961
Link to comment
Share on other sites

10 hours ago, gio1961 said:

 

To my friend "djtiger76", who made the post and uses the "Crewcenter" skin, I made the change and it works perfectly. I also use the same skin and the results are placed on the page. I do not know what to say.
Regards

 

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

@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

Link to comment
Share on other sites

@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
Link to comment
Share on other sites

  • Administrators

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.

Link to comment
Share on other sites

  • 1 month later...

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
Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...

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?

 

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 2 weeks later...
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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • Administrators

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.

 

Link to comment
Share on other sites

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

×
×
  • Create New...