Jump to content

piuozorio

Members
  • Posts

    41
  • Joined

  • Last visited

Everything posted by piuozorio

  1. Thank you for your reply, is not the module, i think i saw a full aircraft.csv provided by lorathon with 800 aircrafts. Best regards
  2. Hello all, im searching for a complete aircraft list attached to some topic im phpvms forums but cant find. Can someone help me to find that post? Thank you Helder Duarte
  3. You have this work around http://forum.phpvms.net/topic/3423-live-fuel-problem-work-around/page__p__23469__hl__fuel__fromsearch__1#entry23469
  4. I have the same "problem", i just uncomment the code and nothing change. I try change the code and for now is working for me, is that a problem for system with my change? I just replace/comment $reports = PIREPData::findPIREPS($search, 1); // return only one with $reports = PIREPData::getLastReports(Auth::$userinfo->pilotid, 1, PIREP_ACCEPTED); Thanks Helder Duarte
  5. Or maybe my english is not good to understand :/ My php file is "new" not phpvms The php file starts <?php header("Expires: Mon, 1 Dec 2003 01:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); header("Content-Type: text/html; charset=ISO-8859-1"); $link = mysql_connect("localhost", "DBUSERNAME", "DBPASSWORD") or die("Could not connect: " . mysql_error()); mysql_selectdb("DATABASENAME",$link) or die ("Can\'t use dbmapserver : " . mysql_error()); $result = mysql_query("SELECT * FROM PHPVMS_acarsdata WHERE lastupdate > DATE_SUB( NOW() , INTERVAL 2 MINUTE )", $link); while($row = mysql_fetch_array($result)) { $VARIABLE = $row['FIELDYOUWANT']; echo $VARIABLE; } mysql_close(); ?> phpvms already have jquery so you dont need my line <script type="text/javascript" language="javascript" src="URLTOJQUERY/jquery-latest.js"></script> just jump to the next code
  6. Hello, i have a refresh flightboard with jquery. I created a single php file with all code of flightboard lets say flightboard.php Then in site header insert (if you dont have yet)<script type="text/javascript" language="javascript" src="URLTOJQUERY/jquery-latest.js"></script> next <script type="text/javascript"> refreshId = null; $(document).ready(function() { $("#YOURDIV").load('PATHTOFILE/flightboard.php'); var refreshId = setInterval(function() { $("#YOURDIV").load('PATHTOFILE/flightboard.php?randval='+ String((new Date()).getTime()).replace(/\D/gi, "")); }, 10000); }); </script> The line with randval... is for IE The 10000 is refresh 10 seconds To show just echo YOURDIV like <div id="YOURDIV"></div> In top of your flightboard.php you need to add the lines at the top to prevent cache i think header("Expires: Mon, 1 Dec 2003 01:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); header("Content-Type: text/html; charset=ISO-8859-1"); Hope it helps you
  7. piuozorio

    Problem IE

    Im not a pro, but can give you my working code if it helps <object data="URL.swf" type="application/x-shockwave-flash" width="300" height="250"> <param name="movie" value="URL.swf"> <param name="wmode" value="transparent"> </object>
  8. piuozorio

    Problem IE

    Hello, i open your site with chrome and the menu still behind the video. I haved a similar problem with menu and flash presentation, the solution for me was to put a value = transparent In my case <object data="URL.swf" ....><param name="wmode" value="transparent"></object> Hope it works for you
  9. Hello again, imagine a passenger/you view a list of tickets from your last location, only bided schedules from all VAs(who want). The list: VA1 sell each ticked 200 VA2 100 VA3 150 VA4 1000 It's obvious you are not going to buy from VA4 and VA4 wont sell anything. The VA4 must decrease the price if want to sell something or maybe some kind of VA reputation will explain why so high is price and it's worth the fly/money. See the list of prices from others VAs that you said is great. The most database part must be in VAs, because you can continue customize your VA, i dont like vafs or fsairlines because of that, no access to database and show in iframe. Regards
  10. Hello, i think i understand you. Maybe i wrote wrong, yeah the passenger/pilot(ex: VA1) who purshase the ticket pay(his money) to other VA(ex: VA2), the pilot(VA2) who flies receive normally from registered VA(VA2). The ticket money goes to VA2. If nobody does the flight i dont know, maybe list only bided flights and if pilot cancel the bid will have consequences, if the pilot bid and dont do it, he has a big trouble , a solution would eventually be arranged. Yes agree real schedules. Virtual passengers i dont liked, i thought in money circulating between VAs that brings competitive in PHPVMS. The system generates and remained that as it is, the passenger(buyer) and other buyers will be like "hidden" from PAX, for VA2 this tickets are just an extra money and extra expenses for buyers VA1.(not too realistic but...) I agree, VAs have to pay the services monthly to VACENTRAL. The price services database is operated by VACENTRAL. The rent part does not fit my idea but i like. The idea: VA1 senddata ------------> VACENTRAL receivedata <---------- <------- senddata -------> receivedata VA2 senddata -------------> receivedata <---------- Thank you for your reply Helder Duarte
  11. Hello, i dont know if this is the right forum and sorry my english, i will try to explain my idea. My idea is to share the tickets to other VAs. Let's say my last location is LPPT and i go to schedules to bid but no aircraft or no schedule avaliable at LPPT(in my VA). So the page(schedules)will show a list of tickets, not only from my VA but from other va's too (let's take easyjet va and someva) for example. That ticket list will show flights(in iframe or something), from my va, easyjet va and someva (and all others who share), i see the prices list and the most cheap ticket i purchase (someva). The money is taked from me (pilot) to that va (someva), and when that airline (someva pilot) do the flight i will be "jumpseat" to the destination airport. The option is set in VA administration (Share Tickets - on or off). The schedules (tickets) database is in VACENTRAL I dont know but i think it can be done with xml
  12. OK thank you for reply
  13. Thank you for your reply. I move to phpvms, i was using fsacars and fspax together. Then i installed phpvms for the first time, not in root, root/modules/fspvirtual I make a script to get old pilots ids, names, admission date... total hours and "convert" to match the new pilot table(phpvms). All is working good(i think) exept that. The value of transfer hours is only showed to registered pilots, i edit the public profile. My VA http://www.flightsimulatorportugal.com/modules/fspvirtual/ Sorry my english
  14. Hello, i have instaled the full 2.1.934 version and transfer my "old" pilots and total hours to the phpvms pilots table mysql, ok. Sometimes (happened 2 times in same 2 pilots until now) the "transferhours" of those pilots are updated to a lower hours and i dont know why?! For example one pilot have: Total Hours: 5 Total Transfered Hours: 700 Suddenly: Total Hours: 5 Total Transfered Hours: 4.02 for example Any suggestion? Appreciate any help
  15. Hello, i have a similar problem. I registered my VA(Flight Simulator Portugal) in vacentral , put the code in my local.config and all works ok(i think) except "Average PIREPs per day" is empty and "Yesterday's Score" is 0. Am I missing something? Thanks in advance. Sorry my english and thank you your hard work
  16. Hello, I use a similar code in my website and using SEC_TO_TIME(SUM( TIME_TO_SEC the database will return the value but with a limit of 859:...... hours. About your error, try changing to echo $row['total_time']; Hope it help and sorry my english
×
×
  • Create New...