Jump to content

mischka

Members
  • Posts

    287
  • Joined

  • Last visited

Everything posted by mischka

  1. what callback did you use in the jsonp though? as far as I researched, you had to add some kind of java bit to the json
  2. Ooh, that's odd. It might be some security setting that was implemented after vacentral went down. The only thing you change is the address of the server name. Do you get any error messages in firefox?
  3. 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
  4. Who knows? Right now, your best bet is to register at www.virtualairlines.eu which provides the same functionality as vacentral plus much more!
  5. 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.
  6. you can find quite a few VA's on https://www.virtualairlines.eu why are you closing down your VA?
  7. 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
  8. No reason for him to post his dashboard here. I'll fix the issue and update the post
  9. send me your dasboard.php via PM and I'll have a look at it.
  10. 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.
  11. 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!
  12. 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
  13. 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
  14. 19 VA's submitted around 112.000 pireps and 66000 schedules so far ... does that answer your question?
  15. I don't know what this template is... but maybe look in the profile_main.php?
  16. What do you mean?
  17. $40? like, per hour? I think you have a nice looking site already
  18. What you can do is use the function SchedulesData::getBids($pilotid) for example $bids=SchedulesData::getBids($pilotid); if (isset($bids)) { (code to display bid info) } else { (code to display search results) }
  19. I've created an alternative for the flash chart on the admin panel, have a look here: https://www.virtualairlines.eu/index.php/Blog/Post/~admindashboardhacks There's also some other improvements to the dashboard. Where else is this flash chart used? I know about the schedule frequency on the schedule detail.. anywhere else?
  20. How did you get the data in the rawdata column?
  21. thanks for joining, and welcome!
  22. last request I can see is yesterday 20:55:15. can you PM me please., if you have tried afterwards?
  23. 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
  24. 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!
  25. I had it too when I exported the pireps from my own airline, and to be honest I'm not sure how I resolved it *blush*. But if 5% of your pireps cant be exported, itll be around 3000 of them so I'll have to find some solution
×
×
  • Create New...