Jump to content

mark1million

Moderators
  • Posts

    2283
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by mark1million

  1. Thanks Jeff, I wasnt sure where to post if it was a phpVMS or kACARS resolution but if like Nabeel said its just a case of placing the current update script in the file then it should be an easy fix. Hopefully...
  2. Hi, Instead of points why not use cash?
  3. All Sim Pilots modules have been temporary removed while they are licensed, they will be back soon.
  4. mark1million

    Licensing

    Its a shame its come to this really but it was only a matter of time.
  5. "Take off", your well in the cruise Fantastic support and software, Fully recommended!
  6. Not sure where to post this, Nabeel and Jeff, i have an updated script from Jeff which now accepts pireps from kACARS but it isnt updating the pilots hours, its adding the pirep as accepted OK just not adding to the pilots hours totals. I have manually run the reset hours from the admin menu which has updated everyone correctly. Jeff, I will post on your forum also.
  7. mark1million

    Sidebars

    In the header is a winner, saves a whole lot of time as well
  8. I found that but just copied the code from the pilots list that got it working...
  9. Hi, For some reason i have just noticed that my history stats show the same month, the only change i have made is the update to beta 2.1.910. Clearly there have been some edits to the tpl but i removed all the added code and still get the same, any ideas on this one please?
  10. Ha, you are the Jedi knight Thanks thats got it.
  11. Yes that's the code in the pilot_public_profile.tpl, but its not working in the code for some reason. This is what im trying, <h3>Pilot Locations</h3> <?php $sql = " SELECT COUNT(pilotid) as total, location FROM phpvms_pilots GROUP BY location LIMIT 0, 9999999 "; echo '<table cellspacing="1" cellpadding="0" border="1">'; echo '<th width="100px"><div align="left">Country Flag</div></th>'; echo '<th width="100px"><div align="center">Pilots</div></th>'; $country_info = DB::get_results('SELECT COUNT(pilotid) as total, location FROM '.TABLE_PREFIX.'pilots GROUP BY location'); foreach($country_info as $country) { echo '<tr>'; echo '<td align= "center">'; echo '<img src="'.Countries::getCountryImage($country->location).'" /> '; echo 'Countries::getCountryName($userinfo->location) '; echo '</td>'; echo '<td align="center">'; echo ' ('.$country->total.')'; echo '</td>'; echo '</tr>'; } echo '</table>'; ?> Its outputting the flag image OK but the location name is giving me, location) ?> Any help would be appreciated, Cheers.
  12. OK so i have this working in to a table OK, is there any way to display the name, ie United States next to the country flag?
  13. Nabeel, I want to develop this further to be able to display something like this,
  14. Hi Guys, The landing rate, at the moment we have an all time great list of defined amount, would it be possible to display a monthly top landing rate? I have tried hacking about the code for the stats but failed miserably, any help would be greatly appreciated, Thanks.
  15. That would make sense lol But wouldn't that accept all pireps?
  16. Nabeel, i have tried adding this after communicating with jeff and it does not work, is that the correct format? 'accepted' => PIREP_ACCEPTED In to the array i have tried, 'accepted' => 'PIREP_ACCEPTED', and 'accepted' => PIREP_ACCEPTED,
  17. Nabeel, now my VA is using kACARS and the data is reliable i was wondering is there any way i could automatically accept pireps from that acars only?
  18. I think the code is about here somewhere, its an if else if i remember.
  19. Hi, By the looks of all this your hosting on iis? (a windows box)? Its your php install isnt configured correctly. If you control this then get a package and install that way, you can then configure everything as you want it. Or complain to your hosts to get it sorted.
  20. I have not really updated for ages due to the fact i customized a load of stuff in the admin templates, last nights upgrade was OK so im not too worried about knowing what to save out before running the upgrade again
  21. Are we good to go then with this one?, now i managed to do the major update i know what needs to be changed
  22. Yeh im on a different PC, ill have a look at the tpl updates when i get in as i noticed some updates in the changelog to do with the finance tpl's
×
×
  • Create New...