Jump to content

Nabeel

Administrators
  • Posts

    8148
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. just to note his template was modified and the submit button was wrong.there seems to be some other problem with IE though.I'm going to look into it.I've fixed a few other bugs for the upcoming update though.
  2. Create a rank called "New Hire" with 0 hours.
  3. Haha no man, sorry, been really busy.Working on a few other things, but I will hopefully update some more code this weekend.
  4. Well you'll loose it once that person submits a PIREP. And it could, if you don't use the exact rank name. It's linked in that way.
  5. 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.
  6. 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.
  7. Alright, the non-registration issue - the "New Hire" rank must be there with minimum hours of 0. I'm working on changing that. But for anyone having that issue, that's the solution.
  8. Nabeel

    Schedule

    Haha yup, I should make that more obvious.No you can't edit it, I guess re-submit it. I can't remember atm.
  9. 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.
  10. Nabeel

    Schedule

    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.
  11. Permissions can be tricky sometimes, so I tried to keep those changes to a minimum. Glad to hear it works!
  12. Nabeel

    Schedule

    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.
  13. Alright thanks. Sorry all this is happening, it's really strange. I will take a look this weekend, again, sorry for all the frustration!
  14. What was the code you pasted?
  15. 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!
  16. 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.
  17. Nabeel

    Login

    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).
  18. Give me your URL?Are permissions correct?Changing the look and feel: http://www.phpvms.net/docs/skinning#creating_skinsYou need to use HTML and CSS. Skinning is just like any other system, like Wordpress or phpBB, the content is done already, you're creating the design around it.
  19. Nabeel

    Login

    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.
  20. You have to use the skinning system in phpVMS, meaning the skins/[skin]/header/footer.tpl. You can't transplant bits and pieces of phpVMS into another page.
  21. What is the error? It's probably because you didn't add any airports?To add a hub, you add an airport, there's a checkbox to make it a hub.
  22. Ah that sounds like a problem with your host.I will look into it, but also send them a ticket with the open_basedir error.I'll see if I can patch around it.Edit: I've looked, that is a host setting, I'll see if there's a way around it, but I'd also ticket your host. Who's your host btw?
  23. well you need to change the paths in the header.tpl file and the footer.tpl file, you need to edit those things to point to the right places.
  24. Nabeel

    html question

    Yeah, I would copy it into that styles.css that is there, replace the styltes, but yeah you can just copy paste that's fine too.
×
×
  • Create New...