Online Statik im Index spinnt
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.0, 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.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Online Statik im Index spinnt
habe mal Testweise mich gereggt alsUser testq, dann ausgeloggt und als Admin rein ins Forum und ihn gelöscht.
Nun steht der immer noch da
Der neueste Benutzer ist testq.
das ist doch net normal oder ?
wie bekomme ich den da gelöscht ?
Nun steht der immer noch da
Der neueste Benutzer ist testq.
das ist doch net normal oder ?
wie bekomme ich den da gelöscht ?
mhh eigentlcih net nur 2.05
http://www.phpbb.de/viewtopic.php?t=50976&highlight=
nur das habe ich geändert am Mod.##############################################################
## MOD Title: Categories hierarchy 2.0.5 - Part 1 - install first MOD-cache
## MOD Author: Ptirhiik < ptirhiik@clanmckeen.com > (Pierre) http://rpgnet.clanmckeen.com
## MOD Description:
## This mod allows to attach a categorie to a higher level categorie,
## keeping all the forum visible on the index page (vBulletin-like view),
## or have a sub-forum view.
## ----------------------------------------------------------------------
## o MOD-Cache part IS required : you have to install it, even if you don't plan to use it
## Install it FIRST
## o Part 1 is the main installation,
## o Part 2 is the facultative modifications of the standard phpBB admin forums prog,
## and is not required if you want to use the new admin forums tool.
## ----------------------------------------------------------------------
##
## MOD Version: 2.0.5
##
## Installation Level: Moderate
## Installation Time: 60 Minutes
## Files To Edit:
http://www.phpbb.de/viewtopic.php?t=50976&highlight=
Code: Alles auswählen
#
#-----[ OPEN ]------------------------------------------------
#
admin/admin_forums_extend.php
#
#-----[ FIND ]----------------------------------------------
#
if( $db->sql_numrows($result) > 0 )
{
$sql = "UPDATE " . PRUNE_TABLE . "
SET prune_days = " . intval($item['prune_days']) . ",
prune_freq = " . intval($item['prune_freq']) . "
WHERE forum_id = " . intval($item['id']);
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
$item['prune_days'] = $HTTP_POST_VARS['prune_days'];
$item['prune_freq'] = $HTTP_POST_VARS['prune_freq'];
Code: Alles auswählen
#
#-----[ OPEN ]------------------------------------------------
#
includes/functions_cache.php
#
#-----[ FIND ]------------------------------------------------
#
* version : 1.0.0 - 15/12/2003
#
#-----[ REPLACE WITH ]----------------------------------------
#
* version : 1.0.1 - 16/01/2004
#
#-----[ FIND ]------------------------------------------------
#
if ( defined('USERS_STATS_DONE') )
{
return;
}
define('USERS_STATS_DONE', true);
// read registered users info (number and last)
#
#-----[ REPLACE WITH ]----------------------------------------
#
// read registered users info (number and last)
#
#-----[ FIND ]------------------------------------------------
#
if ( defined('BOARD_STATS_DONE') )
{
return;
}
define('BOARD_STATS_DONE', true);
// read topics and posts info
#
#-----[ REPLACE WITH ]----------------------------------------
#
// read topics and posts info
#
#-----[ FIND ]------------------------------------------------
#
$fname = $phpbb_root_path . './includes/def_tree.' . $phpEx;
@chmod($fname, 0666);
$handle = @fopen($fname, 'w');
@fwrite($handle, $res);
@fclose($handle);
#
#-----[ REPLACE WITH ]----------------------------------------
#
$cache_path = 'includes/';
$cache_file = 'def_tree';
$handle = @fopen($phpbb_root_path . $cache_path . $cache_file . '.' . $phpEx, 'w');
@flock($fp, LOCK_EX);
@fwrite($handle, $res);
@flock($fp, LOCK_UN);
@fclose($handle);
@umask(0000);
@chmod($phpbb_root_path . $cache_path . $cache_file . '.' . $phpEx, 0666);
#
#-----[ FIND ]------------------------------------------------
#
if ( !defined('CACHE_WORDS') || defined('CACHE_WORDS_DONE') )
{
return;
}
define('CACHE_WORDS_DONE', true);
#
#-----[ REPLACE WITH ]----------------------------------------
#
if ( !defined('CACHE_WORDS') )
{
return;
}
#
#-----[ FIND ]------------------------------------------------
#
if ( !defined('CACHE_THEMES') || defined('CACHE_THEMES_DONE') )
{
return;
}
define('CACHE_THEMES_DONE', true);
#
#-----[ REPLACE WITH ]----------------------------------------
#
if ( !defined('CACHE_THEMES') )
{
return;
}
#
#-----[ FIND ]------------------------------------------------
#
if ( !defined('CACHE_SMILIES') || defined('CACHE_SMILIES_DONE') )
{
return;
}
define('CACHE_SMILIES_DONE', true);
#
#-----[ REPLACE WITH ]----------------------------------------
#
if ( !defined('CACHE_SMILIES') )
{
return;
}
#
#-----[ FIND ]------------------------------------------------
#
if ( !defined('CACHE_RANKS') || defined('CACHE_RANKS_DONE') )
{
return;
}
define('CACHE_RANKS_DONE', true);
#
#-----[ REPLACE WITH ]----------------------------------------
#
if ( !defined('CACHE_RANKS') )
{
return;
}
#
#-----[ FIND ]------------------------------------------------
#
if ( !defined('CACHE_BIRTHDAY') || !defined('PCP_INSTALLED') || defined('CACHE_BIRTHDAY_DONE') )
{
return;
}
define('CACHE_BIRTHDAY_DONE', true);
#
#-----[ REPLACE WITH ]----------------------------------------
#
if ( !defined('CACHE_BIRTHDAY') || !defined('PCP_INSTALLED') )
{
return;
}
#
#-----[ FIND ]------------------------------------------------
#
$fname = $phpbb_root_path . './includes/' . $cache_file . '.' . $phpEx;
@chmod($fname, 0666);
$handle = @fopen($fname, 'w');
@fwrite($handle, $res);
@fclose($handle);
#
#-----[ REPLACE WITH ]----------------------------------------
#
$cache_path = 'includes/';
$handle = @fopen($phpbb_root_path . $cache_path . $cache_file . '.' . $phpEx, 'w');
@flock($fp, LOCK_EX);
@fwrite($handle, $res);
@flock($fp, LOCK_UN);
@fclose($handle);
@umask(0000);
@chmod($phpbb_root_path . $cache_path . $cache_file . '.' . $phpEx, 0666);
#
#-----[ OPEN ]------------------------------------------------
#
includes/cache_tpls/def_smilies_def.php
#
#-----[ FIND ]------------------------------------------------
#
<!-- END smilies -->
#
#-----[ REPLACE WITH ]----------------------------------------
#
<!-- END cache_row -->
#
#-----[ OPEN ]------------------------------------------------
#
admin/admin_users.php
#
#-----[ FIND ]------------------------------------------------
#
<?php
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : cache -----------------------------------------------------------------------------------
#
#-----[ FIND ]------------------------------------------------
#
$message = $lang['User_deleted'] . '<br /><br />' . sprintf($lang['Click_return_useradmin'], '<a href="' . append_sid("admin_users.$phpEx") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_admin_index'], '<a href="' . append_sid("index.$phpEx?pane=right") . '">', '</a>');
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
//-- mod : cache -----------------------------------------------------------------------------------
//-- add
users_stats();
cache_birthday();
//-- fin mod : cache -------------------------------------------------------------------------------
#
#-----[ FIND ]------------------------------------------------
#
$message .= '<br /><br />' . sprintf($lang['Click_return_useradmin'], '<a href="' . append_sid("admin_users.$phpEx") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_admin_index'], '<a href="' . append_sid("index.$phpEx?pane=right") . '">', '</a>');
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
//-- mod : cache -----------------------------------------------------------------------------------
//-- add
// the username may have changed
users_stats();
cache_birthday();
//-- fin mod : cache -------------------------------------------------------------------------------
#
#-----[ OPEN ]------------------------------------------------
#
includes/usercp_register.php
#
#-----[ FIND ]------------------------------------------------
#
$message = $lang['Profile_updated'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');
}
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : cache -----------------------------------------------------------------------------------
//-- add
// the username may have changed
users_stats();
cache_birthday();
//-- fin mod : cache -------------------------------------------------------------------------------
