Jump to content

Nabeel

Administrators
  • Posts

    8151
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. Nabeel

    Schedules

    You can add that right into your template, just add the column with $schedule->flighttime or whatever the variable is ($schedule or $route, i forget)
  2. Nabeel

    Schedules

    That's a good point, I'll see if I can easily add an option
  3. There's this setting in app.config, which you should put in your local.config, and then set it to false: # Automatically calculate ranks? Config::Set('RANKS_AUTOCALCULATE', true); Then when you edit a pilot's profile, you'll have the option to change their rank as wellq
  4. Nabeel

    Schedules

    Well, only the flights set to fly today will show then, since that's the default behavior on the template
  5. Wow, only 4? What OS is your server? And how are you uploading the files?
  6. Nabeel

    Schedules

    Are they all set to fly on Monday?
  7. Nabeel

    Schedules

    Here is fine, until it's a confirmed bug. Can you link me to your search with a few examples? They seem to load ok on the dev site.
  8. Nabeel

    Schedules

    Ah yes, that's a bit of a bug - they're the same form, and both fields are filled in, so it ends up searching by whichever one comes last (the distance)
  9. http://bugs.phpvms.net/ticket/119
  10. You can do: <?php if(Auth::LoggedIn()) { echo '<a href="/routes.html">Routes</a>'; } ?> And that will only show if logged in
  11. Uh oh. Just avatars and flags? The other data is ok?
  12. Hey $params = array( 's.depicao' => array ('$this->post->depicao'), 's.arricao' => array ('$this->post->arricao'), 's.enabled' => 1, ); Should be: $params = array( 's.depicao' => $this->post->depicao, 's.arricao' => $this->post->arricao, 's.enabled' => 1, ); No need to assign them to arrays. And putting variables in single quotes doesn't parse the variable, it will literally put $value
  13. I don't have the manual, but in the SDK docs, in the fsacars settings, there is an option to change the unit. Did you use that?
  14. vaCentral is now in open beta from this build.
  15. There's a setting in the fsacars_config.tpl which I just noticed actually: UnitSystem=GB I'm assuming that means great britain. I'll have to check out their docs once I get a chance, I think I over looked that setting from the local.config perspective
  16. Revision 821: fixed #116 fixed #118, vaCentral updates20 December 2009, 8:34 pmfixed #116 fixed #118, vaCentral updatesSource: Revisions of /Download from http://downloads.phpvms.net/phpvms.beta.zip
  17. It's finally open! I've opened up registrations for everyone running beta build 821 or later. There still might be some issues, but I guess that's the purpose of a beta. I'm still adjusting many things, including the rankings, but the data exports, etc, should all be working. Enjoy the friendly competition The site is: http://beta.vacentral.net There's also a dedicated board towards the bottom of the page, enter any issues there. Thanks!
      • 1
      • Like
  18. No problem. The best example I guess would be the Profile module, the view function (it uses a few different data functions, returns the data and sets them to a template), or for processing, the RouteMap module (I think the video tutorial goes over this), or the XML module. I'm gonna be re-doing a tutorial on this sometime this week to coincide with the release, but definitely, any questions let me know. There's all sorts of info strewn around, so I have to try to get it all together.
  19. Hey, The data classes should only be to get/retrieve data, no template calls. So, the $this->set and $this->render's won't run in data classes. Check out the other data classes to see how I do it, that will help Do this: return DB::get_results($sql); And process the results in the controller. You can refer to the Frontmap module too, those are a little easier to see. The invalid argument means the DB didn't return properly, after DB::get_results() do DB::debug() to see the errors. And you should do: if($count != '') { $sql. = ' LIMIT '.$count; } To only include the LIMIT param is $count ins't blank. That's probably your error there
  20. It seems to me ACARS isn't reporting fuel in the proper units. I'm guessing the setting is right?
  21. It'll be out in a couple of weeks, so you could wait if you'd like. There were major changes in the backend which can't really be ported backwards easily.
  22. Instead of 10%, I would take the width ofyour page in pixels, divide by the number of columns, and use that, if you're using fixed width. But I might just be confusing you more
  23. Nope, the core_nav is included with the header. I don't understand the resizing every 400 ms bit? I don't really do iframes so... can't really help ya there
  24. Sorry, the link should be actionurl, not just url Then it should be all good. I fixed it in my original post
×
×
  • Create New...