Jump to content

Strider

Members
  • Posts

    1821
  • Joined

  • Last visited

  • Days Won

    53

Everything posted by Strider

  1. If you are using the premium version of icrew, you will need to talk to icrewsystems about that. If using the freeware version, just look at the default code for the pilots list that ships with phpvms, as it might give you a clue as to how to go about that.
  2. Are you uploading the right file? As I think you may be uploading the old file instead of the new one.
  3. Make sure the JS is being called in the head of the page, above the </head>
  4. Have a look at how the current modules are made.
  5. What error do you get when you click on bid flight?
  6. Don't touch the app.config. Put the keys in the local.config file. I say you need to replace the files, as you may have taken more then the code for the recaptcha and it is causing problems. So replace the files with fresh ones from a clean download, and try it then
  7. I got code working, but not correctly. It is just showing 5 in sequence by flight number. And I think I know why, when you add a schedule there is no date associated with the entry in the db But there is in the PIREPS table. I will work on it and try to get it to work. When I do I will upload the code to my github account.
  8. Do you have an API for it? You have to have a valid API key for recaptcha to work. You can get them for free here
  9. You could also just comment out the line and add the new one, if the new bit of code fails, you just have to delete the new code and uncomment the old
  10. Are they disappearing from the db? Or just not showing on the site? If so then I think what might be happening is when you put the code back, you add or take away code or an ; or something like that that is causing those to disappear. PHP can be very finaky when it comes to code. Miss a ; or a comma and all hell breaks loose. Also what file are you editing? If you have not done anything other then remove some code, try uploading the original file from a fresh download.
  11. Because the username has to be the one associated with the DB you are connecting to.
  12. I dont understand, you want the live map to show in a 3rd place? You have it on the frontend and in the crew center. You could try using an iframe or will need to code a link to the acars and put the code for your maps there.
  13. When you created the DB did you add ERA001 to the DB as the user or is it another user. Usually the user is the user of the cpanel account underscore and the name you chose, so it could be something like edakridge_era001, if you d ont add the first bit it can have trouble with it, as it won't recognise it as a user on the db. Which is basically what the error you got is telling you.
  14. Chief Pilots HR Director Events Director Fleet Manager If you would like to help out at MVA please send an email to admin@malaysiava.org with subject line as *position name* application. Include in the body: Full name Email Pilot ID Position applied for For chief pilots only: Aircraft Info about yourself Previous Staff positions at other VA's https://malaysiava.org
  15. That is not the callsign, you are refering to the ICAO code. I have never heard of an ICAO code being more then 3 letters.
  16. It is telling you the function is not there, So either you have to add the function or find the code that is supposed to be there.
  17. Are you sure all the files are uploaded?
  18. Can you provide a link so we can see what happens?
  19. I have updated this to 1.5 you can now select the schedid instead of having to go find it in the DB. You will just need to know the flightnumber used and select it from the dropdown in the add codeshare page
  20. I have updated this to V1.4. It now uses leaflet maps instead of googlemaps.
  21. I don't quite understand what you mean? phpvms by default puts the roster into hubs and shows them. This module lets you click on a hub and get more detail about the hub. Especially if you have set the roster to not show by hub.
  22. Regardless of phpvms version in the local.config file you need to change the lines that have been mentioned above. The module you are using should use that. But if I understand what you mean, you want to bid on more then 1 flight. Check the settings of the module in the admin side for that module. The code mentioned above just changes the ability for pilots to bid on the same flight.
  23. By the sounds it, the code is getting the information sent to it wrong, and instead of showing the flights, it is showing the no routes found. Sometimes it is just a simple change of code in the if/else statement. I have had that happen loads of times. Change where the "no routes found" to either the first part of the if/else and the other code to the other. so if it is: if($schedule = "true") { *code for schedules } else { echo = "No routes Found"; } Change that to: if($schedule = "true") { echo = "No Routes Found"; } else { *schedule code } I know the code i used most likely doesn't match the code in the module, but it is just to illustrate my point.
×
×
  • Create New...