Jump to content

servetas

Moderators
  • Posts

    1726
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by servetas

  1. Why do you need something like this?
  2. 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..
  3. 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.
  4. 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?
  5. 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?
  6. Sorry I can't see the image.
  7. 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 ?
  8. Whats is website url and php version?
  9. 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.
  10. 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.
  11. Hello, thank you very much for your question. No, the pilot just purchases an item.
  12. I am basically pretty happy that you managed to do that on your own. Great!
  13. 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.
  14. 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/
  15. 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?
  16. 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.
  17. 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.
  18. 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) {
  19. Yes, smartcars is compatible with phpVMS. More information can be found on their website. https://tfdidesign.com/smartCARS.php
  20. Ok, can you please do the same with updatePilotStats which can be found in your core/common/PilotData.class.php?
  21. 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
  22. Could you please paste here the ChangePIREPStatus function which can be found on your core/common/PIREPData.class.php file?
  23. Which phpVMS version are you using?
  24. A lot of systems development has started during the last years in the virtual airline industry. A lot of developers develop their own systems such as the ones you already stated. As of phpVMS, it is currently fully compatible with PHP 5.6 (simpilot's version) and it includes many features such as templates and modules. As you previously stated, it is a CMS which allows you to select templates, install module without a lot of effort. Personally, I have submitted some pull requests to simpilot's phpVMS version correcting or implementing some features. It would be great if a small team of developers can be organized to support the project as it is and try to make it compatible with PHP 7 which is something I will personally try in the next few months. phpVMS is a very powerful CMS and I am pretty sure that there are lot who like it and as Vangelis said, if you know what you are doing, everything is easy.
  25. Yes, with the "two items" I mean that in the same file there are two items which need to be updated accordingly. Something can be found twice in the document and of course any update has to be made twice too. Thank you
×
×
  • Create New...