Jump to content

Tom

Members
  • Posts

    1517
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Tom

  1. As LoggedIn() returns a bool and the if statement evaluates as bool anyway, you can shorten it a bit: <?php if(!Auth::LoggedIn()){ echo "We're sorry! You must be a registered member in order to view this page"; return; } ?>
  2. There are loads. It wasn't much of a revolution... they're a bit of a fad really.
  3. You need to add the following css to your containing div: height:auto;overflow:hidden;
  4. <a href="/blah" target="_blank">Link text</a>
  5. You can just edit core_navigation.tpl
  6. No, continue still needs to be there, otherwise you'll still get everything. <?php $allaircraft = OperationsData::GetAllAircraft(); ?> <?php foreach ($allaircraft as $aircraft) { if($aircraft->icao != "Dash8"){ continue; }
  7. It doesn't require filling out, those are what displays the data. Find <?php $allaircraft = OperationsData::GetAllAircraft(); ?> <?php foreach ($allaircraft as $aircraft) { Replace <?php $allaircraft = OperationsData::GetAllAircraft(); ?> <?php foreach ($allaircraft as $aircraft) { if($aircraft->icao != "Dash8"){ // Or whatever you entered as the ICAO for a dash 8 continue; }
  8. I guess this would work as a quick-fix; wouldn't be particularly efficient though <?php $allaircraft = OperationsData::GetAllAircraft(); ?> <?php foreach ($allaircraft as $aircraft) { if($aircraft->icao != "Dash8"){ // Or whatever you entered as the ICAO for a dash 8 continue; } ?>
  9. Be careful with the shape of your jetwash effect, it should be thin behind the engine, also it shouldn't blur the aircraft. Personal preference but I don't like seeing lens flare myself (don't think photoshop generated ones are very good) and the haze around the fuse/tail on the first. Great start though, took me forever to get a decent jetwash effect!
  10. It's in the default login_form.tpl: <input type="checkbox" name="remember" />
  11. Tom

    Windows 8?

    If they offer an upgrade version like they did with W7 then I don't see why you'd have that trouble?
  12. Tom

    Windows 8?

    Metro is for tablets and phones, sure... you can get it on a desktop too, but windows 8 still has the option for the same "normal" UI as windows 7..
  13. Still requires joining the $99/year developer program. Additionally, you can't produce certificates and provisioning profiles required in order to install your app on iOS without access to their online control panels. If there was a free way to distribute iOS apps I would be doing it already
  14. Huh? Haha. Apples developer program has always been $99/year It kinda sucks that they don't offer it for free to people distributing free apps :/
  15. I would totally develop one as I worked on the app for my company so I know a fair bit, but I don't really see how I can justify $99/year for iTunes store submission just yet xD Good luck, if you need any help let me know.
  16. Out of interest, do you develop in native code?
  17. Excluding the phpVMS parts you could do something like this: // get all pilotcodes into array (probably need your own function for this) $rand = rand(100,999); while(in_array($rand, $allpilotcodes)){ $rand = rand(100,999); } // Put $rand in as your new pilotcode
  18. Providing they're unique you should be ok to insert them rather than using mysqls automatic generation. I don't have time to go check what you need to do right now but you'll need to edit the function that processes registration. You'll want to retrieve all existing pilot codes from the database and add a while loop to generate a new one and check it doesn't already exist. Then you'll also need to change the sql insert to define a pilot code.
  19. http://cl.ly/2L28021Z3o0Y1C3q1J1u
  20. They're identical here. Both dodgy looking. Sure you're not just seeing a cached file?
  21. I see a completely blank page?
  22. I know Wordpress does it, it's really helpful to just have to click a few buttons and be done with it.
×
×
  • Create New...