Jump to content

tgycgijoes

Members
  • Posts

    70
  • Joined

  • Last visited

Everything posted by tgycgijoes

  1. I was able to find their email last night by google sent them a note and they have fixed it. Check it out again. They said that Safari internet server was the culprit but that is now fixed too.
  2. Every time the last two days I tried to look at the va-list, it comes up for a few seconds and goes to a page to buy an ad on their site. Anybody else go there and experience this? There is no way I know of to let them know since you can't get on their site.
  3. In the schedules.csv template, the last column is labeled "enabled" if you enter 1 in this column the flight is active, 0 and its inactive. I hope you do not have too many flights to edit manually in Excel but you can export your complete flight schedule to MS Excel, edit the last column and you can even enter spring or fall in the comments section as a reminder. If you are familiar with Excel, sort the csv file in Excel based on the comments column. It would be grouped by "spring" and "fall" then you can make one entry in the first line, copy and paste for the rest. Hey guys, this isn't php or html I know how to DO this!!! Hope this helps you. If you do not understand MS Excel, I am willing to help you. Let me know if you need help.
  4. If the above pdf from twelka3 is what you are looking for, here is a program link to convert pdf to excel spreadsheet. Haven't used it but I remembered seeing it when I was looking to do that for a different project on a webpage I manage. Hope it works for you. http://www.investintech.com/excel/?gclid=CPCWhqDu8K8CFQda7Aods3Gcaw
  5. Don't tell me why but I had to change the Title color in the "crystal" style.css to the proper color for the added on page and its works even though I am using a copied "crystal" as requested and renamed it. I find some quirks and try to share here for others to find like I have with a lot of things in the forum.
  6. I searched the forum first and did not find any reference on how to change this. I customized the colors of all the page titles in php/vms successfully but I just added a new page from the Admin Panel and the title is orange like the original titles. How do I change this to the blue of the other titles. I tried searching directories. It has been added into the core pages but all that is in there is the text I entered. I can change the color of that text but not the title on the page when it is clicked on the navigation bar on the website. Thank you.
  7. Tom, this is fantastic!! I have just finished entering 21 different airports with the exact gates for each one entered so that the boarding pass can select the "real" gates at each airport. If it works for 21 I am sure it will work for any amount.\ of airports if you are interested in programming them. Thanks to both you and Nabeel. Nabeel for the original mod and you for the finessing of it.
  8. Tom, thanks for the help and right away. This fixed the problem of display and took away the error, but the proper gates are not displaying on the boarding pass. Instead I get random series of numbers like: 13E4DA3B for PHOG or 3167909 for PHMK ??? When I used my way above on another website, I could only use it for 4 airports when I tried to use it for 18 and asked for gate number help, someone told me that was probably how Nabeel programmed the original though he gave us the mod in another topic but for just 2 airports for someone else. Thoughts? I did notice that the first two numbers in this series IS the gate so I programmed a space after the gate number until we figure out what the other six numbers/letters come from. They are NOT in the other website with the original code but they only work for four airports and then go "squirrely". I am going to go back and try your mod of else...else and see if I can get ALL 18 of my airports programmed to select the real gates. Richard
  9. this is my modified schedule boarding pass. tpl It seems I have learned JUST enough php to screw it up. Can someone fluent in php please tell me why "I have an unscheduled end in line 111 the last line of this code. I have gone over it over and over and can't see an error but it worked till I changed one of the if icao gate schedules because I was not getting the proper selected gates just weird three digit random numbers. It DID work properly and then I added two airports, there were too many and now it doesn't work. Thank you. <?php # This will only show this message if it's not a popup window # Ends on line 13-15 if(!isset($_GET['newwindow'])) { ?> <h3>Requirements for Online Checkin</h3> <p>To proceed through Security Checkpoint, you will need a government-issued photo ID and either a Boarding Pass or Security Document. Customers under 18 years of age are not required to show government-issued photo ID.</p> <p><a href="#" onclick="window.open('<?php echo actionurl('/schedules/boardingpass/'.$schedule->id.'?newwindow');?>'); return false;">Open in new window for printing</a></p> <?php } ?> <style> /* Some integrated styles here, for the popup */ .boardingpass { font-family: Tahoma, Verdana; font-size: 14px; } .boardingpass h3 { background: none; padding-left: 3px; padding-bottom: 2px; } .boardingpass .thickline { background: #333; height: 2px; } </style> <table width="90%" class="boardingpass"> <tr> <td width="1%"><img src="<?php echo SITE_URL?>/lib/images/barcode.png" /></td> <td align="left"><h3><?php echo SITE_NAME;?></h3></td> </tr> <tr> <td colspan="2"><h3>Boarding Pass</h3></td> </tr> <tr class="thickline"> <td colspan="2"></td> </tr> <tr> <td valign="top"> <table class="boardingpass"> <tr> <td> <strong>Date:</strong> <br /> <strong>Name: </strong> <br /> <strong>Frequent Flier Number: </strong> <br /> <strong>Boarding Pass Number:</strong> </td> <td> <?php echo date('Y-m-d'); ?><br /> <?php echo Auth::$userinfo->firstname.' '.Auth::$userinfo->lastname?><br /> <?php echo Auth::$userinfo->code.strtoupper(substr(md5(Auth::$userinfo->pilotid), 0, 6))?><br /> <?php echo $schedule->bidid; ?><br /> </td> </tr> </td> <td valign="top"> <strong>Gate:</strong> <?php # We are gonna get a random gate if($schedule->depicao == 'PHOG'){ echo chr(rand(45, 45)); // No gate letter just a dash echo rand(9, 16); // Random gate letter between 9 and 16 }elseif($schedule->depicao == 'PHNY'){ echo chr(rand(45, 45)); // No gate letter echo rand(1, 4); // Random gate letter between 1 to 4} if($schedule->depicao == 'PHNL'){ echo chr(rand(45, 45)); // No gate letter echo rand(71, 80); // Random gate letter between 71 and 80 }elseif($schedule->depicao == 'PHKO') {echo chr(rand(45, 45)); // No gate letter echo rand(6, 10); // Random gate letter between 6 to 10} if($schedule->depicao == 'PHJH') echo chr(rand(45, 45)); // No gate letter echo rand(1, 3); // Random gate letter between 1 to 3 }elseif($schedule->depicao == 'PHMK'){ echo chr(rand(45, 45)); // No gate letter echo rand(1, 3); // Random gate letter between 1 to 3} ?> <?php # Generate a hash from the bid id, and get the first 6 characters # That'll be used for our confirmation number, and upper-case them echo strtoupper(substr(md5($schedule->bidid), 0, 6)); ?> </td> <tr class="thickline"> <td colspan="2"></td> </tr> <tr> <td valign="top"> <strong>Flight: </strong><?php echo $schedule->code.$schedule->flightnum?><br /> <strong>Depart: </strong><?php echo $schedule->deptime; ?><br /> <strong>Arrive: </strong><?php echo $schedule->arrtime;?><br /> </td> <td valign="top"> <strong>Aircraft: </strong><?php echo $schedule->aircraft?> <br /> <?php echo "$schedule->depname ($schedule->depicao)";?><br /> <?php echo "$schedule->arrname ($schedule->arricao)"; ?><br /> </td> </tr> </table>
  10. Thank you for the jquery drop down site. WOW!!!
  11. Last question, how do I make topics SOLVED?
  12. I have Firefox and thank you so very much for the quick reply. I am printing out your answer so that I have it and not forget.
  13. I am either have a very long senior moment or what.... I had to reload my webpage due to it crashing for some moment. I use the crystal skin modifying it. I want to change those horrible orange titles which I did before and can't find how been replacing hex color after hex color no change. Somebody please tell me what line to change in the style.css in my skin. Thanks very much.
  14. I keep talking to myself LOL!!! This morning everytime that I tried to go to my phpvms website I got this notice of Site down for maintenance which I did not do. I don't know if I got hacked, it just crashed or what but I copied the appropriate files and then reinstalled phpvms from the start. It's up I am happy and the bids work so all's well that ends well. Topic solved.
  15. Had a thought so I printed out the schdeule_bids.tpl and the Schedules.php for my working site and the new site and they are 100% identical. Any thoughts otherwise what is missing or happening? I CAN post a PIREP manually and that works. I also checked in the databases. The Bid Db is there but there is nothing in it. I even ran the install update and sql update from the "renamed-install" directory which ran but no help.
  16. On a new website I am working on with phpvms, everything works fine except "add to bid" does not add a bid in the flight schedule. You can select available flights and click the add to bid and it disappears and does not say "bid added" as it should. Then when you click to display bids it says "you have not bid on any flights" I have also both the bid determiners on local config false. Any thoughts please? I have tried with my little knowledge I am learning here all I can think of. Even compared the templates from a working site to this one and there is no dif's I can see.
  17. I'll take a look at it. Downloading the AVSIM file and Flbye livery pics now. I'll post for ya later if I think I can do it justice or not.
  18. I have a lot fewer routes. Maybe someone can write code for you to do this. Sorry I don't know how to write the code for you.
  19. Our pilots can either begin the next flight from where they landed or they can request a jumpseat ticket to the airport from which they want to depart from next. They have to wait for Admin approval of jumpseat/open seats since there are no virtual gate agents in MSFS or phpvms to determine the availability.
  20. You can edit flight in your admin panel/airline ops/ flight schedules and type it in which is what I do. is that what you were asking? Copy and paste even. I use Golden Eagle a lot in the US and that works by copying the route from the flightplan in reports and pasting the route into the flight flight schedule and edit.
  21. I am having the identical problem as I am sure are all the out of the US pilots since airnav does not provide european or Asian charts. I saw a post from 2009 that Nabeel said he would fix this in the next update. Help please for all the international va's.
  22. Thank you, I figured it was something like that which is why I asked Nabeel who wrote it to take a look. I think that more people might like to use this like I am to get their aircraft to load at the actual terminals with the proper gates for all their flights (unless you have 300 flights or something).
  23. I am on a small fixed income and there is no paid hosting in my monthly budget. After rent, food, gas ($4.00 gal) insurance etc. there is nothing left. I live 40 miles from town and make one trip a week for groceries and gas in the 13 year old car and two trips a week to go to Church. I am serious about my va but free hosting is all I can afford. I am partially disabled not enough for govt aid. This is my hobby and enjoyment. I am grateful for free hosting or I could NOT have a va of my own. That is why for the last six years I have been a pilot in other va's. I am putting a lot of time in my va tweaking it, repainting aircraft to share with my pilots etc. which is all I have to put into it.
  24. Nabeel, could you please take a look at my post above and let me know if this is able to support multiple gate selections like 18 of them or am I overextending this. thank you
×
×
  • Create New...