Jump to content

Nabeel

Administrators
  • Posts

    8148
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. If you have phpMyAdmin you can adjust the size of that field, I'll do that as well in my update build.
  2. Nabeel

    issues

    Thanks. I think I've fixed the problem. View the FAQ for the instructions, patch will be hopefully this weekend.
  3. Nabeel

    Signatures

    Signatures are generated automatically, for each pilot. They are regenerated and stored, to alleviate server load. They're regenerated when a PIREP is filed, or an admin selects the option in the admin panel. The general format of a signature link is: http://yourvasite.com/lib/signatures/YOUR_PILOT_CODE.png So if you are VMA0045 - http://yourvasite.com/lib/signatures/VMA0045.png And this can be used as the link to a forum, etc. The basic signature is create from the background.png file, in /lib/signatures. The signature image will take the size of the background image (so if it's 500x150, then the signature will be that same size). They are all generated as PNGs. There are several options for signatures in your local.config.php: Config::Set('SIGNATURE_TEXT_COLOR', '#FFFFFF'); Config::Set('SIGNATURE_SHOW_EARNINGS', true); Config::Set('SIGNATURE_SHOW_RANK_IMAGE', true); Config::Set('SIGNATURE_SHOW_COPYRIGHT', true); SIGNATURE_TEXT_COLOR - The text color on the signature SIGNATURE_SHOW_EARNINGS - Show how much money a pilot has made (true/false) SIGNATURE_SHOW_RANK_IMAGE - Show the image for the rank of the pilot (true/false) SIGNATURE_SHOW_COPYRIGHT - Show the "powered by phpVMS, VA Name" (true/false) If you change an option, or the background image, in the admin panel dashboard, click "Generate Signatures". This will refresh all of them.
  4. I installed an addin which may help: http://www.phpvms.net/forum/index.php?action=recent
  5. You cannot change pilot IDs. You cannot change an individual pilot's ID. Do not change pilot IDs. Or else you will loose data, and chaos will ensue. You can change what the start number is though: http://www.phpvms.net/docs/users#changing_the_pilots_id_starting_number Note, this is only a superficial change of the pilot number, otherwise they start from 1, due to database constrictions
  6. Nabeel

    Importing Schedules

    You can import all your schedules from CSV. Goto "Operations" and then "Import Schedules". There is a link to download the CSV template, or you can download it from the post attachment. Notes: The airline MUST be added before you import For best results - add all your airports before you import. Otherwise, it will go and grab the airport, but this can potentially cause a problem by either PHP running past it's maximum execution time, or completely failing because your host blocks URL fopen commands. The route, leg, distance, and flight time columns can be blank. The aircraft REGISTRATION NUMBER must be used. Otherwise it will fail. I need the registration number. If you do not use registration numbers, view this post on how to get around it.. template.zip
  7. With this latest version comes the ability to add a registration number to your aircraft fleet. This is used in multiple places now, to reference that aircraft. The ability will come soon to be able to "retire" an aircraft, as well as statistics on an individual aircraft. If your VA doesn't use registration numbers assign a dummy number to your aircraft. For example, if you have only one B777 you want to use on ALL flights, give it a registration number. I do not cross check registrations and schedules and availability for this reason. FSACARS also uses the registration number of an aircraft to properly log the flight and the aircraft used.
  8. Nabeel

    issues

    Just got to this today. Your file is blank. I meant send me the file with your schedules filled in.
  9. Hey everyone, This past week's release has been bad. Tons of bugs cropping up, and it will be fixed by this weekend, most of them are fixed right now... just doing rigorous testing on it. I've setup 3 test areas that they move through. The reason for it was a problem with the place my code is stored. The server was corrupted, and my newer code ended up being replaced by some older code. I though I had fixed all the problems, but my automated build tools did not have test units for some of the basic functions, which were also reverted to older versions. My build tools are supposed to update my main testing server. They did not, so I didn't notice most of the issues which came up. In the last few days, I've restored everything back to how it was, and am now searching for a different provider to store my SVN code repositories. Sorry about all the troubles guys, from here it'll hopefully be smoother. Thanks for your patience. Nabeel
  10. Yeah, it shows them all as new the first time you're in, but after that it seems to work ok. I'll try to find an addin
  11. This will be fixed in the next update, read: http://www.phpvms.net/forum/index.php/topic,157.0.html
  12. Try adding it in .nav ul a I haven't touched the skins in months.. lol.
  13. If you're getting this error, make sure you have added the airports that were on the flights to your airports list. I have changed this code to check if it exists, and then add it if it doesn't. But if the airports are not added, then it could fail, it it needs to lookup information. For instance, you are flying to KIAD, but you're don't have KIAD added in your Airport's list, this may happen. If your host has remote fopen disabled, then I cannot retrieve this airport information, and it must be manually added through the control panel.
  14. On the bottom have you tried "View the most recent posts on the forum."?
  15. I don't see a #nav-one element on your page, it's #nav
  16. It'll be in #nav a since they are links
  17. I am slowly putting in addins. Lemme see if I can find a mod for it. But if you find one, lemme know... www.simplemachines.org
  18. You can add them in the core nav, in your template that's fine. There are tutorials online on how to do that. As for the admin editing, save the changes, I don't support overriding admin templates. That code changes too often. I do have ways to add items into the menu, I'll have documentation on that in some time though.
  19. Another button button2.png
  20. Here's a mini button to use: button.png
  21. Admin center? What are you modifying there? Those files are overwritten, I wouldn't modify those, it's touchy and not meant to be changed around. Either rename that skin folder, or copy and rename the folder. Anything in /core/templates get overwritten. But as for making changes, there's a proper way: http://www.phpvms.net/docs/skinning#editing_templates
  22. Nabeel

    issues

    Thanks no problem, I'll get to that one next. So hopefully you guys can wait till the weekend If you want to test it out though, let me know.
  23. Nabeel

    issues

    The entire thing is now working flawlessly. I fixed a few bugs, and I will make sure this is solid, and release it either on Friday or over the weekend. A few notes: Pilot Number: FULL number, INCLUDING the code (so VMA434). This is because FSACARS does not send me the CompanyICAO field, only the pilot ID field. I need both to lookup who you are. Flight IATA: FULL number, INCLUDING the code (VMA654654). I can't look up a route without that code. The CompanyICAO field is not sent to me here either, and I don't know what airline a route belongs to without the code. Registration: REQUIRED, or else I don't know what aircraft you used. Now that there are multiple aircraft of the same type, I can only look up the registration number reliably. To send the PIREP, you click "Stop Log". It will ask to Accept or Decline. Click Accept. Then, click the "Flight Log" tab, then click "Send Log". It will ask to confirm; say yes, and it will send. I'll have a patch over the weekend to fix errors which prevent the flights from showing, and to upload the code to use the registration data, and properly parse the Flight IATA. If you forget the code, I can "guess" which airline is it, but if it doesn't find the correct flight, then I can't do anything about it. There will be a "Edit PIREP" option, but it might not make this weekend's release, most probably the next one after (depends how much time I have this week). Also, FSACARS loves to spontaneously stop working (properly). Deleting the fsacars.ini file and reinstalling (the latest 4.0.15 version) fixes the problems. You NEED to use the 4.0.15 because they have changed how data is send between the versions. Their documentation doesn't match either version, so I've picked apart how they send it in 4.0.15 since it is the latest.
  24. Those are included (I'll have a doc on how to output them). But anything more advanced?
  25. What kind of integration? What data, what do you want to see?
×
×
  • Create New...