Jump to content

Angel Air

Members
  • Posts

    252
  • Joined

  • Last visited

Posts posted by Angel Air

  1. replace:

    <img src="<?php echo $pilot->rankimage?>" alt="<?php echo $pilot->rank;?>"

    with:

    <img src="<?php echo RanksData::getRankImage($pilot->rank);?>"

    did the trick for displaying the rankimage in the hubview page.

    all credits to Cor de Bruin /vbird :)

    Tried the change of code and still no ranks showing

  2. The way it is coded it no longer needs anything to be added through the admin part now, as it looks at the airport db and gets which one is the hub airport. where it has <?php echo $hub->hubid;?> in your code change the hubid to icao, as it now looks for the icao not the id in the db. It looks like a style in your css that is having trouble with the long names of the airports you have.

    works great now Thankyou!!

    still trying to figure out dropdown

  3. <?php $hubs = HubData::get_hub();
    foreach($hubs as $hub)
    {
    ?>
    <li class="level-2"><a href="<?php echo url('/Hub/HubView/');?><?php echo $hub->icao;?>"><?php echo $hub->hubicao .' - '. $hub->hubname;?></a></li>
    <?php }?>

    take the <li class="level-2"> you typed in and paste that in where the code for the drop down is, and it should work

    I have tried that but unfortunately It did not work I will keep playing with the code to get it to work.

    Another problem I have is I cant seem to enter any info in the admin section of the module, I add the info in the fields and press save but does not store the info, I will try an upload all files again and if that helps if not I am stuck.

  4. Hi all great module,

    I have got it all working as it should but I have got the hubs on a dropdown menu on the homepage and the hubs writing overlap (see image) not sure how to fix it any help would be great.

    Thanks in advance.

    our hubs.jpg

  5. It looks like fivedev does not support SSH I have tried to connect to the server using putty but it can not connect so if anyone has managed this would the mind uploading the .SQL file for navdata so we have all got a working copy.

    Please and thankyou

  6. Hi all,

    I wonder if anyone can help me.

    I am trying to get the route flown to show on the ACARS map waypoint to waypoint I have followed what has been said in this thread http://forum.phpvms.net/topic/6064-waypoints-along-airway/ and I still can not get it to work. I think the problem is because the route_details section is not being filled all that is in that section of the DB is this a:0:{} now I know nothing about this so if anyone can help that would be great.I have also added the navdata.sql from fs products so I see no reason why this will not work.

    Thanks in advance

    Scott

  7. Hi all,

    Not sure if anyone can help but I have tried everything and cant get it to work.

    I have set the MX records on fivedev to google I have configured local.config and app.config file to use smtp and I can not get anything to send from the admin panel not sure if I am missing something. I am using google apps but I signed up to it when it was still free so not paying for any of that, have the stopped people using the service?

    Here is the code from my Local.config

    # Email Settings
    Config::Set('EMAIL_FROM_NAME', 'INFO@Angel Air VA');
    Config::Set('EMAIL_FROM_ADDRESS', 'info@angelairva.co.uk');
    Config::Set('EMAIL_USE_SMTP', true);
    # Add multiple SMTP servers by separating them with ;
    Config::Set('EMAIL_SMTP_SERVERS', 'smtp.gmail.com');
    Config::Set('EMAIL_SMTP_PORT', '465');
    Config::Set('EMAIL_SMTP_USE_AUTH', true);
    Config::Set('EMAIL_SMTP_USER', 'info@angelairva.co.uk');
    Config::Set('EMAIL_SMTP_PASS', '********');
    

    App.config

    # Email Settings
    Config::Set('EMAIL_FROM_NAME', 'INFO@Angel Air VA');
    Config::Set('EMAIL_FROM_ADDRESS', 'info@angelairva.co.uk');
    Config::Set('EMAIL_USE_SMTP', true);
    # Add multiple SMTP servers by separating them with ;
    Config::Set('EMAIL_SMTP_SERVERS', 'smtp.gmail.com');
    Config::Set('EMAIL_SMTP_PORT', '465');
    Config::Set('EMAIL_SMTP_USE_AUTH', true);
    Config::Set('EMAIL_SMTP_USER', 'info@angelairva.co.uk');
    Config::Set('EMAIL_SMTP_PASS', '********');
    

    I have tried to submit a ticket to nabeel which I think he has answered but cant see his response because when I click on the ticket I just get an error page.

    I have also signed up to zoho mail and tried to get it to work with that but still nothing.

    I also see the fivedev now have email setup on the control panel is it usable?

    Any help would be great.

  8. Hi all,

    I was up all last night trying different code to get this to work. I have downloaded and installed FS-products navdata.sql and I have used the code here to try and get it to display but no luck. Any help would be great.

    I have just had a look at the schedules DB and neither the route column or the route_details column are being populated any ideas? that is on my test server just looked on live server and route is populated and this is what is shown in route_details column a:0:{}

    is anyone else the same?

    Thanks in advance

  9. Hi all,

    could use some help with this problem....

    if any of my pilots file a pirep manually it returns an error saying all fields need to be filled even though they are and the pirep does not file.

    anyone got any ideas?

    thanks

    Scott

×
×
  • Create New...