Jump to content

Angel Air

Members
  • Content Count

    252
  • Joined

  • Last visited

Everything posted by Angel Air

  1. Angel Air

    Pilots Last Flight

    Hi all I am trying to show the below code on the profile_main.php but can't get any of the data to show. Here is the code, I have taken this from pirep_viewreport.php <b>Departure Airport</b> <p class="pull-right" style="color: #3C8DBC"><?php echo $pirep->depname?> (<?php echo $pirep->depicao; ?>)</p> </li> <li class="list-group-item"> <b>Arrival Airport</b> <p class="pull-right" style="color: #3C8DBC"><?php echo $pirep->arrname?> (<?php echo $pirep->arricao; ?>)</p> </li> <li class="list-group-item"> <b>Aircraft</b> <p class="pull-right" style="color: #3C8DBC"><?php echo $pirep->aircraft . " ($pirep->registration)"?></p> </li> <li class="list-group-item"> <b>Flight Time</b> <p class="pull-right" style="color: #3C8DBC"><?php echo $pirep->flighttime; ?></p> </li> <li class="list-group-item"> <b>Date Submitted</b> <p class="pull-right" style="color: #3C8DBC"><?php echo date(DATE_FORMAT, $pirep->submitdate);?></p> </li> <?php if($pirep->route != '') { echo '<li class="list-group-item"><b>Route</b> <p class="pull-right" style="color: #3C8DBC">'.$pirep->route.'</p></li>'; } ?> <li class="list-group-item"><b>Status</b> <?php if($pirep->accepted == PIREP_ACCEPTED) echo '<div class="label label-success pull-right">Accepted</div>'; elseif($pirep->accepted == PIREP_REJECTED) echo '<div class="label label-danger pull-right">Rejected</div>'; elseif($pirep->accepted == PIREP_PENDING) echo '<div class="label label-info pull-right">Approval Pending</div>'; elseif($pirep->accepted == PIREP_INPROGRESS) echo '<div class="label label-warning pull-right">Flight in Progress</div>'; ?> Here is what I see when I add this code to profile_main.php
  2. Angel Air

    xAcars problems

    Hi all, I have a pilot on my VA who fly's xplane and on MAC, he is using xacars to record his flight, as that is the only compatible acars program. But it is chucking up lots of errors. 1. pilot number is showing up as 0000 2. when he does a flight it breaks the live map (no ones flight shows up even though other flights are taking place) 3. I have a live flights section on the site which just shows up as multiple '0's This problem only happens with xacars as everyone else use smartCARS here is a screenshot to try and help explain.
  3. Angel Air

    Route_Details

    Hi all, I wonder if anyone can help me. I am trying to get the route flown to show on the ACARS map waypoint to waypoint I have followed what has been said in this thread http://forum.phpvms.net/topic/6064-waypoints-along-airway/ and I still can not get it to work. I think the problem is because the route_details section is not being filled all that is in that section of the DB is this a:0:{} now I know nothing about this so if anyone can help that would be great.I have also added the navdata.sql from fs products so I see no reason why this will not work. Thanks in advance Scott
  4. Angel Air

    Pilot submitted route

    Hi all I have created this form to place in the pilot centre so that if a pilot would like a route added to the VA he/she can fill this in and send it to the schedules manager. I have built the front end but I am struggling with the back end (PHP) could someone help me out? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <form name="contactform" method="post" action="send_form_email.php"> <table width='100%' border='0'> <tr> <td><strong>Name:</strong></td> <td> <?php if(Auth::LoggedIn()) { echo Auth::$userinfo->firstname .' '.Auth::$userinfo->lastname; echo '<input type="hidden" name="name" value="'.Auth::$userinfo->firstname .' '.Auth::$userinfo->lastname.'" />'; } else { ?> <input type="text" name="name" value="" /> <?php } ?> </td> </tr> <tr> <td width="1%" nowrap><strong>E-Mail Address:</strong></td> <td> <?php if(Auth::LoggedIn()) { echo Auth::$userinfo->email; echo '<input type="hidden" name="name" value="'.Auth::$userinfo->email.'" />'; } else { ?> <input type="text" name="email" value="" /> <?php } ?> </td> </tr> <tr> <td><strong>Departure ICAO: </strong></td> <td><input type="text" name="subject" value="<?php echo $_POST['departure icao'];?>" /></td> </tr> <tr> <td><strong>Arrival ICAO: </strong></td> <td><input type="text" name="subject" value="<?php echo $_POST['arrival icao'];?>" /></td> </tr> <tr> <td><strong>Route:</strong></td> <td> <textarea name="message" cols='45' rows='5'><?php echo $_POST['message'];?></textarea> </td> </tr> <tr> <td><strong>Aircraft:</strong></td> <td> PREFERRED AIRCRAFT:<br /> <select name="Aircraft"> <option value=" ">Please choose one</option> <option value=" ">Airbus</option> <option>Airbus A318-111</option> <option>Airbus A319-111</option> <option>Airbus A320-211</option> <option>Airbus A321-211</option> <option value=" ">Boeing</option> <option>Boeing 737-800/W</option> <option>Boeing 737-900/W</option> <option>Boeing 747-400</option> <option>Boeing 747-400F</option> <option>Boeing 747-800I</option> <option>Boeing 757-200</option> <option>Boeing 767-300</option> <option>Boeing 777-200LR</option> <option>Boeing 777-300ER</option> <option>Boeing 777-200F</option> <option value=" ">De Havilland</option> <option>DHC-8-400</option> <option value=" ">McDonnell Douglas</option> <option>MD-11</option> <option>MD-11F</option> </select><br /><br /> </td> </tr> <tr> <td><strong>Flight Level: </strong></td> <td><input type="text" name="subject" value="" /></td> </tr> <tr> <td><strong>Departure Time: </strong></td> <td><input type="text" name="subject" value="" /></td> </tr> <tr> <td><strong>Arrival Time: </strong></td> <td><input type="text" name="subject" value="" /></td> </tr> <tr> <td><strong>Flight Time: </strong></td> <td><input type="text" name="subject" value="" /></td> </tr> <tr> <td><strong>Notes: </strong></td> <td> <textarea name="message" cols='45' rows='5'><?php echo $_POST['message'];?></textarea> </td> </tr> <tr> <td width="1%" nowrap><strong>Captcha</strong></td> <td> <?php echo recaptcha_get_html(Config::Get('RECAPTCHA_PUBLIC_KEY'), $captcha_error); ?> </td> </tr> <tr> <td><strong>Price Per Ticket: £ </strong></td> <td><input type="text" name="subject" value="" /></td> </tr> <tr> <td><strong>Flight Type "P"= Passenger "C"= Cargo: </strong></td> <td><input type="text" name="subject" value="" /></td> </tr> <tr> <td><strong>Days of the week this schedule is active 7 = everyday</strong></td> <td><input type="text" name="subject" value="" /></td> </tr> <tr> <td colspan="2" style="text-align:center"> <input type="submit" value="Submit"> </td> </tr> </table> </form>
  5. Angel Air

    kACARS Problem [SOLVED]

    Hi, I am running the latest version of kACARS but I am having a problem, it can't seem to find some of my routes. I can log in to my website The route is added to bid I can connect to FS But on a alot of the routes when you tell kACARS to "get bid info" it says "No Flight Found" any ideas? Thanks Scott
  6. Angel Air

    kACARS Error

    Hi, I have upgraded the module and the program. I am now getting error "No Flight Found" when I click on "Get Flight Bid Info" Not sure what the problem is any help would be appreciated. Thanks Scott
  7. Angel Air

    Hubs page module

    Thank you web541, Works great it was exactly what I was wanting. Scott
  8. Angel Air

    Hubs page module

    Thank you for this, I have just got to find where to edit the table now
  9. Angel Air

    Hubs page module

    Is there any way of displaying the schedules for a specific Hub? Thanks Scott
  10. Angel Air

    Errors

    Here is line 2031 $rankimg = imagecreatefromstring($rankimg);
  11. Angel Air

    Errors

    Morning all, I have had this problem for some time now, and just wondered if anyone else has had the same problem and knows how to fix it. When accepting PIREPS and editing profiles after the acceptance/upload of a avatar i get this error. Warning: imagecreatefromstring(): Data is not in a recognized format in /home/britann1/public_html/crew/core/common/PilotData.class.php on line 2031 If anyone can point me in the right direction of a fix I would really appreciate it. Thanks Scott
  12. Angel Air

    Pilots Last Flight

    Thank you I have used your codes and adapted it slightly, until I can figure the above out. Thanks again Scott
  13. Any update on this?
  14. Angel Air

    Responsive Pilot Center | iCrew

    I am interested in your services. Can you contact me please
  15. This is a brilliant skin well done!! Is there anyway of having this as a standalone skin? and if so how do you achieve that? Thanks in advance. Scott
  16. Hi all, Does anyone have the code for displaying phpbb3 latest forum posts on the frontpage? also is there a auto register code for phpbb? thanks in advance Scott
  17. Angel Air

    Navdata Update

    Hi all how do i upload the 1606 txt file to navdata.sql?
  18. Angel Air

    Forums [solved]

    Hi all, Not sure if this question has been asked before if it has then I apologise, but is it possible to intergrate phpbb3 into phpvms? I have tried to install the VAforum but keep getting an error when i try to create a a new catergory. So i have opted to try this method instead. I have uploaded phpbb3 to my server and used the phpvms sql table for the install and it has not intergated the users from phpvms into phpbb3. hope that all makes sense. Thanks in advance. Scott
  19. Angel Air

    Vatsim online/offline

    Hi all, I am sure this has been asked and answered more than once but I am struggling to find the correct way to display if a Pilot is flying on Vatsim. I would like to display it on the live flights board. Any help would be great Thanks in advance Scott
  20. Angel Air

    Errors on website

    Hi all I am running phpvms 5.5.2 and php version 5.6 and I am getting all sorts of errors on my site here are a few examples...... when you click on a pilots name it should show their Public profile instead I get this. Fatal error: Call to undefined method ChartsData::build_pireptable() in /home/angelair/public_html/core/modules/Profile/Profile.php on line 83 Another problem, I have got Simpilots pilot reward system installed and when you click on the reward centre link this is what the return is. Notice: The template file "/home/angelair/public_html/core/templates/rewards/reward_center.php" doesn't exist in /home/angelair/public_html/core/classes/TemplateSet.class.php on line 231 has anyone else had any problems with VA Central Rank a few days ago it started to display this instead of the rank... Warning: simplexml_load_string(): Entity: line 1: parser error : Space required after the Public Identifier in /home/angelair/public_html/lib/skins/CCV1/frontpage_main.php on line 198 Warning: simplexml_load_string(): <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/angelair/public_html/lib/skins/CCV1/frontpage_main.php on line 198 Warning: simplexml_load_string(): ^ in /home/angelair/public_html/lib/skins/CCV1/frontpage_main.php on line 198 Warning: simplexml_load_string(): Entity: line 1: parser error : SystemLiteral " or ' expected in /home/angelair/public_html/lib/skins/CCV1/frontpage_main.php on line 198 Warning: simplexml_load_string(): <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/angelair/public_html/lib/skins/CCV1/frontpage_main.php on line 198 Warning: simplexml_load_string(): ^ in /home/angelair/public_html/lib/skins/CCV1/frontpage_main.php on line 198 Warning: simplexml_load_string(): Entity: line 1: parser error : SYSTEM or PUBLIC, the URI is missing in /home/angelair/public_html/lib/skins/CCV1/frontpage_main.php on line 198 Warning: simplexml_load_string(): <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/angelair/public_html/lib/skins/CCV1/frontpage_main.php on line 198 Warning: simplexml_load_string(): ^ in /home/angelair/public_html/lib/skins/CCV1/frontpage_main.php on line 198 any help with these would be great Thanks in advance Scott
  21. Angel Air

    TOPPilot beta 1.0

    https://github.com/DavidJClark go here and download files
  22. Angel Air

    Errors on website

    David, not sure if you have had this report from anyone else but I am getting an error when I accept a PIREP here is the error. Warning: imagecreatefromstring() [function.imagecreatefromstring]: Data is not in a recognized format in /home/angelair/public_html/core/common/PilotData.class.php on line 1016 Also same error when trying to upload avatar picture And the same error when you reset the signatures from within the admin/maintenance panel seems like a consistent error but again not sure how to fix. Scott
  23. Angel Air

    Errors on website

    Copied what is in the link uploaded and all works great thanks for all your help David really appreciate it. Scott
  24. Angel Air

    Errors on website

    Thanks for the help David, two of the problems have been solved now I am still having trouble with the pilots public profile has anyone else had this problem? I have the option of setting the php version I am running so I have set it to run on 5.3 which solved the other problem. The only thing I can think of doing is re-install of phpvms to fix the issue but I really dont want to have to do that if I can help it. Scott
  25. Angel Air

    TouchdownStats 1.0

    Hi all, Not sure if anyone else has had this problem but I am getting this error above the landing stats Deprecated: Non-static method TouchdownStatsData::get_stats_by_cur_month() should not be called statically, assuming $this from incompatible context in /home/angelair/public_html/test/core/modules/TouchdownStats/TouchdownStats.php on line 36 I have tried to add this to the Touchdownstats.php public static function top_landing_this_month () { but that just breaks the frontpage. any ideas for a workaround? Thanks in advance Scott
×