-
Posts
8141 -
Joined
-
Last visited
-
Days Won
38
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Nabeel
-
-
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.
-
This error's been fixed. Problem was legs numbered 0. Fix will be included in next update :mrgreen:
-
Can you first download the latest copy and upload your common/class/modules folder in the core folder (except for that registration module).
-
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.
-
Create a rank called "New Hire" with 0 hours.
-
Haha no man, sorry, been really busy.Working on a few other things, but I will hopefully update some more code this weekend.
-
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.
-
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.
-
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.
-
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.
-
Did you figure it out?
-
Haha yup, I should make that more obvious.No you can't edit it, I guess re-submit it. I can't remember atm.
-
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.
-
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.
-
Permissions can be tricky sometimes, so I tried to keep those changes to a minimum. Glad to hear it works!
-
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.
-
Alright thanks. Sorry all this is happening, it's really strange. I will take a look this weekend, again, sorry for all the frustration!
-
What was the code you pasted?
-
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!
-
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.
-
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).
-
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.
-
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.
-
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.
Import Problems
in Support Forum
Posted
What was the problem?