[DISC] Statistics Mod Version 4

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Post by igorw »

Installed it (very easy install), but see for yourself: http://www.ut4e.com/evil/forum/statistics.php

The commenting isn't working, plus i don't like that "hidden from Public". I liked it like in version 2, where it creates the stats based on permissions...

Any ideas?
User avatar
Wicher
Registered User
Posts: 1806
Joined: Wed May 07, 2003 10:33 pm
Location: Netherlands or Holland, your choice..
Contact:

Post by Wicher »

I see what you mean.
Those red lines dont look very good.
I'll see if i can get that fixed, but that can while.
My girlfriend has an operation tomorrow so i dont know when i get around to that.

I see you did not yet install the rest of the pak files that are in the zip.
You know you have to install those via the ACP?

Go to ACP/Statistics/Install Module and install the additional pak files.
After you installed them you have to activate them or they wont show up in the statistics page.
You do that via ACP/Statistics/Manage Modules
User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Post by igorw »

Yeah, but first of all i want to get it work properly at all. I'll also need to fix the Templates... :?
User avatar
Wicher
Registered User
Posts: 1806
Joined: Wed May 07, 2003 10:33 pm
Location: Netherlands or Holland, your choice..
Contact:

Post by Wicher »

Your template seems fine to me.

This Beta3c Statistics is based on a clean subSilver board with attachements and subforums 1.0.1 installed.
Last edited by Wicher on Fri Mar 31, 2006 4:28 pm, edited 1 time in total.
danb00
Registered User
Posts: 1025
Joined: Sun Dec 15, 2002 9:41 pm
Location: Inside Mod:Extreme PHPBB
Contact:

Post by danb00 »

quick fix
open
Statistics.tpl

find

Code: Select all

Statistics Mod Version 3 Demonstration (BETA3-2003-03-16)
Replace with

Code: Select all

Statistics Mod Version 3 Demonstration (BETA3-2006-03-30)
phpBBModded.com - Modding phpBB
User avatar
Wicher
Registered User
Posts: 1806
Joined: Wed May 07, 2003 10:33 pm
Location: Netherlands or Holland, your choice..
Contact:

Post by Wicher »

Another thing in statistics.tpl:

This will display the last update time and the expected next update time of every statistic.

Code: Select all

#
# FIND
#
{modules.CURRENT_MODULE}
<!--
<!-- BEGIN switch_display_timestats -->
<table border="0" cellpadding="0" cellspacing="0" class="forumline" width="100%"> 
<tr> 
	<td class="row2" align="center"><span class="gen">Last Update Time</span></td>
	<td class="row2" align="center"><span class="gen">{modules.LAST_UPDATE_TIME}</span></td>
	<td class="row2" align="center"><span class="gen">Next expected Update</span></td>
	<td class="row2" align="center"><span class="gen">{modules.NEXT_GUESSED_UPDATE_TIME}</span></td>
</tr> 
</table>
<!-- END switch_display_timestats -->
//-->
#
# REPLACE WITH
#
<!-- BEGIN switch_display_timestats -->
<table border="0" cellpadding="0" cellspacing="0" class="forumline" width="100%"> 
<tr> 
	<td class="row2" align="center"><span class="gensmall">Last Update Time: {modules.LAST_UPDATE_TIME}</span></td>
	<td class="row2" align="center"><span class="gensmall">Next expected Update: {modules.NEXT_GUESSED_UPDATE_TIME}</span></td>
</tr> 
</table>
<!-- END switch_display_timestats -->
{modules.CURRENT_MODULE}
#
# EOM
#
User avatar
Wicher
Registered User
Posts: 1806
Joined: Wed May 07, 2003 10:33 pm
Location: Netherlands or Holland, your choice..
Contact:

Post by Wicher »

Latest download in first post

Now also working with Categories hierarchy - 2.1.4
Last edited by Wicher on Mon Apr 03, 2006 8:10 pm, edited 1 time in total.
User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Post by igorw »

Update Code?
User avatar
Wicher
Registered User
Posts: 1806
Joined: Wed May 07, 2003 10:33 pm
Location: Netherlands or Holland, your choice..
Contact:

Post by Wicher »

If you want to update from previous versions of BETA3, just overwrite your existing files.
No need for editting common.php or overall_header.tpl when updating.

Only when you want to update from statistics before BETA3 you have to completly uninstall older versions, including any pak files you might have because the ones for BETA3 are different from previous versions.
User avatar
Wicher
Registered User
Posts: 1806
Joined: Wed May 07, 2003 10:33 pm
Location: Netherlands or Holland, your choice..
Contact:

Post by Wicher »

Added Module package in ACP, not sure if there are any bugs so please report any if you encounter them here.
Newest download is in first post.
User avatar
yexusbeliever
Registered User
Posts: 586
Joined: Mon Dec 08, 2003 8:49 pm
Location: Olympus phpBB3

Post by yexusbeliever »

For the Most Viewed Topics and Most Active Topics have red words saying "This topic is hidden from public view". I can not view whatever topics they are. In the ACP, all permission is set for view to all admin, mod, registered, and even guest. How can this error be fix?
User avatar
Wicher
Registered User
Posts: 1806
Joined: Wed May 07, 2003 10:33 pm
Location: Netherlands or Holland, your choice..
Contact:

Post by Wicher »

I dont know yet, working on it.
Can take a while though.
User avatar
Wicher
Registered User
Posts: 1806
Joined: Wed May 07, 2003 10:33 pm
Location: Netherlands or Holland, your choice..
Contact:

Post by Wicher »

It take also a while for statistics to update itself, it works with caching data.
If you want direct result showing of changing permissions for a forum, you will have to clear the cache in the ACP.

Then go to ACP/Statistics/Configuration
Vink Clear Cache and click Submit
User avatar
Wicher
Registered User
Posts: 1806
Joined: Wed May 07, 2003 10:33 pm
Location: Netherlands or Holland, your choice..
Contact:

Post by Wicher »

I redid the most_active_topics.pak.

Rest will follow soon.
This download will be included in the next update of Statistics mod beta3g
For now you can download the pak here.
Download most_active_topics.pak
danb00
Registered User
Posts: 1025
Joined: Sun Dec 15, 2002 9:41 pm
Location: Inside Mod:Extreme PHPBB
Contact:

Post by danb00 »

Might get the installer to install more modules on install
phpBBModded.com - Modding phpBB
Locked

Return to “[2.0.x] MODs in Development”