vStatsCenter

its working good now!

thanks for this nice addon Kyle!

Greets

michael Kraan

its working good now!

thanks for this nice addon Kyle!

Greets

michael Kraan

Whew! (sigh)!!!

Perfect!

Your welcome as well!

i have one little question,

i use more airliners on one site. but is it possible that i see under airliner stats the 4 airliners? and not one stats for the ailriner.

see screenshots,

Its a idea, let me know

Greets

Michael Kraan

Works perfectly now, thanks Vansers

No Problem!

Kyle,

Great addition, just the one problem i can find is when you change the selected date the h3 does not change it stays on the current month, the year changes but the month does not,

<h3 align="center">Stats For <?php echo $month_name;?> - <?php echo $year;?></h3>

I think its getting confused with the defined parameters at the top of the page.

Mark,

yeah I know it’s been a issue. im going to rewrite the module one function for current month and another function for the past month or something else. maybe add a error messages.

cheers!

Is this working yet?

Well, lol.

I’m rewritting this module to remove thoses ugly ?month=07&year=2012 urls and putting them into clean. So, I’m pushing the update here pretty soon. Why not wait for the update?

Build Released!

Download Here

View Changes Here

=================

Okay, I have redone the module and there is a exterme improvement here.

  1. You do not need to put in the date and year in the URL for the current’s month stats.

Example, today’s is July 2012, you go to the module at www.va.com/index.php/vStatsCenter, the module will get all of the July 2012’s stats. Simple. Be sure to update your URL links to the following code…

<a href="<?php echo url('/vStatsCenter/');?>">vStatsCenter</a>
  1. If you want to look for past stats, you can use the drop down on the page, and select a month and hit View Month Stats, you’ll notice the URL is now clean. Example www.va.com/index.php/vStatsCenter/past/04/2012

Cheers!

Mark,

yeah I know it’s been a issue. im going to rewrite the module one function for current month and another function for the past month or something else. maybe add a error messages.

cheers!

Not been about for a while so just catching up, that was the only issue i had with the addition.

Great work by the way Kyle.

Hi Mark,

I took the _name away from

<h3 align=“center”>Stats For <?php echo $month_name;?> - <?php echo $year;?></h3>

and it now changes but it gives a number ie instead of july its will say 7

I have settled for that until Kyle gets a fix

Kyle all fixed on that latest release you have done,

Cheers mate great addition.

I have lot of years… Start at 1969…

Why?

Thanks.

Somehow, it’s odd for the the dates going back to 1969. It should go away, but if it doesn’t for the next few days, let me know.

I’m going to work on this to prevent this.

that always goes away when i clear the cache and optimize the tables in the admin panel

oh I hate things being cached… they are an issue in these things.

Kyle,

I have problems with the time, see picture. Its is different with the total time on the mainpage and also different with

the pilot times via the module toppilot http://www.vbirdva.com/vbv/index.php/TopPilot

I have been looking for an answer, but no luck at this time. Maybe you or somebody else has a quick solution.

Reagards,

Cor

post-834-0-50339100-1342595566.jpg

hmm that`s strange… i just checked that on my site and there they are identical for simpilots module and vStatsCenter.

Cor use a round function on the time in the index.tpl i had this and was an easy fix.

<?php echo round ($flighthours), (1);?>

the column you need to mod i think is this one.

<?php echo $ptime->time;?>

So would be this,

<?php echo round ($ptime->time), (1);?>

Not tested but should be good