Jump to content

Vangelis

Members
  • Posts

    1076
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by Vangelis

  1. http://forum.phpvms.net/topic/22398-sub-airlines-on-registration-form/
  2. You need a custom ACARS
  3. Download the module from here and upload it to your server http://www.fs-products.net/index.php/kacars-free/downloads-2
  4. I just saw your file and i have no idea why you get this error and it has nothing to do with the module
  5. The landing rate should be a negative number in your case -500 and can you please attach a copy of PIREPData.class.php ?
  6. Please attach a screenshot of the admin page and a link of a pirep
  7. the file you attached is correct how did you installed it ?
  8. Try to upload again the admin folder it seems something got corupted
  9. Hello for some reason i did not get your mail please resend it to info(a)baggelis.com or feel free to contact me throught skype @ sv5frv1 Thanks
  10. Even the default ? Link of your site please
  11. Are you willing to pay ? If yes you are in the wrong forum location you should open a post in payed services If not you could post here where you need help and maybe somebody will help you
  12. To big file try to split it
  13. What API key ? there is no API key and please read the instructions they are very detailed for the admin panel
  14. No idea what you mean with But do you get an slq error and if yes what is the error description ?
  15. With that code you can Open PIREPS.php in core/modules/PIREPS paste this code in it public function publicroutesmap($pilotID,$limit='') { $this->title = 'Flight Map of'.$pilotID; $pireps = PIREPData::findPIREPS(array('p.pilotid' => $pilotID),$limit); if(!$pireps) { $this->set('message', 'There are no PIREPs for this pilot!!'); $this->render('core_error.tpl'); return; } $this->set('allschedules', $pireps); $this->show('flown_routes_map.tpl'); } now in pilot_public_profile.tpl and in profile_main.tpl paste this where ever you want the map to be shown <?php PIREPS::publicroutesmap($userinfo->pilotid,NumberOfFlightsyouwant)?>
  16. Ignore my latest post it was quite fast to do it Open PIREPS.php in core/modules/PIREPS paste this code in it public function publicroutesmap($pilotID) { $this->title = 'Flight Map of'.$pilotID; $pireps = PIREPData::findPIREPS(array('p.pilotid' => $pilotID)); if(!$pireps) { $this->set('message', 'There are no PIREPs for this pilot!!'); $this->render('core_error.tpl'); return; } $this->set('allschedules', $pireps); $this->show('flown_routes_map.tpl'); } now in pilot_public_profile.tpl and in profile_main.tpl paste this where ever you want the map to be shown <?php PIREPS::publicroutesmap($userinfo->pilotid) ?> And you should have this result like on my test page www.http://www.baggelis.com/phpvms/index.php/profile/view/2
  17. Now i understand thx flynryan692 At the moment there is no easy way you can do it except if you write a function to do it
  18. The logical operator for not is just ! Try if($pirep_details->landingrate > -80 AND $pirep_details->aircraft ! 5)
  19. To be honest i do not quite understand your request as mine setup shows last flight already on google maps do yo have a link of the page or a screenshot of your browser ?
  20. a link would help and a test account to see how it is setup'd
  21. in core/templates/registration_mainform.tpl around line 31 is this pice of code <dt>Select Airline: *</dt> <dd> <select name="code" id="code"> <?php foreach($allairlines as $airline) { echo '<option value="'.$airline->code.'">'.$airline->code.' - '.$airline->name.'</option>'; } ?> </select> </dd> you can alter it to <dd> <input type="hidden" name="code" value="InsertYour3letterVaCOde" /> </dd> By this the input box will be hidden and the value will be always the same
  22. What is your php version you might need to switch to an older version
  23. Do you want to send me the tpl file so I can run it with dummy data ?
×
×
  • Create New...