Jump to content

Nabeel

Administrators
  • Posts

    8141
  • Joined

  • Last visited

  • Days Won

    38

Posts posted by Nabeel

  1. So nothing is imported?Are the airlines you use added (in this case UAL as the "code")? What about the aircraft (the aircraft name needs to match the name in the CSV).I don't think the size is too large, but try splitting it into 3/4 files. Or try maybe one file with about 10 plans in the CSV and see if that works first. Admittedly, I didn't try with anything more than about 15kb.Let me know about those, and then we can investigate further from there.

  2. I'm looking into those. Just been a little busy, fasting isn't helping much either lol.It's not deleted, it's kept so then if that user tries to register again it's rejected. I'm making some changes though, when they're refused it's deleted.

  3. The rank is controlled by hours, so you could change their hours and force it. But otherwise no, because when a PIREP is filed, the rank is recalculated according to the hours.BTW I left a message in the other thread, about the registration not working. You need a rank called "New Hire" with 0 hours. I'm going to fix that for the next update, but for now that's the work around.

  4. Hey,Well right now, that's hardcoded. I can have that as an option in the next update. But if you want to change it for now, open common/PilotData.class.php, scroll to line 73, you see this line:

    return $code . str_pad($pilotid, 4, '0', STR_PAD_LEFT);

    Just change the 4 to a 3. That's the minimum length. The next update will have an optio nfor this.

  5. It means the aircraft doesn't exist in your list, so you need to add it. Make sure the name of the a/c is the same that you use in the csv file (the name, not the fullname or icao, but the name, like B747-400), they both need to be identical.

  6. You need to pre-create all of the airlines you will use, and use the correlating airline codes. For instance in my import file i use the codes ABC and XYZ, I need to add an airline with ABC as its code, and another with XYZ with that code (XYZ Airlines). Hopefully that helps.

  7. Hey no problem - sounds good. I like the ideas.But it doesn't have to be a "branch off" project - what you're trying to do can be done through the add-on/module system (not sure if you were meaning to branch the entire project?), which would be great because it doesn't harm the main install, and you can use it part by part. Check out the docs (nsslive.net/codon as well). Basically you add in your local.config your own routing for the module to point to your own add-on. But as always, I'm here to help ya!

  8. Are you getting any errors though? The error registering points to a problem with your database. Try reinstalling from scratch. Do you have MSN/Yahoo? I can try troubleshooting with you one on one,If you want certain pages to look different, then you need to edit those templates, by copying the template from /core/templates to your folder for your skin (ie, /lib/skins/myskin)Then you can vary the look from page to page.

  9. You might be missing something, compare the native login code with yours. It's not supported in the way you're doing it though, alot of behind the scenes stuff happens. You could be missin a hidden submit field though.Do try using the native skinning though, you can do exactly what you're trying to do, it's alot less effort than what you're putting in (see ceruleanairlines.com).

  10. What do you mean uses the same code?You must post the username/password to index.php/LoginYou need to login through the system. It handles things like pulling user information/session information. Without all of that, it forces a new login.I'm not sure what you mean 100% though.You know you can skin phpvms to look like http://www.flyeurobelgian.com/websitefi ... arclub.php So you don't need to manually re-do every page (which it looks like what you're doing). The template system is made that way so you don't have to (see the phpVMS demo site). Skinning is just like any other system, like Wordpress or phpBB, the content is done already, you're creating the design around it.

×
×
  • Create New...