-
Posts
1941 -
Joined
-
Last visited
-
Days Won
17
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by flyalaska
-
-
Weird, that came off my site. That is what I am using.
-
Try this
<?php echo $pirep->aircraft . " ($pirep->registration)"; ?>
-
Are you referring to last flights per pilot?
-
Try this! Just edit the button class to your own if you don't have Bootstrap 4.
<?php $count = 10; $pireps = PIREPData::getRecentReportsByCount($count); ?> <table class="table table-striped mt30" width="100%" cellspacing="0"> <tr> <th>Flight</th> <th>Departure</th> <th>Arrival</th> <th>Aircraft</th> <th>Duration</th> <th>Landing</th> <th>Status</th> </tr> <?php if(count($pireps) > 0) { foreach ($pireps as $pirep) { $pilotinfo = PilotData::getPilotData($pirep->pilotid); $pilotid = PilotData::getPilotCode($pilotinfo->code, $pilotinfo->pilotid); $acrid = OperationsData::getAircraftByReg($pirep->registration); echo '<tr>'; echo '<td><a href="'.SITE_URL.'/index.php/pireps/viewreport/'.$pirep->pirepid.'">'.$pirep->code.$pirep->flightnum.'</a></td>'; echo '<td>'.$pirep->depicao.'</td>'; echo '<td>'.$pirep->arricao.'</td>'; echo '<td>'.$pirep->aircraft.'</td>'; echo '<td>'.$pirep->flighttime.'</td>'; echo '<td>'.$pirep->landingrate.' ft/m</td>'; if($pirep->accepted == PIREP_ACCEPTED) echo '<td><button type="button" class="btn btn-outline btn-success btn-xs mb-2">Flight Approved</button></td>'; elseif($pirep->accepted == PIREP_REJECTED) echo '<td><button type="button" class="btn btn-outline btn-danger btn-xs mb-2">Flight Rejected</button></td>'; elseif($pirep->accepted == PIREP_PENDING) echo '<td><button type="button" class="btn btn-outline btn-primary btn-xs mb-2">Approval Pending</button></td>'; elseif($pirep->accepted == PIREP_INPROGRESS) echo '<td><button type="button" class="btn btn-outline btn-primary btn-xs mb-2">On Progress</button></td>'; echo '</tr>'; } } else { echo '<tr><td>There are no recent flights!</td></tr>'; } ?> </tbody> </table> <div class="clear"></div> <div class="clear"></div>
-
4 hours ago, seatbackpocket said:
I just got done getting SkyBlue setup and so far so good. I went to do some trial review (incognito browser) and was surprised to discover the site looked completely different.
IMGUR link of site when authenticated - https://imgur.com/uDAE9xx
IMGUR link of site when un-authenticated - https://imgur.com/rQQwJxw
URL of VA - http://allegiantvirtual.org
I've clearly setup something incorrectly but I'm unsure what I did, followed the documentation to the letter.
You dont have any data in touchdown stats. Make a manaul pirep and edit the table to add a negative landing or edit a existing PIREP.
-
Try taking off the <?php right above the if($report->accepted == PIREP_ACCEPTED)
-
What does line 78 show?
- 1
-
What php version are you on?
-
On 5/14/2019 at 12:29 AM, zhengheng0505 said:
Now the phpvms7 is alerady release beta version,but kacars is not release software to suply phpvms7
Most likely wont now
-
Yes, use the iframe option and paste it where you want it on fronpage_main.tpl.
-
10 hours ago, sayedzaafir said:
can anyone tell me how to get the dept airport and arr airport of last flown flight and the flight time
thank you
I just have the last flight date.
<?php echo date('m/d/Y', strtotime($userinfo->lastpirep));?>
-
On 2/4/2019 at 9:42 PM, Nabeel said:
Installed the new plugin... hopefully it will be better now
Is your IPB license current? They have a strong spam block with IPB, need to have the license current.I would get spam all the time when I let mine go for a bit.
-
On 12/31/2018 at 6:34 PM, ATACEO said:
Hello flyalaska, thanks for your reply. Sorry it has taken me sop long to reply however I have been out of the FlightSim loop for a good while now. Anyways I am starting the VA back up again and am once again trying to get the site up and running as well as using this Skin. Yes the VA is under MAJOR construction and will be for some time however here is the URL you requested - http://www.ata-virtual.com/index.php
Thanks in advance for your help.
Glad you got the dimensions fixed. You have another issue with google maps. Not your fault. Google put the screws to everyone last summer. You either have to put a credit card on file, or get a new map.
-
2 minutes ago, ATACEO said:
Hello flyalaska, thanks for your reply. Sorry it has taken me sop long to reply however I have been out of the FlightSim loop for a good while now. Anyways I am starting the VA back up again and am once again trying to get the site up and running as well as using this Skin. Yes the VA is under MAJOR construction and will be for some time however here is the URL you requested - http://www.ata-virtual.com/index.php
Thanks in advance for your help.
You need to change the map dimensions. Go in local.config and change the map width.The readme states the dimensions needed.
-
Look on the VABase forums. This is for phpVMS.
-
-
VPS from Knownhost - https://www.knownhost.com/
I have been with Knownhost for a few years now. Any issues that I have had gets answered within a few minutes.
For shared hosting I would go with FiveDev - http://www.fivedev.net/hosting
-
I didn't notice the full url until now.
Replace
<a href="http://pacificair-virtual.com/index.php/Join"><strong>Join Today!</strong></a>
with
<a href="<?php echo url('/Join'); ?>"><strong>Join Today!</strong></a>
-
The Closed is commented out. If you are just going to have your applications closed. Just take the tags off and place then on the open.
<!--
and
//-->
-
did you upload the ela folder to the skins directory? Or did you just create the folder?
-
-
If needed again, click on the edit button on the original post. The title field will be editable.
-
Its stating that public_html/crew/core/modules/Registration/Registration.php doesnt exist. Make sure you have a Registration.php in modules/Registration/
-
There is a sticky post on how to upgrade in Support Forums.
Front Page Recent Flights
in Support Forum
Posted · Edited by flyalaska
I pasted your original code on my site. With the exception of the table being full screen(easy fix) , your code works on my site as it should.