Widzę, że żeby to działało trzeba mieć dostęp do uprawnień danego forum.
##############################################################
## MOD Title: You BBCode
## MOD Author: wGEric < eric@egcnetwork.com > (Eric)
http://eric.best-1.biz## MOD Description: Adds a BBCode that puts the username of the person viewing the
## post where you add [you] to your post.
## MOD Version: 1.0.0
##
## Installation Level: (Easy)
## Installation Time: 5 Minutes
## Files To Edit: - includes/bbcode.php
## - templates/subSilver/bbcode.tpl
## Included Files: n/a
##############################################################
## Author Notes:
## You must have Multiple BBCode MOD installed for this to work.
## Get it here:
http://www.phpbb.com/phpBB/viewtopic.php?t=74705##
## example:
## 'Hi [you]' will display 'Hi Eric' or 'Hi Bob'. It depends on who
## is viewing the topic.
##
##############################################################
## MOD History:
##
## 2003-09-17 - Version 1.0.0
## - First Release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
includes/bbcode.php
#
#-----[ FIND ]------------------------------------------
#
$bbcode_tpl['email'] = str_replace('{EMAIL}', '\\1', $bbcode_tpl['email']);
#
#-----[ AFTER, ADD ]------------------------------------------
#
global $userdata;
$bbcode_tpl['you'] = str_replace('{YOU}', "' . $userdata['username'] . '", $bbcode_tpl['you']);
#
#-----[ FIND ]------------------------------------------
#
$replacements[] = $bbcode_tpl['email'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
// [you] - inserts the name of the person viewing the post
$patterns[] = "#\[you\]#ise";
$replacements[] = $bbcode_tpl['you'];
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/bbcode.tpl
#
#-----[ FIND ]------------------------------------------
#
<!-- BEGIN --><a href="mailto:{EMAIL}">{EMAIL}</A><!-- END email -->
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- BEGIN you -->{YOU}<!-- END you -->
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM