Jump to content

Airport distances - award badges


Simon VVair

Recommended Posts

Ciao Nabeel,

i'm on 815 now.

Yesterday I imported some new flight plans and now the recalculate airport distance does not work.

For example i created the schedule for LIRF - EFRO /house of Santa Claus eheh) for Xmas awards and the distance is 15 nm.... sounds strange ;)

Also happened for LIRF - YSSY, Hong Kong, Beijing and others.

Had to enter manually in each single flight plan to recalculated automatically with the button.

Second thing, regarding the award.

We've created this fly-in, i've setup the award with the badge, i gave the correct url to the badge but it does not show up. It shoes only the description in the pilots page as you can see from the images.

BTW, also the round circle that showed the percentage of aircraft used is not showing any more since i left ver 700.

Ciao, going to finish cooking my spaghetti ;)

188_6bb40ea04eb0a2c4604ba2fe3bade7950cdde990

190_cb6d862a12769c562a1b4964a0f75b5517ee2372

Link to comment
Share on other sites

  • Moderators

hello Simon

first problem: you can normally do a recalculate distance in the maintenence page og the admin it does theme all

second problem in you public profile and in the profile main you have to enter this code

<strong>Awards</strong>
         <?php
         if(is_array($allawards))
         {         
         ?>
         <ul>
            <?php foreach($allawards as $award)
            { 
               /* To show the image:*/?>
               <li><?php echo $award->name ?><img src="<?php echo $award->image?>" alt="<?php echo $award->descrip?>" /></li>
             
         <?php } ?>
         </ul>   

then tey will show up.

gr joeri and send some real itallian pasta to belgium ;)

Link to comment
Share on other sites

hello Simon

first problem: you can normally do a recalculate distance in the maintenence page og the admin it does theme all

That is what is not working ;)

second problem in you public profile and in the profile main you have to enter this code

<strong>Awards</strong>
         <?php
         if(is_array($allawards))
         {         
         ?>
         <ul>
            <?php foreach($allawards as $award)
            { 
               /* To show the image:*/?>
               <li><?php echo $award->name ?><img src="<?php echo $award->image?>" alt="<?php echo $award->descrip?>" /></li>
             
         <?php } ?>
         </ul>   

then tey will show up.

gr joeri and send some real itallian pasta to belgium ;)

I'll try that out thanks,

ok for the pasta.. but better to send some nice whine then with it :D

Link to comment
Share on other sites

  • Moderators

yes indeed if i want to make a page i create 1 lets say awards page

i create a awards_page.tpl

thene in my modulles map(this is 1 exclusive for TNT)if you use the modulles from nabeel they will get lost on an update.

then i create a link/button om the page i like and link it to the awards.tpl and so you can create as manny pages as you want.

gr joeri

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...