Jump to content

TennShadow

Members
  • Posts

    724
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by TennShadow

  1. Thank you. I have been FTPing the files for now.

    @flyalaska. Thank you. Needless to say Crazy Creatives failed to mention the need to change the read - write permissions or even build sub-directories.

    I think that just depends on your host. I didn't have to change any folder permissions when I installed this addon. However, I agree that a mention of it in the instructions would have been helpful. I have several addons from CC and they are really good! I've been very happy with his work.

  2. Thanks for this. I tried it out and it works. The only issue I'm having is it doesn't add up correctly. For example, my current rank pay is $100.00 per hour. I submitted a 1 hours flight and I was paid $200.00. I tried to look at the math in the function but wasn't able to get it to add up correctly when I tried.

    I opened up PIREPAdmin.php and added that function into the below functions.

    public function approveall

    protected function approve_pirep_post

    I've attached it to this post. Could you look it over to see if everything looks good where I added it? Everything seems to be working fine other than the doubling of money.

    Thanks again for this!

    PIREPAdmin.php

  3. You can create a function to get the pay rate from PIREPS and multiply it by the hours of the PREP and update the pilot pay in pilots table then call the function in pilot profile giving it the pilot ID. I think this is much faster solution than actually fixing the bug. I can write the code for it if you want. :)

    Thank you for the offer. I would love to have this working as I have plans for the vCash in the future. How much do you want to create this function?

    Thanks,

    Keith

  4. I'm trying to figure out how to change the contact form to when an email is sent and I hit "Reply" in my email client it will automatically populate the field with the senders email address.

    Right now, when I hit reply the address is my website address that I have setup in PHPVMS. While this isn't that big of a deal if I'm on my laptop to copy and paste the senders address into the "to" area. However, I mostly answer emails from my phone and that is a little more of a pain.

    Does anyone have any ideas on how to do this?

    Thanks,

    Keith

  5. It is showing now, there was an omission in the code on my part for when an airline adds a logo. sry :(

    The rankings I am still trying to get my head around. I took what was existing and have made it work for the moment but am trying to come up with something different or tweak it a little as it definitely gives too much to longevity right now. A new airline has a hard time in ever catching up.

    One possible suggestion would be to add categories. One category would be for fictional VA's and another would be for VA's named after an actual airline. Most of the high ranked VA's have real world counterparts which attract more pilots than fictional VA's.

  6. 1. I would love to have this function back if possible. When I did a huge schedule import I had to add over 150 airports. It was very time consuming.

    2. I don't change from the default.

    3. I didn't know this feature existed.

    Yes - I would add a new VAcentral module

    I got most of my current schedules from flightaware. I am interested, but before I commit I'd love to hear more about the pricing model and how it would integrate into PHPVMS etc.

  7. I am not sure if this file is exactly like what you are running but I am looking at this file from Nabeel's version here -> https://github.com/n...PData.class.php

    It looks like the update PIREP function that starts on line 991 never actually calculates the pilot pay, only the pay rate. At line 1012 it gets the pilot data including the pay rate, then on line 1082 it is injected back into the pirep data and is never calculated so it becomes just the base pay rate of the pilot.

    This is just a quick glance and it is possible it is being calculated somewhere else.

    Interesting - Thanks for that Simpilot. Since we don't really use vCash I've never noticed if it actually worked or not.

    Do you know if the beta version or your version has this corrected?

  8. Yeah I figured that. I am more concerned about why is my system putting pilots back on leave if they don't file a flight within 24 after they are re activated.

    Unless I misread something above I think this is default behavior if you have auto retire turned on. Mine does the same thing. If a pilot gets reactivated but doesn't fly that day (24 hours) they go back to retired because they are still X amount of days since last PIREP filed.

  9. I'm having a weird issue with pilot pay. It's not adding up correctly on the PIREPs. For example, my rank pays $100.00/hr and I flew a 5 hour flight I only got paid $100.00. It doesn't matter if I'm using Smartcars, KACARS custom, or file a manual PIREP.

    I've recalculated the ranks and have ran the maintenance script but that didn't make any difference.

    I'm running version 2.1.936. Has anyone seen anything like this and know how to fix it?

×
×
  • Create New...