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.
Pop's Stang
Registered User
Posts: 1
Joined: Mon Mar 01, 2010 12:49 am

Re: Activity Stats MOD

Post by Pop's Stang »

Question? Have downloaded the Activity Stats MOD and everything is working good. The one thing I have noticed is that when it records how many people was online, date and time the time seems not to be set right for me. I live in a eastern standard time zone.

Example: In total there is 1 user online :: 1 registered, 0 hidden and 0 guests (based on users active over the past 5 minutes) Most users ever online was 10 on Sun Feb 28, 2010 1:19 am. The time should have been 1:19pm

Is there anyway I can fix this?
lajos59
Registered User
Posts: 14
Joined: Sat Jan 30, 2010 8:57 pm
Location: Italy
Contact:

Re: Activity Stats MOD

Post by lajos59 »

Hello friends!
In my Italian forum this mod has always been working and appreciated, it has always worked well for months.
From February 23, after maintenance work on PLESK by our web hosting, the forum has been blocked in error for about 12 hours.
Once broken down and cleared the cache, this mod works badly: record attendance, but not reset after 24 hours. The result is that the counter is increasing more and more!
I checked all the changes, everything ok.
What should I do?
Thank you and forgive a lot if the subject has been proposed, but there are so many pages!
iftitaj
Registered User
Posts: 638
Joined: Tue Jan 15, 2008 6:21 am
Location: Karachi, Pakistan

Re: Activity Stats MOD

Post by iftitaj »

lajos59 wrote:Hello friends!
In my Italian forum this mod has always been working and appreciated, it has always worked well for months.
From February 23, after maintenance work on PLESK by our web hosting, the forum has been blocked in error for about 12 hours.
Once broken down and cleared the cache, this mod works badly: record attendance, but not reset after 24 hours. The result is that the counter is increasing more and more!
I checked all the changes, everything ok.
What should I do?
Thank you and forgive a lot if the subject has been proposed, but there are so many pages!
Your problem is related to Cron not working as intended.
Pls refer to this post:
http://www.phpbb.com/community/viewtopi ... #p12074835
and continue reading few onward posts, specially this one:
http://www.phpbb.com/community/viewtopi ... #p12081175

This may give you an idea of what to look at and how to rectify it. Though remember the problem is mostly of Cron-malfunction if you have purged cache, so I replied considering this ........ this may not be your problem. But you should check it out at first place.
lajos59
Registered User
Posts: 14
Joined: Sat Jan 30, 2010 8:57 pm
Location: Italy
Contact:

Re: Activity Stats MOD

Post by lajos59 »

Many thanks iftitaj for your caring, but this MUD has always worked very well and we haven't altered the overall_footer.
Unfortunately that is not the solution for us
User avatar
truepro2
Registered User
Posts: 130
Joined: Sun Jan 17, 2010 2:58 am

Re: Activity Stats MOD

Post by truepro2 »

I am done tryng to get this to work as I failed many times to instal this
iftitaj
Registered User
Posts: 638
Joined: Tue Jan 15, 2008 6:21 am
Location: Karachi, Pakistan

Re: Activity Stats MOD

Post by iftitaj »

truepro2 wrote:I am done tryng to get this to work as I failed many times to instal this
iftitaj wrote:if you can, give me FTP access to your forum's directory. I'll try to modify your files accordingly.
Prophet_DNA
Registered User
Posts: 119
Joined: Thu Oct 23, 2008 7:01 pm

Re: Activity Stats MOD

Post by Prophet_DNA »

Just updated to 3.0.7 PL1 as a fresh install... reinstalling this mod gives me the following error...
[phpBB Debug] PHP Notice: in file /index.php on line 130: include(./includes/functions_activity_stats.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /index.php on line 130: include(./includes/functions_activity_stats.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /index.php on line 130: include() [function.include]: Failed opening './includes/functions_activity_stats.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')

Fatal error: Call to undefined function activity_mod() in /home/dnaelite/public_html/phpbb/index.php on line 131
Is this compatible with 3.0.7? Never had this problem with any of my other updates and this is a rather simple mod to install...
Prophet_DNA
Registered User
Posts: 119
Joined: Thu Oct 23, 2008 7:01 pm

Re: Activity Stats MOD

Post by Prophet_DNA »

Prophet_DNA wrote:Just updated to 3.0.7 PL1 as a fresh install... reinstalling this mod gives me the following error...
[phpBB Debug] PHP Notice: in file /index.php on line 130: include(./includes/functions_activity_stats.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /index.php on line 130: include(./includes/functions_activity_stats.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /index.php on line 130: include() [function.include]: Failed opening './includes/functions_activity_stats.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')

Fatal error: Call to undefined function activity_mod() in /home/dnaelite/public_html/phpbb/index.php on line 131
Is this compatible with 3.0.7? Never had this problem with any of my other updates and this is a rather simple mod to install...
NVM... simple error on this simple install lol... figured it out... duh... :lol:
Starbucg
Registered User
Posts: 11
Joined: Mon Dec 14, 2009 1:59 pm

Re: Activity Stats MOD

Post by Starbucg »

The Czech language for version 1.0.0. is here:

http://www.foradmin.net/viewtopic.php?f=27&t=35
User avatar
truepro2
Registered User
Posts: 130
Joined: Sun Jan 17, 2010 2:58 am

Re: Activity Stats MOD

Post by truepro2 »

So I got this to work fine on my other styles but this 1 style I hadno clue of where to add it to

style = Skymiles_red

http://trueprotein-discount.com/forum

the problem is I dont have a clue of where it was suposed to go as the instal had nothing on this style. so I installed it and it needs a little tweak

Code: Select all

<div   colspan="5" align="{S_CONTENT_FLOW_END}"><!-- IF not S_IS_BOT and U_MARK_FORUMS --><a class="nav" href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a><!-- ENDIF -->&nbsp;</div><br/>
 
 <!-- BEGIN forumrow -->
	<!-- IF (forumrow.S_IS_CAT and not forumrow.S_FIRST_ROW) or forumrow.S_NO_CAT  -->
	<tr><td class="cat-bottom" colspan="5">&nbsp;</td></tr>
	</table>
	 </div>
	</div>
	<br />
	<!-- ENDIF -->
	<!-- IF forumrow.S_IS_CAT or forumrow.S_FIRST_ROW or forumrow.S_NO_CAT  -->
		<div id="f_{forumrow.FORUM_ID}_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('f_{forumrow.FORUM_ID}','f_{forumrow.FORUM_ID}_h','f_{forumrow.FORUM_ID}');" alt="{L_FORUM}" />
		<div class="tbl-title"><h4><!-- IF forumrow.S_IS_CAT -->
		<a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a><!-- ELSE -->{L_FORUM}<!-- ENDIF --></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>
		<br />
		</div>

		<div id="f_{forumrow.FORUM_ID}">
		<script type="text/javascript">
		<!--
		tmp = 'f_{forumrow.FORUM_ID}';
		if(GetCookie(tmp) == '2')
		{
			ShowHide('f_{forumrow.FORUM_ID}', 'f_{forumrow.FORUM_ID}_h', 'f_{forumrow.FORUM_ID}');
		}
		//-->
		</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('f_{forumrow.FORUM_ID}','f_{forumrow.FORUM_ID}_h','f_{forumrow.FORUM_ID}');" alt="{L_FORUM}" /><div class="tbl-title"><h4><!-- IF forumrow.S_IS_CAT --><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a><!-- ELSE -->{L_FORUM}<!-- ENDIF --></h4></div></div></div></div>
		<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
		<tr>
			<th colspan="2">&nbsp;{L_FORUM}&nbsp;</th>
			<th width="50">&nbsp;{L_TOPICS}&nbsp;</th>
			<th width="50">&nbsp;{L_POSTS}&nbsp;</th>
			<th>&nbsp;{L_LAST_POST}&nbsp;</th>
		</tr>
	<!-- ENDIF -->
	<!-- IF not forumrow.S_IS_CAT -->
		<!-- IF forumrow.S_IS_LINK -->
			<tr>
				<td class="row1" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>
				<td class="row1">
					<!-- IF forumrow.FORUM_IMAGE -->
						<div style="float:{S_CONTENT_FLOW_BEGIN};margin-{S_CONTENT_FLOW_END}:5px;">{forumrow.FORUM_IMAGE}</div><div style="float:{S_CONTENT_FLOW_BEGIN};">
					<!-- ENDIF -->
					<a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>
					<p class="forumdesc">{forumrow.FORUM_DESC}</p>
					<!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF -->
				</td>
				<!-- IF forumrow.CLICKS -->
					<td class="row2" colspan="3" align="center"><span class="genmed">{L_REDIRECTS}: {forumrow.CLICKS}</span></td>
				<!-- ELSE -->
					<td class="row2" colspan="3" align="center">&nbsp;</td>
				<!-- ENDIF -->
			</tr>
		<!-- ELSE -->
			<tr>
				<td class="row1" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>
				<td class="row1h" width="100%">
					<!-- IF forumrow.FORUM_IMAGE -->
						<div style="float:{S_CONTENT_FLOW_BEGIN};margin-{S_CONTENT_FLOW_END}:5px;">{forumrow.FORUM_IMAGE}</div><div style="float:{S_CONTENT_FLOW_BEGIN};">
					<!-- ENDIF -->
					<a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>
					<p class="forumdesc">{forumrow.FORUM_DESC}</p>
					<!-- IF forumrow.MODERATORS -->
						<p class="forumdesc"><strong>{forumrow.L_MODERATOR_STR}:</strong> {forumrow.MODERATORS}</p>
					<!-- ENDIF -->
					<!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS -->
						<p class="forumdesc"><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}</p>
					<!-- ENDIF -->
					<!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF -->
				</td>
				<td class="row2" align="center"><p class="topicdetails">{forumrow.TOPICS}</p></td>
				<td class="row2" align="center"><p class="topicdetails">{forumrow.POSTS}</p></td>
				<td class="row2" align="center" nowrap="nowrap">
					<!-- IF forumrow.LAST_POST_TIME -->
						<p class="topicdetails">{forumrow.LAST_POST_TIME}</p>
						<p class="topicdetails">{forumrow.LAST_POSTER_FULL}
						<!-- IF not S_IS_BOT --><a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a><!-- ENDIF -->
						</p>
					<!-- ELSE -->
						<p class="topicdetails">{L_NO_POSTS}</p>
					<!-- ENDIF -->
				</td>
			</tr>
		<!-- ENDIF -->
	<!-- ENDIF -->
	<!-- IF forumrow.S_LAST_ROW -->
		<tr><td class="cat-bottom" colspan="5">&nbsp;</td></tr>
		</table>
		 </div>
		</div>
	<!-- ENDIF -->
<!-- BEGINELSE -->
	<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><div class="tbl-title"><h4>{L_FORUM}</h4></div></div></div></div>
	<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
	<tr><td class="row1" colspan="5" align="center"><p class="gensmall">{L_NO_FORUMS}</p></td></tr>
	<tr><td class="cat-bottom" colspan="5">&nbsp;</td></tr>
	</table>
	<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c">&nbsp;</div></div></div></div>
<!-- END forumrow -->
I added in the lines but had no idea where to put them in tis style?

any suggestions?
kimforster
Registered User
Posts: 78
Joined: Wed Aug 26, 2009 8:52 am

Re: Activity Stats MOD

Post by kimforster »

That's a great mod :mrgreen: but I have a slight problem with mine LOL

My who's online & statistics are on the board twice & I'm not really sure how I managed to do that LOL
http://www.eclectusparrots.net/forum/

How can I remove 1 lot :?:

Thanks
I'm not so brilliant so please go easy on me :) I WILL ask stupid questions if I don't know the answer & will not apologise for this. I ask for an obvious reason :)
moh3en
Registered User
Posts: 50
Joined: Wed Mar 10, 2010 6:33 pm

Re: Activity Stats MOD

Post by moh3en »

How i can use it for 3.0.7-PL1 ?
I want change 5 minute to 60 minute!!
User avatar
HGN
Former Team Member
Posts: 4706
Joined: Wed Dec 03, 2008 1:53 pm
Location: The Netherlands
Name: Alfred
Contact:

Re: Activity Stats MOD

Post by HGN »

kimforster wrote:That's a great mod :mrgreen: but I have a slight problem with mine LOL

My who's online & statistics are on the board twice & I'm not really sure how I managed to do that LOL
http://www.eclectusparrots.net/forum/

How can I remove 1 lot :?:

Thanks
In /styles/bluestripe/template/index_body.html the following pieces of code occur twice. You should remove one of both.

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

Code: Select all

	<!-- IF not S_IS_BOT -->
	<h3 id="24hour_stats">{L_24HOUR_STATS}</h3>
	<p>{24HOUR_POSTS} &bull; {24HOUR_TOPICS} &bull; {24HOUR_USERS}</p>
	<!-- ENDIF -->
User avatar
HGN
Former Team Member
Posts: 4706
Joined: Wed Dec 03, 2008 1:53 pm
Location: The Netherlands
Name: Alfred
Contact:

Re: Activity Stats MOD

Post by HGN »

moh3en wrote:How i can use it for 3.0.7-PL1 ?
I want change 5 minute to 60 minute!!
Do you mean 60 to 5?

It is told in the third post of this topic: http://www.phpbb.com/community/viewtopi ... 5#p4782825
moh3en
Registered User
Posts: 50
Joined: Wed Mar 10, 2010 6:33 pm

Re: Activity Stats MOD

Post by moh3en »

HGN wrote:
moh3en wrote:How i can use it for 3.0.7-PL1 ?
I want change 5 minute to 60 minute!!
Do you mean 60 to 5?

It is told in the third post of this topic: http://www.phpbb.com/community/viewtopi ... 5#p4782825
Hi,

I mean change "In total there is 1 user online" change time 5 to 60 min!

Also i don't have file includes/functions_activity_stats.php
Locked

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