Jump to content

loplo

Members
  • Posts

    110
  • Joined

  • Last visited

Posts posted by loplo

  1. Hey guys,

    I'm getting the following error, in the admin backend, after clicking "filter" while checking the Financial Reports.

    The error is:

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'Finance::viewreportquery=%28use+%25+for+wildcard%29&type=code&action=filter&submit=filter' was given in /home/***/public_html/***/core/classes/MainController.class.php on line 218
    

    Any help is appreciated.

  2. Damn, I've found it. There's a folder name typo in your archive.

    I've downloaded FinancialReport_V1.0-master.zip extracted the files, uploaded the content of "core" into "core". The issue is that in the archive there's folder named "module" instead of "modules".

    Renamed it and now it works.

  3. I don't want to start another thread with almost the same question.

    I've added a new group lets say "Flight operations" and checked EDIT_DOWNLOADS, EDIT_FLEET, EDIT_SCHEDULES, MODERATE_PIREPS, VIEW_FINANCES. After this I went to the profile page of the desired user and added him to the Flight operations group.

    The question is, how can the user (staff member) access the checked sections? to edit downloads, edit fleet, edit schedules, etc?

  4. Instead of using <center> you could use .css. so:

    in your style.css file

    .example { padding-bottom: 4px;
                           	font-size:10px } 

    then this in your acars_map.tpl

    <div class="example"> YOUR PRECENTAGE CODE HERE</div>

    In my opinion this works for me better but you will have to edit the padding etc to work with your site.

    Thanks, I'll give it a try.

    hmm i think i do something wrong,

    i see on my acars page the percentage. but no image.

    this code are on the acars page:

    <div class="example style="width: <%=flight.percomplete%>%"><%=flight.percomplete%>%</div>

    in my css file are:

    .example { padding-bottom: 4px;

    font-size:10px }

    does anyone know what im doing wrong.

    This is the end of my CSS file

    div.progress-container {
     border: 1px solid #ccc; 
     width: 100px; 
     margin: 2px 5px 2px 0; 
     padding: 1px; 
     float: center; 
     background: white;
    }
    
    div.progress-container > div {
     background-color: #0FF; 
     height: 20px;
     vertical-align:middle;
    }

    I hope it helps.

  5. I have two problems with the progress indicator:

    1. 0% is not in the left side of the bar - see image

    2. how can I make the % to be vertically centered?

    LE

    1. is solved partially, I used in the template <center> and this moved it. Now the bar starts from the left, but the % value is also moved to the left.

    2. still an issue.

    post-163-021080300 1310391385_thumb.png

  6. lol no problem at all, I am glad you like what I did. I just added to what was already there. Send me a mail selwyn at flyaka dot net and Ill send over the required files to you with examples of the integration.

    I am working on an ie7 fix. it works great in ie8 and all other browsers. untill I get it all right I am more than happy to share what I have currently.

    Hey Selwyn,

    is the offer for sharing the menu still available? I'd really like to have something like that on my VA site too.

    Thanks in advance.

  7. Hey simpilot,

    thanks for this great mod. Everything works great, until a new pilot is joining. The user is located at our HUB, but he gets "You are not at this airport". There is an aircraft available at the HUB. I have to mention, that I had tried the workarounds presented on the previous pages, but nothing worked.

    Thanks in advance for your reply.

    Regards,

  8. Hi!

    I've been testing phpVMS for a while with some guys and and I would like to know if there is a way to reset the hours, income, miles, etc. The VA will be opened for public and we would like to start the counters from 0.

    Thanks in advance.

  9. lorathon, thanks for developing this soft.

    Two short questions:

    1 would it be possible to log also the wind direction and power at least at takeoff and landing. Some of us are flying online and would like to know if the pilots are choosing the correct runway taking into consideration the weather conditions?

    2 would it be possible to log the CRZ altitude?

×
×
  • Create New...