-
Posts
90 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Colin
-
Hi guys, I changed the pilot ID's to stop being a mess, out of synch etc etc as pilots have come and go, For some reason on the screenshot center, all the screenshots that have been submitted the pilot ID's are now 000 , any ideas how I can fix it to display the pilots new ID's please ? Starting to regret doing it a little bit, one of those seems like a good idea at the time scenarios. Many thanks in advance Colin
-
Cheers Jacob it did the trick removing one of the scripts, annoyed the hell out of me for hours,
-
Hi guys, I'm using the obsess blue skin and everytime I try to add a bid it says no route passed any ideas on a fix please ? There are schedules in the database and not using a free host, Many thanks in advance, Colin
-
Any chance you can help me out with this one please Jacob I have never come across this one before , many thanks Found this error occurs when there is no information within the database to populate: If you get this error simply add information to the database such as Airline and Hubs. Extremely simple fix and don't why this solution couldn't have been posted in the first place, but there you go !
-
I'm not sure if this post is still being used anymore judging by the last post date but this was the only thread i could find for this skin. I've only just started building a design using this skin and have noticed that the sub menu tabs in the Pilot Center profile_main.tpl don't seem to work I've tried re-jiggling things about but haven't had much success to get the sub menu to work, I've attached some screenshots but in a nut shell when you click one of the tabs it doesn't do anything and the menu links what should be showing is just producing a blank section with a black box. Any help appreciated if this thread is still live Many Thanks Colin
-
Hi just a quick question regarding this module. In the sent messages is there a way to click on a sent message and display your sent message in full, the same as inbox does instead of just showing the overview ? The main reason I want to be able to do this is some pilots take a while to reply to sent messages and in a nut shell by the time they do get back to you I can't remember what I sent in the first place. As always any help appreciated Kind Regards Col
-
I still haven't managed to get this one solved, any help appreciated
-
I posted pretty much an identical post to this one as I must have missed it, Apparently one of the replies I got was that the PIREPS are still exporting, which after looking on VAcentral is the case it just seems to be within the admin center that this error is given even though they are indeed exporting and updating as normal, bizarre but never mind sure it will be sorted soon
-
ok thanks for that guys
-
I'm not sure if I have posted this in the right place apology's if not. I have tried to export the VA PIREPS to Vacentral and it says: FAILED exporting PIREP #80 - No response from API server FAILED exporting PIREP #79 - No response from API server FAILED exporting PIREP #78 - No response from API server FAILED exporting PIREP #77 - No response from API server FAILED exporting PIREP #76 - No response from API server FAILED exporting PIREP #75 - No response from API server FAILED exporting PIREP #74 - No response from API server FAILED exporting PIREP #73 - No response from API server FAILED exporting PIREP #72 - No response from API server FAILED exporting PIREP #71 - No response from API server FAILED exporting PIREP #70 - No response from API server FAILED exporting PIREP #69 - No response from API server FAILED exporting PIREP #68 - No response from API server I have checked the code added to the local.config.php against the code on VAcentral and the API key is correct, any ideas why the PIREPS are not exporting ? As always any help appreciated Col
-
Hi Jeff thanks for your reply the code is: <h3>Most Recent PIREP <?php if(isset($descrip)) { echo $descrip; }?> </h3> <table id="tabledlist" class="tablesorter"> <thead> <tr> <th>Flight Number</th> <th>Departure</th> <th>Arrival</th> <th>Status</th> <?php // Only show this column if they're logged in, and the pilot viewing is the // owner/submitter of the PIREPs if(Auth::LoggedIn() && Auth::$userinfo->pilotid == $userinfo->pilotid) { echo '<th>Options</th>'; } ?> </tr> </thead> <tbody> <tr> <td align="center"><a href="<?php echo url('/pireps/view/'.$report->pirepid);?>"><?php echo $report->code . $report->flightnum; ?></a></td> <td align="center"><?php echo $report->depicao; ?></td> <td align="center"><?php echo $report->arricao; ?></td> <td align="center"><?php if($report->accepted == PIREP_ACCEPTED) echo '<div id="success">Accepted</div>'; elseif($report->accepted == PIREP_REJECTED) echo '<div id="error">Rejected</div>'; elseif($report->accepted == PIREP_PENDING) echo '<div id="error">Approval Pending</div>'; elseif($report->accepted == PIREP_INPROGRESS) echo '<div id="error">Flight in Progress</div>'; ?></td> <?php // Only show this column if they're logged in, and the pilot viewing is the // owner/submitter of the PIREPs if(Auth::LoggedIn() && Auth::$userinfo->pilotid == $report->pilotid) { ?> <td align="center"><a href="<?php echo url('/pireps/addcomment?id='.$report->pirepid);?>">Add Comment</a><br /></td> <?php } ?> </tr> </tbody> </table> I've basically just copied and pasted the Pireps_viewall.tpl which hasn't really worked out lol, I came across another thread which has managed to get 1 pirep to show and the No reports have been found has now gone, I'm looking to get at least the pilots last 5 PIREPS to show in the pilot center, I know i'm missing something but not sure what, If you can help I would be much obliged to you. Many Thanks Col
-
Hi Sim Pilot thanks for your reply, I added the code as you suggested and have made some progress but when I add the PIREPS list table into the profile_main.tpl when displayed on the site it says No reports have been found Where it should list the pilots PIREPS, Is there another code I should be using to display the PIREPS table other than the one already provided in the pireps_viewall.TPL? Many Thanks
-
help please
-
I tried this code and it just says There are no recent flights!
-
help please
-
Hi guys, I'm trying to add the Pireps list to the profile_main.tpl so that a pilot can view his PIREPS and see if they are pending or Approved etc, I've been trying for the past 4 hours to do this and I keep getting errors, any chance someone could help me out please, and if at all possible throw the code my way As always any help appreciated Colin
-
Thanks guys I think I've got it sorted, although possibly if there is an update it may be overwritten, but we'll see thanks for you help much appreciated, Colin
-
that's brilliant thanks Jeff, just redesigning my site at the moment so will let you know if the code works, many thanks again mate appreciate it
-
Would you be able to tell me how to merge them into one roster please
-
This is the entire pilot_list.tpl page in it's entirety just copy and pasted: Thanks for your help I really appreciate it ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR...nsitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Pilot Roster</title> <style type="text/css"> body,td,th { color: #6CAEE0; } </style> </head> <div align="center"> <body> <table width="1000"> <tr> <td width="769"><img src="http://www.vaflybe.c...be/images/flybe logo.jpg" width="300" height="90" /></td> <td width="219"><a href="https://www.facebook...984064827"><img src="http://www.vaflybe.c...s-Facebook.jpg" width="179" height="62" /></a></td> </tr> </table> <p><img src="http://www.vaflybe.c...images/nav.jpg" width="1000" height="35" /></p> <table width="900" border="1" bordercolor="#6633FF"> <tr> <td width="169" align="center" valign="top"><h2 class="star"><img src="http://www.vaflybe.c...oglechrome.jpg" width="155" height="54" /></h2> <h2 class="star"><span><u>Airline Stats</u></span></h2> <p>Total Pilots: <?php echo StatsData::PilotCount(); ?></p> <p>Total Hours: <?php echo StatsData::TotalHours(); ?></p> <p>Flights: <?php echo StatsData::TotalFlights(); ?></p> <p>Miles Flown: <?php echo StatsData::TotalMilesFlown(); ?></p> <p>Schedules: <?php echo StatsData::TotalSchedules (); ?></p> <p>Aircraft in Fleet: <?php echo StatsData::TotalAircraftInFleet () ; ?></p> <h2><u>Latest News</u> <p> </p> <?php PopUpNews::PopUpNewsList(5); ?> </h2> </h2> </h2></td> <td width="600" valign="top" align="center"><h3><?php echo $title?></h3> <?php if(!$allpilots) { echo 'There are no pilots!'; return; } ?> <table id="tabledlist" class="m-table"> <thead> <tr> <th>Pilot ID</th> <th>Name</th> <th>Rank</th> <th>Flights</th> <th>Hours</th> </tr> </thead> <tbody> <?php foreach($allpilots as $pilot) { /* To include a custom field, use the following example: <td> <?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); ?> </td> For instance, if you added a field called "IVAO Callsign": echo PilotData::GetFieldValue($pilot->pilotid, 'IVAO Callsign'); */ // To skip a retired pilot, uncomment the next line: //if($pilot->retired == 1) { continue; } ?> <tr> <td width="1%" nowrap><a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"> <?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?></a> </td> <td> <img src="<?php echo Countries::getCountryImage($pilot->location);?>" alt="<?php echo Countries::getCountryName($pilot->location);?>" /> <font color="#6CAEE0"> <?php echo $pilot->firstname.' '.$pilot->lastname?></font> </td> <td><img src="<?php echo $pilot->rankimage?>" alt="<?php echo $pilot->rank;?>" /></td> <td><font color="#6CAEE0"><?php echo $pilot->totalflights?></font></td> <td><font color="#6CAEE0"><?php echo Util::AddTime($pilot->totalhours, $pilot->transferhours); ?></font></td> <?php } ?> </tbody> </table></td> <td width="209" valign="top" align="center"><form name="loginform" action="<?php echo url('/login');?>" method="post"> <p align="center"><a href="http://www.vaflybe.c...p/contact"><img src="http://www.vaflybe.c.../contactus.jpg" width="155" height="54" /></a> <p align="center"><?php echo "<?xml version='1.0'?>"; ?> <?php if(isset($message)) echo '<p class="error">'.$message.'</p>'; ?> <h2><u><strong>Login</strong></u></h2> <p align="center">Pilot ID<br /> <input name="email" type="text" class="input-field required" value="" size="5" /><br /> Password<br /> </dt> <input name="password" type="password" class="input-field required" value="" size="5" /><input type="hidden" name="redir" value="index.php/profile" /> <input type="hidden" name="action" value="login" /> <p align="center"> <input type="submit" class="maxx-button dark" name="submit" value="Log In" /><br /> <a href="<?php echo url('Login/forgotpassword'); ?>">I forgot my password</a> </dd> </form> <p align="center"><em><u><strong>Welcome New Pilots</strong></font></u></em></p> <p align="center"><em><u><font color="#003333"> <?php MainController::Run('Pilots', 'RecentFrontPage', 5); ?> </font></u></em></p> <p><strong>Pilots Online:</font></strong><font color="#B40D0D"><?php echo count(StatsData::UsersOnline()); ?></font></p> <p> <?php $usersonline = StatsData::UsersOnline(); foreach($usersonline as $pilot) { ?> <img src="<?php echo Countries::getCountryImage($pilot->location);?>" alt="<?php echo Countries::getCountryName($pilot->location);?>" width="16" height="11" /> <a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"><?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid). ' ' .$pilot->firstname . ' ' . $pilot->lastname?></a><br /> <?php } ?> </li> <?php /* $usersonline also has the list of users - really simple example Or if you're not on the frontpage: $usersonline = StatsData::UsersOnline(); foreach($usersonline as $pilot) { echo "{$pilot->firstname} {$pilot->lastname}<br />"; } */ ?> </p> <p align="center"> </p></td> </tr> </table> </body> </html>
-
Hi again , I've tried to skin 2 sites and an annoying problem exists when trying to skin the pilot_list.tpl, the pilot list duplicates the skin over and over again for each hub that has been added, I've had to do a half arsed job at skinning both pilot lists due to this problem, Coincidently both sites are through one.com (not a free host), not sure if this would be a factor but when I skinned another site which was through 1&1 this problem didn't exist and I could skin the site however I wanted which is why I mention it. I've attached a screenshot. I've just been in touch with one.com who was no help what so ever., If anyone can help me fix this it would be very much appreciated as it has been driving me mad for days ! As always any help appreciated
-
Ah that would probably explain it then, I haven't had too many dealings with xacars until today so didn't know, thanks for your help
-
A pilot did a flight earlier on and filed his PIREP, his landing rate is 0, he then did another flight later and on the live map his aircraft bubble showed his aircraft moving across europe as it should but no information was displayed, all table fields except altitude and speed were blank, and a flight number of 0, Any ideas what could be wrong or how to fix it ? Kacars works fine just seems to be an issue with Xacars. A screenshot is attached below As always any help appreciated