Periodic stats will not let me change months
Periodic stats will not let me change months
I have the stats mod installed on my client's phpbb forum. When we go to the Periodic Statistics tab, it shows the daily stats for the current month. However, if I try to go to a different month and click Go, I get redirected to the Board Index instead of the stats for the previous month. It's very important that we get this fixed asap. I can give you site access if you need to see it for yourself. (everything is private)
- Marc
- Administrator
- Posts: 620
- Joined: Tue 2. Sep 2008, 22:48
- phpbb.com: Marc
- Location: Munich
- Contact:
Re: Periodic stats will not let me change months
Do you maybe use a static URL, i.e. you are on the statistics page but you still see example.com/ in your browser?
If not, do you maybe include the forum using an iframe?
If not, do you maybe include the forum using an iframe?
Re: Periodic stats will not let me change months
This is the URL to the Periodic Statistics page:
http://community.connectwise.com/index. ... .php&i=221
We actually use phpbb on a Joomla site and a component called JFusion makes it appear in the Joomla wrapper so the styling remains inside the template. You need to log in to view that link. You may use these credentials
user: stats
pass: wn99tYjrIG
http://community.connectwise.com/index. ... .php&i=221
We actually use phpbb on a Joomla site and a component called JFusion makes it appear in the Joomla wrapper so the styling remains inside the template. You need to log in to view that link. You may use these credentials
user: stats
pass: wn99tYjrIG
- Marc
- Administrator
- Posts: 620
- Joined: Tue 2. Sep 2008, 22:48
- phpbb.com: Marc
- Location: Munich
- Contact:
Re: Periodic stats will not let me change months
You didn't set the permissions for me, so I can't view the statistics.
Re: Periodic stats will not let me change months
Oops, I totally forgot about that. You should be able to view them now.
- Marc
- Administrator
- Posts: 620
- Joined: Tue 2. Sep 2008, 22:48
- phpbb.com: Marc
- Location: Munich
- Contact:
Re: Periodic stats will not let me change months
Try if this helps:
Open includes/stats/stats_periodic.php
Find:
Replace with:
If that doesn't help, please add this line after the mentioned code for debug purposes:
Your font-size will increase and you will see an error message on the top of your board. Please post the exact error message.
Also, you might want to refresh your theme & template cache.
Open includes/stats/stats_periodic.php
Find:
Code: Select all
$template->assign_vars(array(
'L_TITLE' => $user->lang['STATS_PERIODIC_' . strtoupper($mode)],
'S_FS_ACTION' => $this->u_action,
'AS_ON' => sprintf($user->lang['AS_ON'], $user->format_date(time())),
));
Code: Select all
$template->assign_vars(array(
'L_TITLE' => $user->lang['STATS_PERIODIC_' . strtoupper($mode)],
'S_STATS_ACTION' => $this->u_action,
'AS_ON' => sprintf($user->lang['AS_ON'], $user->format_date(time())),
));
Code: Select all
echo $this->u_action;
Also, you might want to refresh your theme & template cache.
Re: Periodic stats will not let me change months
Looks like the first replace worked! Thanks a lot!