Jump to content

Strider

Members
  • Posts

    1823
  • Joined

  • Last visited

  • Days Won

    53

Everything posted by Strider

  1. Just won another free bar from Cadbury's

  2. At the wall gonna be a great gig #thewall #rogerwaters #pinkfloyd

  3. Try putting that image in the lib>images folder. Also open_basedir might be blocking it from opening too. Freehosts are not the best for phpvms, not operational ones anyway, fine for testing, but a working site.
  4. That is really idiotic, do they not know you can easily find them out? They need to get a life. You also have to see who has access to your phone number.
  5. Doing some work for my dad, minding the phones at his office.

  6. profile_main.tpl
  7. Thanks for all the birthday wishes yesterday

  8. Tbh no acars program is immune to crapping out. But kACARS is by far the best freeware acars prog out there. What would be better instead of disabling manual pireps altogether would be to say only use it if you have absolutely no other option, such as internet going down for an extended period of time, and they are bored and decide to fly, they can record the details and file the pirep manually then when their internet comes back online
  9. Yay to being 27. If you couldn't tell I was being sarcastic there

  10. You can edit the airline in the admin section, then if needs be, go into the database and change the code where the list of pilots is
  11. People wanted it when they heard what it does, so instead of keeping it to myself I let others have it too
  12. Thanks, it now works the way I want it to.
  13. Can I please get some help?
  14. I tested the sql and it works. But it wont work on the site.
  15. A link to your site would be helpful to better diagnose your problem. Also fsacars is no longer supported by phpvms, as that program is no longer in production. And it has been known to be very buggy. And like parkho said, get kacars_free, it is the best free acars program out there.
  16. I am trying to get the statsdata to show a count of how many flights have been completed by my custom kacars program. But it is not working and need help, maybe someone here has the answer. Here is the code I got: /** * Get the number of flights flown with macars */ public static function AcarsCount($airline_code = '') { $key = 'acars_count'; if($airline_code != '') { $key .= '_'.$airline_code; } $acars = "mACARS"; $total = CodonCache::read($key); if($total === false) { $sql = 'SELECT COUNT(*) AS `total` FROM `'.TABLE_PREFIX.'pireps` WHERE `source`='.$acars; if($airline_code != '') { $sql .= " AND `code`='{$airline_code}' GROUP BY `code`"; } $result = DB::get_row($sql); if(!$result) { return 0; } $total = $result->total; CodonCache::write($key, $total, '15minute'); } return $total; } That is from the StatsData.class.php file. If I have done something wrong please point it out to me. <tr> <td><strong>mACARS count:</strong> </td> <td><span class="label label-info"><?php echo StatsData::AcarsCount();?></span></td> </tr> There is the code from the frontpage_main.tpl file. No error is showing, so I have not made any php error that is critical for the site to work.
  17. Strider

    Error

    I get this when I accidentally double click on the accept button, or press it again, if something pucks up.
  18. If kacars is not sending it, then it is kacars problem and needs to go into the forum, the acarsmap I doubt is the problem, it just spits out what it receives from kacars
  19. It worked
  20. No you dont need an if else statement, as long as the code is the name of the image, then it will pick that image, and not another one.
  21. you need custom kacars for that as far as I know, as kacars free does not send the relevant data to the server.
  22. I have released version 1.2 of the module. It adds the ability to add the flight to your bids directly from the module. You can download it from my github page. https://github.com/Strider2/codeshare
  23. Guys I have invited a lot of my FS friends to sign a petition it uses a link that may look suspicious but it is not. It is completely safe

  24. We have added to the list of pets we have. we now have a dog, a cat, a tarantula and now a baby rabit

  25. What do you mean full page?
×
×
  • Create New...