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
who was here? question
Re: who was here? question
open /root/portal/block/additional_blocks.php
find
find
find
Code: Select all
before add
?>
Code: Select all
open styles/prosilver/template/portal/block/whois_online.html if (!function_exists('display_who_was_here'))
{
include($phpbb_root_path . 'includes/functions_wwh.' . $phpEx);
}
display_who_was_here();
find
Code: Select all
add after
<!-- IF LEGEND --><br /><em>{L_LEGEND}: {LEGEND}</em><!-- ENDIF --></p>
Code: Select all
refresh your templates and that should do it
<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>
Last edited by spaceace on Tue Feb 26, 2013 10:29 am, edited 2 times in total.
if you like my work and would like to contribute to my development of styles, please donate by using the donate button in the header.
Need hosting? Click this text to check out ICDSOFT
Need hosting? Click this text to check out ICDSOFT
Re: who was here? question
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>
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.