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 »

Theory about the hidden users

I have been thinking about the problem with hidden users is not hidden and I think that I have found a logical explanation for this.

It goes like this:
I logon to my board with full visibility, everybody can see I am online.
My name will show in the activity box.
1 hour later I logout and login again, but this time as hidden.
Nobody can see me in the online info, but my name still appears in the activity box!

Why is that?
The explanation is logical, I have been logged in as visible within the last 24 hours.
And the activity box will correctly show that I have been there, as visible, within the last 24 hours.

If you have been hiding your online status for more than 24 hours, your username will NOT appear in the activity box.

I dont know why I didn't think about this logically explanation before posting here and saying that it doesnt work.
It does.
Sorry Highway :oops:
I am done with phpBB
iftitaj
Registered User
Posts: 638
Joined: Tue Jan 15, 2008 6:21 am
Location: Karachi, Pakistan

Re: Activity Stats MOD

Post by iftitaj »

Nice logic ..... but I would suggest Highway of Life that why not update cached data if someone logins, I mean on someone's login. :idea:
But this same thing is not very feasible to update on every post since there are few forums which get hundreds of posts in a min or so. :|
User avatar
Funk Theory
Registered User
Posts: 736
Joined: Mon Sep 25, 2006 3:33 pm
Location: UK
Contact:

Re: Activity Stats MOD

Post by Funk Theory »

stokerpiller wrote:Theory about the hidden users

I have been thinking about the problem with hidden users is not hidden and I think that I have found a logical explanation for this.

It goes like this:
I logon to my board with full visibility, everybody can see I am online.
My name will show in the activity box.
1 hour later I logout and login again, but this time as hidden.
Nobody can see me in the online info, but my name still appears in the activity box!

Why is that?
The explanation is logical, I have been logged in as visible within the last 24 hours.
And the activity box will correctly show that I have been there, as visible, within the last 24 hours.

If you have been hiding your online status for more than 24 hours, your username will NOT appear in the activity box.

I dont know why I didn't think about this logically explanation before posting here and saying that it doesnt work.
It does.
Sorry Highway :oops:
I see your point and well made but that doesnt work on mine. I have one account that is ALWAYS hidden yet it always shows up on the visited list to everyone, so back to the drawing board for me.
Zeb
Registered User
Posts: 86
Joined: Sat Aug 10, 2002 6:44 pm
Location: Rome, Italy

Re: Activity Stats MOD

Post by Zeb »

- I'm using a mysql database dumped last saturday. So my last registered user was saturday morning.
- My admin panel shows 8 inactive user.

This MOD shows 50 new users in the last 24 hours... :roll: :?:

btw here is my italian translated language file
Attachments

[The extension zip has been deactivated and can no longer be displayed.]

Themercshunny
Registered User
Posts: 14
Joined: Tue Apr 29, 2008 12:59 pm

Re: Activity Stats MOD

Post by Themercshunny »

Hey there,
Alright, I've spent the entire day reading all 40 pages of this thread, and My first problem was that the mod was counting members who haven't been online in weeks, and so I tried a few of the ideas in here (which... there were not many lmao!!) and now I have a different problem, as it is only showing my self and one other person as being online in the last 24 hours, when in fact there have been over 25.... So I don't know what I might have done.. but.. help? hahaha!!
Joey14
Registered User
Posts: 19
Joined: Thu Sep 25, 2008 2:34 pm

Re: Activity Stats MOD

Post by Joey14 »

iftitaj wrote:
Joey14 wrote:
iftitaj wrote:
Joey14 wrote:Will this Mod work on the black pearl?
100% yes ......... I modified it for Black Pearl. Have a look at this post & let me know your opinion of how I customized / ported it on Black Pearl:

http://www.phpbb.com/community/viewtopi ... 5#p6457075
I cant seem to get it to work! I tried it 2 times and my forum keeps locking me out and a n error pops up... I don't remember what it said but is the a way that some one can post the hole code for this?
This is very strange .... I don't think it has anything related to it.
One thing you can do is set your style to default prosilver & then apply those edits. Also you can set "Recompile stale style components" to Yes in LOAD SETTINGS in GENERAL tab of ACP. Be cautious if you are on live forum. Try all this on your testing forum. What the last setting do is that, its like Purge Your Cache but automatic as far as templates are concerned.
All my edits are simple customization of original code this MOD to Black Pearl's code & as far as I remember Mighty Gorgon (developer of Black Pearl) also indirectly approve it as he went through the edits & said Thank You.
After you apply this MOD correctly to Black Pearl, you can change your style back to it if you want & also disable "Recompile stale style components". The only reason why I advised you to enable it is that it will allow you to see changes in templates without Purging your cache everytime & also no need to go in ACP.
If the error persists, then I don't think its not related to my edits.

P.S. Have you applied normal edits from original MOD? I only told the extra edits required for Black Pearl style.
OK... Ive tried everything and it wont work! What should I do next...?
Themercshunny
Registered User
Posts: 14
Joined: Tue Apr 29, 2008 12:59 pm

Re: Activity Stats MOD

Post by Themercshunny »

Hmmmm Now it only Shows one user.....
iftitaj
Registered User
Posts: 638
Joined: Tue Jan 15, 2008 6:21 am
Location: Karachi, Pakistan

Re: Activity Stats MOD

Post by iftitaj »

Joey14 wrote:
iftitaj wrote:
Joey14 wrote:
iftitaj wrote:
Joey14 wrote:Will this Mod work on the black pearl?
100% yes ......... I modified it for Black Pearl. Have a look at this post & let me know your opinion of how I customized / ported it on Black Pearl:

http://www.phpbb.com/community/viewtopi ... 5#p6457075
I cant seem to get it to work! I tried it 2 times and my forum keeps locking me out and a n error pops up... I don't remember what it said but is the a way that some one can post the hole code for this?
This is very strange .... I don't think it has anything related to it.
One thing you can do is set your style to default prosilver & then apply those edits. Also you can set "Recompile stale style components" to Yes in LOAD SETTINGS in GENERAL tab of ACP. Be cautious if you are on live forum. Try all this on your testing forum. What the last setting do is that, its like Purge Your Cache but automatic as far as templates are concerned.
All my edits are simple customization of original code this MOD to Black Pearl's code & as far as I remember Mighty Gorgon (developer of Black Pearl) also indirectly approve it as he went through the edits & said Thank You.
After you apply this MOD correctly to Black Pearl, you can change your style back to it if you want & also disable "Recompile stale style components". The only reason why I advised you to enable it is that it will allow you to see changes in templates without Purging your cache everytime & also no need to go in ACP.
If the error persists, then I don't think its not related to my edits.

P.S. Have you applied normal edits from original MOD? I only told the extra edits required for Black Pearl style.
OK... Ive tried everything and it wont work! What should I do next...?
OK I checked latest version of Black Pearl .... there is nothing updated as related to our problem. So it shouldn't be a problem. Have you applied the normal edits in install_Activity_Stats.xml files along with what is in the link I provided for Black Pearl modification ??? Is this MOD working properly on prosilver on your board ??? If yes, then can you give me Admin account along with FTP access OR PM me your complete index_body.html ... I'll send you modified file to be replaced. Have you installed any other MOD?

The bottom line is still, is it working on prosilver on your board. if its not, then my edits won't work either. So first confirm this. Even if it works on subsilver2, let me know.
Oscar TWH
Registered User
Posts: 37
Joined: Mon Jun 18, 2007 7:37 am
Location: Belgium

Re: Activity Stats MOD

Post by Oscar TWH »

Works perfect! Thx iftitaj
iftitaj
Registered User
Posts: 638
Joined: Tue Jan 15, 2008 6:21 am
Location: Karachi, Pakistan

Re: Activity Stats MOD

Post by iftitaj »

Oscar TWH wrote:Works perfect! Thx iftitaj
No problem.
I guess you installed it on Black Pearl or its sister styles & it works great for you also. @Joey14: You are surely missing something else, maybe normal non-template-files related edits in install_Activity_Stats.xml.
User avatar
Funk Theory
Registered User
Posts: 736
Joined: Mon Sep 25, 2006 3:33 pm
Location: UK
Contact:

Re: Activity Stats MOD

Post by Funk Theory »

is this mod still supported? just wondered as i still cant sort out the hidden users problem where as they dont stay hidden.
momentum
Registered User
Posts: 1505
Joined: Thu Sep 20, 2007 4:07 am
Location: Melbourne, Australia

Re: Activity Stats MOD

Post by momentum »

You'll probably find more deatailed answers in the STG Support Topic.

Craig.
QOTY: phpBB is free, good hosting is not. - robert (Lumpy Burgertushie)
User avatar
samm1
Registered User
Posts: 38
Joined: Mon Sep 29, 2008 6:08 am

Re: Activity Stats MOD

Post by samm1 »

I'm sorry but I want to know how I can use this mod for acid tech. Do I do the exact same thing here or will this only work for prosilver?? I also saw this or a similar mod on another acid tech theme so I know you can do this but I don't know what mod they used.
My current forum is HERE!! it's still a work in progress though so if you have any ideas feel free to share them with me or sign up :p
Also if you want free hosting contact me and I'll give you a free subdomain on one of my websites
Joey14
Registered User
Posts: 19
Joined: Thu Sep 25, 2008 2:34 pm

Re: Activity Stats MOD

Post by Joey14 »

iftitaj wrote: OK I checked latest version of Black Pearl .... there is nothing updated as related to our problem. So it shouldn't be a problem. Have you applied the normal edits in install_Activity_Stats.xml files along with what is in the link I provided for Black Pearl modification ??? Is this MOD working properly on prosilver on your board ??? If yes, then can you give me Admin account along with FTP access OR PM me your complete index_body.html ... I'll send you modified file to be replaced. Have you installed any other MOD?

The bottom line is still, is it working on prosilver on your board. if its not, then my edits won't work either. So first confirm this. Even if it works on subsilver2, let me know.
Here it is...

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 breadcrumbs.html -->

<!-- INCLUDE forumlist_body.html -->

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

<br clear="all" />

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

	<div id="viewonline_h" style="display:none;">
	<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><img style="padding-top:9px;padding-right:6px;float:right;cursor:pointer;" src="{T_THEME_PATH}{$MG_MAX}" onclick="javascript:ShowHide('viewonline_nh','viewonline_h','viewonline_nh');" alt="{L_WHO_IS_ONLINE}" /><div class="tbl-title"><h4>{L_WHO_IS_ONLINE}</h4></div></div></div></div>
	<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
	<tr><td class="row1"><span class="gensmall">&nbsp;</span></td></tr>
	</table>
	<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c">&nbsp;</div></div></div></div>
	</div>

	<div id="viewonline_nh">
	<script type="text/javascript">
	<!--
	tmp = 'viewonline';
	if(GetCookie(tmp) == '2')
	{
		ShowHide('viewonline_nh', 'viewonline_h', 'viewonline_nh');
	}
	//-->
	</script>
	<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><img style="padding-top:9px;padding-right:6px;float:right;cursor:pointer;" src="{T_THEME_PATH}{$MG_MIN}" onclick="javascript:ShowHide('viewonline_nh','viewonline_h','viewonline_nh');" alt="{L_WHO_IS_ONLINE}" /><div class="tbl-title"><!-- IF U_VIEWONLINE --><h4><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h4><!-- ELSE --><h4>{L_WHO_IS_ONLINE}</h4><!-- ENDIF --></div></div></div></div>
	<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
	<tr>
	<!-- IF LEGEND -->
		<td class="row1" rowspan="3" align="center" valign="middle"><img src="{T_THEME_PATH}/images/online.png" alt="{L_WHO_IS_ONLINE}" /></td>
	<!-- ELSE -->
		<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/online.png" alt="{L_WHO_IS_ONLINE}" /></td>
	<!-- ENDIF -->
		<td class="row1">{USERS_24HOUR_TOTAL}: <!-- BEGIN lastvisit -->{lastvisit.USERNAME_FULL}<!-- IF not lastvisit.S_LAST_ROW -->, <!-- ENDIF --><!-- END lastvisit --></td>
	<!-- IF LEGEND -->
		<tr><td class="row1"><b class="gensmall">{L_LEGEND} :: {LEGEND}</b></td></tr>
	<!-- ENDIF -->
	<tr><td class="cat-bottom" colspan="2">&nbsp;</td></tr>
	</table>
	<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c">&nbsp;</div></div></div></div>
	</div>
<!-- ENDIF -->

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

	<div id="birthdays_h" style="display:none;">
	<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><img style="padding-top:9px;padding-right:6px;float:right;cursor:pointer;" src="{T_THEME_PATH}{$MG_MAX}" onclick="javascript:ShowHide('birthdays_nh','birthdays_h','birthdays_nh');" alt="{L_BIRTHDAYS}" /><div class="tbl-title"><h4>{L_BIRTHDAYS}</h4></div></div></div></div>
	<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
	<tr><td class="row1"><span class="gensmall">&nbsp;</span></td></tr>
	</table>
	<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c">&nbsp;</div></div></div></div>
	</div>

	<div id="birthdays_nh">
	<script type="text/javascript">
	<!--
	tmp = 'birthdays';
	if(GetCookie(tmp) == '2')
	{
		ShowHide('birthdays_nh', 'birthdays_h', 'birthdays_nh');
	}
	//-->
	</script>
	<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><img style="padding-top:9px;padding-right:6px;float:right;cursor:pointer;" src="{T_THEME_PATH}{$MG_MIN}" onclick="javascript:ShowHide('birthdays_nh','birthdays_h','birthdays_nh');" alt="{L_BIRTHDAYS}" /><div class="tbl-title"><h4>{L_BIRTHDAYS}</h4></div></div></div></div>
	<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/birthdays.png" 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>
	<tr><td class="cat-bottom" colspan="2">&nbsp;</td></tr>
	</table>
	<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c">&nbsp;</div></div></div></div>
	</div>
<!-- ENDIF -->

<br clear="all" />

<div id="statistics_h" style="display:none;">
<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><img style="padding-top:9px;padding-right:6px;float:right;cursor:pointer;" src="{T_THEME_PATH}{$MG_MAX}" onclick="javascript:ShowHide('statistics_nh','statistics_h','statistics_nh');" alt="{L_STATISTICS}" /><div class="tbl-title"><h4>{L_STATISTICS}</h4></div></div></div></div>
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr><td class="row1"><span class="gensmall">&nbsp;</span></td></tr>
</table>
<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c">&nbsp;</div></div></div></div>
</div>

<div id="statistics_nh">
<script type="text/javascript">
<!--
tmp = 'birthdays';
if(GetCookie(tmp) == '2')
{
	ShowHide('statistics_nh', 'statistics_h', 'statistics_nh');
}
//-->
</script>
<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><img style="padding-top:9px;padding-right:6px;float:right;cursor:pointer;" src="{T_THEME_PATH}{$MG_MIN}" onclick="javascript:ShowHide('statistics_nh','statistics_h','statistics_nh');" alt="{L_STATISTICS}" /><div class="tbl-title"><h4>{L_STATISTICS}</h4></div></div></div></div>
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr>
	<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/stats.png" alt="{L_STATISTICS}" /></td>
	<td class="row1"><img src="{T_THEME_PATH}/images/stats.png" alt="{L_STATISTICS}" /></td>
      <td class="row1" width="100%" valign="middle"><p class="genmed">{L_24HOUR_STATS}: {24HOUR_POSTS}&nbsp;|&nbsp;{24HOUR_TOPICS}&nbsp;|&nbsp;{24HOUR_USERS}</p></td>
   </tr>
<tr><td class="cat-bottom" colspan="2">&nbsp;</td></tr>
</table>
<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c">&nbsp;</div></div></div></div>
</div>

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

	<form method="post" action="{S_LOGIN_ACTION}">
	
	<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><div class="tbl-title"><h4><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></h4></div></div></div></div>
	<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/login.png" alt="{L_STATISTICS}" /></td>
		<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>
<tr><td class="cat-bottom" colspan="2">&nbsp;</td></tr>
	</table>
	<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c">&nbsp;</div></div></div></div>
	
	{S_FORM_TOKEN}
	</form>
<!-- ENDIF -->

<!-- INCLUDE breadcrumbs_footer.html -->

<div style="text-align:center;margin:30px;">
<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>
</div>

<!-- INCLUDE overall_footer.html -->
Last edited by stickerboy on Mon Oct 20, 2008 11:59 pm, edited 1 time in total.
Reason: Code tags in future plzkthxbai
momentum
Registered User
Posts: 1505
Joined: Thu Sep 20, 2007 4:07 am
Location: Melbourne, Australia

Re: Activity Stats MOD

Post by momentum »

samm1 wrote:I also saw this or a similar mod on another acid tech theme so I know you can do this but I don't know what mod they used.
I have it running on the AcidTech style. Just use the provided instructions for subsilver2.

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

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