Support Forum
Any questions or bug reports go here.
7149 topics in this forum
-
Statistics
by Stefan- 3 replies
- 1.8k views
Hello can anyone help me with a simple statistics that i can put on my website? Such as Hours flown, Flights flown, Pilots etc... Also i need to put the pilot information in my custom acars aswell, can anyone tell me how to change that image? ScreenShot080.bmp
Last reply by shiljo, -
- 22 replies
- 6.1k views
Hi folks, question, is there any code available to get the statistics of the month? I mean it should show top 3 pilots by flights, flighthours, and miles. Every single month it should create a new table for this three stats, above the last one. Could you help me?
Last reply by simpilot, -
- 3 replies
- 2.6k views
Hi all, I have a question regarding statistics. With the help of Michael I was able to get Pax and Cargo shown seperately. The code was : Now I am trying to make something different (as usual I can't ). In my very simple logic I get total Pax Scheduled flights with the code above, then I get total Pax Charter changing flighttype as "H". Now the confusing part (for me) comes; how do I sum both to get total pax carried? Total Pax Carried = Total Pax Scheduled + Total Pax Charter What I have done was (OK don't laugh...kidding.. you can laugh as loud as you can ) Cheers, Arslan
Last reply by airmermaid, -
- 5 replies
- 1.7k views
How do I put comas in my stats? My Total Hours look like this " Total Flight Hours:14777.43" and I want to place the coma in there, 14,777.43
Last reply by CPC900, -
- 33 replies
- 10.1k views
Hello In my statistics on main page I have tried to add a "totat passengers carried" field. To my surprise the number shown was unbelieveable. According to it my airline has carried around 104000 passengers with only 27 flights. Which makes around 3800 persons per flight. I took the data from .../core/common/StatsData.class.php (field is TotalPaxCarried). Am I looking at wrong place for that data? I also would like to know if there's a way to add Total Cargo Carried because my airline has a cargo section too. Cheers, Arslan
Last reply by TAV1702, -
- 1 reply
- 1.2k views
On my old site, I had a page that showed a pilots stats by aircraft type. It listed how many hours a pilot flew per aircraft and had a "certified" picture if he flew enough hours.... Anyways, how is the best way to go about pulling out that info from the database? To give you an idea of what I had a long time ago... <? print "<center>"; print "<b><font size=+3 color=#D86C4D>$callsign Fleet Stats</font></b><br>"; print "<hr width=800 align=center>"; $conn = mysql_connect mysql_select_db $query = "SELECT pilotid, equipment, ROUND((SUM(time_to_sec(duration))/3600),2) AS block, COUNT(duration) AS flights FROM pireps WHERE …
Last reply by CPC900, -
- 8 replies
- 2.7k views
I tried to upgrade to the latest beta to solve the awards issue with an award showing for all pilots but had to revert back to the release version due to getting the error "statsdataclass doesnt exist in......" on every page that shows any stats (pilot count, total hours, etc..) ???
Last reply by simpilot, -
stats date
by joeri- 13 replies
- 2.7k views
haviong a quick question curently i use this to see my pilots count Total Pilots: <?php echo StatsData::PilotCount() ?> but it will show all active and inactive is there a way to only show how many active pilots there are. gr joeri
Last reply by joeri, -
- 2 replies
- 1.9k views
hi there i am having problem with stat function by this code it showing me zero pilots can anyone help please <strong>Active Pilots: </strong> <?php echo StatsData::PilotCount(); ?><br />
Last reply by FiveStar, -
- 3 replies
- 2.5k views
Hi, i've idea to publish the stats of the pilot in his public profile. I've copied the code for Your Stats page but work only with the stats of the pilot logged in, and i know it So my new code is: <?php /* Added in 2.0! */ $chart_width = '600'; $chart_height = '250'; /* Don't need to change anything below this here */ ?> <div align="center" style="width: 100%;"> <div align="center" id="pireps_chart"></div> </div> <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-ch…
Last reply by Blu-Express VA, -
- 2 replies
- 1.3k views
Im trying to add some stats to my main page. Im having trouble, Can someone help me? I want, Pilots: Hours: PAX: Cargo: Any ideas?
Last reply by flyalaska, -
Stats Page
by CPC900- 7 replies
- 3.5k views
Ok, I really don't understand the workings of phpvms to try and do my own modules. So, I am asking for some guidance on one of my old sites stats pages..... Here is my original code of an html page. It basically showed the amount of hours pilots had per aircraft. I am hoping someone can sort of guide me in how/what I could do to make this function in phpvms. I used to pull all the data from the sql database, and obviously, you can tell I was doing it the long/hard way. I think I get confused by how to grab the data, how to add the data together from different tables, etc. inside the phpvms environment. I would really like to understand phpvms so I can help, rather …
Last reply by CPC900, -
- 5 replies
- 1.9k views
How do I change the color values in the stats pie chart?? From the profile_stats.tpl file?
Last reply by CPC900, -
- 2 followers
- 15 replies
- 3k views
again same problem remains anyone can help please why all stats showing zero. this code is in frontpage_main.tpl should i have to put in layout.tpl? <div align="center"> <table class="qtable" width="200px" style="margin-left:-4px;"> <tbody> <tr> <td style="border-bottom:1px dashed #CDCDCD;"><div align="left"> <strong>Flights Today</strong> </div></td><br /> <td style="border-bottom:1px dashed #CDCDCD;"><div align="center"><span class="label"><?php echo StatsData::totalflightstoday(); ?></span></div></td> </tr> <tr> <td style="border-bottom:1…
Last reply by Vangelis, -
Trying to display some stats on my main page, everything returns well except for the following. It seems like any thing requiring a SUM isn't displaying. <?php echo StatsData::TotalPaxCarried(); ?> <?php echo StatsData::TotalFuelBurned(); ?> <?php echo StatsData::TotalMilesFlown(); ?> I checked the actual database and there is information in each table
Last reply by Nabeel, -
SOLVED
Last reply by Cor, -
- 1 reply
- 1k views
Hello I have statsdata :: totalhours () on my site how can i put the time format like this 00:00? thanks
Last reply by PikoSim, -
- 13 replies
- 2.1k views
MOD note: OP is using BlueIce skin and having an issue with the instructions in that skin. I am trying to install phpvms 5.5.2.72. I am following all of the instructions in the readme. I copy and pasted this from the readme to StatsData.class.php, but it's not working. If I leave this part out my website works, but if I put it in, the website wont load. Any help would be greatly appreciated. Thank You.
Last reply by cfitz619, -
- 5 replies
- 2.8k views
Hi, i add in my Admin CP a cron job for ceck the status of pilot, but this is from the last flight, so when the pilot register yesterday and the ceck is tomorrow the pilot result inactive because the last flight result on the 1969, so, can i change the code and ceck for the new pilot the date when it joined and for the pilot that have a flight the last flight date?, if is possible in this mode, wich is the file?, i accept also another mode! Thanks
Last reply by Blu-Express VA, -
- 2 replies
- 1.5k views
Anyone know the code to display the pilot status badge into the Public profile....this would be for simpilots status badges..... Regards,
Last reply by Allan, -
- 8 replies
- 2.3k views
Whats the code to add the status of a pilot in the pilots roster. <td><?php echo $pilot->status?></td> That doesn't work. Also how can I add more statuses. Other than Acitve and Inactive. Thanks
Last reply by mseiwald, -
- 0 replies
- 806 views
Good afternoon guys, I have one more question. I have a problem on my system does not show the flight status list below the map, but shows the list of scheduled flights and I am not able to find where someone could help me with this part? Thanks
Last reply by Gtev, -
- 1 reply
- 1.5k views
hello tought the problemens of sending to database where over but again its back after i dit some altering to the local configfile and the update to the latest release so i need some help what ame i doing wrong i install vms full install than i upload via ftp the vms beta type in explorer /update/install.php the installer says install ok after install i delete the install map and than the problemens begin i get errors in my admin page like these Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Start tag expected, '<' not found in /home/dutchgl/domains/dutch-global-virtual-airlines.nl/public_html/phpvms/admin/mod…
Last reply by Nabeel, -
- 4 replies
- 1.9k views
hi all im use version : 2.1.934 and i have problem with group prmissions to asign any one as staff by creating group and assign selected tasks(i chose access_admin with selected tasks). im read all topics related to this problem on forums but still not solved and admin center not shown on menu above.
Last reply by raymond rabasi, -
- 8 replies
- 2.6k views
I did a flight yesterday and I notice this morning my Live Map still shows me on there?!!! Is there a time adjustment in phpvms for this. It states status as "FSACARS closed", but it should have gone away by now. This happens everytime it seems. I assume there is a time adjustment for phpvms??
Last reply by joeri, -
- 5 replies
- 1.4k views
Hello, Im trying to add "File a Manual PIREP" to the sidebar of stilsa skin and ive added this to the app_top.php.... a class="nav-link" href="<?php echo url('/pireps/filepirep'); ?>"> <i class="fas fa-map-marked-alt"></i> <span>File A Manual PIREP</span> </a> But the text is in a weird purple color and its not aligned with the other text on the sidebar, anyone know what to do?
Last reply by lukasc24, -
- 0 replies
- 933 views
Hello everyone! If you are having an issue with Fltbook bids not showing up on your "my bids" page with the StislaSkin when bidding on a flight through smartCARS. I've finally figured it out to fix the issue!!! Enough talk! Go to: /lib/skins/StislaSkin/schedule_bids.php go to line 31 and change: $bids = FltbookData::getBidsForPilot(Auth::$userinfo->pilotid); to $bids = SchedulesData::getBids(Auth::$userinfo->pilotid); There! PROBLEM SOLVED! After nagging and looking in the forums for months! And getting no response or help from anybody about it I was fiddling with the codes and found out that FltbookData was the reason that was happeni…
Last reply by Curshad, -
- 1 reply
- 1.1k views
Once i have bid on a flight if i don't fly it , it automatically cancels and i need to bid on it again. Is there a way to stop this?
Last reply by web541, -
- 1 reply
- 1.2k views
Hello, I tried to make a roster with all pilots in the airline, with out separating the HUBS. But when I do that, the list repeat itself the same amount of time as I have hubs in the airline. How would I make the script print each pilot just once? Thanks
Last reply by Nabeel, -
- 0 replies
- 1.1k views
Hey we want to know how we can assing turn overs (in spanish rotacion) go for EXAMPLE FROM (A) TO (B") TO (C")TO (A) we have seen that norwegian autoassgin this schedules to pilots, and we want to know how that coud be done! thanks for the help!
Last reply by reivax,