Jump to content

simpilot

Administrators
  • Posts

    2773
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by simpilot

  1. I built a seperate status badge from the native phpVMS pilots badge. It is updated every 10 minutes by a cron job running on the server. It gets the online/offline, route, flight status, etc, from the acars data table on the site so it doesnt matter where they are flying, vatsim, ivao, offline. As long as they are connected to the acars client and the site their pilot status badge is updated. If they are not connected to the site via cars it takes the last flight data from their last pirep and displays some basic info, last flight number, date last seen, etc. There is a page with all of the active pilot's status badges here -> http://www.virtualaca.net/index.php/status And they are also located in each pilots profile like here -> http://www.virtualaca.net/index.php/profile/view/1 I have been debating with myself about releasing this in some way.....
  2. Try changing your sql syntax to: $sql = "SELECT * FROM ".TABLE_PREFIX."pilots ORDER BY totalpay LIMIT $count"; and also change your variable in your echo echo "Die PilotenID lautet: " . $row->pilotid . "<br>"; the assignment of; $this->set('pilotid', $row->pilotid); will only make the variable available in the template, and also only hold the last peice of data assigned to it through the foreach loop. You would want to assign the complete array to the variable and then break it down in your template. $this->set('pilotid', $res);
  3. Looks like a corrupted file on upload but this module has been exteneded by Tom, he has added a lot of new features that make it both more secure and more user friendly. the thread is here -> http://forum.phpvms.net/topic/3748-vaforum-2/
  4. The structure is there but is there any data in the table after you buy a jumpseat?
  5. It still seems like the database is not storing the information, the pay table is a native part of phpvms so it does not have any bearing on the issue at hand. There is a table included with the module download to create a pilots location table in your database. - Have you loaded it into the database that phpvms is using? - Have you checked it is actually there? - Are you using a different database table prefix than the standard phpvms_ ? - If all this is correct, have you checked to see if there is anyinfo stored in the table after purchasing a jumpseat ticket?
  6. Searching reveals these among many others -> http://forum.phpvms.net/topic/3358-gcmap-great-circle-mapper/ http://forum.phpvms.net/topic/4214-pilot-profile-great-circle-mapper/
  7. Looks like your module class name is Flipcharts.php and then you try to declare the class as MosuleTest within the file. The folder name filename and class name all have to be the same and can only be used one time within the application.so; folder name - > Flipcharts filename - > Flipcharts.php file - > <?php class Flipcharts extends CodonModule { public function index() { echo 'Flipcharts index'; } }
  8. Try the fix I have already posted in your other post about this issue......
  9. Did you use the sql file included to add the necesarry table to your phpvms database? It sounds like the table is not there to me.
  10. Look for the image string in the template files, there is a style function added to it style="max-width: 800px;" and change it to how wide you need it to be.
  11. When an image is rejected from the approval screen it is marked as rejected in the database but it remains in the folder. You can manually delete it if you would like. All the screenshots are saved in the root/pics folder.
  12. The error is telling you where the problem lies. You do not have the files in the correct path. They need to be placed in your install just as they are structured in the download. It is looking for the template file in the root/core/templates/realschedulelite folder and it is not there.
  13. here -> http://forum.phpvms.net/topic/3041-auto-accept-pireps/
  14. Make sure you have the module file placed correctly -> core/modules/charts/charts.php Class names in php are also very important. Make sure that the folder, file name and class name are all exactly the same, including capitalzation. core/modules/Charts/charts.php with the class name Charts will not work in most cases core/modules/Charts/Charts.php with class name as Charts is the accepted way to build classes within codon.
  15. I believe your issue has already been addressed here -> http://forum.phpvms.net/topic/2791-realschedulelite-beta-10/page__view__findpost__p__18402
  16. Without the files i have no idea. The other thing you could do that would probably fix it is go into phpMyAdmin and go under the operations tab for the pilots table. Use the alter table order by: function and set it to pilotid ascending.
  17. You must have a mis-spell somewhere or something, I have it set up the same axcat way and it is working. Double check the additional config lines and make sure it is not in your file twice and overriding itself.
  18. Import it into your database using phpMyAdmin or a similar gui for mySql.
  19. I just tried it on my test install and it works just as intended. Have you tried clearing the cache?
  20. You are changing the pilots id manually in the database?
  21. I think this thread has gotten combined together with a thread looking for a board that shows live flights, which would come from the acars data table. This was originally a request to have a table that would display upcoming arrivals and departures fromt he schedules database.
  22. As long as the config file had ranks_autocalculate set to true it will automatically update their rank when approving a PIREP from the pilot if needed. If you are manually adding hours in the admin panle and need the rank to update you can go to - Pilots & Groups - Pilot Ranks - then use the recalculate link at the top left in the sidebar, or go in the pilot's profile and manually change the rank.
  23. The module does not support this, it is clearly spelled out in instructions and in many posts within the real schedule thread. One aircraft can only have one looping schedule. example: A -> B -> C -> D-> A It can not have multiple routes from the same airfield. There are also posts on how to intergrate the native phpvms code to disable bids on routes already bid on.
  24. It is how the data is coming back from the database. You have probably deleted a pilot along the way and the datbase has repopulated that field with another line of data which puts it out of line. You can set how you want your pilots sorted in the local.config.php file. /* For PILOTS_ORDER_BY use p.[column_name] [ASC/DESC] */ Config::Set('PILOTS_ORDER_BY', 'p.pilotid DESC');
  25. Try: <?php MainController::Run('RouteMap', 'index'); ?> Ths should bring the route map up in the template you place it in.
×
×
  • Create New...