Jump to content


  • Content Count

  • Joined

  • Last visited

Posts posted by YusufBudi

  1. 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

  2. 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?


    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 :


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


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

    Thank you for this awesome skin.

  3. 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


    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..


  4. 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?


    Yusuf Budi

    • Like 1
  5. G'day Simpilot,

    I recieve the message below on my site,

    Latest News

    Notice: The template file "/home/qantasvi/public_html//core/templates/popupnews_list.tpl" doesn't exist in /home/qantasvi/public_html/core/classes/TemplateSet.class.php on line 248

    PopUpNews © simpilotgroup.com

    this can be viewed on my site: http://qantasvirtual.com/

    Looks like you did not put the popupnews_list.tpl file in your core/templates or skin folder.


    i am totally new to phpvms and its script....learning by doing now..

    i had the same problem on the first quote, the answer obviously pretty clear on the second quote..but, where i can get the popupnews_list.tpl file? do i have to create it myself?

    if so, can anybody show me how?

  6. hi...my VA already use this facilities...and it works well

    but i'm curious whether i can see the pilot answer during exam? not just his score...

    i saw view/edit records at the pilot, but i can not clicked it..

    so...anyway i can see the pilot exam question after he finished the exam? i need to see on which part he fail....


  • Create New...