Jump to content

mischka

Members
  • Posts

    287
  • Joined

  • Last visited

Everything posted by mischka

  1. exactly! even if the internet works, there might be problems with the VA website or some other reason why acars can't connect. Or, if your pc shut down midflight and you resume from a save-file, there's no way kacars will cooperate.. you'd have to file manually. acars is all very handy but I wouldn't want to miss a pirep because of it, even when filed manually. That's both for me as a pilot as well as from a VA perspective
  2. moving the hosting to some non-american country should fix this... maybe they have hosting providers in Nigeria, who's gonna shut you down now? remember they can only sue you when they find you
  3. from what I see is that you're just placing the rfinder site in an iframe? don't really need a module for that ...
  4. While removing the non-bid link may sound like a good idea, I don't think completely disabling manual pireps is a good idea. What if something goes wrong mid-flight with the kAcars? Happened to me often enough... kacars isn't the most brilliantly written piece of software, and you shouldnt punish your pilots or yourself for wasting pireps due to kacars mucking up just my 2 cents...
  5. Habsburgair? LOL! Habsburg Virtual, that'd be something
  6. I think that's rather how often the system checks if a user is still online Indeed if I look at the referenced function, i see it returns this: SELECT p.* FROM ".TABLE_PREFIX."pilots p, ".TABLE_PREFIX."sessions s WHERE s.pilotid = p.pilotid AND DATE_SUB(NOW(), INTERVAL {$minutes} MINUTE) <= s.`logintime On both my sites I have this value set to 20, however on one site it never times out and on the other all the time.
  7. Hey Guys, I'm working on a new site, and one annoyance I'm having is that the session doesn't stay alive i.e. i don't stay logged on. On my main site all works fine and I never have to log in, but here I think after half an hour or so it kicks me out again. Specially annoying if I do some admin-work and when I submit it doesn't actually submit Anyone can shed some light on this?
  8. I've had a weird issue one or two weeks ago, where I would get an email from phpvms saying a new user is registered. Upon checking the admin section and the pilots table in phpmyadmin, the pilots specified in the mail were not present. Also, my website statistics did not show any trace of a user registering at that hour. very odd!
  9. like they would need a referral to get to porn... every kid with 10 hairs on their testicles knows where to get porn
  10. why don't you write to the other virtual southwests and try to merge them into your airline. it's kinda pointless having all these different virtual southwests ... better to work all together on one?
  11. I haven't had this issue so far, but I'd redirect them to some nasty ***-porn if this'd happen... that'll teach'em for sure!
  12. Hello guys, I had a real weird issue today: When a user was logged in, the site was working normal. Soon as I logged out though, there were loads of error messages all over the homepage, many relating to database issues. Also, things like recent flights, filed pireps, news and other stuff that gets loaded from the db was not showing. I tried clearing the cache, didn't help. I bothered the support of my host but they pointed at the phpvms system, saying their servers were well within parameters. Then, while being logged out, I clicked on one of the links on my page and then went back the homepage.. all of a sudden all was fine! This got me thinking about the session management, and I went into my db... I noticed several sessions with my IP address and userid 0... I deleted all of those and then it was working normally again... for a minute or so. hmmmm, what the hell? Then one of the error messages drew my attention. On my homepage I had a little script that gets the countrycode of the visitor and shows a suitable picture on the banner, eg a visitor from prague will get a picture of prague airport. It appeared that the site I used to fetch data from (api.hostip.info) is down and hence the request was not completed in time.. so it seems now this problem is solved Anyway... until 10 seconds ago my phpvms_sessions table had over 6200 records in it. it was manually flushed on 31st of May (ie a month ago) so thats a lot of records created for absolutely nothing. How can this be and how can it be fixed?
  13. yay, it works finally! it appeared to be a problem in my layout.tpl... the order of some script refs was the other way around. however, now my dropdown menu's don't work anymore... gosh, I hate jquery! anyway, I'll figure it out now.. thank y'all for your help
  14. Oh bugger, pasted the wrong link: this should do: http://european.virtualairlines.eu/index.php/schedules anyway, I'm on to something now, I think I know where the issue is
  15. that looks really great, and just how I want it! However... just updated my schedule_results.tpl with the code you posted -> nothing then I downloaded your schedule_results and temporarily put it on my site -> nothing either! seems its not so much a problem of the specific code in the results.tpl but either in the header or a client-side issue.. still, your schedule_results doesn't work on any of my computers (my sim-pc, my two thinkpads, my girlfriends dell) .. now I wonder, does mine work on yours? this is the page with your code in it: http://european.virt.../FrontSchedules
  16. @parkho: yes, I managed to get in now. It looks really neat but it's not exactly what I need @strider: yes, I also put it in the schedule_results.tpl. This is what my schedule_result.tpl looks like: <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/themes/base/jquery-ui.css" type="text/css" /> <style> .loading { background: url(/img/spinner.gif) center no-repeat !important} </style> <script type="text/javascript"> $(function (){ $('a.ajax').click(function() { var url = this.href; // show a spinner or something via css var dialog = $('<div style="display:none" class="loading"></div>').appendTo('body'); // open the dialog dialog.dialog({ // add a close listener to prevent adding multiple divs to the document close: function(event, ui) { // remove div with all data and events dialog.remove(); }, modal: true, height: 600, width: 700, position: ['center',80], title: "Schedule details" }); // load remote content dialog.load( url, {}, // omit this param object to issue a GET request instead a POST request, otherwise you may provide post parameters within the object function (responseText, textStatus, XMLHttpRequest) { // remove the loading class dialog.removeClass('loading'); } ); //prevent the browser to follow the link return false; }); }); </script> and then the rest the link looks like this: <a class="ajax" href="<?php echo url('/schedules/details/'.$route->id);?>"><?php echo $route->code . $route->flightnum?> <?php echo '('.$route->depicao.' - '.$route->arricao.')'?> </a>
  17. it wont let me log in... tried with ALD0001 and also the email address provided, and the supplied password but it wont let me in. About your solution: I really want to use this modal window on different places of my website (like pirep history, pilot brief and others) where I just need a dialog window and JIT loading. So thanks for the idea but it doesn't suit my needs
  18. doesn't work! it just keeps showing the spinner and "searching" nothing ever shows up. Tried in IE and chrome I can really recommend frontschedules.. works much much better than the standard schedule search in phpvms maybe you can post the code of what you did, and where you put it?
  19. if I open that link I get to the standard phpvms schedule search, which doesn't work.. I never get any results, even if I "select all" airports. to open the schedule details page without the nav and banner, use action.php instead of index.php, that'll show it without the skin.
  20. sure, go ahead... but post the results so others have a benefit too!
  21. Ok, I've gotten a bit further on my own accord, but still need some help. This experimental page does exactly what I want: http://european.virtualairlines.eu/jquerytest.htm However, if I paste the script code into my schedule_results.tpl, or any other page, it doesn't work any more.. eg http://european.virtualairlines.eu/index.php/schedules <- click on the flight number to get the details the schedule_details.tpl will just load in a full window, not in the dialog box. from the test htm I took out the calls, because they were duplicated in the phpvms header page. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"></script> I also tried moving my script into the <head> section but it doesn't matter.. the experimental page has the script in the body and works just fine. who knows where the problem lies? Im getting a tad frustrated here
  22. thanks a lot, that's exactly what I needed!
  23. Hello I'm trying to create a modal dialog, and figured out the jquery bit. see here; http://european.virtualairlines.eu/jquerytest.htm <- if you click on the link, a dialog will open with the page in it. Now I have the problem that when I load the page it shows all the header, navigation links etc however, I only want to show (for example) the schedule brief ie schedule_briefing.tpl How do I do this?
  24. Hey guys, I'm trying to implement a kind of modal dialog window, much like the one you see in the admin section. For example when editing an airport you click on edit on the row and a window pops up with the relevant form. I've tried analyzing and extracting the code in the admin section, as well as trying to google, but after an hour it has yielded nothing but frustration I admit that jquery is not my strength, so i thought it might be better to ask someone who does know what I need and knows how to make it work with phpvms. After all, this functionality seems to be built into phpvms already, so why not use it? thanks in advance
  25. He's got a good-looking wife though! j/k ... the site looks very familiar
×
×
  • Create New...