Jump to content

Tom

Members
  • Posts

    1517
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Tom

  1. You use the <dd> element, which is styled in your CSS to have this background image: http://www.canadianc.../cpc/bg_bar.gif
  2. It'd be most useful for you to provide: 1. how you've adapted the code (rather than just putting the code given on pastebin) and 2. the errors you're getting
  3. The first would be a paid app for the user (<£1), and could connect to any participating VA (no charge to the VA). The second would be a cost to the VA (dependent on what's included), but free to all users. A mail system as in integrating with mail modules, i.e. simpilot's airmail?
  4. App development has been mentioned before and I'd really like to do some more iOS work, so I wanted to gauge the interest for phpVMS VA apps on iOS. So far the best ways I see of going about this are: Generic phpVMS utility/administration application which gives access to standard functions, this would be free to the VA but probably have to carry a small cost on the app store White-label application which can be customised (based on pre-built modules determined by demand) to the VA style, with an up-front cost to the VA but free on the app store. What do people think to these ideas? Which method would be most appealing to you guys? Also, any and all ideas for what you'd want to be able to achieve with the application, I'd love to hear your thoughts.
  5. So send a DMCA takedown notice to his host. (To clarify, the VA host not his own. Appears to be: http://certushost.com/)
  6. I read a good article describing the various things wrong - I can't find it now, however it's generally due to how bulky it is, that it doesn't follow best practices, lots of instances of !important (you should avoid) - 43 to be precise. My preferred framework at the moment is pure (http://purecss.io), it's much lighter and forces you to use a lot more of your own design (a good thing). For comparison, purecss uses !important only once.
  7. Perhaps try: $deptime = explode(":", $schedule->deptime); $arrtime = explode(":", $schedule->arrtime); // Use where you require as follows $arrtime[0] // Hours $arrtime[1] // Minutes I'm sort of guessing though without investigating it all properly.
  8. I agree, if you just use solely Bootstrap components your site looks the same as all the rest. You need to integrate it well with your own design. Personally wouldn't use it thought, as helpful as Bootstrap may be it's quite poorly written. Prefer others.
  9. What worth do those qualifications really have here? I'd expect your website to be online if you're that good, regardless of updates. Plus hijacking other peoples' threads to advertise yourselves seems pretty desperate.
  10. I'm going to provide feedback here if you don't mind. It's very messy. I have no idea where I'm supposed to be looking there's so much going on, needs focus and better layout to guide the user. Also you prompt users to accept cookies, and yet you just set them anyway. You should not set any cookies until the user accepts them if you intend to comply with EU law.
  11. They just install the ACARS client of their choice and set up with the config file downloaded from your VA site.
  12. What are you actually trying to do? FSACARS, XAcars and FSPax are already set up within phpVMS by default. If you want to use another client you'll either have to install their server side code or speak to their developer if they don't already have one.
  13. I googled it for you: http://stackoverflow.com/questions/1248952/php-5-disable-strict-standards-error
  14. Removing the function entirely will cause problems. Just remove ", $_FILES" from within the braces.
  15. jQuery is included twice - that'll cause a conflict.
  16. Do you have it uploaded anywhere we can take a look? It's far easier to see what's broken from the page itself.
  17. I see your reasoning behind it now. In this case, I would suggest a Twitter/OAuth style linking of accounts would be nicest, so users can sign in once to associate their SimBrief account with their VA account, and then future requests can be completed server-side by the VA site without the need for login.
  18. Tom

    Forum Module

    I made a start but there's not been any progress on this in a long time. I might continue it this summer.
  19. My understanding of "flights done by pilots in that hub" would be all of them.. Either way both understandings have now been answered for.
  20. That would get the flights by a specific pilot To get flights for all pilots at a hub it would be something like: public static function CountFlightsForPilotsOfHub($icao) { //Number of flights just for pilots at this hub $query = "SELECT COUNT(pirepid) as count FROM ".TABLE_PREFIX."pireps WHERE (arricao = '".$icao."' OR depicao = '".$icao."') AND pilotid IN(SELECT pilotid FROM ".TABLE_PREFIX."pilots WHERE hub = '".$icao."')"; $results = DB::get_row($query); return $results->count; } You could probably make it more efficient using a JOIN instead but I don't have time to work it out right now
  21. The first, yup https://github.com/tomsterritt/HubStats It doesn't do the number of flights done by just those pilots, but does have the number of flights in/out the hub. You can probably quite easily add that though
  22. Why do you force the end-user to log in for a site to use this? It makes the process really bad. As a developer I wouldn't want to use this simply because it looks messy to work with and would be a real difficult experience for my users. This probably relates to your answer to my first question, however why not develop this as a proper RESTful API that can be called by the back-end system? Saves a lot of hassle.
  23. In your local.config.php: date_default_timezone_set('Europe/Madrid');
  24. Tom

    HubStats Class

    I don't expect it would be because of the PHP version, especially not if only 1 of the functions fails when they're pretty much the same process. It's difficult to work out what's wrong if your server returns no error without actually looking at it all.
  25. Tom

    HubStats Class

    If you wrap it in a try/catch does it give you an error?
×
×
  • Create New...