Jump to content

Nabeel

Administrators
  • Posts

    8147
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. This topic has been moved to Support Forum. [iurl]http://forum.phpvms.net/index.php?topic=1553.0[/iurl]
  2. Nabeel

    question

    I didn't... reupload the core/common folder, maybe you have an old version?
  3. Yup, xacars doesn't report a flight phase. I don't have any reliable way of 'guessing' the phase either so it's just labelled as "Enroute"
  4. They get better and better, Ray My holiday was good, wished it was longer though, but hey, that goes without saying. And 10 months? Sheesh.
  5. Nabeel

    question

    That's weird you're getting that error, that code's been ripped out from the API side. You're still getting it? That's a error from vaCentral, if I was missing information about an airport, I would send the list after someone has sent their schedules, seeing if any of those airports are there, and if they are, send the information back to vaCentral to fill in the missing data.
  6. Nabeel

    Page editor

    If you can help me find a solution, the editor is "ckeditor", it might be a setting or something
  7. If you design it that way, sure, you can have the credentials sent to your module and return whether they are a valid user/password or not
  8. Never connect straight to the database, most of the time you won't be able to. You'd have to write a php script, which your program will ahve to send commands to. Then in that script, you can access the API. In fact, the easier would be to write a module, and have you script call it: index.php/module/getpilots Then your getpilots() function in the module will return a list of pilots from the internal API
  9. The API is for use through PHP, so you'll have to have a gateway or something if you're gonna use it through a 3rd party app.
  10. What did you modify? 2.0 will be released in a few weeks, so if you can wait, then I would wait. Any template changes, etc, should all be backwards compat
  11. Nabeel

    Bids page

    Or this one (took the table header out of php tags) http://pastebin.com/m4a9e552
  12. Nabeel

    Bids page

    Ah yes, at the top of the file as well <?php if(!$bids) { echo '<p align="center">You have not bid on any flights</p>'; } else { echo ' Should be <?php if(!$bids) { echo '<p align="center">You have not bid on any flights</p>'; } ?>
  13. Nabeel

    Bids page

    Take a look at line 42 to 44. Seem like a php tag is missing <hr>'; } ?> Should be <hr> <?php } ?>
  14. Nabeel

    Bids page

    Do you have a screenshot as to what it does? That's really weird
  15. Nabeel

    Bids page

    Yeah. Can you paste in the template? To pastebin or paste2
  16. Revision 809: fixed #61, fixed #62, fixed #63, fixed #64, fixed #50, fixed #54, fixed ...28 November 2009, 6:15 pmfixed #61, fixed #62, fixed #63, fixed #64, fixed #50, fixed #54, fixed #57, fixed #55Source: Revisions of /Download from http://downloads.phpvms.net/phpvms.beta.zip
  17. Nabeel

    Bids page

    It seems like you're using short php tags (<? instead of <?php), and maybe they got turned off on your server or a configuration setting changed
  18. If you're on he beta, use: <?php echo url('/contact'); // like echo '<a href="'.url('/contact').'">Contact Page</a>'; for any links, it'll take care of all the peices. Just tell it was to link
  19. Nabeel

    Bids page

    I don't see anything wrong on the default templates page, are you using the default template?
  20. Nabeel

    Bids page

    On the profile page?
  21. Yup, it might time out because it takes some time to retrieve the airport from the api server, so if you can adjust the timeout on the server it might go in one shot, but otherwise, just hit refresh till it's done. In another tab, you can open the airports list and you'll see them populate there. Try this out http://www.codewalkers.com/c/a/Database-Code/CSV-to-SQL-convertor/
  22. I had a few posts on that earlier in the thread. You have to send XML with all the flight information and then write an acars plugin to parse it
  23. Wow, that's quite a bit. Do you have phpMyAdmin? For the aircraft, you can use an sql import file, you'd have to format the data. I'm not sure if it takes csv. But that one you might have to do manually = If you look online, there might be a csv to sql generator, and you enter in the sql columns, and the csv format. I'll take a look The airports, when you do a schedule import, it will try to automatically add the airports. But it might time out, so just keep running the import until it completes (it will pick up from where it left off/failed). There the template csv for the schedules in the import section of hte admin panel, just use that format
×
×
  • Create New...