-
tommie

- Posts: 34
- Joined: Sun Jan 30, 2011 11:48 am
- Flag:

Post
by tommie »
Hi
I have the mod who is here working on the index ,but
i want also this on the portal wich file of files must i edit
and how ?????
Gr Tommie
Spaceace thnx for your goood support

Last edited by tommie on Tue Feb 26, 2013 10:29 am, edited 2 times in total.
-
spaceace

- Posts: 991
- Joined: Wed Dec 16, 2009 8:30 pm
- Location: Ontario, Canada
- Flag:

Post
by spaceace »
open /root/portal/block/additional_blocks.php
find
before add
Code:
Select all if (!function_exists('display_who_was_here'))
{
include($phpbb_root_path . 'includes/functions_wwh.' . $phpEx);
}
display_who_was_here();
open styles/prosilver/template/portal/block/whois_online.html
find
Code:
Select all<!-- IF LEGEND --><br /><em>{L_LEGEND}: {LEGEND}</em><!-- ENDIF --></p>
add after
Code:
Select all <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>
refresh your templates and that should do it
Last edited by spaceace on Tue Feb 26, 2013 10:29 am, edited 2 times in total.
-
tommie

- Posts: 34
- Joined: Sun Jan 30, 2011 11:48 am
- Flag:

Post
by tommie »
It's now working ,but i must edit the files so:
edit portal/blocks/additional_blocks.php
if (!class_exists('phpbb_mods_who_was_here'))
{
include($phpbb_root_path . 'includes/mods/who_was_here.' . $phpEx);
phpbb_mods_who_was_here::update_session();
}
phpbb_mods_who_was_here::display();
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
edit style/Bluespace/template/portal/blocks/whois_online.php
<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_TOTAL -->{WHO_WAS_HERE_TOTAL}<br />({WHO_WAS_HERE_EXP})<br />{WHO_WAS_HERE_RECORD}<br />{WHO_WAS_HERE_LIST}<!-- ELSE -->{L_WWH_UPDATE_NEED}<!-- ENDIF --></p>
Last edited by tommie on Tue Feb 26, 2013 10:29 am, edited 3 times in total.