Konflikt BBCode Box-Mod und Table BBCode-Mod
Verfasst: 29.01.2006 15:42
Es geht um diese beiden Mods.
Den BBCode Box-Mod habe ich schon seit langem installiert. Nun wollte ich den für mich sehr interessanten Table BBCode-Mod einbauen.
Ich kann allerdings die notwendigen Einträge in meiner posting_body.tpl nicht finden und glaube, dass dies mit dem BBCode Box-Mod zusammenhängt.
Könnte mir jemand helfen, wie ich den Table BBCode-Mod trotzdem zum laufen kriege?
Code: Alles auswählen
########################################################
## MOD Title: [color=green]Table BBCode[/color]
## MOD Author: SlapShot434 < slapshot434@gmail.com > (Matt Halpin) http://slapshot.termee.com
## MOD Description: This hack enables users to easily create tables in their posts without requiring you to allow the table, tr and td HTML tags.
## MOD Version: 1.3.1 Code: Alles auswählen
#################################################################
## Mod Title: [color=green]bbcode_box for phpBB2[/color]
## Mod Version: v 4.5.0
## Author: AL Tnen <al_tnen@hotmail.com> - http://www.tnen.zzn.com
## Description: This will cahnge bbcode buttons in postung_body
## with images like in MS-Word and add a lot of new&useful bbcode
## this mod make adding smiles very easy&you can add smile in the
## center of text
## Now it's easly to add bbcode(Just select the text and press on
## the bbcode to add it to the selected text)Ich kann allerdings die notwendigen Einträge in meiner posting_body.tpl nicht finden und glaube, dass dies mit dem BBCode Box-Mod zusammenhängt.
Code: Alles auswählen
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/posting_body.tpl
#
#-----[ FIND ]------------------------------------------
#
# NOTE: the full line to look for is:
#f_help = "{L_BBCODE_F_HELP}";
#
f_help =
#
#-----[ AFTER, ADD ]------------------------------------------
#
g_help = "{L_BBCODE_G_HELP}";
#
#-----[ FIND ]---------------------------------
#
# NOTE: the actual line to find is MUCH longer, containing all the bbcode tags
#
bbtags = new Array(
#
#-----[ IN-LINE FIND ]---------------------------------
#
'[url]','[/url]'
#
#-----[ IN-LINE AFTER, ADD ]---------------------------------
#
,'[table]','[/table]'
#
#-----[ 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 ]------------------------------------------
#
#Be sure to increase the "addbbcode" numbers by 2 if neccessary
#
<td><span class="genmed">
<input type="button" class="button" accesskey="g" name="addbbcode18" value="Table" style="width: 40px" onClick="bbstyle(18)" onMouseOver="helpline('g')" />
</span></td>
<td>
<a href="{U_BBCODE_G_FAQ}" target="_blank"><img align="top" src="templates/subSilver/images/icon_tablebbcode.gif" border=0 /></a></td>
#
#-----[ FIND ]------------------------------------------
#
# NOTE: This is NOT the full line. Some coding comes after the "'[/color]')" at the end of the line
#
<select name="addbbcode18" onChange="bbfontstyle('[color=' + this.form.addbbcode18.options[this.form.addbbcode18.selectedIndex].value + ']', '[/color]')
#
#-----[ IN-LINE FIND ]------------------------------------------
#
<select name="addbbcode18"
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
<select name="addbbcode20"
#
#-----[ IN-LINE FIND ]------------------------------------------
#
addbbcode18.options
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
addbbcode20.options
#
#-----[ IN-LINE FIND ]------------------------------------------
#
addbbcode18.selectedIndex
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
addbbcode20.selectedIndex
#
#-----[ FIND ]------------------------------------------
#
</select> {L_FONT_SIZE}:<select name="addbbcode20" onChange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]')" onMouseOver="helpline('f')">
#
#-----[ IN-LINE FIND ]------------------------------------------
#
<select name="addbbcode20"
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
<select name="addbbcode22"
#
#-----[ IN-LINE FIND ]------------------------------------------
#
addbbcode20.options
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
addbbcode22.options
#
#-----[ IN-LINE FIND ]------------------------------------------
#
addbbcode20.selectedIndex
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
addbbcode22.selectedIndex