Jump to content

Nabeel

Administrators
  • Posts

    8147
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. Check out the acarsmap.tpl template
  2. Those will go in the pilots_list.tpl file. What you have looks right, what is it doing?
  3. 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
  4. 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
  5. Is it a table? Set widths on all the columns
  6. Been added for the next build
  7. 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...
  8. Yeah, try the full URL like simpilot said, it should be something like that. If that doesn't work, I'll try to check it if I have a chance today
  9. You can put that right into a template and call that template from wherever with Template::Show('template-name');
  10. simpilot, is that drop-in for the current airports table? I'm working on a CSV import/export for the next version
  11. 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
  12. Sounds like there's an error somewhere then, try adding, below the include: error_reporting(E_ALL); ini_set('display_errors', 'on');
  13. Did you include the codon.config.php file?
  14. 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
  15. You have to accept the PIREP in the admin before the hours get counted
  16. 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
  17. Something like: $allpilots = PilotData::getAllPilots(); # I believe that's the right function foreach($allpilots as $pilot) { echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); }
  18. You can remove it in the admin panel. They can remove it in the bids listing
  19. 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
  20. The default pilots list sorts by hub, would that help? You can remove columns in the template
  21. Maybe you didn't upload a valid image it seems like
  22. Sure, you have to modify the acarsmap.tpl template
×
×
  • Create New...