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
girlintrouble
Registered User
Posts: 856
Joined: Fri Jan 25, 2008 8:35 pm
Location: UK

Re: NV who was here?

Post by girlintrouble » Thu Jun 04, 2009 4:51 pm

nickvergessen wrote:okay find these line twice in includes/functions_wwh.php and delete it:

Code: Select all

$db->sql_return_on_error(true);

Code: Select all

$db->sql_return_on_error(false);
Did I just need to do this updtae and clear the cache?

If yes then this is what I get now:

{ WHO_WAS_HERE }

{ WWH_UPDATE_NEED }


1 Users active over the last 24 hours: ITR

However if I needed to redo the install then let me know pls
Thanks

User avatar
girlintrouble
Registered User
Posts: 856
Joined: Fri Jan 25, 2008 8:35 pm
Location: UK

Re: NV who was here?

Post by girlintrouble » Sun Jun 07, 2009 11:43 am

Im really stuck with this mod, why I decided to upgrade it I dont know. It was fine in RC1.Since Ive tried to use the full release its just not working. What has changed in the full release? Is it something to do with the upgrade?

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 » Sun Jun 07, 2009 2:03 pm

If you go back to 1.0.0-RC1 that should work fine aswell. The changes were just for better style. Functionality wasn't changed.

(One last thought, you did edit and copy your index.php to your server?)
No Support via PM

User avatar
girlintrouble
Registered User
Posts: 856
Joined: Fri Jan 25, 2008 8:35 pm
Location: UK

Re: NV who was here?

Post by girlintrouble » Sun Jun 07, 2009 6:34 pm

Hmm - sorry Nick
That was my fault :oops: after all the updates etc I missed that one,
Now my screen looks like this:

Who was here?

In total there was 1 user online :: 1 registered and 0 guests (based on users active today)

Registered users: ITR


1 Users active over the last 24 hours: ITR
Who is online
Who is online In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 12 on Tue Apr 07, 2009 8:03 am

Registered users: No registered users
Legend :: Administrators, Full Members, Global moderators, Investment Gurus, London Property Network, Registered users, Training Providers

The thing is Im a bit confused about the following:
1. Why is the who was here shown before the Who is online, in index body and index.php the orfer is the other way around.
2. Why is there a big gap
3. Where is the red bit from? I dont think its from your mod?

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 » Sun Jun 07, 2009 8:04 pm

Got a link to your board?

I guess the red line is from the activity mod or something other
No Support via PM

User avatar
girlintrouble
Registered User
Posts: 856
Joined: Fri Jan 25, 2008 8:35 pm
Location: UK

Re: NV who was here?

Post by girlintrouble » Mon Jun 08, 2009 12:49 am

Yep Link
Thing is the activity stats mod display is further down, its a bit in the wrong order...
Thanks Nick

Nully
Registered User
Posts: 453
Joined: Thu Jan 29, 2009 10:11 pm
Location: France
Contact:

Re: NV who was here?

Post by Nully » Mon Jun 08, 2009 5:17 pm

Hello,
I have a problem wanting to update to the last version 1.
Everything was ok on my computer, but on line ... my forum is out.
The error is :
Fatal error: Cannot redeclare update_who_was_here_session() (previously declared in /home/wb59301/salon/includes/functions_wwh.php:19) in /home/wb59301/salon/includes/functions_wwh.php on line 17
I uploaded all the files and modified as explained :
index.php
includes/functions.php
adm/mods/nv_wwh_version.php
adm/style/acp_wwh.html
includes/functions_wwh.php
includes/acp/acp_wwh.php
includes/acp/info/acp_wwh.php
language/fr/mods/info_acp_wwh.php
language/fr/mods/lang_wwh.php
install/*.*
When I runned the installer, everything seemed ok. I could go to the Panel, but when I deleted the install folder from ftp I had the error.
And as you can see on the image, the mod appears twice.
Qui-était-en-ligne.gif
Qui-était-en-ligne.gif (17.84 KiB) Viewed 930 times
I hope somebody can help me :)

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 » Mon Jun 08, 2009 6:41 pm

girlintrouble wrote:Yep Link
Thing is the activity stats mod display is further down, its a bit in the wrong order...
Thanks Nick
index_body.html find:

Code: Select all

	<tr>
	<!-- IF WHO_WAS_HERE_LIST2 -->
		<h3>{L_WHO_WAS_HERE}</h3>
		<p>{WHO_WAS_HERE_LIST2} ({WHO_WAS_HERE_EXP})<br />{WHO_WAS_HERE_RECORD}<br />{WHO_WAS_HERE_LIST}</p>
	<!-- ELSEIF U_ACP -->
		<h3>{L_WHO_WAS_HERE}</h3>

		<p>{L_WWH_UPDATE_NEED}</p>
	<!-- ENDIF -->
	
	<!-- 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 -->
replace with:

Code: Select all

	<!-- IF WHO_WAS_HERE_LIST2 -->
		<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>
	<!-- ELSEIF U_ACP -->
		<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>
	<!-- ENDIF -->
	<tr>
@Nully: just go to ACP > System > Administration-Control-Panel >.MOD to remove one of them.
The failure you posted seems to come from a miss edited file. Please chacke your edits of includes/functions.php and index.php again
No Support via PM

Nully
Registered User
Posts: 453
Joined: Thu Jan 29, 2009 10:11 pm
Location: France
Contact:

Re: NV who was here?

Post by Nully » Mon Jun 08, 2009 8:15 pm

Hi Nick,
sorry I did not find how to remove.
As my forum was out, I replaced the files by the old ones.
It is always written "Mod v1.0.0 installed" and I can see 3 on the left !!

I think the better thing should be to remove completely the Mod and to install the new one.
But how to ?

A few minutes later :
I found how to delete Mod.
Now I'll start again.
I will install your latest version. But, what about the language french ? (I made it my self, but if there is one ready, it will be better.
Thanks

User avatar
girlintrouble
Registered User
Posts: 856
Joined: Fri Jan 25, 2008 8:35 pm
Location: UK

Re: NV who was here?

Post by girlintrouble » Tue Jun 09, 2009 2:44 am

Ah well thats a bit better but the headings were better the way they were. In factthe formatting of the activity mod titles is much nicer and it would be good to modfy the WWH and the Who is online tiotltles to all format the same way. \do you know which file the titles are in to change the case?
The user bit from the activity mod has gone which was duplicated info = great.
It would be better to have the who is online first followed by the activity stats info with who was here at the end. But most of all need to fix the titles.
Thanks

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 » Tue Jun 09, 2009 12:25 pm

girlintrouble wrote:Ah well thats a bit better but the headings were better the way they were. In factthe formatting of the activity mod titles is much nicer and it would be good to modfy the WWH and the Who is online tiotltles to all format the same way. \do you know which file the titles are in to change the case?
The user bit from the activity mod has gone which was duplicated info = great.
It would be better to have the who is online first followed by the activity stats info with who was here at the end. But most of all need to fix the titles.
Thanks
find:

Code: Select all

<!-- IF S_DISPLAY_ONLINE_LIST -->

	<table class="tablebg" cellspacing="1">
	<tr>
		<td class="cat" colspan="2"><!-- IF U_VIEWONLINE --><h4><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h4><!-- ELSE --><h4>{L_WHO_IS_ONLINE}</h4><!-- ENDIF --></td>
	</tr>

		<tr>
	    <!-- IF WHO_WAS_HERE_LIST2 -->
          <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>
       <!-- ELSEIF U_ACP -->
          <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>
       <!-- ENDIF -->
       <tr>
	
	<!-- IF LEGEND -->
		<td class="row1" rowspan="2" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.png" alt="{L_WHO_IS_ONLINE}" /></td>
	<!-- ELSE -->
		<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.png" alt="{L_WHO_IS_ONLINE}" /></td>
	<!-- ENDIF -->
		<td class="row1"><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"><b class="gensmall">{L_LEGEND} :: {LEGEND}</b></td>
		</tr>
	<!-- ENDIF -->
	</table>
<!-- ENDIF -->

replace with:

Code: Select all

<!-- IF S_DISPLAY_ONLINE_LIST -->
	<!-- IF U_VIEWONLINE --><h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE --><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF -->
	<p>{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /> <br />{LOGGED_IN_USER_LIST}
	<!-- IF LEGEND --><br /><em>{L_LEGEND}: {LEGEND}</em><!-- ENDIF --></p>
	<!-- IF WHO_WAS_HERE_LIST2 -->
		<h3>{L_WHO_WAS_HERE}</h3>
		<p>{WHO_WAS_HERE_LIST2} ({WHO_WAS_HERE_EXP})<br />{WHO_WAS_HERE_RECORD}<br />{WHO_WAS_HERE_LIST}</p>
	<!-- ELSEIF U_ACP -->
		<h3>{L_WHO_WAS_HERE}</h3>
		<p>{L_WWH_UPDATE_NEED}</p>
	<!-- ENDIF -->
<!-- ENDIF -->
than you are just missing your image.
No Support via PM

Bertrude
Registered User
Posts: 15
Joined: Sat Oct 04, 2008 2:18 pm

Re: NV who was here?

Post by Bertrude » Tue Jun 09, 2009 4:25 pm

Ive tried this mod again - but no luck :?
ive double checked all edits are done - they are!
ive read all through this thread and checked stuff said to others - but still absolutly nothing shows on my page refering to this mod-i presume its me doing summut wrong but cant see what it is :?

any ideas?

Nully
Registered User
Posts: 453
Joined: Thu Jan 29, 2009 10:11 pm
Location: France
Contact:

Re: NV who was here?

Post by Nully » Tue Jun 09, 2009 5:57 pm

Hello,
Sorry Bertrude, I cannot help you as you do not explain your problem.

Further to my post of the last days, I uninstalled the mod previous version. I deleted the table in phpMyAdmin, and i Unstalled the new version ans everything semms ok.
Thank you Nick. :D

User avatar
girlintrouble
Registered User
Posts: 856
Joined: Fri Jan 25, 2008 8:35 pm
Location: UK

Re: NV who was here?

Post by girlintrouble » Tue Jun 09, 2009 7:59 pm

Perfect Nick Thank you!!!!!! So pleased. finally exactly as I wanted. xx

Bertrude
Registered User
Posts: 15
Joined: Sat Oct 04, 2008 2:18 pm

Re: NV who was here?

Post by Bertrude » Tue Jun 09, 2009 9:23 pm

ive installed 'the who was here' mod.
done all the edits....
ran the install....
its in the acp.....
but the mod doesnt show up at all on my page - nothin at all!

think ill take it all out and try again - must be summut ive done wrong, just wondered if any one had any ideas what.

Locked

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