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
richey
Registered User
Posts: 617
Joined: Mon Feb 18, 2002 4:26 pm
Location: now@Cyberspace
Contact:

Re: Activity Stats MOD

Post by richey »

Strangely, the "active users" list (and count) seems to be ever-increasing... :geek:

Currently, my index page tells and lists about 1400 users who should have visited the board during the past 24 hours, 250 would be more realistic. Checking the listed users, I find that some of them haven't visited the board for days or even weeks. Session time is set to 3600 seconds. I refreshed the cache, but by that, the number just decreased by about 30 users. Bug, where are thou? :shock:

thanks,
r.
.
User avatar
Highway of Life
Former Team Member
Posts: 6048
Joined: Wed Feb 02, 2005 5:41 pm
Location: Seattle, WA
Name: David Lewis
Contact:

Re: Activity Stats MOD

Post by Highway of Life »

Sounds like your cron.php isn't working, which does garbage collection, the sessions are being held in your database, I bet.
Look in phpbb_sessions and see how many records it has.
The phpBB Weekly Podcast - Discussing the developments of phpBB4 and beyond.

New to phpBB3? Want to learn about programing?
Visit phpBB Academy at StarTrekGuide to learn how.
stalker92
Registered User
Posts: 10
Joined: Mon Mar 23, 2009 8:46 am

Re: Activity Stats MOD

Post by stalker92 »

I have the same problem as richey! :(
Anybody has idea how to solve it?
kevinviet
Registered User
Posts: 47
Joined: Mon Jun 08, 2009 6:35 pm

Re: Activity Stats MOD

Post by kevinviet »

Highway of Life wrote:Sounds like your cron.php isn't working, which does garbage collection, the sessions are being held in your database, I bet.
Look in phpbb_sessions and see how many records it has.
Hello
How do I fix cron.php to work ? my php sessions keep going higher and higher, I have about 204,789

thanks for any help.
iftitaj
Registered User
Posts: 638
Joined: Tue Jan 15, 2008 6:21 am
Location: Karachi, Pakistan

Re: Activity Stats MOD

Post by iftitaj »

kevinviet wrote:
Highway of Life wrote:Sounds like your cron.php isn't working, which does garbage collection, the sessions are being held in your database, I bet.
Look in phpbb_sessions and see how many records it has.
Hello
How do I fix cron.php to work ? my php sessions keep going higher and higher, I have about 204,789

thanks for any help.
If I were you, I'll first try to replace that file from freshly downloaded phpBB - making backup of current one. :idea:
kevinviet
Registered User
Posts: 47
Joined: Mon Jun 08, 2009 6:35 pm

Re: Activity Stats MOD

Post by kevinviet »

iftitaj wrote: If I were you, I'll first try to replace that file from freshly downloaded phpBB - making backup of current one. :idea:
thanks for the tips. I did that but no help. My Users active over the last 24 hours keep going up and up, some of members nick still in the list but they haven't been in the forum for month.
iftitaj
Registered User
Posts: 638
Joined: Tue Jan 15, 2008 6:21 am
Location: Karachi, Pakistan

Re: Activity Stats MOD

Post by iftitaj »

kevinviet wrote:
iftitaj wrote: If I were you, I'll first try to replace that file from freshly downloaded phpBB - making backup of current one. :idea:
thanks for the tips. I did that but no help. My Users active over the last 24 hours keep going up and up, some of members nick still in the list but they haven't been in the forum for month.
Have you tried purging your cache? Specially after using new cron.php file. I'm only advising basic things though a more helpful will be the developer himself.
kevinviet
Registered User
Posts: 47
Joined: Mon Jun 08, 2009 6:35 pm

Re: Activity Stats MOD

Post by kevinviet »

iftitaj wrote: thanks for the tips. I did that but no help. My Users active over the last 24 hours keep going up and up, some of members nick still in the list but they haven't been in the forum for month.
Have you tried purging your cache? Specially after using new cron.php file. I'm only advising basic things though a more helpful will be the developer himself.[/quote]


Yes I did purged the cache but still not fix the the problem. Anyway thanks alot for your advise iftitaj
crazy_girl
Registered User
Posts: 7
Joined: Tue Oct 13, 2009 11:03 am

Re: Activity Stats MOD

Post by crazy_girl »

In which folder upload the activity stats mod?
iftitaj
Registered User
Posts: 638
Joined: Tue Jan 15, 2008 6:21 am
Location: Karachi, Pakistan

Re: Activity Stats MOD

Post by iftitaj »

crazy_girl wrote:In which folder upload the activity stats mod?
It doesn't install in that way. Please follow this tutorial link:
http://www.phpbb.com/community/viewtopi ... 9&t=724145
LunaTickrf
Registered User
Posts: 17
Joined: Sun Oct 21, 2007 9:37 am

Re: Activity Stats MOD

Post by LunaTickrf »

I'm not sure if there's already a post with this but i can't be arsed to read 82 pages for it.

Here's the clean code for subsilver2 for phpbb3 with the same mod already installed.

Code: Select all

<!-- INCLUDE overall_header.html -->

<!-- IF U_MCP -->
	<div id="pageheader">
		<p class="linkmcp">[ <a href="{U_MCP}">{L_MCP}</a> ]</p>
	</div>

	<br clear="all" /><br />
<!-- ENDIF -->

<!-- INCLUDE forumlist_body.html -->

<!-- IF not S_IS_BOT or U_TEAM -->
<span class="gensmall"><!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a><!-- ENDIF --><!-- IF not S_IS_BOT and U_TEAM --> | <!-- ENDIF --><!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a><!-- ENDIF --></span><br />
<!-- ENDIF -->

<br clear="all" />

<!-- INCLUDE breadcrumbs.html -->

<!-- IF S_DISPLAY_ONLINE_LIST -->
	<br clear="all" />

	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<td class="cat" colspan="2"><!-- IF U_VIEWONLINE --><h4><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h4><!-- ELSE --><h4>{L_WHO_IS_ONLINE}</h4><!-- ENDIF --></td>
	</tr>
	<tr>
	<!-- IF LEGEND -->
		<td class="row1" rowspan="2" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
	<!-- ELSE -->
		<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
	<!-- ENDIF -->
		<td class="row1" width="100%"><span class="genmed">{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><br />{LOGGED_IN_USER_LIST}</span></td>
	</tr>
	<!-- IF LEGEND -->
		<tr>
			<td class="row1"><b class="gensmall">{L_LEGEND} :: {LEGEND}</b></td>
		</tr>
	<!-- ENDIF -->
	</table>
<!-- ENDIF -->
<table class="tablebg" width="100%" cellspacing="1">
<tr>
	<td class="cat" colspan="2"><h4>{L_24HOUR_STATS}</h4></td>
</tr>
	<!-- IF not S_IS_BOT -->
<td class="row1">{USERS_24HOUR_TOTAL}: <!-- BEGIN lastvisit -->{lastvisit.USERNAME_FULL}<!-- IF not lastvisit.S_LAST_ROW -->, <!-- ENDIF --><!-- END lastvisit --></td>
	<!-- ENDIF -->
<!-- IF S_DISPLAY_BIRTHDAY_LIST -->
	<br clear="all" />

	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<td class="cat" colspan="2"><h4>{L_BIRTHDAYS}</h4></td>
	</tr>
	<tr>
		<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_BIRTHDAYS}" /></td>
		<td class="row1" width="100%"><p class="genmed"><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <b>{BIRTHDAY_LIST}</b><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p></td>
	</tr>
	</table>
<!-- ENDIF -->

<br clear="all" />

<table class="tablebg" width="100%" cellspacing="1">
<tr>
	<td class="cat" colspan="2"><h4>{L_STATISTICS}</h4></td>
</tr>
<tr>
	<td class="row1"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_STATISTICS}" /></td>
	<td class="row1" width="100%" valign="middle"><p class="genmed">{TOTAL_POSTS} | {TOTAL_TOPICS} | {TOTAL_USERS} | {NEWEST_USER}</p></td>
</tr>
</table>

<br clear="all" />

<table class="tablebg" width="100%" cellspacing="1">
<tr>
	<td class="cat" colspan="2"><h4>{L_24HOUR_STATS}</h4></td>
</tr>
<td class="row1"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_STATISTICS}" /></td>
    <!-- IF not S_IS_BOT -->
	<td class="row1" width="100%" valign="middle"><p class="genmed"><p>{24HOUR_POSTS} | {24HOUR_TOPICS} | {24HOUR_USERS}</p>
	<!-- ENDIF -->
</table>
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
	<br clear="all" />

	<form method="post" action="{S_LOGIN_ACTION}">

	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<td class="cat"><h4><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></h4></td>
	</tr>
	<tr>
		<td class="row1" align="center"><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" name="username" size="10" />&nbsp; <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" />&nbsp; <!-- IF S_AUTOLOGIN_ENABLED --> <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF -->&nbsp; <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
	</tr>
	</table>
	{S_FORM_TOKEN}
	</form>
<!-- ENDIF -->

<br clear="all" />

<table class="legend">
<tr>
	<td width="20" align="center">{FORUM_NEW_IMG}</td>
	<td><span class="gensmall">{L_NEW_POSTS}</span></td>
	<td>&nbsp;&nbsp;</td>
	<td width="20" align="center">{FORUM_IMG}</td>
	<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
	<td>&nbsp;&nbsp;</td>
	<td width="20" align="center">{FORUM_LOCKED_IMG}</td>
	<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
</table>

<!-- INCLUDE overall_footer.html -->
Remember, this is a clean code, nothing else added then just the rows in the install instructions and edited for subsilver2.
Yan
Registered User
Posts: 30
Joined: Mon Nov 23, 2009 8:44 pm

Re: Activity Stats MOD

Post by Yan »

Yeah I'm also having issues with it showing everyone who's logged in since the board was installed. I've tried pretty much all the basics as well as some of the suggested methods in this thread but nothing has worked so far. Can we get a possible fix for this by chance?
User avatar
barryoneoff
Registered User
Posts: 248
Joined: Sat Mar 24, 2007 10:14 pm
Location: East London, England
Contact:

Re: Activity Stats MOD

Post by barryoneoff »

I'm not sure if there's already a post with this but i can't be arsed to read 82 pages for it.
But you expect someone else to?
Image
Click above to support St. Josephs Hospice.
Barryoneoff's London. ... City of London walks.
daev95
Registered User
Posts: 8
Joined: Sun Oct 11, 2009 10:54 pm

Re: Activity Stats MOD

Post by daev95 »

hi! i installed everything works fine but i dunno where to put it in the indexbody cause i use bf vista style can you help me please, this is the index body:

Code: Select all

<!-- INCLUDE overall_header.html -->

<!-- IF U_MCP -->
	<div id="pageheader">
		<p class="linkmcp">[ <a href="{U_MCP}" class="black">{L_MCP}</a> ]</p>
	</div>

	<br clear="all" /><br />
<!-- ENDIF -->

<!-- IF S_MCHAT_ENABLE and S_MCHAT_ON_INDEX and S_MCHAT_LOCATION --><!-- INCLUDE mchat_body.html --><!-- ENDIF -->
<!-- INCLUDE top_five_body.html -->
<!-- INCLUDE forumlist_body.html -->
<!-- IF S_MCHAT_ENABLE and S_MCHAT_ON_INDEX and not S_MCHAT_LOCATION --><!-- INCLUDE mchat_body.html --><!-- ENDIF -->

<!-- IF not S_IS_BOT or U_TEAM -->
<span class="gensmall"><!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a><!-- ENDIF --><!-- IF not S_IS_BOT and U_TEAM --> | <!-- ENDIF --><!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a><!-- ENDIF --></span><br />
<!-- ENDIF -->

<br clear="all" />

<!-- INCLUDE breadcrumbs.html -->

<!-- IF S_DISPLAY_ONLINE_LIST -->
	<br clear="all" />
	
<table id="bx" width="100%" height="28" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td><img src="{T_THEME_PATH}/images/cellpic4_l.png" width="17" height="28" alt="" /></td>
		<td background="{T_THEME_PATH}/images/cellpic4_m.png" width="100%" height="28"><!-- IF U_VIEWONLINE --><h4><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></h4><!-- ELSE --><h4>{L_WHO_IS_ONLINE}</h4><!-- ENDIF --></td>
		<td><img src="{T_THEME_PATH}/images/cellpic4_r.png" width="16" height="28" alt="" /></td>
	</tr>
</table>
	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
	<!-- IF LEGEND -->
		<td class="row1, transON" onmouseover="this.className='transOFF'" onmouseout="this.className='transON'" rowspan="2" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.png" alt="{L_WHO_IS_ONLINE}" /></td>
	<!-- ELSE -->
		<td class="row1, transON" onmouseover="this.className='transOFF'" onmouseout="this.className='transON'" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whos_online.png" alt="{L_WHO_IS_ONLINE}" /></td>
	<!-- ENDIF -->
		<td class="row1, transON" onmouseover="this.className='transOFF'" onmouseout="this.className='transON'" width="100%"><span class="genmed">{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><br />{LOGGED_IN_USER_LIST}</span></td>
	</tr>
	<!-- IF LEGEND -->
		<tr>
			<td class="row1, transON" onmouseover="this.className='transOFF'" onmouseout="this.className='transON'"><b class="gensmall">{L_LEGEND} :: {LEGEND}</b></td>
		</tr>
	<!-- ENDIF -->
	</table>
<!-- ENDIF -->

<!-- IF S_DISPLAY_BIRTHDAY_LIST -->
	<br clear="all" />
<table id="bx" width="100%" height="28" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td><img src="{T_THEME_PATH}/images/cellpic4_l.png" width="17" height="28" alt="" /></td>
		<td background="{T_THEME_PATH}/images/cellpic4_m.png" width="100%" height="28"><h4 class="cattitle">{L_BIRTHDAYS}</h4></td>
		<td><img src="{T_THEME_PATH}/images/cellpic4_r.png" width="16" height="28" alt="" /></td>
	</tr>
</table>
	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<td class="row1, transON" onmouseover="this.className='transOFF'" onmouseout="this.className='transON'" align="center" valign="middle"><img src="{T_THEME_PATH}/images/birthday.png" alt="{L_BIRTHDAYS}" /></td>
		<td class="row1, transON" onmouseover="this.className='transOFF'" onmouseout="this.className='transON'" width="100%"><p class="genmed"><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <b>{BIRTHDAY_LIST}</b><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p></td>
	</tr>
	</table>
<!-- ENDIF -->

<br clear="all" />
<table id="bx" width="100%" height="28" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td><img src="{T_THEME_PATH}/images/cellpic4_l.png" width="17" height="28" alt="" /></td>
		<td background="{T_THEME_PATH}/images/cellpic4_m.png" width="100%" height="28"><h4 class="cattitle">{L_STATISTICS}</h4></td>
		<td><img src="{T_THEME_PATH}/images/cellpic4_r.png" width="16" height="28" alt="" /></td>
	</tr>
</table>
<table class="tablebg" width="100%" cellspacing="1">
<tr>
	<td class="row1, transON" onmouseover="this.className='transOFF'" onmouseout="this.className='transON'"><img src="{T_THEME_PATH}/images/statistics.png" alt="{L_STATISTICS}" /></td>
	<td class="row1, transON" onmouseover="this.className='transOFF'" onmouseout="this.className='transON'" width="100%" valign="middle"><p class="genmed">{TOTAL_POSTS} | {TOTAL_TOPICS} | {TOTAL_USERS} | {NEWEST_USER}</p></td>
</tr>
</table>

<!-- IF not S_USER_LOGGED_IN -->
	<br clear="all" />

	<form method="post" action="{S_LOGIN_ACTION}">
	
    <table id="bx" width="100%" height="28" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td><img src="{T_THEME_PATH}/images/cellpic4_l.png" width="17" height="28" alt="" /></td>
		<td background="{T_THEME_PATH}/images/cellpic4_m.png" width="100%" height="28"><a href="{U_LOGIN_LOGOUT}" class="cattitle">{L_LOGIN_LOGOUT}</a></td>
		<td><img src="{T_THEME_PATH}/images/cellpic4_r.png" width="16" height="28" alt="" /></td>
	</tr>
	</table>
	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<td class="row1" align="center"><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" name="username" size="10" />&nbsp; <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" />&nbsp; <!-- IF S_AUTOLOGIN_ENABLED --> <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF -->&nbsp; <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
	</tr>
	</table>
	{S_FORM_TOKEN}
	</form>
<!-- ENDIF -->

<br clear="all" />

<table class="legend">
<tr>
	<td width="20" align="center">{FORUM_NEW_IMG}</td>
	<td><span class="gensmall">{L_NEW_POSTS}</span></td>
	<td>&nbsp;&nbsp;</td>
	<td width="20" align="center">{FORUM_IMG}</td>
	<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
	<td>&nbsp;&nbsp;</td>
	<td width="20" align="center">{FORUM_LOCKED_IMG}</td>
	<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
</table>
<br />
<br />
<!-- INCLUDE overall_footer.html -->
walkingjukebox
Registered User
Posts: 7
Joined: Mon Jan 19, 2009 7:13 pm

Re: Activity Stats MOD

Post by walkingjukebox »

Installed and works great! TY
Locked

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