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
momentum
Registered User
Posts: 1505
Joined: Thu Sep 20, 2007 4:07 am
Location: Melbourne, Australia

Re: Activity Stats MOD

Post by momentum » Tue Jan 27, 2009 12:55 pm

In subsilver2 (not subSilver as that's a phpBB2 style) there's these lines...

Code: Select all

	<!-- 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>
I'd look carefully at your file and see what you can find.

Craig.
QOTY: phpBB is free, good hosting is not. - robert (Lumpy Burgertushie)

User avatar
Lisbon
Registered User
Posts: 825
Joined: Wed Jan 30, 2008 12:28 pm
Location: Zermatt

Re: Activity Stats MOD

Post by Lisbon » Wed Jan 28, 2009 2:07 pm

I dont find :oops:

Here is the file complet:

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 -->

<!-- IF S_USER_LOGGED_IN -->
	<!-- BEGIN lp_config -->
	<!-- IF lp_config.LP_ENABLE -->
		<!-- IF lp_config.LP_SLIDE --><!-- INCLUDE viewlast_post_slide.html -->
		<!-- ELSE --><!-- INCLUDE viewlast_post.html --><!-- ENDIF -->
	<!-- ENDIF -->
	<!-- END lp_config -->
<!-- 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="left" valign="middle">{L_WELCOME}<b>&nbsp;&nbsp;{USERNAME}</b><br />
	   <!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}
	   <!-- ENDIF --><br />
	   <!-- IF S_USER_LOGGED_IN --><a href="{U_VIEW_PROFILE}"><span>{USER_AVATAR}</span></a>
	   <!-- ELSE -->
	   <img src="{T_THEME_PATH}/images/guest_avatar.gif"/>
	   <!-- ENDIF --></td>
       <!-- ELSE -->
       <td class="row1" rowspan="2" align="left" valign="middle">{L_WELCOME}<b>&nbsp;&nbsp;{USERNAME}</b><br />
	   <!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}
	   <!-- ENDIF --><br />
	   <!-- IF S_USER_LOGGED_IN -->
	   <a href="{U_VIEW_PROFILE}"><span>{USER_AVATAR}</span></a>
	   <!-- ELSE -->
	   <img src="{T_THEME_PATH}/images/guest_avatar.gif"/>
	   <!-- ENDIF --></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>
	<!-- IF WHO_WAS_HERE_LIST2 -->
		<br clear="all" />

		<table class="tablebg" width="100%" cellspacing="1">
		<tr>
			<td class="cat" colspan="2"><h4>{L_WHO_WAS_HERE}</h4></td>
		</tr>
		<tr>
			<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
			<td class="row1" width="100%"><span class="genmed">{WHO_WAS_HERE_LIST2} ({WHO_WAS_HERE_EXP})<br />{WHO_WAS_HERE_RECORD}<br />{WHO_WAS_HERE_LIST}</span></td>
		</tr>
		</table>
	<!-- ELSEIF U_ACP -->
		<br clear="all" />

		<table class="tablebg" width="100%" cellspacing="1">
		<tr>
			<td class="cat" colspan="2"><h4>{L_WHO_WAS_HERE}</h4></td>
		</tr>
		<tr>
			<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
			<td class="row1" width="100%"><span class="genmed">{L_WWH_UPDATE_NEED}</span></td>
		</tr>
		</table>
	<!-- ENDIF -->
<!-- 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 -->		<br /><!-- IF BIRTHDAYS_AHEAD_LIST -->{L_BIRTHDAYS_AHEAD}: <b>{BIRTHDAYS_AHEAD_LIST}</b><!-- 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}<br />{TOPICS_PER_DAY} | {POSTS_PER_DAY} | {USERS_PER_DAY} | {TOPICS_PER_USER} | {POSTS_PER_USER} | {POSTS_PER_TOPIC}<br />{MILESTONE_MESSAGE} {MILESTONE_HISTORY} {MILESTONE_INFO}</p></td>
</tr>
</table>

<!-- IF not S_USER_LOGGED_IN -->
	<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 -->
Tks for help

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

Re: Activity Stats MOD

Post by momentum » Wed Jan 28, 2009 2:38 pm

If ever that file was from the subsilver2 included in the phpBB distribution it has been substantially changed since. There are references in there I've never seen before. I suspect you have several MODs installed that would preclude the use of the Activity Stats MOD.

I'm sorry but I can be of no help in this instance.

Craig.
QOTY: phpBB is free, good hosting is not. - robert (Lumpy Burgertushie)

dozens
Registered User
Posts: 27
Joined: Tue Jul 29, 2008 9:42 pm

Re: Activity Stats MOD

Post by dozens » Thu Feb 12, 2009 3:52 pm

It is possible to change the new user count to users who complete the registration and not the "Inactive useres" from the User & Groups tab?

mayniac
Registered User
Posts: 31
Joined: Fri Jan 16, 2009 3:59 am

Re: Activity Stats MOD

Post by mayniac » Mon Feb 16, 2009 1:15 am

ghudgins wrote:
Is there anyway to make it to display the time the user was last on when you hover over the user name in the activity legend?
I'm working on this, I already have it in my code for phpBB2 here to see in action: http://ipcf.io3di.com/index.php

Is this function available for phpBB3?

User avatar
WhiteWolfSix
Registered User
Posts: 258
Joined: Sun May 15, 2005 5:43 am

Re: Activity Stats MOD

Post by WhiteWolfSix » Mon Feb 16, 2009 11:44 am

Code: Select all

<h3 id="24hour_stats">
This ID doesn't seems to be XHTML valid, see validator.w3.org result:
Image
I propose to rename it to:
<h3 id="a_24hour_stats">
Image
WhiteWolfSix (WW6)

User avatar
bobbus74
Registered User
Posts: 21
Joined: Wed Jul 16, 2008 11:33 am

Re: Activity Stats MOD

Post by bobbus74 » Mon Feb 16, 2009 10:41 pm

Just installed this mod. Took like 5 minutes and works perfectly. Great work, thanks.
;)

newboy
Registered User
Posts: 23
Joined: Sat Feb 14, 2009 10:44 am

Re: Activity Stats MOD

Post by newboy » Tue Feb 17, 2009 4:53 am

Hi,I made a search but did not find any answer. My problem is a grey box appears in the legend box :

Image

Please help.

User avatar
Rahber
Former Team Member
Posts: 2720
Joined: Tue Feb 12, 2008 3:39 pm
Location: Pakistan
Name: Rahber
Contact:

Re: Activity Stats MOD

Post by Rahber » Tue Feb 17, 2009 5:49 am

i think this might be usefull
in index_body.html
find

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>
  

replace it with

Code: Select all

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

newboy
Registered User
Posts: 23
Joined: Sat Feb 14, 2009 10:44 am

Re: Activity Stats MOD

Post by newboy » Tue Feb 17, 2009 10:18 am

Thank you very much, but it didn't work :( . Hear is my index_body.html, please give it a look :

Code: Select all

<!-- INCLUDE overall_header.html -->

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

	<form method="post" action="{S_LOGIN_ACTION}">
	
	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<td class="cat" align="center"><h4><a class="aulove" 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 -->

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

	<br clear="all" /><br />
<!-- ENDIF -->
<br />
<!-- INCLUDE chat_body.html --><br />
<!-- INCLUDE top5.html -->
<br clear="all" />
<!-- INCLUDE forumlist_body.html --> <br />	
<span class="gensmall"><!-- IF not S_IS_BOT --><a class="nav" href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a><!-- ENDIF --> | <a class="nav" href="{U_TEAM}">{L_THE_TEAM}</a> | <!-- IF not S_IS_BOT and U_MARK_FORUMS --><a class="nav" href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a><!-- ENDIF -->&nbsp;</span>

<br clear="all" />



<!-- IF S_DISPLAY_ONLINE_LIST -->

	<br clear="all" />
	<br clear="all" />

	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<td class="cat" colspan="2" align="center"><!-- IF U_VIEWONLINE --><h4><a class="aulove" 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="{%:1 +1}" 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 not S_IS_BOT --><br /><br />
	{USERS_24HOUR_TOTAL}: <!-- BEGIN lastvisit -->{lastvisit.USERNAME_FULL}<!-- IF not lastvisit.S_LAST_ROW -->, <!-- ENDIF --><!-- END lastvisit -->
	<!-- ENDIF -->
	
	<!-- IF LEGEND -->
		<tr>
			<td class="row1"><b class="gensmall">{L_LEGEND} :: {LEGEND}</b></td>
		</tr>
	<!-- ENDIF -->
	</table>
<!-- ENDIF -->

<br clear="all" />

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

<br clear="all" />

<table class="tablebg" width="100%" cellspacing="1">
<tr>
	<td class="cat" colspan="2" align="center"><h4>{L_STATISTICS}</h4></td>
</tr>
<tr>
	<td class="row1"><img src="{T_THEME_PATH}/images/thongke.gif" alt="{L_STATISTICS}" /></td>
	<td class="row1" width="100%" valign="middle">
	<p class="genmed">{TOTAL_POSTS} | {TOTAL_TOPICS} | {TOTAL_USERS} | {NEWEST_USER}<!-- IF TOTAL_BANNED_USERS --> | <a href="{U_BANLIST}">{TOTAL_BANNED_USERS}</a><!-- ENDIF --></p><!-- IF .reputation --><p>{L_MOST_POPULAR_USERS} <!-- BEGIN reputation --><!-- IF not reputation.S_FIRST_ROW -->, <!-- ENDIF -->{reputation.USERNAME} ({reputation.POINT})<!-- END reputation --></p><!-- ENDIF -->
		<!-- IF not S_IS_BOT -->

	<!-- ENDIF -->

	</td>
</tr>
</table>
	<!-- IF not S_IS_BOT -->
	<br clear="all" />
	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<td class="cat" colspan="2"><h4>{L_24HOUR_STATS}</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">{24HOUR_POSTS} | {24HOUR_TOPICS} | {24HOUR_USERS}</p></td>
	</tr>
	</table>
<!-- 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 clear="all" />
<!-- INCLUDE overall_footer.html -->


<!--
	Autinhyeu Style by Autinhyeu (http://www.autinhyeu.com)
//-->

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

Re: Activity Stats MOD

Post by momentum » Tue Feb 17, 2009 1:44 pm

newboy wrote:Thank you very much, but it didn't work :( . Hear is my index_body.html, please give it a look :
Find this section in your file....

Code: Select all

<!-- IF LEGEND -->
          <td class="row1" rowspan="{%:1 +1}" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
       <!-- ELSE -->
And change it to this...

Code: Select all

<!-- IF LEGEND -->
          <td class="row1" rowspan="3" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
       <!-- ELSE -->
Have a look at this page specifically the chapter on INCREMENT.

Craig.
QOTY: phpBB is free, good hosting is not. - robert (Lumpy Burgertushie)

newboy
Registered User
Posts: 23
Joined: Sat Feb 14, 2009 10:44 am

Re: Activity Stats MOD

Post by newboy » Tue Feb 17, 2009 2:41 pm

Thank you for your reply. I tried to alter the value but the problem still occurs.

naive
Registered User
Posts: 43
Joined: Sun Apr 15, 2007 3:32 pm

Re: Activity Stats MOD

Post by naive » Tue Feb 17, 2009 3:48 pm

newboy wrote:Hi,I made a search but did not find any answer. My problem is a grey box appears in the legend box :

Image

Please help.
Admin index -- users and groups -- manage groups -- group wide settings -- display group in legend must be checked for at least one group.

http://www.phpbb.com/community/viewtopi ... &start=840

newboy
Registered User
Posts: 23
Joined: Sat Feb 14, 2009 10:44 am

Re: Activity Stats MOD

Post by newboy » Wed Feb 18, 2009 10:09 am

I tried it, and modified the rowspan value too, but the error still occurs. I purged the cache, of course. Is there any reason else cause this problem ?

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Activity Stats MOD

Post by RMcGirr83 » Wed Feb 18, 2009 10:54 am

newboy wrote:I tried it, and modified the rowspan value too, but the error still occurs. I purged the cache, of course. Is there any reason else cause this problem ?
Refresh the template in the ACP as well.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

Locked

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