Stealthbird97
-
Posts
194 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Stealthbird97
-
-
Can someone tell me how I can get a list of all pilots, Not by Hub.
Like the Pilots List, but without the hub separators, I want one large table.
-
Never mind, I found it.
If i can't figure anything out, I'l ask through this topic
-
Hey guys,
I'm looking to getting into coding a module for my Virtual airlines and need a little bit off help.
I want to create a module that shows things like Pilots information such as Last Flight, Hub, Hours, ranks and things like that.
Is there a list of all of the variables and arrays that phpVMS used to store information about pilots, if there is I should be able to work out the things I need.
If there is one, can someone post a link to it.
Thanks in advance!
-
Well i managed to do it the long way.
Instructions
Go to your phpmyadmin.
Go to the Aircraft table
Export as CSV
Edit Add the aircraft
Import CSV into Table
Refresh Cache for PHPVMS
Done
-
Can someone give me the code that makes the Flight Numbers link to their respective pilots brief.
So
After selecting an airport, i get all of the flight from that airport. If i want to see the pilots brief for a flight you just click on the Flight Number and it links you to it.
Thanks
-
-
IS there a aircraft.csv so i can import all my aircraft.
I can't seem to find it.
Where can i find it and where do i import the csv when i've finished.
I've seen some posts on the forums referring to an aircraft.csv so i went to look for it and couldn't
Thanks in advance
-
I'f fixed it
There was an random </div> at the end of the pages_content.tpl in the vairline folder that was causing it on the custom pages to leave the wrapper but when editing to fix this </div> by adding another </div>. As the Module pages don't reference to the same file as the Custom ones causing the extra </div> I added to fix the random </div> causing the module pages to leave the wrapper.
So it's all fixed now in a brain wave I had 2 mins ago. As i remebered editing the pages_content.tpl to change the header of the custom pages to put a gap inbetween the title and the text.
Problem Solved
Regards to everyone who helped anyway
Cori Haws
-
This looks like an easy fix. Try adding a </div> at the end of the custom page until it corrects itself. It usually only takes one, but, depending on your codes, it may require 2 or more. Sometimes, you might have too many </div>'s in there. Try that first, and then get back with your results.
I'v Tried changing the code but it doesnt seem to work.
<div id="right"> <div id = "box"> <?php /* This will insert all of the "meat" of the page in there - the template which is generated, depending on which page you're on. To change these templates, check out the docs on the site. They're under the /core/templates folder, and to change them, copy them into the folder of your skin (the folder this file is in right now. */ echo $page_content; ?> </div> </div> <div id="footer"> <p>copyright © 2011 - <?php echo date('Y') ?> - <?php echo SITE_NAME; ?><br /> <!-- Please retain this!! It's part of the phpVMS license. You must display a "powered by phpVMS" somewhere on your page. Thanks! --> <a href="http://www.phpvms.net" target="_blank">powered by phpVMS</a> - <a href="http://vairline.org" target="_blank">Design by vAirline</a>/<a href="http://nicktyson.com" target="_blank">Nick Tyson</a></p> </div> </div> </body> </html>
Directly below the $page_content I Need 2 divs if I put 3 it breaks all the pages, if i put 1 it breaks the pages the same way, I have it completely out of place on all pages, if I have 2 it works on some of the pages and is in the correct place
-
Hello everyone
I am having a problem with the vAirline skin and it pretty simple.
The footer at the bottom of the page is completely out of place on user created pages but on pages with modules it isn't.
and the fact of the matter is if I fix it for the one that doesn't work the one that did work would break doing the opposite of the other page.
Have a look for yourself and use the inspect source option on your browser. If you know what to do please post a reply I am willing to try anything to get it fixed.
Regards
Cori Haws
JCA002
-
Hello there, Juliana Connect doesn't have an ATR but it has two other turbo-prop aircrafts - Jetstream JS-41 and the DeHavilland Twin Otter.
Don't Forget the Cessna Grand Caravan 208B
-
Looks good and its a damn sight better than the default one, whos copyright was he infringing
-
I wanted to know which file i would have to put the code
-
Is their a way for me to edit the code so that upon registration of a new pilot, depending on which hub they choose be put into a certain pilot group.
So
Pilot # = Hub Choice = Pilot Group
Pilot A = chooses hub A = Hub A Pilots
Pilot B - Chooses hub B = Hub B Pilots
This will make it easier for the admin to send pilot emails that are only important or relevant to pilots at a certain hub
Thanks in advanced
Regards
JCA003
-
How can you set a pilots location.
If i move a pilot to a new hub they can only fly aircraft from their old hub.
I want it if you are moved hubs you can fly from the new hub.
Any Ideas
Regards
JCA003
DISREGARD I FIXED IT
-
appeared that the aircraft was there from when we had the old system and the last pilot ddint fly it back so i had to use the old system to fly it back.
-
Hello
My Airline Juliana Connect is going we but the only thing is the real schedule lite seems to have mucked up.
I Have an aircraft in an airport where it shouldn't be and when pilots jump seat to other airports it says they "are not at this airport" so they cant't fly the aircraft back.
IF there a way I can fix this jump seating problem and also is there something i can do so the aircraft can be reset back to its original airport (like it has been automatic flown back)
It seams to me that this module works for some and not for others.
Please Help
Thanks in advance
JCA003
- 1
New Module Help
in Development Help
Posted
Works a Treat.
What about pireps, what code do i need to echo the last filed pirep by Flight Numner?