NV who was here?

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
User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: NV who was here?

Post by nickvergessen »

could you show your index_body.html?
No Support via PM
NathanFtw
Registered User
Posts: 247
Joined: Mon Jun 15, 2009 7:59 am

Re: NV who was here?

Post by NathanFtw »

Installed very easily, excellent mod thanks alot Nick.
Hixy
Registered User
Posts: 28
Joined: Fri Feb 08, 2008 4:08 am

Re: NV who was here?

Post by Hixy »

nickvergessen wrote:could you show your index_body.html?
Follows:

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

<!-- 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="2" 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 LEGEND -->
<tr>
<td class="row1 nobold"><b class="gensmall">{L_LEGEND} :: {LEGEND}</b></td>
</tr>
<!-- ENDIF -->
</table>
{$CA_BLOCK_END}
<!-- 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 --></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>
</tr>
</table>
{$CA_BLOCK_END}

<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
<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 -->
User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: NV who was here?

Post by nickvergessen »

replace the wwh-code with:

Code: Select all

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

	{$CA_BLOCK_START}
	{$CA_CAP2_START}L_WHO_WAS_HERE}{$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/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>
	{$CA_BLOCK_END}
<!-- ELSEIF U_ACP -->
	<br clear="all" />

	{$CA_BLOCK_START}
	{$CA_CAP2_START}{L_WHO_WAS_HERE}{$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/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
			<td class="row1" width="100%"><span class="genmed">{L_WWH_UPDATE_NEED}</span></td>
		</tr>
		</table>
	{$CA_BLOCK_END}
	<!-- ENDIF -->
<!-- ENDIF -->
No Support via PM
Hixy
Registered User
Posts: 28
Joined: Fri Feb 08, 2008 4:08 am

Re: NV who was here?

Post by Hixy »

nickvergessen wrote:replace the wwh-code with:

Code: Select all

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

	{$CA_BLOCK_START}
	{$CA_CAP2_START}{L_WHO_WAS_HERE}{$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/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>
	{$CA_BLOCK_END}
<!-- ELSEIF U_ACP -->
	<br clear="all" />

	{$CA_BLOCK_START}
	{$CA_CAP2_START}{L_WHO_WAS_HERE}{$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/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
			<td class="row1" width="100%"><span class="genmed">{L_WWH_UPDATE_NEED}</span></td>
		</tr>
		</table>
	{$CA_BLOCK_END}
	<!-- ENDIF -->
<!-- ENDIF -->
Thank you very much Nick. Just what I wanted.
Works perfectly.
Bruno-lesage
Registered User
Posts: 5
Joined: Sun Jul 19, 2009 7:45 pm

Re: NV who was here?

Post by Bruno-lesage »

Hello, when I run the install I get this error

General Error
Language Files Missing.

Please download the latest UMIL (Unified MOD Install Library) from: phpBB.com/mods/umil

I've downloaded the latest UMIL and get the same error again

What I'm doing wrong?
User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: NV who was here?

Post by nickvergessen »

Please try to set your language to english before running the installer.
Seems like UMIL is not translated to your language
No Support via PM
glassdmg
Registered User
Posts: 12
Joined: Sun Jun 07, 2009 5:12 pm

Re: NV who was here?

Post by glassdmg »

Thank you for this mod! Very cool!

It's working just fine on 3.0.5
Aquavirus
Registered User
Posts: 1
Joined: Fri Aug 28, 2009 9:48 am

Re: NV who was here?

Post by Aquavirus »

I installed the Mods on my test board and everything seems to wporks well. but instead of showing me the who was her-statistic I can sie the following text:
if (!function_exists('update_who_was_here_session')) { include($phpbb_root_path . 'includes/functions_wwh.' . $phpEx); } update_who_was_here_session();
Whats wrong?
User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: NV who was here?

Post by nickvergessen »

can you show a link to your board?
No Support via PM
User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: NV who was here?

Post by nickvergessen »

nickvergessen wrote:Modification Name: NW "Who was here?"
Author: nickvergessen

Modification Version: 1.0.2
Modification Description:
  • Adds a list with all users, which visited the page today, on the index.php.
    With saving the record of usercount.
    Features:
  • en-/disable bots in the list (adjustable in ACP)
  • en-/disable hidden users in the list (adjustable in ACP)
  • en-/disable guests in the record (adjustable in ACP)
  • en-/disable visit-time in the list or as "hover" on the name (adjustable in ACP)
  • "Who was here?" or "Who was here in the last time?" (adjustable in ACP)
  • display and store the record (in ACP)
  • reset-function (in ACP)
  • time is displayed with user-timezone and dst(daylight-saving-time) adjustment of the ucp
  • usernames are coloured
Demo URL: http://www.flying-bits.org/index.php
Supported Language-Packages: de, en
Supported Styles: prosilver, subsilver2

MOD Repository: http://code.bantux.org/svn/nv-who-was-here (SVN/Subversion)
Browse Repository: http://code.bantux.org/repositories/sho ... o-was-here

Modification Download: Download v1.0.2

submitted to the db.
No Support via PM
coogs
Registered User
Posts: 117
Joined: Wed Jul 01, 2009 5:21 pm

Re: NV who was here?

Post by coogs »

I installed this mode here www.badprogrammers.com
and it's enable in ACP but it shows nothing

I am just wondering their is no such file in ZIP folder
as in NV_recent_topics_1_0_5 called "recent_topics_body.html"

and i don't hav any style folder in zip file why ?
User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: NV who was here?

Post by nickvergessen »

coogs wrote:I installed this mode here http://www.badprogrammers.com
and it's enable in ACP but it shows nothing

I am just wondering their is no such file in ZIP folder
as in NV_recent_topics_1_0_5 called "recent_topics_body.html"

and i don't hav any style folder in zip file why ?
because there is no template file within this MOD.

But you missed to edit your styles/BP_Main/template/index_body.html
No Support via PM
coogs
Registered User
Posts: 117
Joined: Wed Jul 01, 2009 5:21 pm

Re: NV who was here?

Post by coogs »

Thanks but i am just wondering how can i forgot that
You are right i missed to edit index_body :lol:
marian0810
Former Team Member
Posts: 3011
Joined: Mon May 21, 2007 9:17 pm
Location: The Netherlands
Name: Marian
Contact:

Re: NV who was here?

Post by marian0810 »

In index_body.html I have

Code: Select all

{WHO_WAS_HERE_LIST2} 
which shows as

Code: Select all

In the last 24 hours there were 204 users online :: 56 registered, 2 bots and 146 guests
This is perfect for registered users, but for guests I would like to display only the first part:

Code: Select all

In the last 24 hours there were 204 users online
Is there a way to do that?
You and me, time and space. You watch us run!
Locked

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