Jump to content

mark1million

Moderators
  • Posts

    2288
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by mark1million

  1. Must spend a bit more time reading the rubbish i type On that update all the pilots ranks have been reset to the minimum rank even though they have enough hours showing on their profile for the next rank, Example, Rank 1 is 0 to 20 hours Rank 2 is 20 to 100 hours Pilots with over 20 hours are still showing as rank 1. Is there a way to update manually?
  2. Nabeel, All my pilots are showing as the 1st rank, pilots above the required hours fir rank 2 ad still showing rank 1.
  3. Nabeel, I have manually reset pirep finances from with in the admin and that has resolved it. Not sure what caused that. Im suspecting it has something to do with the accepting the pireps automatically, not sure....
  4. Hi Nebeel, I get the following error on the finances for this month, also i notice that the expenses are blank. I am not on the current beta not sure if this has been fixed, im on 2.1.910 56 is this bit of code in bold, <?php } $type = Config::Get('EXPENSE_TYPES'); foreach($month_data->expenses as $expense) { ?> Image below,
  5. 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...
  6. Hi, Instead of points why not use cash?
  7. All Sim Pilots modules have been temporary removed while they are licensed, they will be back soon.
  8. mark1million

    Licensing

    Its a shame its come to this really but it was only a matter of time.
  9. "Take off", your well in the cruise Fantastic support and software, Fully recommended!
  10. Thanks Nabeel
  11. 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.
  12. mark1million

    Sidebars

    In the header is a winner, saves a whole lot of time as well
  13. Looks like its getting close to a major release.
  14. I found that but just copied the code from the pilots list that got it working...
  15. 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?
  16. Ha, you are the Jedi knight Thanks thats got it.
  17. 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.
  18. 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?
  19. Nabeel, I want to develop this further to be able to display something like this,
  20. 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.
  21. That would make sense lol But wouldn't that accept all pireps?
  22. 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,
  23. 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?
×
×
  • Create New...