<?php
/***************************************************************************
* index.php
* -------------------
* begin : Saturday, Feb 13, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id: index.php,v 1.99.2.1 2002/12/19 17:17:40 psotfx Exp $
*
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
$template->set_filenames(array(
'body' => 'outstats.tpl')
);
{ACTUALSTATS_OUTPUT}
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
Möchte stat in einer neuen Seite anzeigen!
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.1, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.1, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
-
Gast
Möchte stat in einer neuen Seite anzeigen!
Nun, ich habe auch im Forum gesucht und ergänzt, aber wenn ich den stat Mod in einer neuen Seite anzeigen will kommt nur eine weiße Seite! Hier mein txt von der neun Seite:
-
Gast
Habe gemacht was dort steht! Geht aber trotzdem nicht!
[/code]<?php
/***************************************************************************
* stat.php
* -------------------
* begin : Saturday, Feb 13, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id: stat.php,v 1.99.2.1 2002/12/19 17:17:40 psotfx Exp $
*
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
$template->set_filenames(array(
'body' => 'outstats.tpl')
);
include($phpbb_root_path . 'actualstats.'.$phpEx);
{ACTUALSTATS_OUTPUT}
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
versuch mal das als statistic.php:
Code: Alles auswählen
<?php
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
$template->set_filenames(array(
'body' => 'extrapage_body.tpl')
);
include($phpbb_root_path . 'actualstats.'.$phpEx);
//
// Generate the page
//
$template->pparse('body');
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>-
Gast
-
Gast
-
Gast
ok, kriegste die auch noch:
das ding in deine templat-ornder kopieren und actualstats_body.tpl nennen.
ist zumindest bei mir so......
oder benutzt du eine andere statistik? (meine hier: http://www.dvdlr.de/actualstats.php)
Code: Alles auswählen
<!-- ##### AKTUELLE FORENSTATISTIK START ##### -->
<table width="100%" border="0" cellpadding="1" cellspacing="1" style="border-collapse: collapse" class="forumline">
<tr>
<td class="catHead" width="100%" colspan="6" height="25"><span class="cattitle"><center><b>{actualstats1}</b></center></span></td>
</tr>
<tr>
<td colspan="6" height="2" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>
</tr>
<tr>
<td width="25%" class="row3" valign="top">
<table width="100%" border="0" cellpadding="1" cellspacing="1" style="border-collapse: collapse" class="forumline">
<tr>
<td class="catHead" width="100%" colspan="2" height="25"><span class="cattitle"><center><b>{actualstats2}</b></center></span></td>
</tr>
<tr>
<td colspan="2" height="2" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>
</tr>
<tr>
<th align="center" height="25" class="toprow" nowrap="nowrap"> {actualstats3} </th>
<th align="center" class="toprow" nowrap="nowrap"> {actualstats4} </th>
</tr>
<!-- BEGIN last_registrations -->
<tr>
<td class="row2"> <span class="genmed"><a href="{last_registrations.U_VIEWPROFILE}" class="genmed">{last_registrations.USERNAME}</a></span> </td>
<td align="center" nowrap="nowrap" class="row3"> <span class="genmed">{last_registrations.REG_DATE}</span> </td>
</tr>
<!-- END last_registrations -->
</table>
</td>
<td width="30%" class="row3" valign="top">
<table width="100%" border="0" cellpadding="1" cellspacing="1" style="border-collapse: collapse" class="forumline">
<tr>
<td class="catHead" width="100%" colspan="2" height="25"><span class="cattitle"><center><b>{actualstats5}</b></center></span></td>
</tr>
<tr>
<td colspan="2" height="1" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>
</tr>
<tr>
<th align="center" height="25" class="toprow" nowrap="nowrap"> {actualstats3} </th>
<th align="center" class="toprow" nowrap="nowrap"> {actualstats6} </th>
</tr>
<!-- BEGIN most_posts -->
<tr>
<td class="row2"> <span class="genmed"><a href="{most_posts.U_VIEWPROFILE}" class="genmed">{most_posts.USERNAME}</a></span> </td>
<td align="center" nowrap="nowrap" class="row3"> <span class="genmed">{most_posts.POSTS}</span> </td>
</tr>
<!-- END most_posts -->
</table>
</td>
<td width="45%" class="row3" valign="top">
<table width="100%" border="0" cellpadding="1" cellspacing="1" style="border-collapse: collapse" class="forumline">
<tr>
<td class="catHead" width="100%" colspan="2" height="25"><span class="cattitle"><center><b>{actualstats7}</b></center></span></td>
</tr>
<tr>
<td colspan="2" height="1" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>
</tr>
<tr>
<th align="center" height="25" class="toprow" nowrap="nowrap"> {actualstats8} </th>
<th align="center" class="toprow" nowrap="nowrap"> {actualstats6} </th>
</tr>
<!-- BEGIN best_topics -->
<tr>
<td class="row2"> <span class="genmed"><a href="{best_topics.VIEWTOPIC}" class="genmed">{best_topics.TOPIC_TITLE}</a></span> </td>
<td align="center" nowrap="nowrap" class="row3"> <span class="genmed">{best_topics.REPLIES}</span> </td>
</tr>
<!-- END best_topics -->
</table>
</td>
</tr>
<tr>
<td colspan="2" width="50%" class="row3" valign="top">
<table width="100%" border="0" cellpadding="1" cellspacing="1" style="border-collapse: collapse" class="forumline">
<tr>
<td class="catHead" width="100%" colspan="4" height="25"><span class="cattitle"><center><b>{actualstats9}</b></center></span></td>
</tr>
<tr>
<td colspan="4" height="2" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>
</tr>
<tr>
<th colspan="2" align="center" height="25" class="toprow" nowrap="nowrap"> {actualstats10} </th>
<th align="center" class="toprow" nowrap="nowrap"> {actualstats11} </th>
<th align="center" class="toprow" nowrap="nowrap"> {actualstats12} </th>
</tr>
<!-- BEGIN topicrow -->
<tr>
<td class="row1" width="35" align="center" valign="middle" nowrap="nowrap"> <img src="{topicrow.TOPIC_FOLDER_IMG}" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /> </td>
<td class="row1" width="100%"><span class="topictitle">{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />{topicrow.GOTO_PAGE}</span></td>
<td class="row2" align="center" valign="middle"><span class="genmed">{topicrow.VIEWS}</span></td>
<td class="row1" align="center" valign="middle" nowrap="nowrap"><span class="genmed"> {topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG} {topicrow.LAST_POST_TIME} </span></td>
</tr>
<!-- END topicrow -->
</table>
</td>
<td colspan="2" width="50%" class="row3" valign="top">
<table width="100%" border="0" cellpadding="1" cellspacing="1" style="border-collapse: collapse" class="forumline">
<tr>
<td class="catHead" width="100%" colspan="4" height="25"><span class="cattitle"><center><b>{actualstats13}</b></center></span></td>
</tr>
<tr>
<td colspan="4" height="2" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>
</tr>
<tr>
<th align="center" height="25" class="toprow" nowrap="nowrap"> {actualstats14} </th>
<th align="center" class="toprow" nowrap="nowrap"> {actualstats15} </th>
<th align="center" class="toprow" nowrap="nowrap"> {actualstats16} </th>
<th align="center" class="toprow" nowrap="nowrap"> {actualstats17} </th>
</tr>
<!-- BEGIN staff -->
<tr>
<td colspan="1" height="1" class="row2" align="center"><span class="genmed"><a href="{staff.U_NAME}" class="genmed"><b>{staff.NAME}</b></a></span></td>
<td colspan="1" height="1" class="row3" align="center"><span class="genmed">{staff.LEVEL}</span></td>
<td colspan="1" height="1" class="row3" align="center"><span class="genmed">{staff.PM}</span></td>
<td colspan="1" height="1" class="row3" align="center"><span class="genmed">{staff.POSTER_ONLINE}</span></td>
</tr>
<!-- END staff -->
</table>
</td></tr>
</table>
<!-- ##### AKTUELLE FORENSTATISTIK ENDE ##### -->
<br>
ist zumindest bei mir so......
oder benutzt du eine andere statistik? (meine hier: http://www.dvdlr.de/actualstats.php)