Page 1 of 1

Changes required to show who was here on portal page!

Posted: 28. March 2010 08:33
by ishaqkalota
Your Portal Version: 1.0.5
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Beginner

What have you done before the problem was there?
I searched here for who was here? but could not find the modifications I need to show who was here on my portal page.

What have you already tryed to solve the problem?
I added the following code:
In portal.php I added the following before the line-->> page_header($user->lang['PORTAL']);
include($phpbb_root_path . 'includes/functions_wwh.' . $phpEx);

In styles/prosilver/template/portal/block/whois_online.html
I added the following code after the line-->> <!-- IF LEGEND --><br /><em>{L_LEGEND}: {LEGEND}</em><!-- ENDIF --></p>
<h3 style="font-size: 90%; margin: 10px 0 0 5px;">{L_WHO_WAS_HERE}</h3>
<p style="font-size: 90%; margin: 0 5px 0 5px;"><!-- IF WHO_WAS_HERE_LIST2 -->{WHO_WAS_HERE_LIST2}<br />({WHO_WAS_HERE_EXP})<br />{WHO_WAS_HERE_RECORD}<br />{WHO_WAS_HERE_LIST}<!-- ELSE -->{L_WWH_UPDATE_NEED}<!-- ENDIF --></p>

Description and Message
I installed nickvergessen's who was here? mod and it is working fine on the Board pages but on the portal page I am getting the following:

{ WHO_WAS_HERE }
{ WWH_UPDATE_NEED }

What changes do I need to make so that it works on the portal page?

Thanks

Re: Changes required to show who was here on portal page!

Posted: 28. March 2010 15:16
by Marc
Have you tried using the search?
I found this on the first page of the search:
viewtopic.php?f=9&t=78&hilit=nv+who+was+here

Re: Changes required to show who was here on portal page!

Posted: 28. March 2010 20:08
by ishaqkalota
Thanks Marc for the reply.
Yes, I did perform the search and found this topic with a lot of code changes mentioned in more than 200+ posts by various people ( 9 pages to be exact ) which are very confusing and I am not sure which ones to follow, and then on top of that all these posts are in german. Can you, please, point me to an English version of this discussion, so that I can read through it and apply the necessary changes to fix my problem.

Thanks.