Jump to content

Txmmy83

Members
  • Posts

    493
  • Joined

  • Last visited

Posts posted by Txmmy83

  1. I have a small problem menue point Pilots says "module Listing" did not exist which is ok since my Pilots list is not named Listing but when I set it to default pilot list it doesnt show any Pilot what can be wrong here?

    template so far is great big thanks for sharing :)

    Best Regards and thanks in advance

    Thomas

    just figured out why :) I did not Placed pilots_list.tpl in skin folder now it work

  2. This will actually allow people to download who are not logged in to your site.

    Just add this in the .tpl file

    <?php
    if(Auth::LoggedIn() == false)
    {
      echo 'You must be logged in to view this page!';
      return;
    }
    ?>

    that's not too dramatic with exception if an VA develops their own member only scenery files

    what is far more a problem is that even non members can post links to sceneries by default which can open a potential door for spamming (pornlinks, etc)

    Best Regards

    Thomas

  3. did not work for me

    just to clearify if Installed right

    move the module & template folder to Core folder

    run the SQL file

    set the link to the module

    http://www.flyeurope-va.org/index.php/secenery

    right?

    ok just found the error! typo by myself secenery scenery is better I think :P

    but strange thing it doesent work even right spelled

    I always get this message

    An Error Was Encountered

    The module "SCENERY" doesn't exist!

    any Idea? how to fix

    Best Regards

    Thomas

  4. With my limited ability I had gone only that far. The idea was to refresh the live board only :)

    the problem with that variant I have to say i have it near that way myself ;) is that it reload the whole frontpage which could get you in bandwidth problems if you use many larger grafik files to built up your site which are reloaded each time when the site refreshes you would probably not run into bandwidth troubles on good hosts which grants you a high monthly bandwidth but on smaller hosts or freehosts dont even think about that method!

    I did not found a way to refresh the board only! if anyone has or a code to refresh the board only please share since that would help much to keep pageload low B)

    best regards

    Thomas

  5. The registration field should be auto loaded with the aircraft in your fleet.

    Jeffrey,

    could it be that reed0427 is on an older kACARS version before the Charter option was fixed?

  6. dicovered another thing but may only suitable for Airlines which have not many Airports in database

    first of all the country code follows the toplevel domains for each country at least most do! ok you could even but larger or more styled flags (just name it with full country name) the get method looks only for the name.png

    remember for example United Arab Emirates.png would not work it have to be united arab emirates.png since the img routine cant read Caps

    best regards

    Thomas

  7. found the error :)

    <h4>Schedule Frequency</h4>

    <div align="center">

    <?php

    /*

    Added in 2.0!

    */

    $chart_width = '600';

    $chart_height = '150';

    /* Don't need to change anything below this here */

    ?>

    <div align="center" style="width: 664px;">

    <div align="center" id="pireps_chart"></div>

    </div>

    <script type="text/javascript" src="<?php echo fileurl('/lib/js/ofc/js/swfobject.js')?>"></script>

    <script type="text/javascript">

    swfobject.embedSWF("<?php echo fileurl('/lib/js/ofc/open-flash-chart.swf');?>",

    "pireps_chart", "<?php echo $chart_width;?>", "<?php echo $chart_height;?>",

    "9.0.0", "expressInstall.swf",

    {"data-file":"<?php echo actionurl('/schedules/statsdaysdata/'.$schedule->id);?>"});

    </script>

    </div> this closing div was missed before!!!

    <?php

    /* End added in 2.0

    */

    ?>

    very small error very large impact on layout <_<

  8. friends got it work :)

    example here:

    http://www.flyeurope-va.org/index.php/airports

    country flag of Yugoslavia/Serbia is missing in phpVMS command back :) it is there under "RS" wich is serbia and montenegro

    only modification need to do is rename your countries to two letter codes best way to get all of them is to go into source code and from registration form you can derive all necessary "option values"

    then use <img src="<?php echo Countries::getCountryImage($airport->country);?>"/> to get the image

    Best Regards

    Thomas

  9. will try to do that tomorrow

    just looked into my sites source code for option value on pilot location to get sure what the right values for each country is it looks like much work but well lets try B)

    best regards

    Thomas

  10. Yup I would also like to learn about that.

    I guess if I had used similiar php as in the pilot lists for country image it would work, except for that in $pilot->location it is in NO for Norway , SE for Sweden etc, but in $airport->location its in full country name Norway, Sweden.

    Using the ICAO minus the 2 last identifers will not work either because ES in icao dosent meet SE (iso?) like the images are called... :P I guess making all that refers to location country in the same format would have helped?

    Hoping Im just missing a simple solution

    I think $airport->location is a String and you could give it whatever length you want B)

    Best Regards

    Thomas

  11. what do you exactly mean with index?

    if you mean the index.html from artisteer before I applied changes to make it work with phpVMS yes I have them

    problem is not in the layout.tpl since every other page have the footer right ;)

    it has to be a schedule details.tpl specific problem or of an template referenced by schedule details.tpl

    Best Regards

    Thomas

×
×
  • Create New...