Jump to content

Recommended Posts

Posted

Sorry for the question, I know nothing about programming.

Any example and where I have to change.

1.Edit simbrief.apiv1.js in lib/js

and add your full website addres in the apropiate location

2.Edit your schedule_briefing.tpl in /core/templates and in line 195 edit the link to corespond to your site

Example

http://www.yoursitelink/index.php/SimBrief

Last line Finish 148

3. Add this line before tag in layout.tpl

I have to add here

  • 1 month later...
  • 1 month later...
Posted

Is there a way to reject a pirep if the pilots don't use the aircraft in the schedule when they fly? I have a pilot who uses a 738 on routes for a 744. I am also looking into having the ACARS not even start the flight if the aircraft isn't correct.

Posted

Dear Baggelis is there a chance of putting a code for under review based on the criteria currently all the pireps were getting accepted or rejected but we wanted to include something in between for example based on the criteria if we wanted some of the pireps do not directly get rejection it should come under review so admin can review the pireps and then decide weather to go for approval or rejection.

i hope you understand my point.

  • 5 weeks later...
Posted

Hi Vangelis, one help please

Strict Standards: Non-static method PirepAcData::get_criteria() should not be called statically, assuming $this from incompatible context in/homepages/10/d328219951/htdocs/admin/modules/PirepAutoAccept/PirepAutoAccept.php on line 52

and

Strict Standards: Non-static method PirepAcData::get_settings() should not be called statically, assuming $this from incompatible context in/homepages/10/d328219951/htdocs/admin/modules/PirepAutoAccept/PirepAutoAccept.php on line 54

Tanks

  • Members
Posted

Hello can you please tell me what php version and what phpvms version you are using ?

and try replacing in common/PirepAcData.php aprox line 27

   public function get_settings() {
	    $query = "SELECT *
	    FROM ".TABLE_PREFIX."autopirep_settings";
	    return DB::get_row($query);
    }

With

   public static function get_settings() {
	    $query = "SELECT *
	    FROM ".TABLE_PREFIX."autopirep_settings";
	    return DB::get_row($query);
    }

Posted

Clicking save me out :

Strict Standards: Non-static method PirepAcData::editSettings() should not be called statically, assuming $this from incompatible context in /homepages/10/d328219951/htdocs/admin/modules/PirepAutoAccept/PirepAutoAccept.php on line 135

I`m sorry forgive, and arrange.

public function editSettings($setting_id,$moduleenabled,$landing_rate, $send_mail_to_admin, $send_mail_to_pilot, $admin_code)

Change

public static function editSettings($setting_id,$moduleenabled,$landing_rate, $send_mail_to_admin, $send_mail_to_pilot, $admin_code)

  • 2 weeks later...
Posted

I installed your module, but after installing the flight that participate through TOUR SYSTEM module not identify most.

The module is not compatible? when I accept manual log it appears in the module when it is on your system does not appear.

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