Jump to content

mark1million

Moderators
  • Posts

    2284
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by mark1million

  1. 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,
  2. 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...
  3. Hi, Instead of points why not use cash?
  4. All Sim Pilots modules have been temporary removed while they are licensed, they will be back soon.
  5. mark1million

    Licensing

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

    Sidebars

    In the header is a winner, saves a whole lot of time as well
  10. Looks like its getting close to a major release.
  11. I found that but just copied the code from the pilots list that got it working...
  12. 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?
  13. Ha, you are the Jedi knight Thanks thats got it.
  14. 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.
  15. 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?
  16. Nabeel, I want to develop this further to be able to display something like this,
  17. 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.
  18. That would make sense lol But wouldn't that accept all pireps?
  19. 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,
  20. 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?
  21. I think the code is about here somewhere, its an if else if i remember.
  22. 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.
  23. 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
  24. Are we good to go then with this one?, now i managed to do the major update i know what needs to be changed
×
×
  • Create New...