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
User avatar
GurlzLubme
Registered User
Posts: 880
Joined: Wed Sep 01, 2004 11:21 am
Location: New York

Re: Activity Stats MOD

Post by GurlzLubme »

currently, my forum is not open registration and requires an admin approval. An account was registered, but has not been approved, yet the Act. Stats Mod shows that there is 1 new user in the last 24 hours. Is it really supposed to work like that? Can we fix that? To me, a "new user" should be a new user that is approved by admin (if applicable).

what do u think?
1,000,000 Thank Yous to everyone who's been helping me on phpbb.com!
silentcross
Registered User
Posts: 10
Joined: Mon Jun 02, 2008 8:32 am

Re: Activity Stats MOD

Post by silentcross »

where i can find

Code: Select all

Find
Tip: This may be a partial find and not the whole line.

Code: Select All
<td class="row1" rowspan="{%:1}" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
Increment
Tip: This allows you to alter integers. For help on what each operator means, click here.

Code: Select All
%:1 +1
i can't find it, any clue ?
Gplaya4lyfe
Registered User
Posts: 95
Joined: Sat Mar 01, 2008 6:04 pm

Re: Activity Stats MOD

Post by Gplaya4lyfe »

Code: Select all

	<td class="row1" rowspan="2" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
	<!-- ELSE -->

this is the closest thing i found to this:

Code: Select all

Find
Tip: This may be a partial find and not the whole line.

Code: Select All
<td class="row1" rowspan="{%:1}" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
Increment
Tip: This allows you to alter integers. For help on what each operator means, click here.

Code: Select All
%:1 +1

I have no clue what i am supposed to do
can someone help?
Rick_
Registered User
Posts: 19
Joined: Wed Jun 11, 2008 12:32 am
Contact:

Re: Activity Stats MOD

Post by Rick_ »

<td class="row1" rowspan="2" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
<!-- ELSE -->


rowspan="2" should be increased with 1

So change rowspan="2" into rowspan="3" and it'll work :)
WebzPoint.com - First phpBB forum with iTrader!
User avatar
rphMedia
Registered User
Posts: 166
Joined: Sun Oct 22, 2006 3:03 pm
Location: Maine, USA
Contact:

Re: Activity Stats MOD

Post by rphMedia »

Great mod!

Small problem. I created a special group and the color of the group doesn't show in the Activity Stats. The color is fine throughout the rest of the board. The sample group color is orange.

http://muvipix.com/phpBB3

Thanks.

Edit: disregard, took a while to update. Works perfect.
Regards,

Ron
TheExoticFishDOTcom
I've Been Banned!
Posts: 88
Joined: Sun Mar 23, 2008 8:11 pm
Contact:

Re: Activity Stats MOD

Post by TheExoticFishDOTcom »

I've had this mod installed for a while now. I just looked on my forum and had new posts from a user, yet that user's name isn't showing in the 24 hour stats area... Any idea why ?
Rick_
Registered User
Posts: 19
Joined: Wed Jun 11, 2008 12:32 am
Contact:

Re: Activity Stats MOD

Post by Rick_ »

It's not realtime, that's why ;)
WebzPoint.com - First phpBB forum with iTrader!
TheExoticFishDOTcom
I've Been Banned!
Posts: 88
Joined: Sun Mar 23, 2008 8:11 pm
Contact:

Re: Activity Stats MOD

Post by TheExoticFishDOTcom »

Yeah, I just noticed it updated. I guess I never paid close attention before to see how fast it showed users in that section.
User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: Activity Stats MOD

Post by IPB_Refugee »

Hi David,

thanks for your great MOD!

Would it be very difficult to add the names of the users who registered their accounts during the last 24 hours? The users who did'nt activate their accounts should be written in italic.

Have a nice Sunday
Wolfgang
User avatar
Mickroz
Registered User
Posts: 661
Joined: Thu Mar 06, 2003 11:20 pm
Location: Netherlands
Contact:

Re: Activity Stats MOD

Post by Mickroz »

GurlzLubme wrote:currently, my forum is not open registration and requires an admin approval. An account was registered, but has not been approved, yet the Act. Stats Mod shows that there is 1 new user in the last 24 hours. Is it really supposed to work like that? Can we fix that? To me, a "new user" should be a new user that is approved by admin (if applicable).

what do u think?
this will only work if you activate the account within 24 hours you could try this:

Code: Select all

#
#-----[ OPEN ]------------------------------------------
#
includes/functions_activity_stats.php

#
#-----[ FIND ]------------------------------------------
# 
		// total new users in the last 24 hours, counts inactive users as well
		$sql = 'SELECT COUNT(user_id) AS new_users
				FROM ' . USERS_TABLE . '
				WHERE user_regdate > ' . $interval;

#
#-----[ REPLACE WITH ]------------------------------------------
#
		// total new users in the last 24 hours
		$sql = 'SELECT COUNT(user_id) AS new_users
				FROM ' . USERS_TABLE . '
				WHERE user_type = ' . USER_NORMAL . '
					AND user_regdate > ' . $interval;
I don't need to "get a life." I'm a Gamer, I have lots of lives!
Q: Whats a hash and a root password?
A: hash gets you high, root password gives you god powers, combine the 2 and you are invincible.
User avatar
Jo Ann
Registered User
Posts: 209
Joined: Wed Dec 10, 2003 2:00 am
Location: Western PA
Contact:

Re: Activity Stats MOD

Post by Jo Ann »

great mod, just what i was looking for...this way i can track bots as well as users!
Jo Ann
kutam
Registered User
Posts: 13
Joined: Tue Jun 17, 2008 12:08 pm

Re: Activity Stats MOD

Post by kutam »

Good one...thanks for the MOD.

http://www.phpbb.com/rules/#rule6a :mrgreen: :lol:
Last edited by Highway of Life on Thu Jun 19, 2008 6:53 am, edited 1 time in total.
Reason: http://www.phpbb.com/rules/#rule6a
inayan
Registered User
Posts: 41
Joined: Fri Apr 13, 2007 9:25 pm
Location: Knoxville, TN

Re: Activity Stats MOD

Post by inayan »

Hello all -

Is it okay to change the mod to show information for the last 48 hours (rather than 24) and if so, how can this be done?

Thanks! Really liking this Mod but changing it to 48 would make it perfect for us.
User avatar
KeithR
Former Team Member
Posts: 750
Joined: Mon Jun 16, 2008 6:59 pm
Location: Manchester, UK
Name: Keith R

Re: Activity Stats MOD

Post by KeithR »

Many thanks for this MOD :) I was a bit nervous about trying this due to my lack of phpBB knowledge, however it was a lot easier than I first thought.

Thank's again Highway of Life :D
User avatar
Mickroz
Registered User
Posts: 661
Joined: Thu Mar 06, 2003 11:20 pm
Location: Netherlands
Contact:

Re: Activity Stats MOD

Post by Mickroz »

inayan wrote:Hello all -

Is it okay to change the mod to show information for the last 48 hours (rather than 24) and if so, how can this be done?

Thanks! Really liking this Mod but changing it to 48 would make it perfect for us.
open functions_ativity_stats.php

find twice:

Code: Select all

86400
replace with:

Code: Select all

86400 * 2
open language/en/mods/activity_stats.php
find:

Code: Select all

	'USERS_24HOUR_TOTAL'	=> '%d Users active over the last 24 hours',
replace with:

Code: Select all

	'USERS_24HOUR_TOTAL'	=> '%d Users active over the last 48 hours',
find:

Code: Select all

	'24HOUR_STATS'			=> 'Activity over the last 24 hours',
replace with:

Code: Select all

	'24HOUR_STATS'			=> 'Activity over the last 48 hours',
I don't need to "get a life." I'm a Gamer, I have lots of lives!
Q: Whats a hash and a root password?
A: hash gets you high, root password gives you god powers, combine the 2 and you are invincible.
Locked

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