Jump to content

alpyeni1

Members
  • Posts

    51
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Bodrum, Turkey
  • Interests
    PHP, C#, CSS, JS and HTML.

Contact Methods

  • Skype
    alp-yeni

Recent Profile Visitors

3324 profile views

alpyeni1's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Hello, Are you sure, you were already set Site Name in your Admin Panel>Settings page or in Installation Step? Thanks.
  2. Kishshey, smartCARS is not reporting flight progress to web servers. You can create a "Flight Status" to bottom of ACARS Map Table. Simply, search in this forum. Also, you are not sure about this subject, you are free to contact to smartCARS Developers with using Ticket System in http://tfdidesign.com/clientarea.php Thanks!
  3. Hey Booagce, Search in this forum. I think you can find. Also MXYZPTLK, I don't know anything for your problem. I'm using version 2.1.936 and I haven't got any problem with Position reporting and NavData. We are using smartCARS 2.1 Thanks.
  4. Hey, I'm glad to hear that. The others may be experiencing this problem, You want to share the the solution with us? Thanks!
  5. Hey, Yes, you can do it with simple database query. I don't know, How I do this in phpVMS infrastructure. Because, I've never done such a thing. But, I can write something for you If you want to do this. Also, I think, Somebody add a simple line into specified classes. (for example, into AircraftStats.class.php or OperationsData.class.php) Thanks.
  6. Hey, Give me more details. 1- You're full admin rights in your webpage (I mean, you are the developer?) and Are you sure about it? 2- Right click to your page and select "Inspect Element", select "Console" tab. Then, What do you read there, copy all lines and paste here. Thanks!
  7. Hey, Did you tried to clean the cache? Also, If you get any Time Out, HTTP 406 and 500 erros, please disconnect your phpVMs from VaCentral if you don't use it. How I do this? Go to your local.config.php in core/ folder. Open it and paste this settings to anywhere. /* VACentral */ Config::Set('VACENTRAL_ENABLED', false); If it doesn't work, follow this instructions a. Open your dashboard.tpl in admin/templates folder. b. Delete all lines and paste this codes. Remember to create backup! <h3>VA Stats:</h3> <table width="100%"> <tr> <td valign="top" width="33%" nowrap="nowrap"> <strong>Users Online: </strong><?php echo count(StatsData::UsersOnline()); ?><br /> <strong>Guests Online: </strong><?php echo count(StatsData::GuestsOnline()); ?> </td> <td valign="top" width="33%" nowrap="nowrap" > <strong>Total Pilots: </strong><?php echo StatsData::PilotCount(); ?><br /> <strong>Total Flights: </strong><?php echo StatsData::TotalFlights(); ?><br /> <strong>Total Hours Flown: </strong><?php echo StatsData::TotalHours(); ?> </td> <td valign="top" width="33%" nowrap="nowrap" > <strong>Miles Flown: </strong><?php echo StatsData::TotalMilesFlown(); ?><br /> <strong>Total Schedules: </strong><?php echo StatsData::TotalSchedules(); ?><br /> <strong>Flights Today: </strong><?php echo StatsData::TotalFlightsToday();?> </td> </tr> </table> <h3>Pilot Reports for the Past Week</h3> <div align="center" style="width=98%"> <div id="reportcounts" align="center" width="400px" > <img src="<?php echo fileurl('/lib/images/loading.gif');?>" /><br /><br /> Loading... </div> </div> <?php /* Added in 2.0! */ $chart_width = '800'; $chart_height = '200'; /* Don't need to change anything below this here */ ?> <script type="text/javascript" src="<?php echo fileurl('/lib/js/ofc/js/swfobject.js')?>"></script> <script type="text/javascript"> swfobject.embedSWF("<?php echo fileurl('/lib/js/ofc/open-flash-chart.swf');?>", "reportcounts", "<?php echo $chart_width;?>", "<?php echo $chart_height;?>", "9.0.0", "expressInstall.swf", {"data-file":"<?php echo adminaction('/dashboard/pirepcounts');?>"}); </script> With this code, you're detaching all of the connections between phpVMS and vaCentral. Try this solutions. If it doesn't work, we spoke again about this problem. Note: Paste your error_log if you have in your FTP. Thanks!
  8. Hey, According to my knowledge, phpVMS system sending automatic emails about only this sections. If you have new Registration, system automatically sending e mail. Also, you have new pirep, system automatically sending e-mail to you. Thanks.
  9. Hey, No problem. Have a nice day! Bye.
  10. Hey, Can you check this line in schedule_briefing.tpl? (line 195 on default) <input type="button" onclick="simbriefsubmit('http://www.YOURSITENAME.com/index.php/SimBrief');" style="font-size:30px" value="Generate Simbrief"> Change YOURSITENAME aera in this code. If you do this, your simBrief module can work with your system. Thanks.
  11. Hey, It is not true. Read the line in app.config.php on line 19~28 /** * DO NOT MODIFY THESE SETTINGS HERE!! * They will get over-ridden in an update. These are just defaults * To change, copy-paste and change the line/option/setting into your * local.config.php file * * Most of these are in your local.config.php already * * View the docs for details about these settings */ Copy this codes (below) and paste your local.config.php in core/ folder. (Anywhere. Doesn't matter) # ACARS options # Minutes, flights to show on the ACARS # Default is 720 minutes (12 hours) Config::Set('ACARS_LIVE_TIME', 10); Config::Set('ACARS_DEBUG', false); P.S: 10 is the minutes of live time. I all set to 10 minutes live time. You're free to change this. Remember, it's minute value. Not hour! Thanks!
  12. Hey, I am writed something for you. I'm sure it's working with bootstrap progress bar. You can try another progress bar styles. Remember to change <div class="here"> Preview: http://i.hizliresim.com/b5kQ4Z.jpg <?php // Code by Alp Yeni $percentage = ($pilot_hours/$nextrank->minhours) * 100; //Calculate percentage to next rank. $round = round($percentage); // Round percentage because xxx.x% is not good for CSS. echo '<div class="progress">'; // Create progress bar echo "<div class='progress-bar' role='progressbar' aria-valuenow='60' aria-valuemin='0' aria-valuemax='100' style='width: ", $round, "%'></div>"; // Progress bar inner echo '<span class="sr-only">' .$round. '% Complete</span>'; // Progress bar percentage echo '</div>'; //close inner echo '</div>'; // Close percentage bar ?> For more bootstrap progress-bar styles: http://getbootstrap....nents/#progress Thanks!
  13. Hey, If you want to close the automatic e-mails follow these easy stepes: Go to your local.config.php (in core/ folder) Add these lines after #Email Settings # Set specific email addresses to send notifications to Config::Set('EMAIL_NEW_REGISTRATIONS', false); Config::Set('EMAIL_NEW_PIREP', false); 3. Save and send your local.config to your server. phpVMS sending automatic e-mails in two categories. New Registrations and New PIREPs. You're closing these functions with using these code. Thanks!
  14. Hey, I can't understand. You're edited the e-mail templates in core/templates folder. And your pilots can't read or understand german language. Finally, you want to fix it and restore to orginal english language. Is that correct? Thanks!
  15. Hey, What does it mean? You find a solution? Thanks!
×
×
  • Create New...