Version: 2.0.21
Server: de pago
Instale el mod, muy sencillo, y me funcionaba a la perfecion.
Cuando borre unos 17 user se fastidio:
Tengo 153 user registrados, por lo cual al user 153 le deberia aparecer Miembro: 153. Pero el numero que aparece es 170 como si los user que borre todavia estubieran.
¿es algo de la base de datos?
Os dejo aqui el mod para que le eches un vistazo:
Código: Seleccionar todo
##############################################################
## MOD Title: Member No.
## MOD Author: Acid < acid_junky@web.de > N/A
##
## MOD Description: Member Number will be displayed on viewtopic
##
## MOD Version: 1.0.0
##
## Traduccion Español: ThE KuKa - http://www.phpbb-es.com
##
## Installation Level: Easy
## Installation Time: 2 minutes
##
## Files To Edit: viewtopic.php
## templates/subsilver/viewtopic_body.tpl
## language/lang_spanish/lang_main.php
##
## Included Files: N/A
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes: N/A
##############################################################
##
## Informations : Ce mod a été testé et remit en page par l'equipe mod de phpBB.biz
##
## Vous en trouverez la derniere version a cette adresse :
## http://forum.phpbb.biz/viewtopic.php?t=91607
##
## Le support se trouve a cette adresse :
## http://forum.phpbb.biz/viewtopic.php?p=972128
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
$poster_joined = ( $postrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Joined'] . ': ' . create_date($lang['DATE_FORMAT'], $postrow[$i]['user_regdate'], $board_config['board_timezone']) : '';
#
#-----[ AFTER, ADD ]-------------------------------------
#
$poster_uin = ( $postrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Uin'] . ': ' . sprintf($postrow[$i]['user_id']-1) : '';
#
#-----[ FIND ]------------------------------------------
#
'POSTER_JOINED' => $poster_joined,
#
#-----[ AFTER, ADD ]-------------------------------------
#
'POSTER_UIN' => $poster_uin,
#
#-----[ OPEN ]------------------------------------------
#
templates/subsilver/viewtopic_body.tpl
#
#-----[ FIND ]------------------------------------------
#
{postrow.POSTER_JOINED}<br />
#
#-----[ IN-LINE FIND ]--------------------------------
#
{postrow.POSTER_JOINED}<br />
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
{postrow.POSTER_UIN}<br />
#
#-----[ OPEN ]------------------------------------------
#
language/lang_spanish/lang_main.php
#
#-----[ FIND ]------------------------------------------
# Busqueda parcial, esta linea acaba en punto y coma ;
$lang['Joined']
#
#-----[ AFTER, ADD ]-------------------------------------
#
$lang['Uin'] = "Miembro";
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM