Jump to content

web541

Members
  • Posts

    700
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by web541

  1. 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?
  2. 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?
  3. Try this <?php echo count(OperationsData::getAllAirports()); ?>
  4. Try this one for 5.5.x Timetable_1.0.zip
  5. Did you install it with the plugin manager, or did you install it manually? If you installed it manually, try re-uploading the files
  6. 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)
  7. 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)
  8. 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.
  9. Can you please explain a bit more on what you would like to do? I don't use kacars very often.
  10. 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
  11. 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.
  12. 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
  13. try this http://forum.phpvms.net/topic/8990-solved-registration-required-field/#entry59835 ?
  14. 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>
  15. @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.
  16. I have made a TPL version of this skin for whoever wants it. No guarantees that it will work for you (as this was originally made for 5.5.x), but it does include some changes in order to work with older versions of phpvms (e.g. registration page) Ocean_Blue_TPL.zip
  17. Try this <?php if(Auth::LoggedIn()) { if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { echo '<li><a href="'.fileurl('/admin').'">Admin Center</a></li>'; } ?>
  18. Go into your admin/action.php and find this line error_reporting(E_ALL ^ E_NOTICE); and replace it with this ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);
  19. http://forum.phpvms.net/topic/7436-solvedacars-live-map-not-refreshing/#entry49386
  20. I believe what you are talking about it this <?php MainController::Run('Events', 'index'); ?> For the front page and have a look at this for your admin permissions as they are not directly editable http://forum.phpvms.net/topic/21078-restrict-access-to-add-on-manager-pilot-groups/
  21. Have a look at this http://forum.phpvms.net/topic/21225-how-to-have-two-language-on-a-phpvms-website/
  22. You can check this http://forum.phpvms.net/topic/20629-most-common-fixes-phpvms-installation/ But also check your php version, by the looks of things you probably need this https://github.com/DavidJClark/phpvms_5.5.x
  23. Simple mistake. If you need any more assistance, let us know
  24. Did you upload them to your public_html folder? What are the permissions set to? (right click on the files). Is your domain purchased through fivedev or another hosting or provider?
×
×
  • Create New...