Jump to content
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
Posted

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
Posted

hi kyle, thanks for the module but i have this error

Fatal error: Call to undefined method VAStatsData::monthly_promotions() in /var/www/virtual/xxxxxxmodules/vStatsCenter/vStatsCenter.php on line 47

  • Moderators
Posted

Sorry guys,

I'll fix that. if you want to manually fix it. Take out line 47 & 48 and that error will go away.

I'll update the file soon.

Posted

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

  • Moderators
Posted

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! ;)

Posted

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 :)

  • Moderators
Posted

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.

  • Moderators
Posted

to who is wondering why the download won't work,

I have pulled down the module for unseen reasons.

I'll have it reuploaded later tonight.

  • Moderators
Posted

I'll reupload the module tonight.

Sorry, I had been busy fixing many things at Patriot VA.

  • Moderators
Posted

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.

  • Moderators
Posted

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.

Posted

Goodmorning Kyle,

Did you had a change yet to put the code back in and updated te download file yet?

Have a good day.

Regards,

Cor

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