Top Stats

Download and support for PhpBB3 Top Stats Mod
GROMOVNIK
BBCoder II
BBCoder II
Posts: 5
Joined: 16 Oct 2012, 15:19
BBCodes: 5

Top Stats

Post by GROMOVNIK »

Hi,

I implement TopStats in my forum poljoforum.rs/statistika.php, i want to use it in separate page out of forum.

Code for file Statistika.php

Code: Select all

<?php
/**
*
* @package phpBB3
* @version $Id: page.php ~ Stilithius $
* @copyright (c) 2005 phpBB Group

*
*/

/**
* @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);

// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();

page_header('Statistika foruma');

$template->set_filenames(array(
        'body' => 'statistika_body.html')
);

make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx"));

page_footer();

?>
and code for statistika_body.html

Code: Select all

    <!-- INCLUDE overall_header.html -->
    <h2>Statistika foruma</h2>
    <!-- IF S_TSRAT_ENABLE -->
<!-- INCLUDE recent_active_body.html -->
<!-- ENDIF -->
 
<!-- IF S_TSMVT_ENABLE or S_TSMRT_ENABLE or S_TSMAU_ENABLE or S_TSMAF_ENABLE or S_TSLVB_ENABLE or S_TSLRU_ENABLE -->
<!-- INCLUDE top_stats_body.html -->
<!-- ENDIF -->
    <!-- INCLUDE jumpbox.html -->
    <!-- INCLUDE overall_footer.html -->
I can see 5 most recent active, but cant's see other boxes. They are turned on in ACP.
Thank's for help in any case.
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

Top Stats

Post by martin123456 »

Have you tried this ? viewtopic.php?f=49&t=2209&start=10#p14238 place it in your files out of the forum and see what goes.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Top Stats

Post by Stoker »

Please start a new topic
Board rules! No PM support
Locked