Jump to content

vStatsCenter


Kyle
Message added by Kyle

WARNING: This module is no longer supported from the developer as the developer is shifting their focus on phpVMS v4 Addons.

Recommended Posts

  • Moderators

vStatsCenter_V1.0

This module allows you and your virtual pilots to veiw the VA's monthly stats, and go back in time by month to see what stats happened in it's month.

Created Under: http://creativecommo...s/by-nc-sa/3.0/

Completed By: Vansers

Screenshot of Module:

vstats.jpg

How To Install:

1) Download the file that is attached here...

2) Unzip the file...

3) Upload the files same as the structure as your phpvms files.

Enjoy the Module!

A simple URL Link to the module.

<a href="<?php echo url('/vStatsCenter/'); ?>">vStatsCenter</a>

Version 1.0 - May 23, 2012

  • First Release

Version 1.1 - May 24, 2012

  • Removed two unused functions

Download From GitHub - Download

If you have any questions, please post in this topic!

  • Like 4
Link to comment
Share on other sites

ok found the Problem I think

echo '<option value="'.url('/StatsCenter/index?month='.$startmonth.'&year='.$startyear.'').'">'.$month_name.' - '.$startyear.'</option>';

should be vStatsCenter instead of StatsCenter on line 35 in vStatsCenter.tpl

Link to comment
Share on other sites

  • Moderators

ok found the Problem I think

echo '<option value="'.url('/StatsCenter/index?month='.$startmonth.'&year='.$startyear.'').'">'.$month_name.' - '.$startyear.'</option>';

should be vStatsCenter instead of StatsCenter on line 35 in vStatsCenter.tpl

Your right! Nice job. Will update right away.

Good Eyes! ;)

Link to comment
Share on other sites

Hi Kyle,

I think i have found an error. On line 59 in the template folder it says

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

The problem being when you select a month on the screen it stays at May. I took out the _name and it update ok but it only gives the month number.

Great module by the way :)

Link to comment
Share on other sites

  • Moderators

Hi Kyle,

I think i have found an error. On line 59 in the template folder it says

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

The problem being when you select a month on the screen it stays at May. I took out the _name and it update ok but it only gives the month number.

Great module by the way :)

thanks for letting me know. will update tonight.

Link to comment
Share on other sites

  • Moderators

ok you changed it that it only show current month right?

best regards,

Thomas

What the! I'll put the code back in soon.

Sorry about that. I didn't realize that I removed it.

Link to comment
Share on other sites

  • Moderators

Hi Kyle,

When do you put the wright code back. Very nice addon btw :D

Regards,

Cor

Thanks Cor. ;D

Sorry about that for forgetting that about that code. I'll get a chance tonight and put back the code in.

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...