Jump to content

Nabeel

Administrators
  • Posts

    8151
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. $pilot_id = $fname.' '.$lname.' '.$code.$pilot_id; To get the properly formatted pilot ID (with the proper # of zeros, etc), call: $pilot_id = PilotData::GetPilotCode($code, $pilot_id); $pilot_id = $fname .' '.$lname. ' ' . $pilot_id; Though I'm not sure if you're still "inside" phpVMS to be able to access the PilotData class.
  2. You'll need to contact your host, they're disabled XML for reaching out online. I reach out if you haven't added the airport and it's in the import file. The work around is to add your airports manually, then run the import. Check with your host, they may be able to. Send them this error: And tell them the point of having XML is to load data from an outside source... Hopefully they'll switch it on for you.
  3. The name should be allowed to be the same. Try this out: http://www.phpvms.net/forum/index.php/topic,177.0.html
  4. Can you PM me a link so I can check it out?
  5. You can just import a CSV file with all your airports and schedules, it will attempt to retrieve the airport information, but as mark said it's very possible it could time out. I'm optimizing this process a bit though, but as of now, that's the easiest way.
  6. Hey, Do you have a link to the list? Are all your pilot's listed under a hub?
  7. Hey John, I'm looking into the first one, I should have a fix for that this weekend. The second one; does it work in firefox?
  8. You're doing something wrong... You shouldn't be calling any templates from anywhere manually. Don't rename those files, the system uses them. If you renamed them in your skin folder, then it's ignoring it and using the ones in the /core/templates folder. DON'T rename anything in there. Huh? None of the templates have a header or footer. There is a master header/footer.tpl in your skin folder that's used. Roger's video tutorials show those of these. Templates are automatically called, 90% of the time you don't be touching any of these, and there should be no manual template calls at all. Just put your header in header.tpl, and footer in footer.tpl. That's ALL you should be doing for now. Delete any templates you put in your skin folder, and just follow the header/footer directions, and then follow: http://phpvms.net/docs/skinning#skin_elements To add those pieces into your header. Watch Roger's tutorials again, I think there's a misunderstanding about how it works
  9. Hey there, Welcome to the site! Make the log.txt file in /core/modules/acars 0777 And in local.config.php, set ACARS_DEBUG to false. If it's not there, change it in app.config.php
  10. Can you send me your FTP info so I can see what you're doing?
  11. Make sure you're following this: http://phpvms.net/docs/skinning#skin_elements
  12. If I understand it right, you're doing it wrong. You only copy your header/footer into the header.tpl and footer.tpl. The rest of the templates you leave alone, unless you have to tweak something; if you have to tweak it, then you just copy it to your skin folder, and then edit it. But you don't copy your header/footer to each one. Most templates won't need any editing.
  13. What files have you edited and put your template in?
  14. I'm going to add in a mass email thing, I can do a resend welcome email that shouldn't be difficult.
  15. Is it o nly doing that on that page? Use the default template and see if it still does it (delete the one in your skin folder)
  16. Why?
  17. Do you know what your server is running?
  18. No, not sure what you're trying to do. To edit a template, just copy the file to your skin folder (the folder of whichever skin you're using), and edit it directly. You don't need to do that
  19. Thanks.. got plenty here though, but I'll be moving to a VPS sometime soon (slicehost perhaps), I'd like to consolidate all my stuff, and don't have enough control over services and stuff I can install on the box, particularly subversion which I have been wrestling with for months. I'm going to have an announcement shortly about plans...
  20. the core/pages directory and everything in it should be 0777. What OS are you using? Seems like it reports those directories as writeable when they're not. It's supposed to check on install.
  21. No prob!
  22. That could have potential with some of the things I have planned.
  23. What's in your pilots tpl now?
  24. That's weird it should not be doing that. Did you change the pilots list template?
  25. Hmm interesting. Do you hvae any pilots on that hub? That's usually why. Where did you put the header/footer? Make sure it's in the skin, not the individual file. Not sure why it would be replicating twice
×
×
  • Create New...