Jump to content

YusufBudi

Members
  • Posts

    29
  • Joined

  • Last visited

Posts posted by YusufBudi

  1.  

    On 9/19/2022 at 12:15 PM, flyalaska said:

    They are dead. Some of the mods dont work anymore because there site is down.

     

    few weeks ago, one of my CC modules stopped working, and i found that the module sent a validation script to CC's server, which is not avail anymore.

    i had to skip the validation check script, and now it's working again.

    not sure if it's right thing do, but i bought the module years ago, and i think i have the rights to keep it working as i expected
     

  2. 1 hour ago, Parkho said:

    If you get that API then I'll write the code for it! 

    Great..

    This is the documentation link for IVAO APIv2 https://wiki.ivao.aero/en/home/devops/api/documentation-v2.


    I don't know which one you need, but you might want to look at the user session on the private API set.


    Also, to use the private API, va must be listed as official in IVAO, and only then they can request the token to use the API. Which i believe is not difficult for Vielma16 and Srilankan Virtual.

     



     

     

     

  3. IMHO, for IVAO, you can try to parse IVAO whazzup data, and compare it to your pilot's flight data. If something match (can be vid, and/or callsign, and/or strings at the remark), then the system tag it online per whazzup download. So you have to set minimum value for the whole flight to be reported as online flight.

    Or you can try for their private APIv2, which require token for an approved VA.


    But, still i can't write a code for that, so i would like to know too..

  4. On 7/26/2021 at 8:26 PM, VIELMA16 said:

    Well, doing a little research I was able to make the map visible but now when there is someone online it is not seen on the map.

     

    https://ibb.co/0rnSnrc


    You've changed to Leaflet?

    You have to modify the scripts for displaying the whatever things you want at your map to Leaflet script too...



    Regards

     

  5. Hello All....


    I had a problem with Auto Assignment Module by Crazy Creatives.

    If pilot bid the assigned schedule, the phpvms system recognize that the pilot had a bid, but the bid won't show on the pilot's bid page. Instead the bid appears on the smartcars.
    Further investigation, i found that the module did not send aircraft registration to the phpvms_bids table (the aircraftid is 0/zero, not blank).

    As the module is payware, would someone kind enough to help me on this via PM? The developer is no longer replying for their customer's communication.


    Regards
     

  6. 13 hours ago, ProAvia said:

    While one can not discuss payware code in a public forum, one could use the PM system of the forum to discuss the issues with other users who have legally purchased the same module.

     

    Possible post the error you are receiving - without posting any payware code - and mention the module you are using. Then ask users who use the same module to contact you via PM. Use caution to check that other users actually have the same module though. Sadly, there have been reports of users attempting to get payware code from other users while not actually owning the original payware module.

     

    Example:

    "I am receiving the following error while using payware module (name of module and developer here).

    Warning: count(): Parameter must be an array or an object that implements Countable in (don't put any more than this).

    Since this is a payware module, please contact me via PM if you have purchased this module and can help. Thanks!"


    Get your point ProAvia..

    Will do that, hope someone will be able to help me


    Thanks

  7. Me too had several payware CC modules....and no respond from their end to my problem.

     

    The question is, how can i get some help from this community to resolve my problem related to the CC payware modules?

     

    In my case, i think i know what might the problem is, but my scripting knowledge is not that good.

    I believe there must be a way to get help from this community, other than "no solution here, please contact the not-replying-at-all developer for your issue"

    Any direction ProAvia?

  8. hello.....

     

    can somebody direct me how to change the route map displayed when i click the route on the pilot's pirep detail on the Admin panel?

    I could manage to convert the map on the va site, but not on this particular map in the admin panel...
     

    i've attached the map results from the same pirep, one from the pilot's logbook, and one from the admin pilot pirep list



    thanks...


    version 5.5.2.72
    php7.2
     

    map 1.png

    map2.png

  9. Great skin..!!

    If you get errors :

    - home: Fatal error: Call to undefined method TouchdownStatsData::get_landingstats_currentmonth() in/home/yusufbudi1234/public_html/flyid.net/lib/skins/blueIce/frontpage_main.php on line 139

    See this thread and jump to post#106. Just insert this on the TouchdownstatsData.class.php

    public static function get_stats_by_cur_month($howmany) {
    		 $query = "SELECT pilotid, code, flightnum, depicao, arricao, aircraft, landingrate, submitdate FROM `".TABLE_PREFIX."pireps`
    							 WHERE landingrate < '0'
    				 AND MONTH(submitdate)=MONTH(now())
    				 AND YEAR(submitdate)=YEAR(now())
    				 ORDER BY landingrate DESC
    				 LIMIT $howmany";
     return DB::get_results($query);
     }
    

    and change the frontpage_main.php line 139 to

    $lstats = TouchdownStatsData::get_stats_by_cur_month(5);
    

    - My Profile : Fatal error: Call to undefined method StatsData::TotalPilotMiles() in/home/yusufbudi1234/public_html/flyid.net/lib/skins/blueIce/profile_main.php on line 57

    Solved, as posted by Servetas here post #2

    public static function TotalPilotMiles($pilotid)
    {
     $key = 'total_miles';
     $key .= '_'.$pilotid;
    
     $total = CodonCache::read($key);
    
     if($total === false)
     {
      $total = 0;
      $sql = "SELECT * FROM ".TABLE_PREFIX."pireps WHERE pilotid='$pilotid' AND accepted=1";
      $results = DB::get_results($sql);
      if($results) { foreach($results as $result) { $total += $result->distance; } }
    
      CodonCache::write($key, $total, '15minute');
     }
     return $total;
    }
    

    - Edit : Just found the solution.

    URL : http://flyid.net

    PHPVMS ver : 5.5.2

    PHP ver : 5.5.37

  10. Managed to install on two servers, all with phpvms 5.5 from simpilot...

    But, on one server, all page with recaptcha on it, won't display properly

    Can anybody tell me how to resolve this captcha issue?

    RESOLVED!!

    This is what i did...

    1. go to https://www.google.c...ntro/index.html, and get your key (public/site key and secret key)

    2. set your key on the app.config.php

    3. open core_htmlhead.php and add :

    <script src='https://www.google.com/recaptcha/api.js'></script>
    

    4. open contact_form.php and registration_mainform.php and then on both files :

    replace

    <?php echo recaptcha_get_html(Config::Get('RECAPTCHA_PUBLIC_KEY'), $captcha_error); ?> 

    with

    <div class="g-recaptcha" data-sitekey="YOUR_PUBLIC_KEY"></div>

    Thank you for this awesome skin.

  11. Hello...

    I get errors like these...

    Notice: The template file "/home/sidesti1/public_html//lib/skins/ocean_blue/header.php" doesn't exist in /home/sidesti1/public_html/core/classes/TemplateSet.class.php on line231

    and

    Notice: The template file "/home/sidesti1/public_html//lib/skins/ocean_blue/footer.php" doesn't exist in /home/sidesti1/public_html/core/classes/TemplateSet.class.php on line231

    installed on www.sidestickrider.net

    What did i do wrong? i can't find the header.php and footer.php..

    Regards

  12. Hello Simpilot..

    Interested in your module here, but, instead made the point redeemable, can you twist it, so the point will be a requirement for pilot rank upgrade.

    Let's say that to advance to the rank of captain, pilot must have 100 flight hours, and 100 points. Those 2 criteria must be fulfilled before the pilot can advance to the Pilot rank. Combined with required days and required amount of flights, will made my VA complete.

    Can you make the module? How much this will cost me?

    Regards

    Yusuf Budi

    • Like 1
×
×
  • Create New...