Jump to content

servetas

Moderators
  • Posts

    1726
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by servetas

  1. Unfortunately you can't load so easily so much entries twice. I would suggest you to remove the airports which are not used by your virtual airline and just create a new one with icao AAAA (for example). So if the pilot can't find an airport, he can use AAAA and just write down on the comments part his departure and arrival airport (DEP/LGAV ARR/LGTS). During the validation progress, you would be able to edit the departure and arrival airports. That is just a suggestion and i think that it is an alternative way to allow your pilots to fly between whichever airport they want. Let me tell you that someone had edited the File a new PIREP page and did the departure and arrival airport text fields from drop down menus. I think that this is also a good solution.
  2. I am always trying to help as much as i can. Happy that you solved some of your problems. As soon as everything is ok, you can write a new post which will explain the problems and their correct solutions. I think that this is going to help all the others who may have the same problems.
  3. Can you check this? http://forum.phpvms.net/topic/17290-solvedpilot-list-empty/#entry93430
  4. On my server, we are using php version 5.3.28 and we have installed more than five phpvms systems () without any problems...
  5. Yes, the lib/avatas folder permittions should be set to 777.
  6. Hi Guys, Can you let me know which phpVMS version are you downloading in ordee to install it on my server and check if there is any error? Thanks in advance...
  7. What do you mean slide show? You are already using a slideshow on your own website. Do you want anything different and if yes, what else do you want to include on the slideshow?
  8. Dear All, After a lot of months of development and a lot of testings, we are really happy to announce you that our new Live Flights Board, for IVAO and VATSIM Network, has been released. This Module will help you to show on your virtual airline's website the pilots online on these two networks and their current position (on a google map). More information can be found here. If you have any questions, do not hesitate to let us know. Some Screenshots And the table customized and in action: Best Regards, on behalf of PHP-Mods Team
  9. Yes, you can use: <?php echo substr($flighthours, 0, X); ?> Where X replace with the number of characters you want to get (in that case 4).
  10. Where did you find these templates?
  11. Probably you must have forgotten something...
  12. Finally, the debugging will be done using a demo account which was given to me from the VATSIM ATO Staff. Thanks for their support. Very soon we will post the new version.
  13. No, it is not possible, you can just restrict their access using a permission which already exists...
  14. Everyone can access simpilot using his email. Just kidding... This can be done very easily via opening the module file. I cannot let you know how to do this on any module developed by simpilot but let me give you an example with the Events_Admin module. Go to you phpvms installation directory->admin->core->Events_admin->Events_admin.php. In this file you will find this: public function NavBar() { echo '<li><a href="'.SITE_URL.'/admin/index.php/events_admin">Events</a></li>'; } If you want to limit it, you will have to put the echo between this: if(PilotGroups::group_has_perm(Auth::$usergroups, EDIT_PAGES)) { //the echo code } So, based on this example, you will have something like this: if(PilotGroups::group_has_perm(Auth::$usergroups, EDIT_PAGES)) { echo '<li><a href="'.SITE_URL.'/admin/index.php/Academy">Pilot Academy</a></li>'; } If you check this if sentence there is the EDIT_PAGES. This means that only those you have the EDIT_PAGES permission will see this link on the addon's menu. You can change this to whatever you do prefer based on the current phpvms permissions. The same work can be done with all the other modules. I just want to let you know that this part of code will only limit the link on the addon's menu. If a va staff wants to get access to this module, he can do it using the url... (for example, in that case, your websites url/admin/index.php/Events_admin) If you want to limit this access, you have to edit every template file... On phpvms it is not suggested to edit the current permissions system cause it will might cause problems on your system...
  15. With the VATSIM Pilot Training Department system release, we have decided to integrate the Pilot Academy Module for phpVMS with this system. This means that whenever a training gets completed on your phpvms system, it will be auto updated on the VATSIM PTD System. This will be done using the current PTD API service. If you are interested to take part on the development of the new version please let me know. Requirements 1) You will have to buy the Pilot Academy module developed by php-mods (if you have not bough it yet). 2) You will have to be an Authorized Training Organization on VATSIM Network. 3) You will have to get access to the PTD System.
  16. I would like to let you know that we can offer an aircraft buying option. This option cannot be released with the module as we will have to edit some of the default phpvms files. You can let me know via pm if you are interested in it. (There is a small extra cost for this option.)
  17. Ok, i have found out what you have to do. Open your SchedulesData.class.php file and find this: $sql = 'SELECT s.*, a.id as aircraftid, a.name as aircraft, a.registration, a.minrank as aircraft_minrank, a.ranklevel as aircraftlevel, dep.name as depname, dep.lat AS deplat, dep.lng AS deplng, arr.name as arrname, arr.lat AS arrlat, arr.lng AS arrlng FROM '.TABLE_PREFIX.'schedules AS s LEFT JOIN '.TABLE_PREFIX.'airports AS dep ON dep.icao = s.depicao LEFT JOIN '.TABLE_PREFIX.'airports AS arr ON arr.icao = s.arricao LEFT JOIN '.TABLE_PREFIX.'aircraft AS a ON a.id = s.aircraft '; Replace the above part of code with this one: $sql = 'SELECT s.*, a.id as aircraftid, a.name as aircraft, a.icao as aircrafticao, a.registration, a.minrank as aircraft_minrank, a.ranklevel as aircraftlevel, dep.name as depname, dep.lat AS deplat, dep.lng AS deplng, arr.name as arrname, arr.lat AS arrlat, arr.lng AS arrlng FROM '.TABLE_PREFIX.'schedules AS s LEFT JOIN '.TABLE_PREFIX.'airports AS dep ON dep.icao = s.depicao LEFT JOIN '.TABLE_PREFIX.'airports AS arr ON arr.icao = s.arricao LEFT JOIN '.TABLE_PREFIX.'aircraft AS a ON a.id = s.aircraft '; After that you can use the following part of code in order to "call" the aircraft icao code: <?php echo $schedule->aircrafticao; ?>
  18. Doesn't this work? <?php echo $schedule->aircraft; ?>
  19. Sorry but if you do not know some of the basic functions of your website, i think that you should get in touch with someone who know more about it... http://lmgtfy.com/?q=what+is+phpmyadmin
  20. Open your phpmyadmin->go to your database and run this file in order to install these tables.
  21. This means that you have not installed all the required database tables. Did you run the sql_install.sql file using your phpmyadmin?
  22. What errors do you get?
  23. Yes, if you put 1 it will be shown first, if you put 2 it will be shown second etc etc...
  24. servetas

    IPS

    There is not any forum. He offers installation and design services for IPS. More information about the prices can be found here.
×
×
  • Create New...