Jump to content

shakamonkey88

Moderators
  • Posts

    306
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by shakamonkey88

  1. His issue is the fact that he isn’t declaring where the background image is on his server properly. <body style="background-image: url('http://crew.YOURDOMAIN.com/lib/images/background.jpg'); background-repeat: no-repeat; background-size: cover;"> Replace the url in the above to point to specifically where the image is stored on your server.
  2. Also, you don’t access the features of this by going directly to index.php/simbrief. Read the instructions carefully.
  3. Any idea on getting this to work? I have the total showing but I'd like to show only the current month's result. edit: Ah.. seems as though it is showing the current month's only Regards, Pete
  4. Oh OK. Feel free to share the answer with others that may have the same issue.
  5. So you're not using CrewCenter. You're using iCrew - in that case, you need to ask the dev what he's done.
  6. Change this: <input type="checkbox" name="remember"> Remember Me to this: <label style="font-weight: normal;"><input type="checkbox" name="remember"> Remember Me</label>
  7. No one can register if the captcha doesn't work.
  8. It depends on the acars that you use. It needs to be writing to the rawdata column in the pireps list.
  9. No sign of an event listener on mine.
  10. Same. It used to work for me but since changing to a VPS, it has stopping auto progressing. This is also before I was using git to keep track of all changes so I’ve lost whatever fix I used.
  11. Hey all, For some reason, I couldn't get the PIREP chart to show. The aircraft one works perfectly, but not the PIREP line graph. Going to /action.php/pilots/morrisstatsbymonthdata does not show populated JSON data either. I am on phpvms 5.5.2 on php5.6 Edit: Ignore. It was because I was running it on a local copy of my site and the database is older than a month, hence no data for the last month! Duh...
  12. Hi all, The activity list only shows pilots that rank up. It doesn't show "Pilot X has filed a PIREP from XXXX to XXXX" There's nothing in the log. Any ideas? Regards,
  13. It is in this format 51.471225 -0.461443
  14. What PHP version are you using? Who is your hoster?
  15. Literally as mark1million said. Open up fleet.php (located in core/modules/fleet) and change every "public static function" to "public function"
  16. I think the hours issue is the fact that there is an issue with some modules showing “1” as 100 minutes and other modules showing “1” as 60 minutes. As for the “too many numbers”, you can use php’s round function. I’m on mobile so I’m not sure of the line in question but similar to this: <?php echo round($flighthours,2); ?> This will round it with 2 decimal numbers. Hope this helps.
  17. Yes, I've added it right at the bottom. edit: It is writing to the phpvms_ledger tables correctly. But none of that seems to be used/shown on the site edit2: Unless I just call the pilot pay for the PIREP directly from the ledger table?
  18. Thanks buddy. Do I just need to add this? # Add correct pay for the pilot OperationsData::pilot_pay(Auth::$userinfo->pilotid);
  19. Gah, I have this issue and am stuggling to add it to the correct line. Anyone shed any light? My admin/modules/PIREPAdmin/PIREPAdmin.php seems to not line up with the above answers.
  20. Either way, you would be best running php version 5.6 Nabeel is working on a completely new version of phpVMS that is built from the ground up to run on php v7 & up
  21. Ok well you need to stop calling it crew center as people will automatically think you are using the crewcenter that many of us use. Why are you making these edits (ie file location)? What phpVMS version are you using? you can easily grab the default php file you need from a github repo
  22. https://www.virtualairlines.eu/index.php/Blog/Post/~airportinfoapi
  23. Or join the Discord server for incremental updates/news. An early alpha MAY come out this side of Christmas.
×
×
  • Create New...