Jump to content

servetas

Moderators
  • Posts

    1726
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by servetas

  1. What kind of help do you need? Can you share it with us? We might be able to assist you.
  2. You can check how the default phpVMS skin works. It is calling it inside the <head> tags and after them you can include any extra javascript files you want.
  3. Why do you need something like this?
  4. Checking your website using firebug shows there is an error in your phpvms.js file. As far as I can see, in your template you have included jquery 1.4.2 and jqueryui 1.8.0 while phpvms.js requires the following: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script> I would suggest you to try including them..
  5. The issue is clearly a smartCARS issue and its communication with your website. I would follow what parkho said. Furthermore, without having access to smartCARS core files, there is nothing we can do to assist you. I would suggest you searching your functions.php and finding the function which parses the flight data from your website to your acars system. Then I would try to check what kind of data are parsed to the acars. The simpler thing I can think is sending an email to a selected email with the flight data printed in its content. After that you will be able to see where exactly the problem happens.
  6. No, I do not refer to your SITE_URL definition. I spotted that whenever I try to view www.crew.aloftvirtualalliance.com it keeps redirecting me to www.crew.aloftvirtualalliance.com/index.php/profile. Can you try removing the redirection setting? How did you set it?
  7. You shared a screenshot after my post but I deleted it for security reasons because you had shared your database details too. Have you set crew.aloftvirtualalliance.com/ to redirect automatically to /index.php/profile?
  8. Sorry I can't see the image.
  9. It seems that the local.config.php file on www.crew.aloftvirtualalliance.com is not correct. Could you please share with use the SITE_URL you have set in the local.config.php file for this phpVMS website: www.crew.aloftvirtualalliance.com ?
  10. Whats is website url and php version?
  11. It means that $difference variable is 0. And based on maths, you can't divide something by 0. You can add an if statement before line 146 which is the following: if($difference == 0) $difference = 1; But I do not know if it is going to affect the results you wish to show.
  12. I have merged the two topics you have opened. Could you please share with me your login details? Without error loggin there are not a lot we can do. Just for an ordinary user to check the bidding process.
  13. Hello, thank you very much for your question. No, the pilot just purchases an item.
  14. I am basically pretty happy that you managed to do that on your own. Great!
  15. As you can see, in the file you pasted it has the following commented: // To skip a retired pilot, uncomment the next line: //if($pilot->retired == 1) { continue; } You will have to uncomment it and update it accordingly in order to include the rest of the retired values.
  16. Hey, You can update email_registrationaccepted.php. The code to show the pilot id is this: <?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?> Regarding the image code, you can use html on this file. The exact format for the image is this: <img src="wrongname.gif" alt="HTML5 Icon" /> There are many html tags you can use. http://www.w3schools.com/html/
  17. What do you mean it revents back? Does it happens when the user is returned to the registration form due to any issue or you refer to the data posted in the database?
  18. Hey. During the last few months, I have been searching for a website which can return me a valid route for a flight through an api fom my virtual airline briefing page. I have found simBrief but the pilots of my virtual airline should have purchased the latest AIRAC. I do not have any problem purchasing them on my own and offering them to my pilots but the problem is that it is not allowed from SimBrief. I then found routefinder which offers a premium subscription but I do not know if you are allowed to "request" a route from it. Have you ever found anything which can let me do that? Thank you.
  19. Bare in mind that this works on phpVMS 2.1 (nabeels version). phpVMS 5.5 (simpilots version) uses LedgerData.class.php to keep track of all the payments of the system. If the payment does not get added into the ledger database table of the system, it will be lost on the next recalculation.
  20. I do not believe that the problem is with the hours. If you are using simpilot's version, there was a minor bug in the system's core files and I have already submitted a pull request on github for that. The bug has to do with true/false flags cause the script seems to run only when you set the setting to false. Open your admin/maintenance.php and find this: if(Config::Get('CLOSE_BIDS_AFTER_EXPIRE') === false) { and replace it with this: if(Config::Get('CLOSE_BIDS_AFTER_EXPIRE') === true) {
  21. Yes, smartcars is compatible with phpVMS. More information can be found on their website. https://tfdidesign.com/smartCARS.php
  22. Ok, can you please do the same with updatePilotStats which can be found in your core/common/PilotData.class.php?
  23. I dot no think that this is all of it. Make you that you copy the whole function until you find the next public static function
  24. Could you please paste here the ChangePIREPStatus function which can be found on your core/common/PIREPData.class.php file?
  25. Which phpVMS version are you using?
×
×
  • Create New...