Jump to content

servetas

Moderators
  • Posts

    1726
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by servetas

  1. 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
  2. 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).
  3. Where did you find these templates?
  4. Probably you must have forgotten something...
  5. 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.
  6. No, it is not possible, you can just restrict their access using a permission which already exists...
  7. 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...
  8. 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.
  9. 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.)
  10. 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; ?>
  11. Doesn't this work? <?php echo $schedule->aircraft; ?>
  12. 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
  13. Open your phpmyadmin->go to your database and run this file in order to install these tables.
  14. This means that you have not installed all the required database tables. Did you run the sql_install.sql file using your phpmyadmin?
  15. What errors do you get?
  16. Yes, if you put 1 it will be shown first, if you put 2 it will be shown second etc etc...
  17. servetas

    IPS

    There is not any forum. He offers installation and design services for IPS. More information about the prices can be found here.
  18. Yes, you do put numbers.
  19. I think that it is not so easy because you will have to edit the default phpvms database (the bids table)...
  20. Why don't you try to find a free solution for your website's template? There are a lot of in this forum and you can do minor changes on them...
  21. Unfortunately this can't be done with the current default functions. If you want to do something like this, you will have to edit some of the default phpvms functions and files. I have already though of it during the past.
  22. servetas

    routes

    Practically no but it has been discussed several times in the forum.
  23. servetas

    Need Help

    You will have to remmove any changes you have made on tha file. Also, please use more usefull titles on your threads...
  24. Why do you want to split the departing and arriving hours in hours and minutes?
×
×
  • Create New...