[2.0.21] Show Last Visited Users

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Post Reply

Rating:

Excellent!
16
73%
Very Good
1
5%
Good
3
14%
Fair
1
5%
Poor
1
5%
 
Total votes: 22

Extensions Robot
Extensions Robot
Extensions Robot
Posts: 28600
Joined: Sat Aug 16, 2003 7:36 am

[2.0.21] Show Last Visited Users

Post by Extensions Robot »

MOD Name: Show Last Visited Users
Author: chatasos
MOD Description: This mod displays a list of all registered users that have visited the forum during the last 24 hours. Admins can see hidden users too.



MOD Version: 1.0.0

Download File: show_last_visited_users_1_0_0.zip
mods overview page: View
File Size: 11880 Bytes

Support for this MOD needs to be asked within this topic. The phpBB Teams are not responsible or required to give anyone support for this MOD. By installing this MOD, the phpBB Support Team or phpBB MODifications Team may not be able to provide support.

This MOD has only been tested by the phpBB MOD Team with the phpBB version in the topic title. It may not work in any other versions of phpBB.
Last edited by Extensions Robot on Mon Apr 30, 2007 12:30 am, edited 1 time in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)
ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Post by ycl6 »

MOD Validated/Released

Notes:
With this MOD, users visited your forum in the last 24 hours will be shown on forum index.
Image
Download
Registered User
Posts: 150
Joined: Sat Feb 18, 2006 2:04 pm
Location: Belgium
Contact:

Post by Download »

Is it possible to add how many guests we had to ?
Image
chatasos
Registered User
Posts: 748
Joined: Wed May 15, 2002 1:16 pm
Location: Paralia

Post by chatasos »

That would require db changes and i'm not thinking of it right now..
This mod is just a very simple & quick way to see which of your users visited the forum during the last hours.

Report Posts 1.2.3c (MODDB) - Report Posts 2.1.5 (ALPHA)
Rebuild Search 2.4.0 (MODDB)
MOD Version Checker 1.2.0 (MODDB)
Mega Mail System 0.9.8 (ALPHA)
Pagination Select List & Input Box (MODDB)
Download
Registered User
Posts: 150
Joined: Sat Feb 18, 2006 2:04 pm
Location: Belgium
Contact:

Post by Download »

Ah, that's to bad :(
thanks anyways :P

Will still use it anyway, But you or somebody else will update it then ;)
Image
User avatar
Toho_NL
Registered User
Posts: 206
Joined: Fri Jun 16, 2006 2:31 pm
Location: The Netherlands

Post by Toho_NL »

I have installed it with EasyMOD V0.3.0 on phpBB 2.0.21 and it is working great! Here is, for any further versions or for those who are interested, the Dutch translation for the lang_main.php (only the part of this MOD ;)):

Code: Select all

/*****************************
* MOD: Show last visited users
* BEGIN: AFTER, ADD
******************************/
$lang['Last_visit_users'] = '<b>%d</b> gebruikers hebben het forum in de laatste %d uur bezocht: %d geregistreerd, %d verborgen';
/*****************************
* MOD: Show last visited users
* END: AFTER, ADD
******************************/
Once again thanks for this MOD! And, if you are thinking of it (how many guests we had): I would like this feature too.

Best regards,

Toho_NL.
dmg81
Registered User
Posts: 210
Joined: Sun Apr 24, 2005 4:15 am
Location: trying to figure things out

Post by dmg81 »

First, big thanks shout out to Chatasos for taking the time to write out this cool mod which will be so useful to so many...... i already added it, and it is great.....

Second, Chat, if you did find the time to write up the db stuff so we could also keep track of guest visits, that would be wonderful!

Thank you!
dmg
discusws
Registered User
Posts: 59
Joined: Tue Dec 09, 2003 9:54 pm

Post by discusws »

I would love to install it with a feature like the guest visitor. And maybe a next feature how many visitors a day record option instead of the record of visitors at the same time.

regards Walter
dmg81
Registered User
Posts: 210
Joined: Sun Apr 24, 2005 4:15 am
Location: trying to figure things out

Post by dmg81 »

discusws wrote: ...maybe a next feature how many visitors a day record option instead of the record of visitors at the same time.

regards Walter


excellent idea :)
Glenn I
Registered User
Posts: 172
Joined: Wed Apr 20, 2005 6:11 am

Post by Glenn I »

Any ideas what this error is

Code: Select all

Warning

FIND FAILED: In file [templates/subPortal/index_body.tpl] could not find:

<td class="row1" align="center" valign="middle" rowspan="{%:1}"> 

MOD script line #183 :: FAQ :: Report
Came up when trying to install using easymod
chatasos
Registered User
Posts: 748
Joined: Wed May 15, 2002 1:16 pm
Location: Paralia

Post by chatasos »

I guess you're using another template (subPortal?), so you must check all the template's files and find out where you would like this mod's output to appear.

Report Posts 1.2.3c (MODDB) - Report Posts 2.1.5 (ALPHA)
Rebuild Search 2.4.0 (MODDB)
MOD Version Checker 1.2.0 (MODDB)
Mega Mail System 0.9.8 (ALPHA)
Pagination Select List & Input Box (MODDB)
nikito
Registered User
Posts: 2
Joined: Mon Jun 12, 2006 5:22 pm

Post by nikito »

In Spanish:

Code: Select all

/*****************************
* MOD: Show last visited users
* BEGIN: AFTER, ADD
******************************/
$lang['Last_visit_users'] = 'En total <b>%d</b> usuarios visitaron el foro en las últimas %d Horas: %d Registrados, %d Ocultos';
/*****************************
* MOD: Show last visited users
* END: AFTER, ADD
******************************/
Bye.
Kommercial
Registered User
Posts: 139
Joined: Tue Aug 23, 2005 5:04 am

Post by Kommercial »

Just incase...

Demo
nikito
Registered User
Posts: 2
Joined: Mon Jun 12, 2006 5:22 pm

Post by nikito »

Glenn I wrote: Any ideas what this error is

Code: Select all

Warning

FIND FAILED: In file [templates/subPortal/index_body.tpl] could not find:

<td class="row1" align="center" valign="middle" rowspan="{%:1}"> 

MOD script line #183 :: FAQ :: Report
Came up when trying to install using easymod

Find:

Code: Select all

<td class="row1" align="center" valign="middle" rowspan="2">
Replace with:

Code: Select all

<td class="row1" align="center" valign="middle" rowspan="3">
Glenn I
Registered User
Posts: 172
Joined: Wed Apr 20, 2005 6:11 am

Post by Glenn I »

nikito wrote:
Glenn I wrote:Any ideas what this error is

Code: Select all

Warning

FIND FAILED: In file [templates/subPortal/index_body.tpl] could not find:

<td class="row1" align="center" valign="middle" rowspan="{%:1}"> 

MOD script line #183 :: FAQ :: Report
Came up when trying to install using easymod

Find:

Code: Select all

<td class="row1" align="center" valign="middle" rowspan="2">
Replace with:

Code: Select all

<td class="row1" align="center" valign="middle" rowspan="3">


Can't find any of that in my index_body.tpl file. Here is the file below -

Code: Select all

<!-- BEGIN show_news -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline"> 
   <tr> 
      <th class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_NEWS}&nbsp;</th> 
   </tr> 
   <tr> 
      <td class="row1" width="100%"><span class="gen"><p align="center">{NEWS_BLOCK}</p></span></td> 
   </tr> 
</table><br />
<!-- END show_news -->

<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
  <tr> 
	<td class="catHead" colspan="2" height="28"><span class="cattitle">
	<!-- BEGIN switch_user_logged_in -->
	Welcome Back <a href="{U_PROFILE}"><script language="JavaScript" type="text/javascript">
<!--
		inoutstr = "{L_LOGIN_LOGOUT}";
		endOfUsername = inoutstr.lastIndexOf(" ");
		document.write(inoutstr.substring(9,endOfUsername));
//-->
</script></a>
	<!-- END switch_user_logged_in -->
	<!-- BEGIN switch_user_logged_out -->
	Welcome Visitor, Please <a href="{U_REGISTER}">{L_REGISTER}</a> or <a href="{U_LOGIN_LOGOUT}">Login</a></span>
	<!-- END switch_user_logged_out --></td>
  </tr>
  <tr> 
	<td width="50%" class="row1" align="left" valign="top"><span class="infostat">
	<!-- BEGIN switch_user_logged_in -->
{PRIVATE_MESSAGE_INFO}<br />{LAST_VISIT_DATE}<br />
	<!-- END switch_user_logged_in -->
	{CURRENT_TIME}<br /></span></td>
	<td width="50%" class="row1" align="right" valign="bottom"><span class="infostat">
		<!-- BEGIN switch_user_logged_in -->
		<a href="{U_SEARCH_NEW}" class="infostat">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="infostat">{L_SEARCH_SELF}</a><br />
		<!-- END switch_user_logged_in -->
		<a href="{U_SEARCH_UNANSWERED}" class="infostat">{L_SEARCH_UNANSWERED}</a></span></td>
  </tr>
	<tr> 
	<td class="row1" align="center" colspan="2"><span class="gen"><center>{TOTAL_USERS_ONLINE}</center></span>
	</td>
	
  </tr>
	<tr> 
	<td class="row1" align="left" colspan="2"><span class="infostat">{RECORD_USERS} :: {TOTAL_POSTS} :: {TOTAL_USERS} :: {NEWEST_USER}</span>
	</td>
	
  </tr>
<!-- Start add - Birthday MOD -->
  <tr>
	<td class="row1" align="left" colspan="2"><span class="gensmall">{L_WHOSBIRTHDAY_TODAY}<br />{L_WHOSBIRTHDAY_WEEK}</span></td>
  </tr>
<!-- End add - Birthday MOD -->
</table>

<table width="100%" cellpadding="1" cellspacing="1" border="0">
  <tr>
	<td align="left" valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td>
  </tr>
</table>

<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
  <table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
	<tr> 
	  <td class="catHead" height="28"><a name="login"></a><span class="cattitle">{L_LOGIN_LOGOUT}</span></td>
	</tr>
	<tr> 
	  <td class="row1" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}: 
		<input class="post" type="text" name="username" size="10" />
		&nbsp;&nbsp;&nbsp;{L_PASSWORD}: 
		<input class="post" type="password" name="password" size="10" maxlength="32" /> 
		&nbsp;&nbsp; &nbsp;&nbsp;{L_AUTO_LOGIN} 
		<input class="text" type="checkbox" name="autologin" />
		&nbsp;&nbsp;&nbsp; 
		<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
		</span> </td>
	</tr>
  </table>
</form>
<!-- END switch_user_logged_out -->

<br />

<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
	<th class="thTop" height="25" colspan="{S_COLS}" nowrap="nowrap">{L_NEWEST_PICS}</th>
</tr>
<!-- BEGIN no_pics -->
<tr>
	<td class="row1" align="center" colspan="{S_COLS}" height="50"><span class="gen">{L_NO_PICS}</span></td>
</tr>
<!-- END no_pics -->
<!-- BEGIN recent_pics -->
<tr>
<!-- BEGIN recent_col -->
	 <td class="row1" width="{S_COL_WIDTH}" align="center"><a href="{recent_pics.recent_col.U_PIC}"{TARGET_BLANK}><img src="{recent_pics.recent_col.THUMBNAIL}" border="0" alt="{recent_pics.recent_col.DESC}" title="{recent_pics.recent_col.DESC}" vspace="10" /></a></td>
<!-- END recent_col -->
</tr>
<!-- END recent_pics -->
<tr>
	<td class="row3" height="25" align="center" colspan="{S_COLS}"><span class="gensmall">[ <a href="{U_ALBUM}">{L_ALBUM}</a> ]</span></td>
</tr>
</table>
<br />
				
<table width="100%" cellpadding="1" cellspacing="1" border="0">
	<td align="left" valign="top"><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span>
</table>

<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
  <tr> 
	<th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
	<th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
	<th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
	<th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
  </tr>
  <!-- BEGIN catrow -->
  <tr> 
	<td class="catLeft" colspan="5" height="25"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
	
  </tr>
  <!-- BEGIN forumrow -->
	
  <tr> 
	<td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
	<td class="row1" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a>
	</span><span class="gensmall">
	<!-- BEGIN switch_users_viewing -->
	({catrow.forumrow.USERS_VIEWING} {L_USERS_VIEWING})
	<!-- END switch_users_viewing -->
	</span> <span class="genmed"><br />{catrow.forumrow.FORUM_DESC}<br />

	  </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
	<td class="row1" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
	<td class="row1" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
	<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
  </tr>
  <!-- END forumrow -->
  <!-- END catrow -->
</table>

<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2">
  <tr> 
	<td align="left"><span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span></td>
	<td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
  </tr>
</table>

<br clear="all" />

<table cellspacing="3" border="0" align="center" cellpadding="0">
  <tr> 
	<td width="20" align="center"><img src="templates/subPortal/images/folder_new.gif" alt="{L_NEW_POSTS}"/></td>
	<td><span class="gensmall">{L_NEW_POSTS}</span></td>
	<td>&nbsp;&nbsp;</td>
	<td width="20" align="center"><img src="templates/subPortal/images/folder.gif" alt="{L_NO_NEW_POSTS}" /></td>
	<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
	<td>&nbsp;&nbsp;</td>
	<td width="20" align="center"><img src="templates/subPortal/images/folder_lock.gif" alt="{L_FORUM_LOCKED}" /></td>
	<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
  </tr>
</table>
Post Reply

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