Jump to content

simpilot

Administrators
  • Posts

    2773
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by simpilot

  1. Within the loop on the pilots_list template you could do something like: if(PilotData::GetFieldValue($pilot->pilotid, 'VATSIMID) == '') {continue;} which would skip to the next record in the loop if the VATSIMID field is empty.
  2. It is not needed on a production site. All that really needs to be done is to change the one variable to make sure it is escaped before it hits the database. It looks as though it was an oversight when it was first written and was not caught until now. Updating all the files is not really necesary. The change is shown here -> https://github.com/n...a75943f4e3e8cb7
  3. Do they get the search form the first visit? Have you modified the schedules template to hide certain schedules for various reasons? Before you start editing the pilot, are all the fields filled in? Have you set the debug to true and reviewed the logs related to registration and login?
  4. Please contact him directly for his services.
  5. Cool, you should send a pull request to the GitHub account, maybe Nabeel will update the code next time he does a merge.
  6. http://forum.phpvms.net/topic/6962-code-now-hosted-at-github/
  7. You just need to make the same adjustments to the schedule results as you did in the default schedule results.
  8. You have to adjust the tables in the template files to fit your individual template. There are only generic layouts provided with modules.
  9. Refresh that function one time. For some reason the system does not see the file the first time after it is installed, I have not had time to back trace it as to why.
  10. Do other air mail functions work for sending mail? If so, do some of the pilots get the NOTAM? If so, does it stop at the same use each time? If not, are you using a character that is not supported by your settings in mysql?
  11. simpilot

    New PHP

    It must be a older version that I have not encountered. I have not seen any errors in the admin side yet. Just have to work your way thorugh them I guess.
  12. Most likely you need the 2.0 release that can be found here -> https://github.com/DavidJClark/phpVMS-ScreenShotCenter/releases It is a file extension issue between versions -> http://forum.phpvms.net/topic/18860-i-have-a-xxxxxxtpl-file-not-found-error/
  13. simpilot

    New PHP

    I have repaired a few sites where hosts have migrated over to PHP 5.4.x - The latest was hosted on Bluehost - http://virtualamericanusa.com Each one has taken something a little different it seems, especially depending on modules that have been installed. I am finding that the modules everyone has written, myself included, were not written thinking about the pending release of php 5.4 It is just a tedious process to work your way through every page to find all the errors. The main things to change to at least get a page to show can be found at: https://github.com/O...078481e8389523d - after that you just have ot work your way through to find the errors and repair them one by one.
  14. Tom has a robust Hub Stats class here -> https://github.com/t...erritt/HubStats Why not use that and call the airports you want to include in a region and just add them together on the fly? <?php $flights = (HubStats::CountFlights(ABCD) + HubStats::CountFlights(EFGH) + HubStats::CountFlights(IJKL)); ?>
  15. You can also use the built in function StatsData::TopRoutes($airline_code) which also will cache the data for a couple of hours (on release versions of phpVMS) to lighten the load on the system.
  16. I cannot see your site to see if you are still getting the error or not but either the database name, username, or password, or two or more of them must be incorrect. Remember that your individual database user and password is generally different than the one that you use to login to PHPMyAdmin.
  17. Your host has probably upgraded to php 5.4 - Search the forums for strict standards and you will find a number of different solutions, one of which should work for the version you are using.
  18. Add a classes to it then use the class in the sections that you want to; a.news { color: #FF0000; } then <a class="news" href="yourlink">news link</a>
  19. Don't know what to tell you then, if they are not logging in to get the downloads at least then they are not very interested in anything else I guess.
  20. Have you tried replacing the file with a new one since the intrusion? I ran into a few sites that had edits in native phpvms fies.
  21. I use an auto register and login api for the forum and put all downloads, or at least the links to them, in the forum. That at least gets one visit.
  22. simpilot

    Routes

    I am not sure why I even find it necesarry to respond to one of the more arrogant members of this forum but quite frankly how I respond to a thread that I have been named in, is of no matter to you Vanity. You seem to have an issue with most posts I make, most often when it has nothing to do with you. I am going to lock this post now, why, because I can and I am tired of your rhetoric against anyone starting a VA and if they have permission and your need to make comments that have nothing to do with the thread or you in any way.
  23. I found it easier to use the action.php method which goes skinless and just set the map to 100% like I did here -> http://www.virtualac.../map/fullscreen <- this uses the Leaf map instead of the Google map but you can use the same concept, plus you do not have to hack a core file subject to update.
  24. simpilot

    Routes

    The VA world is a small one, always remember that.
×
×
  • Create New...