-
Posts
1816 -
Joined
-
Last visited
-
Days Won
51
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Strider
-
-
-
if($pilot->retired == 1) { // theyre inactive } else { // theyre active }
for some reason I found that nabeel's code got it wrong, and my active pilots were shown to be inactive when they were active. I have put the fix up. But you can try both ways and see what works for you.
Cheers
Dan C
-
<?php if($pilot == inactive) { echo '<img src="'.SITE_URL.'/lib/skins/cargo/images/inactive.png" width="150" height="58" alt="inactive">'; } else { echo '<img src="'.SITE_URL.'/lib/skins/cargo/images/active.png" width="150" height="58" alt="active">'; } ?>
That is the code i used, should be fine, as it shows the active, but only at the bottom of each hubs roster.
Cheers
Dan C
-
if($pilot == inactive)
{
//Show this badge
}
else
{
//Show this badge
}
}
if($pilot == inactive) { //Show this badge } else { //Show this badge }
took out the extra }
i have it in my site, it works, but only for the bottom pilot of each table. How could i fix this?
Cheers
Dan C
-
Uncomment lines 267 thru 271 in your Auth.class.php file and it will disable logins for retired pilots.
Only problem with that is that when they want to re fly they wont be allowed login, thus they will not return as they will have to email the CEO or other staff member and get them to change their status, and it is not a quick way, so they will leave the VA and move on.
Cheers
Dan C
-
That should be a simple if else statement, I dont know what it would be, but shouldn't be that hard to find out.
Cheers
Dan C
-
Ok it has been fixed. Disregard this post.
-
When i click on claculate distance it comes up with 0, and i have put in the dep and arr airport. Is this a bug or something on my end?
Cheers
Dan C
-
You might want to check the public profile, as the past 30 day pireps graph over laps the side bar.
Cheers
Dan C
-
No, as it is set up so that you have final say if the pirep should be approved or not, as auto approving pireps has its flaws, main flaw is that people can fake the pireps and go on an hour climbing rampage.
Cheers
Dan C
-
pm me if you want me to host your db.
Cheers
Dan C
-
As far as i know it doesn't import any pages from the admin, it creates a table of the fleet, from the fleet table in the database.
Cheers
Dan C
-
sweet.
Cheers
Dan C
-
Where can i get the changes???
Cheers
Dan C
-
version 2.5 is the version i have installed.
Cheers
Dan C
-
No errors showing up, only errors are to do with the schedule_details.tpl file. I have the latest xacars client.
Cheers
Dan C
-
I am currently flying using XACARs but when i go to view the map, it still says i am on the ground, and have 0.4000miles to go. i am cruising now, any ideas on how to fix it?
Cheers
Dan C
-
Thank you, i made a few changes to it, as i found you had an extra <table> tag which was obsolete. Removed that, also added a css rule so that the borders collapsed so they didn't llook weird, also changed the <b></b> to <strong></strong> just to help with validation. Also changed the link to this thread to open up in a new tab.
Cheers
Dan C
-
Check the CSS that looks like a css problem.
Cheers
Dan C
-
Yes that corrected it works perfectly now.
Cheers
Dan C
-
Hi simpilot, I am getting an error with the you have mail
Notice: The template file "/home/globalai/public_html//core/templates/mail_check.tpl" doesn't exist in /home/globalai/public_html/core/classes/TemplateSet.class.php on line 227
that is the error, not sure how exactly to fix this, I am using 2.0.854 of phpvms not sure if it works with it but it should.
Cheers
Dan C
-
As far as i can tell from your question, you just go to the pilot groups section in the admin panel and add a new group called ground in pilot.
Cheers
Dan C
-
go to the add airports, then go to the hub, click edit, then just change the name to the icao.
Cheers
Dan C
-
just change the name to the ICAO code.
Cheers
Dan C
Finance graphics Size
in Support Forum
Posted
Just make sure when you edit it, you save the files to your skin folder and not the core/templates folder as they will get overwritten in an update.
Cheers
Dan C