Jump to content

jdejansb

Members
  • Posts

    21
  • Joined

  • Last visited

Posts posted by jdejansb

  1. Are there anymore country;s and there flags available yet to add to the the ones that come with default phpvms. I have a couple of pilots from Serbia but that country not in list. There is a listing for the Former Yugoslavia but no flag.If no new ones how do I add a country and its flag image to phpvms.

    Got this solved (at least two times haha) ..

    Search thru files for Yugoslavia (I guess it is this one: core/common/Countries.class.php); somewhere in between other coutries (alphabeticaly, it goes between Senegal and Seychelles) add Serbia with RS as a code.

    I think that there is a image for RS, and as for Yug I will try to upload it .. damn, how do I add attach here ? ;) done ..

    p.s. For me, part of Countres.class.php is:

    'SN' => 'Senegal','RS' => 'Serbia','SC' => 'Seychelles',
    

    post-45707-0-00681200-1405556161.png

  2. Wanted to share what I did with Charter Flight system in last few hours:

    We didn't want to change our VA CallSign (AirMAK - MKD) when pilots fly charters (representing our VA on VATSIM).

    So, I added VA with 4-characters ICAO: MKD0 -- Of course, I had to change structure of database (length of code txt field needs to be 4 - in all tables that uses it).

    Then, I removed (changed flight numbers) flights from regular schedule that start with 0 - so, from now on, charter flights, created with Charter Filght System addon will be MKD0###, Charters that pilots fly without booking will be MKD0## and all Scheduled flights are MKD1## to MKD9#### ;)

    And, of course, to solve the problem with empty "Flight Type" field, I replaced "CH" in all files with "MKD0" !!

    Now, let's give it to some pilots to test this hehehe...

    Cheerz!!!

  3. I think i got the simrate thing fixed in the next Version....just fixing some other stuff as well before i upload it.

    Good news! ;)

    For Charters i could add a field to select an aircraft. However the limits are more for a custom Version cause i think kany VAs dont restrict the pilots to their own and the aircraft location for Charter flights. So that would be unuseable for them.

    We do restrict, as in real life .. aircraft wouldn't move from airport to airport unless it flies :) Do I make any sense?

    What i dont really understand yet is how flight numbers work on the Charter options of other Clients. As far as i'm aware of a pirep can only be Submitted when the flight exisits in the schedules right? Now if i let the client add a new flight for all Charter flights flown they would also appear as schedules on my website and i wouldnt really want that!?

    We use pilot's ID as a flight number if flying off-schedules (charter)...

    But, the idea of putting charter flights into some per-pilot (shareable) database and then BOOK from those flights ... seems interesting. Anybody interseted into codeing that? :D

  4. Well i havent added Charters because the customers for which i started developing this use a charter module on their website and didnt want to allow pilots to just fly where they want from within the client but it should be pretty easy to add. How do you guys want the Charter option to work?

    I know it needs some work from the site side, but I think it should be simple as possible:

    - choose a aircraft (located at the same airport as the pilot!),

    - enter destination (starting point has to be current airport, we don't accept PIREP if it starts from a location different from last pirep arrival airport),

    - enter other data (pax, FL, route) ...

    I didn't think of charter module on web site - if pilot could create a route then book it and use as regular scheduled flights, that could be the solution ... even saving it for later use! :)

  5. I will have a look at this... i havent seen that yet. Do you actually change the simrate or is this coming up without you doing anything?

    Nope, I didn't change a thing. One pause I had was to change time of day (FSX does pause while you do this, or access menus for whatever reason - so, pilots, don't do it inflight), but chaning "simrate" (Simulatin Rate/Speed) I didn't do ;)

    Flaps change log is nice, landing rate was great (as I had under 10fps) ... but all around there are crazy simrate changes :)

    KDXH0FA.png

  6. Aah yeah & breaks the xml....i will adjust the code so that it doesnt break if there is a & in any of the fields

    Yeah - you could expect ppl to put everything in any field ;) hehe like we did ;)))

    Btw, multiple times entered into schedule works OK (we did not make two flight entries for flight at 11 and 17 o'clock, just put 11:00 and 17:00 into schedule).....

  7. Hi,

    There is no caching going on, the current flights are directly fetches from the database in an sql query. If it's taking a while, it's just that the internet connection or the server speed is low.

    Thanks

    ...

    Ok, I changed few lines ... or just little things in them ... where it compares current time and last update form acars ...

    it's in frontpage_main.tpl file:

    foreach($l as $fl) {
    $lu = strtotime($fl->lastupdate);
    $min_u = strtotime("now") - 7200;
    
    if($lu > $min_u) {
    

  8. Hey guys i`m currently developing an ACARS client for some of my website customers and am going to release a basic version of it for free.

    I`m now starting the Beta Test Phase of it and would need some guys who are interested in trying it and give me some feedback on what i need to improve before i can release it.

    If you are interested please PM me so that i can send you the required files.

    Here are some screenshots (WIP):

    post-2351-0-84905000-1405208440_thumb.jpg

    post-2351-0-49798200-1405208446_thumb.jpg

    Looks pretty nice - could put it to test with frinds from AirMAK !!! :)

  9. Wild guess here, but I think it may have something to do with the database prefix. I coded this a little while ago, when I was amateur, so excuse that mistake. Try accessing the frontpage_main.tpl and look for some $sql = query. Right in there you should see something along the lines of "SELECT * FROM `phpvms_acarsdata`". Change the phpvms_ to your database prefix you had set.

    Well, somehow, it Started working ... Also, I had a problem to filter scheduled flights according to pilots location (from last PIREP), but I put

     if(is_object($reports[0]))
    		    {
    				    # IF the arrival airport doesn't match the departure airport
    				    if($reports[0]->arricao != $route->depicao)
    				    {
    						    continue;
    				    }
    		    }
    

    instead of $reports in schedule_results.tpl and now it works!!! ;)

    Hope to find more interesting things and 'call' you for help...

    Ah, yes, now I remember - since I own a smal ISP company, and I have my servers, and my hosting(s), I installed your skin at different site (club.airmakva.com) than our VA (www.airmakva.com) but they both use same database... (mysql, localhost)

    From time to time, ONE of sites goes crazy, showing some errors, and, as I remember, complain about not having some files from skins folder - from skin the other site is using ... HA!? :)

    Cheerz!!!

    • Like 1
  10. Just installed this skin and I like it very much ...I can't get Current Flights to show on first page (Flight Info / Live Flight Information maps shows current and few previous flights). We are using kAcars free 1.0.1.1 ...

    Any idea what could be wrong? I went thru this thread and tried few things myself but didn't make it work ... club.airmakva.com is the site if you wish to take a look ;)

    Thanks in advance,

    Dejan

×
×
  • Create New...