The_Damned hat geschrieben:im intro+portal mod wird die richtige zahl angegeben und permanent geupdated, nurnicht im forenindex
Weil der Hierarchie-Code nur in der index.php steht.
Code: Alles auswählen
#
#-----[ FIND ]------------------------------------------------
#
$total_posts = get_db_stat('postcount');
$total_users = get_db_stat('usercount');
#
#-----[ REPLACE WITH ]----------------------------------------
#
//-- mod : categories hierarchy --------------------------------------------------------------------
//-- delete
// $total_posts = get_db_stat('postcount');
// $total_users = get_db_stat('usercount');
//-- add
include_once($phpbb_root_path . 'includes/mods_settings/mod_categories_hierarchy.' . $phpEx);
if ( ($board_config['display_viewonline'] == 2) || ( ($viewcat < 0) && ($board_config['display_viewonline'] == 1) ) )
{
if ( empty($board_config['max_posts']) || empty($board_config['max_users']) )
{
board_stats();
}
$total_posts = $board_config['max_posts'];
$total_users = $board_config['max_users'];
//-- fin mod : categories hierarchy ----------------------------------------------------------------
#
#-----[ FIND ]------------------------------------------------
#
$l_total_user_s = $lang['Registered_users_total'];
}
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : categories hierarchy --------------------------------------------------------------------
//-- add
}
//-- fin mod : categories hierarchy ----------------------------------------------------------------
Mach diese Änderung mal testweise in der index.php wieder rückgängig.
(Das wird übrigens auch in der 2.0.5er Anleitung beschrieben. Diese Version ist zwar noch Beta (daher funktionierte sie auch bei dir nicht), aber diese Änderung hat mit Beta oder nicht Beta nix zu tun.)