Jump to content

Nabeel

Administrators
  • Posts

    8140
  • Joined

  • Last visited

  • Days Won

    37

Everything posted by Nabeel

  1. 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.
  2. 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.
  3. 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.
  4. Permissions can be tricky sometimes, so I tried to keep those changes to a minimum. Glad to hear it works!
  5. 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.
  6. Alright thanks. Sorry all this is happening, it's really strange. I will take a look this weekend, again, sorry for all the frustration!
  7. What was the code you pasted?
  8. 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!
  9. 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.
  10. 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).
  11. 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.
  12. 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.
  13. 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.
  14. 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.
  15. 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?
  16. 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.
  17. 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.
  18. Hey,Basically, the default "skin" that is used is the "crystal" skin in the /lib/skins folder.Make a copy this folder, and rename is to something, like "vaskin". Then goto the admin panel, then the settings, then change the skin to what you renamed it.Next, go into that folder, and mess with the CSS (styles.css), and the header/footer. Just by modifying that you'll be able to change the colors and the basic layouts.Next, if you want to change how tables, etc are organized, they are in /core/templates. They're named pretty straightforward so you can tell what it is. To change it, copy it from there, and paste it into your /lib/skins/vaskin folder, and then modify it.Hopefully that should help?Lemme know!-Nabeel (sorry for the late response, was not able to get to a computer for the last few days)
  19. Nabeel

    html question

    Yup, it's basically a header and footer, copying those in. And then just tweaking the CSS. No different from modifying wordpress or phpbb or something .
  20. I can't see the problem. Can you post it?Sorry for the long response time! A few things came up and I wasn't able to be at a computer.
  21. Hey,The directories/files that are not writeable, you must make them 0777 using CHMOD. Usually in your FTP client, you can right click and goto permissions, and be able to change 'em there.
  22. Hey,http://www.phpvms.net/docs/Hopefuly that'll help::http://www.phpvms.net/docs/installation#installationAnything specific?
  23. Hey,Glad it's fixed. You can get the key :http://code.google.com/apis/maps/signup.html
  24. Hey! No need to stress Unfortunately, you can't host it on freewebs, from their faq: Out of those two, you need MySQL and PHP (version 5+). Site5 is an excellent host, pretty cheap as well.site5
×
×
  • Create New...