Kyle
1
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:
Screenshot of Module:
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
Version 1.1 - May 24, 2012
- Removed two unused functions
Download From GitHub - Download
If you have any questions, please post in this topic!
Kyle could it be that the upload lacks the sql install file
great addon what I can see from the shots
best regards,
Thomas
mattia
4
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
getting the same error like Mattia
Kyle
6
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.
Kyle
7
Module Updated -
Version 1.1 - May 24, 2012
- Removed two unused functions
Download From GitHub - Download
found another problem if you want to choose month you get
An Error Was Encountered
The module “STATSCENTER” doesn’t exist!
1 Like
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
Kyle
10
ok found the Problem I think
echo ‘’.$month_name.’ - ‘.$startyear.’';
should be vStatsCenter instead of StatsCenter on line 35 in vStatsCenter.tpl
Your right! Nice job. Will update right away.
Good Eyes!
Kyle
11
Module Updated -
Version 1.2 - May 24, 2012
- Corrected URL Link in dropdown - Thanks
Download From GitHub - Download
Kyle
13
No problem! Glad it works!
vJet2
14
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
Kyle
15
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.
Kyle
16
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.
CTB001
17
get a 404 page can noth downlad
Kyle
18
I’ll reupload the module tonight.
Sorry, I had been busy fixing many things at Patriot VA.
ok you changed it that it only show current month right?
best regards,
Thomas