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 »

This section...

Code: Select all

   <!-- 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 -->
...appears twice in your file. Remove the second occurrence.

Craig.
QOTY: phpBB is free, good hosting is not. - robert (Lumpy Burgertushie)
User avatar
RMcGirr83
Former Team Member
Posts: 21902
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Activity Stats MOD

Post by RMcGirr83 »

Code: Select all

   <!-- 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 --><br /><br /><em>{L_LEGEND}: {LEGEND}</em><!-- ENDIF --></p>
   <!-- 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 -->
remove the last

Code: Select all

   <!-- 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 -->
then refresh the template.
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
sixtvs
Registered User
Posts: 215
Joined: Thu Feb 14, 2008 8:39 am
Location: Virginia Beach, VA
Contact:

Re: Activity Stats MOD

Post by sixtvs »

Momentum and RMcGirr83: Thank you! Its has been fixed.
People sleep peacefully at night only because rough men stand ready to fight for them!
User avatar
bbrian017
Registered User
Posts: 720
Joined: Mon Mar 19, 2007 2:20 pm
Location: Canada
Contact:

Re: Activity Stats MOD

Post by bbrian017 »

I updated my phpbb version today, added a new template is it normal for the data to reset?

top posters, top posters today etc... it's all gone!

The only thing left is this,

Activity over the last 24 hours
New Posts 23 • New Topics 8 • New users 5
User avatar
DoYouSpeakWak
Registered User
Posts: 2310
Joined: Fri Jul 25, 2008 1:32 pm
Location: Island of Wak-Wak
Contact:

Re: Activity Stats MOD

Post by DoYouSpeakWak »

Here is a little addon for this mod. I got a few request from people who wanted a cleaner index.

Name: Hide activity stats on index
Description: This MOD adds the user permissions "Can view activity stats on index" This allows you to selectively determine (by group or by user) who can see the activity stats on the index.

ModX,installer,RC version,prosilver,subsilver2.
http://phpbb3premods.com/forum/download/file.php?id=48
Whatever you share comes back. Support the phpBB Communities
My Validated and Released Modifications
Offering paid services. 10+ years of experience with phpBB3 and as System Administrator.
stylishkishore
Registered User
Posts: 222
Joined: Thu Mar 05, 2009 2:02 pm

Re: Activity Stats MOD

Post by stylishkishore »

Sir i have a small problem
After installing this mod..it works fine..
But it do one mistake in my forum.
It wont showing the users Currently Active on Forum

Here you can see it..
Image

It is not showing currently active users on forum..
here is my Index_body.html file..

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><!-- IF U_TEAM --> | <!-- ENDIF --><!-- ENDIF --><!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a><!-- ENDIF --></span><br />
<!-- ENDIF -->

<br clear="all" />

<!-- INCLUDE breadcrumbs.html -->

<!-- INCLUDE chat_body.html -->

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

    {$CA_BLOCK_START}
	{$CA_CAP2_START}<!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a><!-- ELSE -->{L_WHO_IS_ONLINE}<!-- ENDIF -->{$CA_CAP2_END}
	<table class="tablebg" width="100%" cellspacing="{$CA_SPACING}">
	<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 -->
		
			<!-- IF not S_IS_BOT -->
		<tr>
			<td class="row1">{USERS_24HOUR_TOTAL}: <!-- BEGIN lastvisit -->{lastvisit.USERNAME_FULL}<!-- IF not lastvisit.S_LAST_ROW -->, <!-- ENDIF --><!-- END lastvisit --></td>
		</tr>
	<!-- ENDIF -->
	</tr>
	<!-- IF LEGEND -->
		<tr>
			<td class="row1 nobold"><b class="gensmall">{L_LEGEND} :: {LEGEND}</b></td>
		</tr>
	<!-- ENDIF -->
	</table>
	{$CA_BLOCK_END}
<!-- ENDIF -->
<!-- INCLUDE top_five_body.html -->
<!-- IF S_DISPLAY_BIRTHDAY_LIST && BIRTHDAY_LIST -->
	<br clear="all" />
    
    {$CA_BLOCK_START}
	{$CA_CAP2_START}{L_BIRTHDAYS}{$CA_CAP2_END}
	<table class="tablebg" width="100%" cellspacing="{$CA_SPACING}">
	<tr>
		<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/birthday.gif" alt="{L_BIRTHDAYS}" /></td>
		<td class="row1 nobold" width="100%"><p class="genmed"><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <b>{BIRTHDAY_LIST}</b><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p></td>
	</tr>
	</table>
	{$CA_BLOCK_END}
<!-- ENDIF -->

<br clear="all" />

{$CA_BLOCK_START}
{$CA_CAP2_START}{L_STATISTICS}{$CA_CAP2_END}
<table class="tablebg" width="100%" cellspacing="{$CA_SPACING}">
<tr>
	<td class="row1"><img src="{T_THEME_PATH}/images/stats.gif" alt="{L_STATISTICS}" /></td>
	<td class="row1 nobold" width="100%" valign="middle"><p class="genmed">{TOTAL_POSTS} | {TOTAL_TOPICS} | {TOTAL_USERS} | {NEWEST_USER}</p></td>
		<!-- 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 -->
</tr>
</table>
{$CA_BLOCK_END}

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

	<form method="post" action="{S_LOGIN_ACTION}">
	
	{$CA_BLOCK_START}
	{$CA_CAP2_START}<a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a>{$CA_CAP2_END}
	<table class="tablebg" width="100%" cellspacing="{$CA_SPACING}">
	<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" />&nbsp;<!-- ENDIF --> <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
	</tr>
	</table>
	{$CA_BLOCK_END}
	{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 -->
please help me anybody..
www.devilsduke.com

Defeat the Defeat before the Defeat Defeats you
momentum
Registered User
Posts: 1505
Joined: Thu Sep 20, 2007 4:07 am
Location: Melbourne, Australia

Re: Activity Stats MOD

Post by momentum »

Jnowledge Base: How to Install MODs See section 10. The INCREMENT Action:

You've made an error in one of the edits.

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 -->
In your AcidTech style the original rowspan="2" needs to be incremented by one.

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 -->
Craig.
QOTY: phpBB is free, good hosting is not. - robert (Lumpy Burgertushie)
stylishkishore
Registered User
Posts: 222
Joined: Thu Mar 05, 2009 2:02 pm

Re: Activity Stats MOD

Post by stylishkishore »

momentum wrote:Jnowledge Base: How to Install MODs See section 10. The INCREMENT Action:

You've made an error in one of the edits.

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 -->
In your AcidTech style the original rowspan="2" needs to be incremented by one.

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 -->
Craig.
Thank you for helping..But it is not fully solved..
now the look is like this..now it is fine.
Image

But,Still it wont showing the Users Active Currently..
that is the main problemm..
please help me..
www.devilsduke.com

Defeat the Defeat before the Defeat Defeats you
momentum
Registered User
Posts: 1505
Joined: Thu Sep 20, 2007 4:07 am
Location: Melbourne, Australia

Re: Activity Stats MOD

Post by momentum »

Replace this....

Code: Select all

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

    {$CA_BLOCK_START}
   {$CA_CAP2_START}<!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a><!-- ELSE -->{L_WHO_IS_ONLINE}<!-- ENDIF -->{$CA_CAP2_END}
   <table class="tablebg" width="100%" cellspacing="{$CA_SPACING}">
   <tr>
   <!-- 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 -->
      <td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
   <!-- ENDIF -->
      
         <!-- IF not S_IS_BOT -->
      <tr>
         <td class="row1">{USERS_24HOUR_TOTAL}: <!-- BEGIN lastvisit -->{lastvisit.USERNAME_FULL}<!-- IF not lastvisit.S_LAST_ROW -->, <!-- ENDIF --><!-- END lastvisit --></td>
      </tr>
   <!-- ENDIF -->
   </tr>
   <!-- IF LEGEND -->
      <tr>
         <td class="row1 nobold"><b class="gensmall">{L_LEGEND} :: {LEGEND}</b></td>
      </tr>
   <!-- ENDIF -->
   </table>
   {$CA_BLOCK_END}
<!-- ENDIF -->
with this...

Code: Select all

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

    {$CA_BLOCK_START}
	{$CA_CAP2_START}<!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a><!-- ELSE -->{L_WHO_IS_ONLINE}<!-- ENDIF -->{$CA_CAP2_END}
	<table class="tablebg" width="100%" cellspacing="{$CA_SPACING}">
	<tr>
	<!-- 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 -->
		<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>
	<!-- IF not S_IS_BOT -->
		<tr>
			<td class="row1">{USERS_24HOUR_TOTAL}: <!-- BEGIN lastvisit -->{lastvisit.USERNAME_FULL}<!-- IF not lastvisit.S_LAST_ROW -->, <!-- ENDIF --><!-- END lastvisit --></td>
		</tr>
	<!-- ENDIF -->
	</tr>
	<!-- IF LEGEND -->
		<tr>
			<td class="row1 nobold"><b class="gensmall">{L_LEGEND} :: {LEGEND}</b></td>
		</tr>
	<!-- ENDIF -->
	</table>
	{$CA_BLOCK_END}
<!-- ENDIF -->
Craig.
QOTY: phpBB is free, good hosting is not. - robert (Lumpy Burgertushie)
stylishkishore
Registered User
Posts: 222
Joined: Thu Mar 05, 2009 2:02 pm

Re: Activity Stats MOD

Post by stylishkishore »

[quote="momentum"]Replace this....

Thanks alot..it worked fine.
www.devilsduke.com

Defeat the Defeat before the Defeat Defeats you
momentum
Registered User
Posts: 1505
Joined: Thu Sep 20, 2007 4:07 am
Location: Melbourne, Australia

Re: Activity Stats MOD

Post by momentum »

And so it should have! :lol:

It was cut'n'pasted right out of the AcidTech template I'm using.

Craig.
QOTY: phpBB is free, good hosting is not. - robert (Lumpy Burgertushie)
Cak1-11
Registered User
Posts: 2
Joined: Fri Jun 13, 2008 8:23 pm
Location: Pennsylvania

Re: Activity Stats MOD

Post by Cak1-11 »

I install this mod on my forum and it works fine, but for some reason it's showing users who were last on as far as a month ago. Could another mod be affecting it somehow? Or did I somehow mess something up?


*update* I think it's the garbage collector cron, because according to the value in the database it last ran May 5th...
cozbaldwin
Registered User
Posts: 3
Joined: Sun Jun 14, 2009 4:54 pm

Re: Activity Stats MOD

Post by cozbaldwin »

This mod appears broken after the upgrade to 3.0.5.

Or is it just me?

It now says in the Statistics box:
Total posts 1934 | Total topics 222 | Total members 106 | Our newest member ABCD
{ 24HOUR_STATS }
• •
iftitaj
Registered User
Posts: 638
Joined: Tue Jan 15, 2008 6:21 am
Location: Karachi, Pakistan

Re: Activity Stats MOD

Post by iftitaj »

why not re-apply this MOD's edits to your "updated" phpBB's files?
cozbaldwin
Registered User
Posts: 3
Joined: Sun Jun 14, 2009 4:54 pm

Re: Activity Stats MOD

Post by cozbaldwin »

iftitaj wrote:why not re-apply this MOD's edits to your "updated" phpBB's files?
I did just re-install the whole thing and still it displays the same. I don't know how else to go about applying the edits, since it's supposed to all be automatic.
Locked

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