Код: Выделить всё
##############################################################
## MOD Title: Username link to profile
## MOD Author: Xpert < xpert@phpbbguru.net > http://www.phpbbguru.net
## MOD Description:
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 1 Minute
## Files To Edit (7): viewtopic.php
## Included Files: (n/a)
##############################################################
## For Security Purposes, Please Check: http://www.phpbbguru.net/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbbguru.net/mods/
##############################################################
## Author Notes:
##
##############################################################
## MOD History:
##
## 2004-12-26 - Version 1.0.0
## - Initial Release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
$temp_url = '';
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// [begin] Username link to profile mod
if ( $poster_id != ANONYMOUS )
{
$poster = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $poster_id) . '">' . $poster . '</a>';
}
// [end] Username link to profile mod
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
(Все аналогичные моды, пересмотренные мной, предполагают достаточной большой объем изменений и некоторую не всем нужную избыточность.)