Jump to content

web541

Members
  • Posts

    700
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by web541

  1. Try changing the file endings from .tpl to .php Or you can try this https://github.com/web541/Advanced_Fleet-master Advanced_Fleet-master.zip
  2. https://github.com/DavidJClark/phpVMS-TopPilot
  3. try commenting out this part $this->set('allroutes', $schedules); to this # $this->set('allroutes', $schedules); and keep $schedules = SchedulesData::getSchedules();
  4. https://github.com/DavidJClark/phpvms_5.5.x
  5. Are you using the default schedules module (http://yoursite.com/index.php/schedules/view) or a different one? I have achieved dataTables pagination here , but I got most of the code somewhere on the forums (such as here)
  6. have you tried this? http://forum.phpvms.net/topic/7431-no-route-passed-solved/#entry49472
  7. Agreed, but if you want a temporary solution, http://forum.phpvms.net/topic/20629-most-common-fixes-phpvms-installation/
  8. Try installing it using this https://github.com/DavidJClark/phpvms_5.5.x
  9. Do you have the form like this? <form id="sbapiform"> <table> <tr> <?php $planedata=(OperationsData::getAircraftByReg($schedule->registration)) ;?> <td><input type="hidden" name="type" size="5" type="text" placeholder="ZZZZ" value="<?php echo $planedata->icao ;?>"></td> </td> <tr> <tr> <td><input type="hidden" name="orig" size="5" type="text" placeholder="ZZZZ" maxlength="4" value="<?php echo $schedule->depicao ; ?>"></td> <tr> <tr> <td><input type="hidden" name="dest" size="5" type="text" placeholder="ZZZZ" maxlength="4" value="<?php echo $schedule->arricao ; ?>"></td> <tr> <tr> <td><input type="hidden" name="route" placeholder="Enter your route here"></td> </tr> <tr> <td colspan=2></td> </tr> <tr> <td><input type="hidden" name="units" size="5" type="text" placeholder="ZZZZ" maxlength="4" value="KGS"></td> </tr> <tr> </table> <br><br> <input type="hidden" name="airline" value="<?php echo $schedule->code?>"> <br> <input type="hidden" name="fltnum" value="<?php echo $schedule->flightnum?>"> <?php $today = date("dMy");?> <input type="hidden" name="date" value="<?php echo $today?>"> <?php $deptimes = explode(":", $schedule->deptime); ?> <input type="hidden" name="deph" value="<?php echo $deptimes[0]?>"> <input type="hidden" name="depm" value="<?php echo $deptimes[1]?>"> <?php $arrtimes = explode(":", $schedule->arrtime); ?> <input type="hidden" name="steh" value="<?php echo $arrtimes[0]?>"> <input type="hidden" name="stem" value="<?php echo $arrtimes[1]?>"> <input type="hidden" name="reg" value="<?php echo $schedule->registration?>"> <input type="hidden" name="navlog" value="1"> <input type="hidden" name="selcal" value="GR-FS"> <input type="hidden" name="planformat" value="lido"> <input type="button" onclick="simbriefsubmit('http://www.YourWebSite.com/index.php/SimBrief');" style="font-size:30px" value="Generate Simbrief"> </form> Where http://www.YourWebSite.com/index.php/SimBrief is your site url? Is there a schedule_briefing.php in your skin folder overriding the core/templates one?
  10. Is your API key on Simbrief's side linked to your site? Did you edit your API key in core/modules/Simbrief/simbrief.apiv1.php In your schedule_briefing.tpl/.php is your site url still the old one?
  11. Try this <?php echo count(OperationsData::getAllAirports()); ?>
  12. Try this one for 5.5.x Timetable_1.0.zip
  13. Did you install it with the plugin manager, or did you install it manually? If you installed it manually, try re-uploading the files
  14. No No, From memory, you should have a <div class="span9"> section, in that div put the code above Now after you have put that code there, there should be no other code in the file (meaning at the bottom of the header.tpl)
  15. Ok, I'm going to guess that you are using a custom version of kacars which I'm also guessing (maybe) that it has another module which makes the bid from kacars go to the website. (I've never owned it) The kacars free function only uses the default schedule bid function in phpvms, so I would like to know which one kacars custom has. If you book a flight through my booking system, does the bid go through? The no route passed error is a javascript/jquery error which is to do with your skin I believe. Do a search on here to find a solution unless you would like to use my booking system (if it actually works)
  16. Hey jnascar, The trick is to put these in the <div class="span9"> section <div id="mainContent"> <div id="results"></div> <div id="bodytext"> And then make sure this code is the last thing on the header.tpl as it continues on into the footer.tpl to end those </div> tags.
  17. Can you please explain a bit more on what you would like to do? I don't use kacars very often.
  18. No, create 4 aircraft with these as the registration A320MDN A330MDN A350MDN B738MDN and for all of them, go in and make sure that the "airline" dropdown is MDN airlines
  19. Does the schedule you are trying to book for have the aircraft of ICAOAIRLINE ? For instance If you have a B737-800 and it is an american airlines aircraft, then create one aircraft through your admin panel called B738AAL and select the airline of AAL- American Airlines, then in your excel spreadsheet set the "aircraft column" to B738AAL or select the aircraft through the admin panel when you add/edit the schedule. Once this is done, the schedule will automatically retrieve all the other B737-800 aircraft with the airline of AAL provided that they have also been given the airline of AAL.
  20. If you have any references to things like jQuery, they should look like this <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> and change them to look like this <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> Which might (or not) solve a few errors
  21. try this http://forum.phpvms.net/topic/8990-solved-registration-required-field/#entry59835 ?
  22. Either do that ^^ or paste here the contents of your schedule_results.tpl/.php file You might have this line copied wrong <a id="<?php echo $route->id; ?>" class="addbid" href="<?php echo actionurl('/schedules/addbid');?>">Add to Bid</a>
  23. @erico that's interesting, I've never had that error @manu093 you're welcome to try this http://forum.phpvms.net/topic/22886-ocean-blue-v2/page__st__60#entry123052 but it is not official skin so I cannot guarantee it will work with your system.
×
×
  • Create New...