Activity Stats MOD

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Locked
stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: Activity Stats MOD

Post by stokerpiller »

No, seriously.
I am talking about the Activity Stats MOD showing how many guests visited the last 24 hours instead of only showing the last 24 hours users visiting.

I know how to use the standard phpBB Viewonline function ;)
I am done with phpBB
User avatar
DragonMaster1
Registered User
Posts: 994
Joined: Tue Aug 17, 2004 11:04 am
Name: Terry
Contact:

Re: Activity Stats MOD

Post by DragonMaster1 »

OH....that would be a nice feature to have on it
User avatar
3Di
Former Team Member
Posts: 16166
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milano 🇮🇹 Frankfurt 🇩🇪
Name: Marco
Contact:

Re: Activity Stats MOD

Post by 3Di »

stokerpiller wrote:No, seriously.
I am talking about the Activity Stats MOD showing how many guests visited the last 24 hours instead of only showing the last 24 hours users visiting.
I slightly modified this code to do that with flags (guests related) successfully, you can see that in action at my board, shouldn't be so hard to modify it in order to display the Count instead of flags. I believe. ;)
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
BruceJuice
Registered User
Posts: 76
Joined: Fri Apr 17, 2009 8:39 am

Re: Activity Stats MOD

Post by BruceJuice »

Hello,

I am installing a modifcation and I am using the AeroBlack theme.

It is the Activity Stats MOD by Highway of Life.

When I search in Index_body for the line

Code: Select all

<p>{TOTAL_POSTS} &bull; {TOTAL_TOPICS} &bull; {TOTAL_USERS} &bull; {NEWEST_USER}</p>
It is not found



Any ideas on what to do for this template.


Please help
BruceJuice
Registered User
Posts: 76
Joined: Fri Apr 17, 2009 8:39 am

Re: Activity Stats MOD

Post by BruceJuice »

BUMP!
momentum
Registered User
Posts: 1505
Joined: Thu Sep 20, 2007 4:07 am
Location: Melbourne, Australia

Re: Activity Stats MOD

Post by momentum »

The Aeroblack style is based upon subsilver2. You should be using the subsilver2.xml instruction file that you'll find in the templates directory of the unpacked MOD.

Craig.
QOTY: phpBB is free, good hosting is not. - robert (Lumpy Burgertushie)
webrp
Registered User
Posts: 107
Joined: Sun May 11, 2008 3:33 am

cant get BOTS off

Post by webrp »

Hi,

I have phpbb 3.0.4 and I cant get the BOT users not to be shown on the "users active in last 24h".

I followed instructions here but they are not working
--------oOo--------
Q: How can I get the list to exclude the bots (spiders)?
A: OPEN: includes/functions_activity_stats.php
FIND:

Code: Select all

'WHERE'        => 'u.user_lastvisit > ' . (time() - 86400) . ' OR s.session_user_id <> ' . ANONYMOUS,     
REPLACE, WITH:

Code: Select all

    'WHERE'        => 'u.user_type <> ' . USER_IGNORE . ' AND (u.user_lastvisit > ' . (time() - 86400) . ' OR s.session_user_id <> ' . ANONYMOUS . ')',   
Any tips?
User avatar
RMcGirr83
Former Team Member
Posts: 21909
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Activity Stats MOD

Post by RMcGirr83 »

webrp, make sure you purge the cache after uploading the changes...this mod uses caching so the changes will not occur immediately unless you purge the cache.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beerImage
webrp
Registered User
Posts: 107
Joined: Sun May 11, 2008 3:33 am

Re: Activity Stats MOD

Post by webrp »

RMcGirr83 wrote:webrp, make sure you purge the cache after uploading the changes...this mod uses caching so the changes will not occur immediately unless you purge the cache.
you are right. Its solved!
Bots are now hidden.
thank you
Richazey
Registered User
Posts: 823
Joined: Mon Oct 27, 2008 9:03 pm

Re: Activity Stats MOD

Post by Richazey »

Just a quick question does the stats for how many posts/topics update straight away or does it do it every hour and if it does is there away of making update say every 15 minutes?
User avatar
RMcGirr83
Former Team Member
Posts: 21909
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Activity Stats MOD

Post by RMcGirr83 »

It updates every hour, to change,

OPEN

functions_activity_stats.php

FIND

Code: Select all

function obtain_activity_data()
FIND

Code: Select all

		// cache this data for 1 hour, this improves performance
		$cache->put('_activity_mod', $activity, 3600);
change the 3600 (60*60) to 900 (15*60) to have it update every 15 minutes.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beerImage
Richazey
Registered User
Posts: 823
Joined: Mon Oct 27, 2008 9:03 pm

Re: Activity Stats MOD

Post by Richazey »

Cheers RMcGirr83, worked like a charm!
User avatar
kber
Registered User
Posts: 986
Joined: Sun May 07, 2006 9:22 am
Location: Egypt
Contact:

Re: Activity Stats MOD

Post by kber »

How many queries does this mod use ? and what if the users is about 14000 and counting , is it cause a high load ?
Hello All
User avatar
RMcGirr83
Former Team Member
Posts: 21909
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Activity Stats MOD

Post by RMcGirr83 »

There are three queries done...and they are simple queries so I don't think the load would be any greater than normal. All three queries are cached for one hour in order to reduce the load though.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beerImage
User avatar
DragonMaster1
Registered User
Posts: 994
Joined: Tue Aug 17, 2004 11:04 am
Name: Terry
Contact:

Re: Activity Stats MOD

Post by DragonMaster1 »

3Di wrote:
stokerpiller wrote:No, seriously.
I am talking about the Activity Stats MOD showing how many guests visited the last 24 hours instead of only showing the last 24 hours users visiting.
I slightly modified this code to do that with flags (guests related) successfully, you can see that in action at my board, shouldn't be so hard to modify it in order to display the Count instead of flags. I believe. ;)
How do you do that modification?

It looks nice
Locked

Return to “[3.0.x] MOD Database Releases”