Jump to content

Nabeel

Administrators
  • Posts

    8148
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. Good you caught it now before an update
  2. Your PilotID is doubling - in youre config file, set CompanyICAO to blank (CompanyICAO=) As for debug mode, I haven't found a way. I use that log to debug as well. What you can do is, the top line: pilot=XLRXLR0003&date=2009/01/04&time=23:22:00&callsign=&reg=F-TACB&origin=LFLL... Put it in your URL as: yoursite.com/action.php/acars/fsacars/pirep/?pilot=XLRXLR0003&date=2009/01/04&time=23:22:00&callsign=&reg=F-TACB&origin=LFLL... And you can see the system response (should be "OK")
  3. I wouldn't use SVN, while it is fixed there, many other things are broken. I took the SVN link down.
  4. You can post your log file from the engine, just in app.config.php, set ACARS_DEBUG to true (if the entry is in your local.config, set it there), then just attach the /core/modules/acars/log.txt file in a post here, and I'll take a look
  5. Whatever you're going to edit, put in your skin folder, and then edit. Otherwise, yes, it will get overwritten on an update. The engine looks for the template in the skin folder before it looks in core/template. http://phpvms.net/docs/skinning At the very bottom, "Editing templates".
  6. I've been looking for this, I haven't found anything to use as a web-service API. geonames.org has some information (which is what I use in the backend to get lat/long/name). What are you looking for?
  7. Nabeel

    Tutorials

    A new section has been added with tutorials, more will be added as they are created: http://www.phpvms.net/tutorials If you can create video tutorials, I will post them up, especially if you understand some aspect of the system Roger is working on skinning, I'll do a skinning tutorial as well, and also a tutorial on how some aspects of the systems work.
  8. Nah, I'm not making a separate panel. I'll see what I can do, it'll most likely be groups based.
  9. Do you see it in the admin panel, under that pilot?
  10. Are his cookies enabled? He's not being logged in, most likely because of cookies.
  11. Yup this is a known bug: http://www.phpvms.net/forum/index.php/topic,198.0.html The last post, I posted a quick fix; it's fixed for the next update as well.
  12. It does see the OK message (I'm assuming), I send out an OK either way. I don't always get the error. I can't really ask the FSACARS people either about it, since they seemingly closed shop. It usually shows up when you click "Send Log", but when you accept the PIREP, it should send the PIREP right then. I haven't had the time to really diagnose it in too much detail.
  13. Ask your host if they can flip that around for you first, usually it's not a big deal since it's an entry in the virtual host section which is already setup for you (I know my host has done it for me). To move it, no, just move the files and change the SITE_URL in the core/local.config.php, as well as in your skin files
  14. Weird, it's not listed on the country list I used. I think it's because it's included in the UK. So I added: Scotland, England, European Union, Catalonia, and Wales
  15. I'll see what it takes to fix it, I'll sit down with it tomorrow. If it's quick I'll post i tup
  16. Yeah, I'm changing this so it doesn't kill your server everytime it does a lookup. As for it setting to zero, that is a mistake I made in create the column (as an integer, not a float value), I'll fix that, but it's gonna count the time based on PIREPs. Flight tim in schedules is just a carry over which was going to be used as a check against a really wrong PIREP flight time.
  17. Like a splash page? I guess putting phpvms in its own directory. There might be some htaccess trick, or if your host looks for index.html before index.php, ask them, depends on their http.conf setting (ask them what order its looks for a default page)
  18. It'll remove the # sign. Weird, I'll take a look a bit deeper, it was working. Arg. And as for multiple backgrounds... right now no... I'll put it on my list though Oh, you guys know it'll take the size of the background image, so you can adjust the size through the bg image size. If you thought it was too big
  19. There's no Scotland? Wow. I had downloaded an icon package. What's the 2 letter country code for it?
  20. Did the background change when you hit the reset. Try it without the # sign Actually I found an error in my code, To fix it for now, open core/common/pilotdata.class.php, around about line 486, theres: sscanf($color, Config::Get('SIGNATURE_TEXT_COLOR')); Replace it with $txtcolor = str_replace('#', '', Config::Get('SIGNATURE_TEXT_COLOR')); $color = sscanf($txtcolor, '%2x%2x%2x');
  21. You can do that now; you don't need to resign, and you don't have to fly only flights from your airline; when you go to the "file pirep" you can select any airline from the drop down, and do any flight, same for FSACARS (the reason you have to enter the airline code is so the system knows which airline you're flying the flight on). When you register and select and airline, that's just to associate you with some airline. If you don't see the airlines in the drop down in the 'File PIREP', then make sure the airline is enabled. Also, if they want to change the airline they are registered to, an admin can change that, under pilot options.
  22. Drop down menus - I suppose you have some javascript for that already Open up your core_navigation.tpl, after copying it into you skin folder. Change the HTML, add your links, etc into there (just as if you were building your nav bar from your example template)
  23. Ya, well I guess that's the most 'realistic' way, but since a few other things are going to depend on the reg, it's the best way to future proof yourself.
×
×
  • Create New...