Hallo,
es gibt doch das Snippet namens BBCode_Button_User
[code]#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_admin.php
#
#-----[ FIND ]------------------------------------------
#
$lang['bbcode_f_help'] = 'Font size: [size=x-small]small text';
#
#-----[ AFTER, ADD ]------------------------------------------
#
$lang['bbcode_m_help'] = 'User MOD: [user]username[/user]';
#
#-----[ OPEN ]------------------------------------------
#
language/lang_german/lang_admin.php
#
#-----[ FIND ]------------------------------------------
#
$lang['bbcode_f_help'] = 'Font size: [size=x-small]small text[/size]';
#
#-----[ AFTER, ADD ]------------------------------------------
#
$lang['bbcode_m_help'] = 'User MOD: [user]Benutzername[/user]';
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/posting_body.tpl
#
#-----[ FIND ]------------------------------------------
#
f_help = "{L_BBCODE_F_HELP}";
#
#-----[ AFTER, ADD ]------------------------------------------
#
m_help = "{L_BBCODE_M_HELP}"; <!-- user mod -->
#
#-----[ FIND ]------------------------------------------
#
bbtags = new Array('
','','
','','
','','[quote]','[/quote]','
','
','
','[img]','[/img]','
','');
#
#-----[ REPLACE WITH ]------------------------------------------
#
bbtags = new Array('
','','
','','
','','[quote]','[/quote]','
','
','
','[img]','[/img]','
','','[user]','[/user]');
#
#-----[ FIND ]------------------------------------------
#
<td><span class="genmed">
<input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onClick="bbstyle(16)" onMouseOver="helpline('w')" />
</span></td>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<td><span class="genmed">
<input type="button" class="button" accesskey="m" name="addbbcode18" value="User" style="text-decoration: underline; width: 40px" onClick="bbstyle(18)" onMouseOver="helpline('m')" />
</span></td>
#
#-----[ FIND ]------------------------------------------
#
<select name="addbbcode18" onChange="bbfontstyle('[color=' + this.form.addbbcode18.options[this.form.addbbcode18.selectedIndex].value + ']', '[/color]');this.selectedIndex=0;" onMouseOver="helpline('s')">
#
#-----[ REPLACE WITH ]------------------------------------------
#
<select name="addbbcode20" onChange="bbfontstyle('[color=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/color]');this.selectedIndex=0;" onMouseOver="helpline('s')">
#
#-----[ FIND ]------------------------------------------
#
<select name="addbbcode20" onChange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]')" onMouseOver="helpline('f')">
#
#-----[ REPLACE WITH ]------------------------------------------
#
<select name="addbbcode22" onChange="bbfontstyle('[size=' + this.form.addbbcode22.options[this.form.addbbcode22.selectedIndex].value + ']', '[/size]')" onMouseOver="helpline('f')">
#
#-----[ OPEN ]------------------------------------------
#
posting.php
#
#-----[ FIND ]------------------------------------------
#
'L_BBCODE_F_HELP' => $lang['bbcode_f_help'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_BBCODE_M_HELP' => $lang['bbcode_m_help'],
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
[/code][/size]
das da geeigneter und komfortabler ist !
