[RC2] Statistics Mod 4.2.9

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
Wicher
Registered User
Posts: 1806
Joined: Wed May 07, 2003 10:33 pm
Location: Netherlands or Holland, your choice..
Contact:

Re: [RC2] Statistics Mod 4.x.x

Post by Wicher » Tue Dec 18, 2007 8:33 pm

it tries to create the file modules/cache/temp.pak
You can try to create a file with that name yourself if you keep getting the error and chmod it to 777.

The explain link is admin only.

User avatar
beggers
Registered User
Posts: 1257
Joined: Fri Nov 23, 2001 8:19 pm
Location: Las Vegas
Contact:

Re: [RC2] Statistics Mod 4.x.x

Post by beggers » Fri Dec 28, 2007 6:16 am

I think this is a bug:

If you use the admin command to clear the cache it actually deletes everything in that directory including:

cache/explain
cache/templates
cache/templates/subSilver
cache/temp.pak

As we know, the stats will stop functioning without these dirs (and the correct permissions) and I as far as I can tell they must be manually created again before anything works.

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

Re: [RC2] Statistics Mod 4.x.x

Post by Wicher » Fri Dec 28, 2007 10:11 am

Normally, when your host permits you to create dirs and chmod trhough php, then those dirs would be created automatic.
Just dont clear the cache if you dont have those permissions.

marian0810
Former Team Member
Posts: 3011
Joined: Mon May 21, 2007 9:17 pm
Location: The Netherlands
Name: Marian
Contact:

Re: [RC2] Statistics Mod 4.x.x

Post by marian0810 » Thu Jan 03, 2008 2:00 pm

marian0810 wrote:I wonder if it's possible to make a request for more modules?
I'd really love to see some stats on most-used-OS, most-used-browser and total hourly/daily/weekly/monthly-pageviews Image
Would this be possible by any chance?
You and me, time and space. You watch us run!

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

Re: [RC2] Statistics Mod 4.x.x

Post by Wicher » Thu Jan 03, 2008 7:26 pm

Maybe some one else can help you with this, i realy dont have the time to do it.
It also would require the installation of a mod that keeps track of such things.
Statistics mod itself would then be able to display statistics on them, if there would be modules created for it that is...

XiNiTHAOUS
Registered User
Posts: 202
Joined: Tue Jun 20, 2006 2:22 pm

Re: [RC2] Statistics Mod 4.x.x

Post by XiNiTHAOUS » Tue Jan 15, 2008 10:30 am

The statistics page just times out for me, no error is even shown. Any ideas? Latest version installed.

Fisch.666
Registered User
Posts: 219
Joined: Sat Jul 30, 2005 10:58 am

Re: [RC2] Statistics Mod 4.x.x

Post by Fisch.666 » Tue Jan 15, 2008 2:39 pm

Hi!

I hope this wasn't asked before, but its quite difficult to read 46 pages for this question... Is it possible to set return limit for one single module to another limit like 20 and set the setting for all other modules to 10? Thanks in advance for an reply.

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

Re: [RC2] Statistics Mod 4.x.x

Post by Wicher » Tue Jan 15, 2008 6:03 pm

You can do this by editting the installed modules.php, which you will find in root/modules/xxx/modules.php, and search that file for

Code: Select all

LIMIT " . $core->return_limit;
and change that into for example:

Code: Select all

LIMIT 20";
It might be in the file more then ones.

Fisch.666
Registered User
Posts: 219
Joined: Sat Jul 30, 2005 10:58 am

Re: [RC2] Statistics Mod 4.x.x

Post by Fisch.666 » Tue Jan 15, 2008 7:15 pm

Hi Wicher,

thanks for your quick reply!!!! I just want to use this for the "most_ignored_users" module, but i had problems finding this part:

Code: Select all

LIMIT " . $core->return_limit;
so i removed this from the modules.php:

Code: Select all

if ($totalusers > $core->return_limit)
{
      for($f = 0; $f < $core->return_limit; $f++)
      {
              $postrowfinal[] = $postrowalmostfinal[$f];
      }
}
else
because i just want to have all ignored users in this list and now this works without a problem. Thanks again for your help!

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

Re: [RC2] Statistics Mod 4.x.x

Post by Wicher » Tue Jan 15, 2008 7:43 pm

:D

anton1o
Registered User
Posts: 131
Joined: Thu Apr 06, 2006 10:30 pm

Re: [RC2] Statistics Mod 4.x.x

Post by anton1o » Sat Feb 02, 2008 6:41 am

Hey witcher,

Mods been working fine for a few months now but all of a sudden it's not showing stats anymore

Image

any ideas?

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

Re: [RC2] Statistics Mod 4.x.x

Post by Wicher » Sat Feb 02, 2008 11:04 am

You probably need to check if all file and dir permissions are still set ok.

anton1o
Registered User
Posts: 131
Joined: Thu Apr 06, 2006 10:30 pm

Re: [RC2] Statistics Mod 4.x.x

Post by anton1o » Sun Feb 03, 2008 12:31 am

Would you happen to know which files require what permission level?

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

Re: [RC2] Statistics Mod 4.x.x

Post by Wicher » Sun Feb 03, 2008 1:50 pm

See the first post of this topic

fouinix
Registered User
Posts: 5
Joined: Wed May 07, 2008 8:15 am

Re: [RC2] Statistics Mod 4.x.x

Post by fouinix » Wed May 07, 2008 8:17 am

Hi all,
I try to find the same mod for phpbb3. Do you have any idea ?
Thanks

Post Reply

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