Updated Tickets:
[VMS-305] - filePIREP() generate query dynamically
[VMS-312] - Add comment to pilot profile
Changed Files:
m admin/modules/PilotAdmin/PilotAdmin.php
m admin/templates/pilots_details.tpl
m core/classes/ezdb/ezdb_base.class.php
m core/common/PIREPData.class.php
m core/version
m install/hashlist
m install/install.sql
m install/structure.xml
m install/update.sql
m unittest/add_pirep.php
VMS-305 VMS-312 #close fixed
View complete changes
Download from here
You can create a quick module for that,
in the core/modules folder
Create a folder called 'pilothub', in that 'pilothub.php'
Then in that
:
class pilothub extends CodonModule
{
public function index() {
Template::Show ('templatefile');
}
}
Then goto index.php/pilothub
That should do it
That's a huge change and a lame workaround! Tell them to fix their servers
They're probably forcibly killing the connection after each request - stupid. Do they want 15-16 connect requests for each page load?
I'd say find a new host...
No elseif, just if's (it's how that parser works, odd I know).
The <% } %> is to close the opening bracket ({} that you see on that line there.
And the full URL to that image, wherever you've placed it. Boarding.gif was just an example
Can you run install/checkinstall.php and install/checkdb.php and paste what it outputs here?
The database changes you made may have screwed something up. Read the documentation above about the ACARS. It might also be a problem with FSCaptain not being fully compatible
It'd be this line:
<td><%=flight.phasedetail%></td>
You have to do:
<td><% if(flight.phasedetail == 'Boarding') { %> <img src="boarding.gif" /> <% } %>
For all the phasedetail values add those in
Something like:
$allpilots = PilotData::getAllPilots(); # I believe that's the right function
foreach($allpilots as $pilot)
{
echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID');
}
You don't need to do any of that stuff, all you have to do is download the config file from the pilot center, or setup the fscaptain config file to use the file information as the fspax config file