-
Posts
8141 -
Joined
-
Last visited
-
Days Won
38
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Nabeel
-
-
I think it's hardcoded, I"ll have to check...
-
Ok, lets hope that works. Though I'm not sure why that would be a problem completely? I'm wondering why you didn't see those files though.
-
Interesting, I tested on a windows server for a while. I don't see it up yet, but I'll keep checking it to see if I can spot the error. If you do see it, if you can copy/paste the whole thing here that'd be great.ThanksNabeel
-
Do you have a rank titled 'New Hire' with 0 hours?
-
Did you turn error reporting off? That link is blank.
-
Those should be in the core/classes folder.Download the complete copy and re-upload I guess. Let me know.
-
I think you do need execute permissions since the scripts are executed. Might as well try 775.Also, try turning on error reporting in your server/php.ini file (display_errors=on), as well has error_reporting=E_ALL.Blank page usually indicates some sort of parse error.
-
Do you have PHP 5?
-
Actually, fields will be this now:
public function GetFieldValue($pilotid, $fieldname)
IE:
$value = PilotData::GetFieldValue($pilotid, 'VATSIM ID');
-
His patch yes, it makes it clearer on how to do it. I'll leave it in to do that way.
-
You'd write it as a module, so yeah, it would be just dropping it into the modules directory
-
Hi Lotus! I was thinking of doing a fleet manager, but cut it for now since I wanted to get this done. May come back... or you can write your own
-
They've been commited, with FSACARS being partially working. Thanks!
-
Yeah thanks, I'm changing how some of this works to (hopefully) make it easier.
-
Yep that one. Add me on yahoo, nabby86@yahoo.com, I do need some people for help with testing I'll include docs, and it'll generate the proper settings .ini file for use.
-
Thanks, I've added the first patch. For the second one, I've changed how that works a bit, I just merged the fields into the main array. It's not in SVN yet, I'll commit tonight maybe, I'm adding in FSACARS support.Thanks!
-
They don't all look the same. It's a default template. You have to change the template. Check out some of these:http://www.flyeurobelgian.com/http://ceruleanairlines.com/A few more also in the works that look really nice.The way it looks is upto you, and the amount of effort you put in. Any software you run will have default templates, look at wordpress, phpbb, etc, just like with any of those you need to put in the time to customize it, and the way phpVMS works is the same as those, in terms of templating. If you wanna have a good VA, that's what you gotta do.Each page has its own templates, and there is a master header/footer which you customize. Customizing the page templates is also very easy, and you don't touch any PHP.
-
What are the error?First the table headers should be out of the loop:
<center><h2>Recent Arrivals</h2><?phpif(!$reports){echo 'No reports have been filed';return;}echo "<table border="0.2" width="60%"><tr><td align="center"><b>Fl. Number</b></td><td align="center"><b>Pilot Name</b></td><td align="center"><b>From</b></td><td align="center"><b>To</b></td><td align="center"><b>Aircraft</b></td><td align="center"><b>Status</b></td></tr>";foreach($reports as $report){echo "<tr><td bgcolor=#EBEEEF width=5% height=5 align=left><font face=Verdana color=#7E7E7E size=1<td>$report->code $report->flightnum </td><td bgcolor=#EBEEEF width=10% height=5 align=left><font face=Verdana color=#7E7E7E size=1<td>$report->firstname $report->lastname</td><td bgcolor=#EBEEEF width=5% height=5 align=left><font face=Verdana color=#7E7E7E size=1<td>$report->depicao</td><td bgcolor=#EBEEEF width=5% height=5 align=left><font face=Verdana color=#7E7E7E size=1<td>$report->arricao</td><td bgcolor=#EBEEEF width=5% height=5 align=left><font face=Verdana color=#7E7E7E size=1<td>$report->aircraft</td><td bgcolor=#EBEEEF width=5% height=5 align=left><font face=Verdana color=#7E7E7E size=1<td>Landed</td></tr>";}echo '</table>';?></center>
-
Or, instead of creating schedules, you can manually edit the pilot's hours after they tell you. But schedules would be the best way.You can't really delete schedules (I think, I'll have to check) because the PIREPs are tied to them. I'm reorganizing a few of these things, so it may be possible again. The first time around I may have made things a little too strict in terms of that way.
-
Well you can create a schedule then, direct the pilot to the flight number, place the booking and then PIREP it, and then disable that schedule aftewards. I guess that's the workaround I would suggest for now.
-
Hey,That means that http://www.geonames.org/ doesn't have any info on em'. Wah :mrgreen: Regarding your other post - unfortunately, you have to have a schedule. Since PIREPs etc are based on having that.
-
LOL no problem, it's what happens when I'm too close to my code... "oh you can do that...".But if you want to tackle it, I will help! No worries there. Nothing can get in the way of a man with a plan.::chuckles:: quite easily you say.. ::chuckles:: The sad admittion is that even my hello world programs have all failed.. how sorry is that eh?? But at least now i know that it is possible -
Well you can create such a module - You list the flights, they select the flight, and then place a bid. That flight is placed on a "bid board", where another pilot can bid on it. The pilot who wins it, can have the PIREP prefiled with PIREP_INPROGRESS flag, or it can be added as a bid to the existing bidding functionality. Then when it's been flown, they can file it.But yes, a module to do such a thing is possible, quite easily
-
Per route? Or just globally?If you open route_map.tpl there's some of the maps code in there.
Preventing Access
in Support Forum
Posted
for other pages, you can include the /core/codon.config.php, and then use:
You can also place that in your local.config.php, at the bottom before the ?>. That should do the trick.Sorry for the late reply! Just started new job, been a little hectic.