Jump to content

servetas

Moderators
  • Posts

    1726
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by servetas

  1. Which php version are you using? Personally, I would suggest getting in touch with your web hosting provider or move to another who might be more reliable.
  2. Use this: <?php MainController::Run('InstantWeather', 'get_metar', ''); ?>
  3. I do not know if something like this can be done (directly getting a variable from a function without running it). What you can do is creating a new function in your module and call it in your frontpage using the following part of code: <?php MainController::Run('YOUR_MODULE_NAME', 'YOUR_FUNCTION_NAME', 'SET HERE ANY FUNCTION PARAMETERS IF ANY); ?> And anything you echo inside the function will be shown where you placed the above part of code.
  4. Unfortunately now, the module allows your pilot's to purchase simple products (which can't be used in reality except the fact that they can be shown in their profile) and downloadable items.
  5. I cannot say that I have understood what do you mean exactly.. Could you please explain it a little bit better?
  6. I would suggest changing the code as the above to make it more portable: <?php $last_location = PIREPData::getLastReports(Auth::$userinfo->pilotid, 1, PIREP_ACCEPTED); $icao = $last_location->arricao; if(!$last_location) { echo ''; } else { ?> <br><br>Your current airport METAR: <i><?php echo file_get_contents("http://wx.ivao.aero/metar.php?id=$icao"); ?></i> <?php } ?> This allows you to change ICAO variable to anything you want such as $schedule->depicao or $schedule->arricao or anything else so you can have data from other locations too.
  7. I would suggest uploading your module on github to ensure that it won't be lost from the forum. What is the weather source? It would be great if you could decode clouds too.
  8. That's correct. phpVMS-3 has not been released yet although there are some commits in David's github. I believe that we should wait until David announces anything.
  9. The issue with recaptcha is happening in free web hosting providers due to their limits. Of course, there are paid hosting providers who may have set the same limits. In reality it does not have to do with the type of the server you are hosted on but it has to do with your server's settings. If you share with us your website url, we might be able to assist you..
  10. Taking into consideration what t_bergman suggested and trying to make it more simple, can you give that a try? Open your pirep_viewreport.tpl and find this: echo $line .'<br />'; and replace it with: echo preg_replace('/\[[0-9]{2}:[0-9]{2}:[0-9]{2}\]/', '', $line) .'<br />';
  11. Hello jooosed, I have sent you an email.
  12. Hello jooosed, I have sent you an email.
  13. This is what is reported by the acars software and storred into your pireps table. The only way to remove times is updating your phpvms pireps database table which has to be done for each pirep. Otherwise, I would suggest getting in touch with smartCars support team.
  14. Where did you download your phpVMS from? The most stable version for PHP 5.6 is this: https://github.com/DavidJClark/phpvms_5.5.x As for the airport issue, do you have any Config::Set('PHPVMS_API_SERVER' set in your local.config.php file? If yes, what is its value? If not, add this: Config::Set('PHPVMS_API_SERVER', 'http://api.vacentral.net');
  15. Can you check if you have added the same lines more than once in your local.config.php file? Did you regenerated the signatures from the maintenance panel?
  16. Could you please post a badge here in order to understand what do you mean exactly?
  17. Which browser are you using? If you are using google Chrome, check this: https://productforums.google.com/forum/#!topic/chrome/7XBU6g6_Ktc The issue is more related with your computer itself.
  18. Do you have antivirus installed? It is more like a computer issue and not a phpVMS one. Try disabling your antivirus.
  19. What is your website url? Can you upload a random zip file and check if you can download it? It seems to me more like a server issue. Which browser do you use?
  20. http://forum.phpvms.net/topic/23542-recaptcha-error/
  21. Ok, try installing this version: https://github.com/DavidJClark/phpvms_5.5.x
  22. Which version are you trying to install?
  23. A query can created to check the ivao and vatsim wazzup. Could you please give an example of what do you wish to do?
  24. Dear Marbach, Your support ticket has been already replied. You will have to place this: define ('REALBOOKING', X); in your local.config.php file and replace X with a number. For any further issue, please get back to the support ticket because support is not offered publicly.
×
×
  • Create New...