-
Posts
38 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Laura
-
-
Habsburger / Habsburgair - makes sense in german
-
That's it - i guess
- 1
-
Didn't even start, the Jumpseat Module won't work for me
-
I looked through the database, it's not there anymore, only my 4 flights - but still shows me 5
-
Any ideas or maybe someone who had the same problem and maybe solved it
-
Hi
I deleted one of my PIREP's and then recalcuted the hours via the Maintenance page.
I "lost" the hours, but it didn't update the "number of flights" - i still have 5 - should be 4.
Did i forget to update something to show the correct number of flights ?
-
Speaking of wich - is it possible to translate the whole site and then let user's choose between German/English ?
I think i read something about translations, but that could been about kAcars
-
I'm not sure why, but i don't quite get it
This is what my .tpl says, beginning from "if aircraftrank > pilotrank"
Doesn't it say -> if the aircraftrank is higher than your rank then continue (ignore the rank) ?
if($aircraftrank > $pilotrank) { continue; } } $route->daysofweek = str_replace('7', '0', $route->daysofweek); if(strpos($route->daysofweek, date('w')) === false) continue; if(Auth::LoggedIn()) { $search = array( 'p.pilotid' => Auth::$userinfo->pilotid, 'p.accepted' => PIREP_ACCEPTED ); $reports = PIREPData::getLastReports(Auth::$userinfo->pilotid, 1, PIREP_ACCEPTED); if(is_object($reports)) { # IF the arrival airport doesn't match the departure airport if($reports->arricao != $route->depicao) { continue; } } if(!$reports) { if (Auth::$userinfo->hub != $route->depicao) { continue; } } } ?> <a id="<?php echo $route->id; ?>" class="addbid" href="<?php echo url('/schedules/addbid');?>"><strong>Book Flight</strong></a> <?php }?> </td> </tr> <?php /* END OF ONE TABLE ROW */ }} ?> </tbody> </table> <hr>
But then your lines
if($aircraftrank > $pilotrank) { echo 'Sorry rank too low!'; } else {
say if the aircraftrank is higher than your rank, show "Sorry rank too low"
If not, then go on ?
I tried putting in your code, but i messed up somewhere as i only get a syntax error - "unexpected end blabla"
-
So that would be somewhere in here ?
<a id="<?php echo $route->id; ?>" class="addbid" href="<?php echo url('/schedules/addbid');?>"><strong>Book Flight</strong></a> <?php }?> </td>
-
I don't know if that's still an issue, but i found this thread 'cause i had the same problem, the map only showed me the first page of the schedule.
It's the following setting in your local.config
# Number of routes to show in the route map Config::Set('ROUTE_MAP_SHOW_NUMBER', 25);
-
Anything can be done with a custom version. The aircraft selection was added to free due to user requests.
So it's possibe to just let pilots change the aircraft according to their ranks ?
-
So, just to get that right - You're presenting as an airline wich noone is to see - asking future pilots to just "trust" you to have the "Freshest VA ever?"
Why not wait until there's actually something to show us ?
I don't know about other pilots, but i tend to not join a VA without seeing something
- 2
-
I'd like to view the current flights on the frontpage in a box like the "Recent Pilots" & "Recent Pireps" Boxes, shown as "Flight number - Dep - Arr."
I guess i have to get the code from the /acars page and simply exclude the map and all the stats (name, status, speed, dist/time remaining) i don't want to show .. ?
If yes, where to get that code from ?
And if no, where's my mistake ?
-
I know this is not developed anymore, but maybe this was answered before
Thing is, the Real Schedule shows me flight's wich i shouldn't be able to bid on because of the aircraft used (you would need a higher rank to fly the 777)
Thanks
As this is solved (not an RealScheduleLite issue) i'm wondering why my position after purchasing a jumpseat ticket is not updated.
The default booking page and Front Schedules still show me at the airport i was before buying the jumpseat ticket
-
Wuhu - Perfect
Thank you so much - really appreciate your help
// Is there a simple way to show some text ( =Sorry rank too low) instead of the (now not displayed) "Add Bid" Link ?
-
Just came across the following setting
Config::Set('SITE_LANGUAGE', 'en');
What exactly does this change as phpvs comes in (only?) english ?
- 1
-
Would it possible to also move the info displayed from left to right ?
Or to use multiple background images from wich the user can choose their favourite ?
-
Yeap - i've checked that before, it was mentioned in the FrontSchedules thread.
-
Works just fine now - Thank you
-
Thank you for helping, but that didn't change anything - even the default booking page doens't work the way it should work
-
I'm having the same problem, the rank keeps getting ignored, meaning any aircraft is bookable
I had a look at Kyle's Code for the schedule_results.tpl but that actually confuses me more than it helps, i got no idea where to put it
I've edited the schedule_results.tpl before - i'm using Front Schedule.
I'd appreciate any help or suggestion how to actually make the ranks work
<?php if(!$allroutes) { echo '<p align="center">No routes have been found!</p>'; return; } ?> <table id="tabledlist" class="tablesorter"> <thead> <tr> <th>Flight Info</th> <th>Options</th> </tr> </thead> <tbody> <?php foreach($allroutes as $route) { /* THIS BEGINS ONE TABLE ROW */ ?> <tr> <td> <a href="<?php echo url('/schedules/details/'.$route->id);?>"><?php echo $route->code . $route->flightnum?> <?php echo '('.$route->depicao.' - '.$route->arricao.')'?> </a> <br /> <strong>Departure: </strong><?php echo $route->deptime;?> <strong>Arrival: </strong><?php echo $route->arrtime;?><br /> <strong>Equipment: </strong><?php echo $route->aircraft; ?> (<?php echo $route->registration;?>) <strong>Distance: </strong><?php echo $route->distance . Config::Get('UNITS');?> <br /> <strong>Days Flown: </strong><?php echo Util::GetDaysCompact($route->daysofweek); ?><br /> <?php echo ($route->route=='') ? '' : '<strong>Route: </strong>'.$route->route.'<br />' ?> <?php echo ($route->notes=='') ? '' : '<strong>Notes: </strong>'.html_entity_decode($route->notes).'<br />' ?> <?php # Note: this will only show if the above code to # skip the schedule is commented out if($route->bidid != 0) { echo 'This route has been bid on'; } ?> </td> <td nowrap> <?php if(!Auth::LoggedIn()) {echo 'Restricted Access';} else {?> <a href="<?php echo url('/schedules/brief/'.$route->id);?>">Pilot Brief</a><br/> <?php if(Auth::LoggedIn()) { if(Config::Get('RESTRICT_AIRCRAFT_RANKS') === true && Auth::LoggedIn()) { if($route->ranklevel > Auth::$userinfo->rankid) { continue; } } $route->daysofweek = str_replace('7', '0', $route->daysofweek); if(strpos($route->daysofweek, date('w')) === false) continue; if(Auth::LoggedIn()) { $search = array( 'p.pilotid' => Auth::$userinfo->pilotid, 'p.accepted' => PIREP_ACCEPTED ); $reports = PIREPData::getLastReports(Auth::$userinfo->pilotid, 1, PIREP_ACCEPTED); if(is_object($reports)) { # IF the arrival airport doesn't match the departure airport if($reports->arricao != $route->depicao) { continue; } } if(!$reports) { if (Auth::$userinfo->hub != $route->depicao) { continue; } } } ?> <a id="<?php echo $route->id; ?>" class="addbid" href="<?php echo url('/schedules/addbid');?>"><strong>Book Flight</strong></a> <?php }?> </td> </tr> <?php /* END OF ONE TABLE ROW */ }} ?> </tbody> </table> <hr>
-
Actually, i got the same question.
I now adapted the Front Schedule so Pilots can't bid on flights if they're not at the departure airport.
Now, what i wanna do is to put in another box to book a jumpseat flight - to wichever airport.
But, RealSchedule Lite would only let you buy a jumpseat ticket to airports where an aircraft is available - so this is a function i gotta disable - right ?
Where to start - core/common/RealScheduleLiteData.class.php ?
-
I was just wonderin if this is the it's supoosed to be - ignoring the ranks ?
But indeed, the custom Kacars looks quite promising
-
I've looked through the forums, and i found someone asking a question about his fleet page - one of the answering posts brought up the question if he'd made the page by creating a module ...
I'm still trying to get into this whole PHPVms thing so my question is, what would be the best way to create your own Fleet Page ?
Looking for help (design/style)
in Paid Services
Posted
I'm looking for someone who's willing to create a design, just the way i want it to be, i got some ideas, but i'm just not able to get it done
I don't know about pricing, but i guess "sky's the limit"
good work = good money ?
If someone's interested i guess skype would be the best way to talk things out/explain what i want ?