Jump to content

Parkho

Moderators
  • Posts

    1375
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Parkho

  1. Parkho

    AcarsMap

    The only thing I can think of is for you to replace the original ACARS map file with the one you have on your site
  2. If you want to export schedules and re import them and have access to the data base, go directly to PHPmyadmin and do that from there as import /export in phpvms sometimes doesn't work correctly. Also, make sure to export the tables in MS Excel compatible with your MS Excel version before modifying anything.
  3. I'm using FSPAX as my PIREP system but not KACARS at the same time. There is no connections between the to software and fspax picks the aircraft that was bought in company manager and used in FS, so I guess you're gonna have to choose between the two or just take it as is. Secondly, I have modified the pirep table is DB in a way that FSAPAX acn send the data to it and the created an html table sort the data out. I can help you get that up and running if you want. Here is a picture:
  4. Parkho

    AcarsMap

    Then I guess you either have to change them back to what they were or rename them exactly as the default images.
  5. Parkho

    AcarsMap

    Did you by any chance change the images of the aircraft on the map? Cause those aircraft images are not the default ones.!
  6. FSPassengers data, and distance.And it's pretty accurate as I flew based on it
  7. This id a little module you could use to calculate fuel for your trip base on distance you're flying. Try it out and let me know if there is any problems. Install: 1- Download the zip file 2- Unzip and place the files in the order. (You need to make the folders in the specified roots exactly the same name or it won't work) 3- Create link to the module like this <!--?php echo url('FuelCalculator) ;?--> 4- Enjoy Pix: Download at Github: Github.com/parkho >>>>>>>>>>MODIFIED<<<<<<<<<<<<<
  8. Okay! I use FSPAX as my PIREP system, so I added those to my pirep db considering FSPAX sends those values to the DB. Now since the pireps doesn't have the dep and arr time, I sugget you use $schedule->deptime and $schedule->arrtime for those values. Thanks for using my add-on cheers
  9. Here is mine if you wanna use it. http://forum.phpvms.net/topic/6633-flight-board/
  10. Thanks I didn't design the livery though it's one of my staff's. Appreciate the compliment
  11. Hi there! Here is a core navigation I designed for my site. Install: 1- Place the images in your site 2- Change the URL of the images. 3- Place core_navigation.tpl in your skin folder but don't forget to make a back up. 4. Enjoy Download here: CoreImage
  12. Try to transfer anywhere for the system to recognize your first location then you're good to go
  13. Okay! These are the images and the .swf. Cheers FlightBoard.zip
  14. Hi Jeff Sure! I can arrange for that but I don't know how I can move this to Releases!
  15. Hi It's always "On Time" since it's only an image. If you want status change, the you might wanna use live map instead.
  16. This is a table where you can show your visitors the flight board with arrivals and departures. Installation: 1- Unzip file. 2- Upload the files into your skin folder. Note: DO NOT REPLACE IF YOU ALREADY HAVE A FILE WITH THE SAME NAME. Instead you can copy and paste the contents in the files you already have. 3-enjoy Here are some pix: FlightBoard.zip
  17. Hi I was wondering if there is a module or a gauge that can connect the simulator directly to the live map without any ACARS software. The reason I want this is that we only use FSPAX as our PIREP system and that doesn't support the live map, Thanks
  18. Hi Any idea where the problem is? I appreciate it
  19. Hi As I mentioned in the first post, I wanted the "addbid" function to insert the aircraft into the bids table, so I added one column to the bids table and changed the code to insert the aircraft and that was successful as I checked the DB and the table was updated and the A/C was inserted. Then this problem came up that the "add to bid" link didn't change to "bid added" as it was supposed to, so I did check the code to see if it actually gave the Flase value in return but that didn't happen either meaning the function didn't return True value nor did return False value. All of these changes are for that i want to block the A/C with a unique id once the bid is placed, so that anyone else can't place the bid with that A/C.
  20. Hi there Okay. Here is what I have changed in schedules.tpl and schedulesdata.class.tpl: public function addbid() { if(!Auth::LoggedIn()) return; $routeid = $this->get->id; $aircraft = $this->get->aircraft; <<<added this if($routeid == '') { echo 'No route passed'; return; } // See if this is a valid route $route = SchedulesData::findSchedules(array('s.id' => $routeid)); if(!is_array($route) && !isset($route[0])) { echo 'Invalid Route'; return; } CodonEvent::Dispatch('bid_preadd', 'Schedules', $routeid, $aircraft<<<added this); /* Block any other bids if they've already made a bid */ if(Config::Get('DISABLE_BIDS_ON_BID') == true) { $bids = SchedulesData::getBids(Auth::$userinfo->pilotid); # They've got somethin goin on if(count($bids) > 0) { echo 'bid exist'; return; } } $ret = SchedulesData::AddBid(Auth::$userinfo->pilotid, $routeid, $aircraft); CodonEvent::Dispatch('bid_added', 'Schedules', $routeid, $aircraft<<<<added this); if($ret == true) { echo 'Bid Added'; } else { echo 'Already in bids'; } } and: public static function addBid($pilotid, $routeid, $aircraft <<<<<<added this) { $pilotid = DB::escape($pilotid); $routeid = DB::escape($routeid); $aircraft = DB::escape($aircraft); if(DB::get_row('SELECT bidid, aircraft<<<<<added this FROM '.TABLE_PREFIX.'bids WHERE pilotid='.$pilotid.' AND routeid='.$routeid.' AND aircraft='.$aircraft)) { return false; } $pilotid = DB::escape($pilotid); $routeid = DB::escape($routeid); $aircraft = DB::escape($aircraft); $sql = 'INSERT INTO '.TABLE_PREFIX.'bids (pilotid, routeid, dateadded, aircraft<<<<<added this) VALUES ('.$pilotid.', '.$routeid.', NOW(), '.$aircraft.'<<<<<<added this)'; DB::query($sql); self::setBidOnSchedule($routeid, DB::$insert_id); if(DB::errno() != 0) return false; return true; } Also in schedulesresults.tpl: <td align="center"><a id="<?php echo $schedule->id.'added this>>>>>>&aircraft='.$schedule->aircraft; ?>" class="addbid" href="<?php echo url('/schedules/addbid');?>">add bid</a></td>
  21. I changed the code of schedulesdata.class and schedules tpl in order to insert the aircraft into the bids. There is one part in the function that has to be returned true in order for the link to change but I'm not getting any false value either!
  22. Thanks for the reply! IE and Fox are the same.
  23. Hello All A while ago I posted a topic regarding a way to insert the A/C into the bids table and I figured out that part and was able to insert that value into the table. Now a new problem is come up and that's when I hit the "Add to bid" link it's supposed to change to "Bid Added" but it doesn't and when I look at the DB the bid was actually added with no problem. Some people were helping me out but they suddenly stopped responding and left me in the dark and I believe that has something to do with the browser but still can't figure out where the problem is. Please help with this issue I really appreciate it. Thanks
  24. Hi here is my email : pkhorraminejad@gmail.com and explain what will you be needing. thanks
×
×
  • Create New...