Jump to content

mischka

Members
  • Posts

    287
  • Joined

  • Last visited

Everything posted by mischka

  1. well 62000 is a huuuuge amount and the engine can't handle it all in one go. remember that in normal operations you'd send just a few at at time. If you want you could export it to a CSV and mail it to me?
  2. Splendid! As for the pireps that don't send, how many are they?
  3. two conditions must be met: 1) you must change the apikey in your config file. If you have done this and it still doesn't work, please PM me with the relevant lines in your config file 2) The site_url variable in your config file must be exactly the same as the one you specified in your control panel at virtualairlines.eu if it still doesn't work just PM me and we'll figure it out.
  4. yes, I know.. in the meantime I figured it out, the solution is in the opening post check also http://www.virtualairlines.eu/index.php/Blog for more phpvms snippets
  5. Will look into this tomorrow morning and PM you
  6. vacentral has been dead for a while.. but there's an alternative now, which is actually better:
  7. Hi All, Ok, I managed to write a few elegant lines so that the user can select the skin. Write the following in your core/codon.config.php $user_skin=$_GET['user_skin']; if (isset($user_skin)) SessionManager::Set('user_skin',$user_skin); $user_skin=SessionManager::Get('user_skin'); if (!empty($user_skin)) define('CURRENT_SKIN',$user_skin); include CORE_PATH.DS.'bootstrap.inc.php'; // paste the above just before this line Then, if you write www.yourairline.com/index.php?user_skin=crystal it will change the skin to crystal, or whatever you write there. Note that when the user just goes to the index.php, they get the default skin that you specified in the admin panel. You do not have to retain the ?user_skin= in the url: once it's set to the session, it will remain for the rest of the session! How could this be useful? 1) if you are working on a new skin for your VA and you don't want others to see whats going on 2) if you created a new skin and want to give your pilots the opportunity to go back to the old one temporarily - maybe they discover some bugs for example 3) If you have multiple airlines on one site and you want a different design for each airline 4) For the very few who create their own skins and want to demonstrate them, all you need is a link to the new skin, and the whole page changes to that skin. Hope you enjoy!
  8. Hey guys, I'm not sure about you but I got a lot of fake BS messages through my contact form, and I got really tired of it so I looked for a solution. The fix was fairly simple, and with the same technology you can also stop fake registrations! Since this forum is visible to everyone, and therefore also to those who might be behind these messages, I decided to not share it here directly. You can only view the solution on my blog: http://www.virtualairlines.eu/index.php/Blog when you are logged in!
  9. Hello I was digging around in phpvms today and came across the functions for url, actionurl, adminurl etc. So I started thinking, it'd be really handy to have something similar for the skin url. So instead of href="<?php echo SITE_URL?>/lib/skins/crystal/styles.css" you would go href="<?php echo url('styles.css'); ?>" that's much shorter, and also if for some reason you'd want to change the folder of your skin you don't need to recode everything. so I wrote that little function, here it is: function skinurl($path="") { if($path[0] != '/') $path='/'.$path; return SITE_URL.'/lib/skins/'.CURRENT_SKIN.$path; } all you need to do is paste it into your /core/bootstrap.inc.php and you're done! maybe this can be included in phpvms core?
  10. It seems that won't be the case. I asked my provider if they plan to disable any 5.x versions and when, and this is what came back: So it seems there is no pressing reason to move existing architecture to php 7
  11. supported as in... providers won't run it any more on their servers?
  12. so why change to laravel? there's so much knowledge and so many addons/snippets about the current framework it seems mad to throw all that away. On all the hosting sites Ive come across you can set your php version to whatever you want, so I'll probably keep running the old phpvms and I imagine I'm not gonna be the only one..
  13. Im wondering though, would the current phpvms addons still work on that new version?
  14. Hello all, A few years ago I started a virtual airline search engine, and quite a few of you joined up for it. Now I've reworked the website and added quite a few new features to www.virtualairlines.eu You can now submit your schedules and pireps to virtualairlines.eu with the same API you use for vacentral, It takes literally 5 minutes to change and you get the following benefits: Have your flight stats included with your listing in the search engine, to show how active your airline is. A free fuel API, so you can display your fuel data on your pilot briefing (costs 20 bucks elsewhere) Contribute to the biggest schedule database, where pilots can find scheduled flights of all airlines Harness the power of your pireps! Your pireps have lots of information in them that you can analyze and find out about your pilots behavior. of course you could run queries on your own db and then make graphs on it, but still you couldn't compare it to other airlines. If you add your pireps to virtualairlines.eu, you have a lot of info at the click of a button, AND you can compare yourself to other airlines. For example, which are the most popular airports overall, and at your VA? Is it time to add a few, or maybe ditch some of the unpopular ones? Here's some example graphs: There are more graphs and stats on my website, and if anyone has suggestions they can contact me and I'll look into it. I've also started a blog where I'll post some of the code snippets I've created over the past few years. And I'll start putting some of my addon modules online soon. So, if you haven't already signed up, please do so at http://www.virtualairlines.eu and reap the benefits for your airline: 1) Add your VA to the search engine 2) Submit VA news to our front page 3) Get access to a free fuel API 4) Be part of the biggest flight schedule database 5) Get invaluable insights into your pilots behavior at the click of a button! I also wrote a 6-page phpvms skinning guide which you can download once you sign up.
  15. I wrote a blogpost here about how to integrate chatroll with phpvms: http://www.virtualairlines.eu/index.php/Blog/Post/chatbox
  16. right, so pilots self-certify they did a certain mission? and what are the missions... do you specify them or can they write anything? Which phpvms version you use?
  17. in your send_email I see: $email = $_POST['email']; then later I see $email_to = "MYEMAIL"; which you then use to send the email I would delete the second line and rewrite the first one to $email_to = $_POST['email']; and see where that goes.
  18. What do you put in the variables $today[mon] and $today[year] ? You've got to make sure they contain the right values. You might test the script by just putting numbers in there like 10 and 2017 and see what it does. is this a freeware module?
  19. forget about the technicalities, what are you trying to achieve? some kind of logbook where pilots can write which missions they completed?
  20. What result are you getting, if any at all? url?
  21. It's strange behaviour... your site is working normally? I mean, it displays something? Whats your url? Are you on free hosting by any chance? which php version and which phpvms version? You could try clearing the cache of phpvms: in your admin panel go to site & settings, maintenance options and then down the bottom it says clear cache.
  22. where did you change it? have you cleared cache via the admin section? if you are interested in a free fuel planner with API, so that you can display fuel data on your pilot briefing, go to http://www.virtualairlines.eu/index.php/FuelPlanner
  23. Atlas Virtual Airlines is celebrating our 1st anniversary after the relaunch today! We have completely relaunched our website for the occasion. In addition to this, we have added a number of destinations in the United States: we now have at least one airport in every state of the U.S.A We hope to see you soon at www.virtualairlines.com
  24. done!
  25. hi i try to log in to my account at vacentral but it says Your account needs to be activated via email. how do I get it activated? I have logged in the account in the past, i know the password is correct because I just changed it. I looked in my email and couldn't find an activation code. pls help
×
×
  • Create New...