Code: Select all
[phpBB Debug] PHP Notice: in file /includes/last_post.php on line 38: Undefined variable: CFG
[phpBB Debug] PHP Notice: in file /includes/last_post.php on line 62: Undefined variable: recent_where
[phpBB Debug] PHP Notice: in file /includes/last_post.php on line 74: Undefined variable: CFG
[phpBB Debug] PHP Notice: in file /includes/last_post.php on line 74: Undefined variable: CFG
[phpBB Debug] PHP Notice: in file /includes/last_post.php on line 74: Undefined variable: CFG
[phpBB Debug] PHP Notice: in file /includes/last_post.php on line 74: Undefined variable: CFG
[phpBB Debug] PHP Notice: in file /includes/last_post.php on line 74: Undefined variable: CFG
Do you do everything as it indicates tutorial mod? Or something changed? It should not fail!stokerpiller wrote:Got this error:Also some lang is missingCode: Select all
[phpBB Debug] PHP Notice: in file /includes/last_post.php on line 38: Undefined variable: CFG [phpBB Debug] PHP Notice: in file /includes/last_post.php on line 62: Undefined variable: recent_where [phpBB Debug] PHP Notice: in file /includes/last_post.php on line 74: Undefined variable: CFG [phpBB Debug] PHP Notice: in file /includes/last_post.php on line 74: Undefined variable: CFG [phpBB Debug] PHP Notice: in file /includes/last_post.php on line 74: Undefined variable: CFG [phpBB Debug] PHP Notice: in file /includes/last_post.php on line 74: Undefined variable: CFG [phpBB Debug] PHP Notice: in file /includes/last_post.php on line 74: Undefined variable: CFG
If you can be looking for where this data by consulting the other mod, because it can refer to both the data produces the same mistake!stokerpiller wrote:I did follow the mod install text. It is quite easy![]()
I was wondering if it could have anything to do with me having the Last topic titles mod installed?
Now it works just fineTimeZone wrote:Sorry for double post...
stokerpiller:
Do not change anything just changes the original mod files for which there is inside the compressed file. I reduced and delete unnecessary code.
modification: MOD
Test it and tell me about the functioning of the mod
TZ!
Code: Select all
<!-- IF S_USER_LOGGED_IN -->
<!-- INCLUDE viewlast_post.html -->
<!-- ENDIF -->
Code: Select all
<!-- INCLUDE viewlast_post.html -->
Code: Select all
<?php
/**
*
* @package phpBB3
* @version $Id: faq.php,v 1.36 2007/07/26 15:49:44 acydburn Exp $
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* @ignore
*/
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
//-- mod : AJAX Chat ----------------------------------------------------
//-- add
include($phpbb_root_path . 'shout.' . $phpEx);
//-- fin mod : AJAX Chat ------------------------------------------------
$mode = request_var('mode', '');
// Lets build a page ...
page_header($user->lang['PORTALEN']);
include($phpbb_root_path . 'includes/functions_wwh.' . $phpEx);
$template->set_filenames(array(
'body' => 'portal_body.html')
);
make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx"));
page_footer();
?>
Code: Select all
<!-- INCLUDE overall_header.html -->
<h2 style="color: black;">Stoker Pro Portal</h2>
<table style="text-align: left; width: 100%;"
border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="vertical-align: top;"><div class="forabg"><div class="inner"><span
class="corners-top"><span></span></span>
<ul class="topiclist">
<li class="header">
<dl class="icon">
<dt>Portalen</dt>
</dl>
</li>
</ul>
<ul class="topiclist forums">
<li>
<div style="width: auto; height: 500px; font-weight: bold; padding: 10px;">
<div style="text-align: center;"><img style="width: 400px; height: 110px;"
alt="Stoker Pro Forum - Danmarks største stoker forum"
src="images/stokerproforum.png" /></div>
<p>Vores Forum og Portal er for ejere af Stokerfyr eller Træpillebrændere. Kommende ejere, forhandlere og producenter samt dem der blot er interesseret i emnet biobrændsel og alt det der hører til, er selvfølgelig også velkomne.</p>
<p>Brug forumet til at give eller få hjælp til de problemer der kan opstå når man er til biobrændsel.
Vi behandler alle emner. Både spørgsmål om de forskellige stokerfyr, samt spørgsmål til kvaliteten af træpiller og alt andet biobrændsel.</p>
<p>Stoker Pro Forum startede 9. december 2006. På knapt et år blev vi Danmarks største og mest brugte Stoker Forum.</p><p>
Vi har løbende konkurrencer hvor man kan vinde "varme" gevinster. Indtil videre har vi udloddet træpiller, brænde, tørvepiller og Nitro-X.<br />
Derudover har vi haft gang i et par rabatordninger, alle er afsluttet. Men vi forventer at vende tilbage med nye i den nærmeste fremtid.</p>
<p>Brug menuen i højre side til at navigere hen til de forskellige sider.</p>
<p>Denne del af forumet, Portalen, er stadig under udarbejdelse.</p>
</div><span></span>
</li>
</ul>
<span class="corners-bottom"><span></span></span></div></div>
</td><td
style="width: 205px; text-align: left; vertical-align: top; padding-left: 5px;"><!-- INCLUDE navmen_body.html --></td></tr></tbody></table>
<!-- INCLUDE jumpbox.html -->
<!-- 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>
<h3>{L_WHO_WAS_HERE}</h3>
<p><!-- IF WHO_WAS_HERE_LIST2 -->{WHO_WAS_HERE_LIST2}<br />{WHO_WAS_HERE_RECORD}<!-- ELSE -->{L_WWH_UPDATE_NEED}<!-- ENDIF --></p>
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->
Code: Select all
$lang = array_merge($lang, array(
'LP_TITLE' => 'Last Active Post',
'LP_CREATED_BY' => 'Created by',
'LP_POSTEDON' => 'on',
'LP_REPLY_TITLE' => 'Replies',
'LP_REPLY ' => 'Re:',
'LP_BY' => 'by',
));
Code: Select all
$lang = array_merge($lang, array(
'LP_TITLE' => 'Last Active Post',
'LP_CREATED_BY' => 'Created by',
'LP_POSTEDON' => 'on',
'LP_REPLY_TITLE' => 'Replies',
'LP_REPLY' => 'Re:',
'LP_BY' => 'by',
));