Jump to content

mischka

Members
  • Posts

    287
  • Joined

  • Last visited

Posts posted by mischka

  1. have you changed the phpvms_api_server in the local.config.php or app.config.php? I just did the change on another website (a clean 5.5.2 install) and the lookup works flawlessly.  

    on chrome you can hit F12 and look at the console. You should see some kind of error there. If you are 100% sure you are querying virtualairlines.eu and not the old api server, drop me a PM and attach the phpvmsadmin.js and specify your phpvms version

  2. Hello all,

    I know lots of you have been annoyed with the absence of the airport lookup function in PHPvms.. well at least I was! 

    So, in a bid to save time not just for myself but also for you, I've recreated a service that provides the same functionality with minimal changes but some extra data :) 

    All you have to do is this:

    1) Go to your local.config.php / app.config.php to change your phpvms_api_server to https://virtualairlines.eu .. if you haven't already :)

    2) Go to /admin/lib/phpvmsadmin.js and scroll to line 250 where it says:
    url = phpvms_api_server + "/airport/get/" + icao + "&callback=?";
    replace it with: 
    url = phpvms_api_server + "/airports.php?icao="+ icao+ "&callback=?";

    save it all on your server and the airport lookup should work again! Note that this seems not to work with firefox or internet explorer! Chrome is your safest bet. 

    Now, I have some extra goodies up my sleeve: for every airport I also have the IATA code, city name, timezone offset, dbtimezone and altitude. Don't worry, airport lookup will work without it, but if you want these extra data you have them available now.

    In the next couple of days I'm going to post on my blog how to implement these extra values and display them on a website.  If you have any questions or comments let me know in the comments below.

    Oh, and I *guarantee* that I will provide this service for free as long as I run this website - although I may restrict it to members of virtualairlines.eu at some point in the future. 

     

  3. 17 hours ago, mark1million said:

    I cant get it to work either, please paste the complete code for google charts integration as you have bits missing.

    Yeah, the </script> tag at the end was missing. Just add </script> to the end of the dashboard template file and you should be good.

    thanks for pointing this out,nobody is perfect :)

  4. 10 hours ago, magicflyer said:

    Everybody is going into the implementation, but let's start with this first: Should you launch a virtual airline? Many people drop hundreds of dollars on a VA over the course of a year only to find out they (1) Don't have the time to maintain a whole community (2) They're the only ones flying in it, in which case (3) They didn't need a virtual airline in the first place. Food for thought <3

     

    That's a fair point. There are so many VA's out there, many of them near dead and in need of resuscitation, why start a new one?

    When starting a new VA, there's two questions you need to answer to  yourself - and be brutally honest. 

    1) What would you be able to offer to the VA world that 19082298402840328402 existing airlines don't offer already?  

    2) What is your prime motivation for starting a VA ie Why do you really want to do this? 

    3) What skills do you have that make you suitable to run a VA? 

    Uncomfortable questions, I know.. but they have to be answered when starting any company, even a virtual one that has no paying clients. 

     

  5. 4 minutes ago, DesComm said:

    In checking your site, unless I'm blind, "How does a person see the stats of the various airlines?".  Your Blog mentions pilots are seeking active airlines.  Again where are the STATS? That was one of the major benefits of VA Central.  Also a FYI in registering there were many SQL errors, which resulted in us changing our description. 

    If you go to "Airlines" in the menu bar, you'll get a list of all the airlines, including stats like submitted pireps, last flight and others. Note that these stats only show when you submit pireps/schedules.

    As for the sql errors: if you notice any bugs just shoot me a PM on this forum or use the contact form on the site, so I can have a look at it. I'm happy to help!

  6. Well, before pointing out where to learn to code (there are thousands of resources) its best to figure out if that's an ambition in the first place.

    If coding seems something enjoyable to do and something you'd like to do in the future, then go for it! But expect a steep learning curve, a lot of cursing and frustration but also a great feeling of satisfaction when it works! I'm a programmer by profession but didn't touch php until I started my own VA. 

    On the other hand, if you don't want to learn to code (for whatever reason) you have following options:

    1) pay somebody to set up a new VA website

    2) buy an existing VA

    paying somebody to set up a new one might be slightly cheaper because the owner of an existing VA, if it runs well, will also want money to compensate him for the countless hours he put in to it. 

    If you decide to pay for a new or existing VA, shoot me a PM I have options for you

  7. well, since phpvms itself is free, all financial cost is the hosting. 

    Then it depends on your coding skills. If you can't code at all you'll have to hire somebody who can. 

    If you can code, the cost of a new VA is just time. Lots of time :) Of course you can cut corners here and there by buying a website template already adapted to phpvms, or even downloading one of the free designs for phpvms kicking around the web. 

    I've no idea how much an existing VA would go for, maybe somebody else can answer that

  8. 2 hours ago, CPC900 said:

    So, is this the way everyone is sending their pilot reports now?!  Or are some waiting for the new phpvms4??!!

    Bruce

    19 VA's submitted around 112.000 pireps  and 66000 schedules so far ... does that answer your question? ;)

     

  9. 1 hour ago, shakamonkey88 said:

    OK, so I now have data in the "rawdata" column.  I need some help creating the altitude and speed graphs. Can anyone give me a hand please?

     

    Regards,

     

    Pete

    How did you get the data in the rawdata column?

  10. 1 hour ago, JareBearPilot said:

    Mischka, all of the sudden I'm not able to export the remaining 20,000 PIREPs or so. Every time I click on "Export to vaCentral", it just loads and loads. It never gives me an error or failed message either. Any idea why this might be?

    last request I can see is yesterday 20:55:15. can you PM me please., if you have tried afterwards?

  11. Great write-up!

    There's one thing I ran into today: I found out my registration isn't working because the captcha box wasn't displayed. By default it loads over http but when you run the site on https it won't load due to mixed content. To remedy this, go to the registration_mainform.tpl or php and scroll to this line, near the end:

    echo recaptcha_get_html(Config::Get('RECAPTCHA_PUBLIC_KEY'), $captcha_error, true);

    you need to ad the ,true so that recaptcha will load over a secure connection.

    Also, the admin panel has a few scripts that need to run on https. In /admin/templates/core_htmlhead there are 3 references to http which should be changed to https. If not, the admin panel won't work properly

  12. 2 hours ago, topher2880 said:

    Hi Mischka,

    I have 2x Va's which I tried to join today and havent received a confirmation that ive even attempted to get an account. Is this manually done or auto-generated confirmation email?

     

    Sorry for the hijack but just found this thread and excited for a VAcentral replacement

    Hello

    The email is generated automatically, but this wasn't the problem. The problem was that I recently installed SSL and the captcha was loading on a non-secure connection (http) so chrome and probably other browsers, didn't display the captcha.

    I have now remedied this issue and you should see the captcha. Once you create the account you will see a message your account was created and you get an email (check your spam) sorry for the inconvenience!

×
×
  • Create New...