Jump to content

simpilot

Administrators
  • Posts

    2773
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by simpilot

  1. Not really sure what you want to reset. If you want to erase all your PIREPS you could just trunacate the table from phpmyadmin or similar. If you want to set all the landing rates back to 0 then run a sql query to reset them -> somthing like -> UPDATE table SET landingrate = 0;
  2. *Not Tested But Should Work Or Get You Close In acarsmap.js change line 104 from icon: url+"/lib/images/inair/"+data[i].heading+".png", to icon: url+"/lib/images/inair/"+data[i].flightnum.substr(0,3)+".png", Put your flight image you want to use in the /lib/images/inair/ folder. Example if you have a flight ABC1234 then put an image for it in the folder named ABC.png
  3. You need to look at issues with FSAcars then, I do not think the TouchdownStats module is the cause.
  4. You are going to need to add a join statement to the pilot data call as it only gets the data out of the pilot table the way it is written in the default version. $this->set('allpilots', PilotData::findPilots(array('p.hub'=>$hub->icao))); Best bet may be to write your own custom query for this and join an array of the pilots awards to each pilot.
  5. On my version on GutHub here -> https://github.com/DavidJClark/phpVMS_extended/blob/master/core/common/PIREPData.class.php#L709 You will find the line you need at line 709 $pirepdata['accepted'] = PIREP_PENDING; change to $pirepdata['accepted'] = PIREP_ACCEPTED;
  6. Call me lost but it looks like you are trying to do a number of things within the same application. Is this part of this -> http://forum.phpvms.net/topic/9008-news-about-the-new-administration-program-phpvms/ ? What is the prpose of connecting to an FSX install if it is not as an ACARS app?
  7. I built a similar tie in for the Vanilla Forum and found it easier to login using the native phpVMS auth system and then add the login from the forum to that by creating another step to the phpVMS login process. I think you could do something similar with this if you started around line 16 of your pastebin. I would look at their API and see what the login variable is returning on line 22 and see if that data can just be added to the user session to authenticate them into the forum. You may get a few ideas from the way I did it here -> https://github.com/DavidJClark/phpVMS-VanillaBridge/blob/master/core/modules/Vanilla/Vanilla.php
  8. Check Out -> http://fs-products.net/index.php/kacars-custom/kavarscustom-information Contact Jeffery Kobus at fs-products.net jeffery.kobus AT fs-products.net
  9. Hope you find some people to help you out Allan, it would be a shame to lose this VA, a lot of time and effort has been invested in it.
  10. I can not say enough good things about kACARS and Jeff at fs-products. No matter what you have there will always be a time when you need help with a bug or something unique which Jeff has always been right there to address it in my experience. A proven track record is always desireable in my opinion.
  11. Line 23 in the file is ini_set('display_errors', 'on'); ini_set is a php function that would override the php.ini file in the server root. Some hosts disable the ability to have individual php.ini files or use the ini_set function outside of the root of the server which I would guess is the case here as well, it is not uncommon on free hosting to limit some of the user functions to push you towards a paid hosting scenario. You may be able to get around it by commenting out the line in your file - //ini_set('display_errors', 'on'); The rest of your errors are directly from the cURL php module not being installed on the server or it not being active - [Connection failed] Could not connect to remote server - error is "cURL not installed or initialized!" You can try to contact the host and see if they will allow your account to use the ini_set function for php and also install or make available to you the cURL module.
  12. Have you refreshed the browser screen? I double checked here on a local test and it seems to function correctly. - Also, did you also "install" the plugin after uploading it?
  13. Without seeing the rest of your error I would guess that the template files are not present for the module - That is usually the cause of a template class error.
  14. @ARV187 This is not really an issue with the Touchdown Stats module as it only grabs the info that is in the pireps database. I would take a look at what is actually in the landing rate column of your PIREPS table and go backwards from there. I would guess it is how your ACARS log is being parsed or you have manually changed some pilot id's somewhere along the way and flights are getting crossed up between pilots.
  15. Did you look in the database to see if there is actually a settings table or if there is any data in it?
  16. I am not sure if you are trying to build another acars system or something to manage the core of phpVMS, if it is the latter I may be willing to share the code for the core manager I have depending on what your intentions for the application are. http://www.simpilotgroup.com/home/managerapp
  17. All code is available on github - link in my signature
  18. It is most likly an issue with ASP tags on your server. There is some information on how to fix it here -> http://forum.phpvms.net/topic/3580-live-map-is-not-working-correctly/page__hl__flightpilotname
  19. see - http://forum.phpvms.net/topic/8987-phpvms-suddenly-down-and-doesnt-work-error-given/
  20. With the section of the error showing "/CURRENT_SKIN/", it shows that the system is not able to define that constant from the database. I would think that you have lost all the data out of the database or it has become corrupted. Take a look in phpMyAdmin and see if there is anything left in the "_settings" table.
  21. Not a problem, sorry for the delay, I am back in treatment and unfortunatly spend a lot of time sleeping.
  22. A lot of the updates that Oxymoron has made have been merged into the working copy on github -> https://github.com/DavidJClark/phpVMS-AirMail Changes can be found here -> https://github.com/DavidJClark/phpVMS-AirMail/commits/master
  23. I was going to fork this on github and add it into my extended version of phpvms but am a little confused with the license. In this post you state that it is licensed under the "Attribution-NonCommercial-ShareAlike 3.0 Unported" but in the readme on GitHub and the files posted there there is no mention of this license, and the license is not included with the package. The only mention is that the script is copyrighted by yourself at the top of each file. What are your intentions as far as future use of the module and license requirements?
  24. <?php MainController::Run('ACARS', 'index'); ?> Will show the map in a template.
×
×
  • Create New...