jup, die module hab ich entwickelt. um den tablemaker zu betreiben, musst du die bbcodebox3 allerdings nicht einbauen. da gibt es eine anleitung von mir, wie du ihn standalone betreiben kannst. muss ich mal rauskramen.
Hier nun die Anleitung:
Ladet euch mein phpBB-Tablemaker-Set aus der gepimpten bbcodebox3 von hackepeter13
Kopiert
root/tablemaker/*.*
nach tablemaker/*.*
root/styles/subsilver2/imageset/buttons/table.gif
nach styles/subsilver2/imageset/buttons/table.gif
root/styles/prosilver/imageset/buttons/table.gif
nach styles/prosilver/imageset/buttons/table.gif
root/styles/prosilver/imageset/buttons/table1.gif
nach styles/prosilver/imageset/buttons/table1.gif
root/language/de/mods/lang_tablemaker.php
nach language/de/mods/lang_tablemaker.php
Öffnet
styles/xxxxx/template/posting_buttons.html
Findet (gilt für beide Styles)
Dahinter fügt ein (gilt für beide Styles)
Öffnet
styles/prosilver/template/posting_buttons.html
Fügt an beliebiger Stelle ein (prosilver)
Code: Alles auswählen
<img src="{T_IMAGESET_PATH}/buttons/table.gif" alt=""
id="table" onclick="var kleinesfenster = window.open('tablemaker/tablemaker.php', '_blank', 'width=500,height=430, left=0,top=0, resizable=no,status=no,menubar=no, location=no,scrollbars=no,toolbar=no')"
onmouseover="table.src='{T_IMAGESET_PATH}/buttons/table1.gif'; helpline('table')"
onmouseout="table.src='{T_IMAGESET_PATH}/buttons/table.gif'; helpline('tip')" />
Öffnet
styles/subsilver2/template/posting_buttons.html
Fügt an beliebiger Stelle ein (subsilver2)
Code: Alles auswählen
<img src="{T_IMAGESET_PATH}/buttons/table.gif" alt="" onclick="var kleinesfenster = window.open('tablemaker/tablemaker.php', '_blank', 'width=500,height=430, left=0,top=0, resizable=no,status=no,menubar=no, location=no,scrollbars=no,toolbar=no')" onmouseover="helpline('table')" onmouseout="helpline('tip')" />
Öffnet
language/de/posting.php
Fügt an beliebiger Stelle ein
Code: Alles auswählen
'BBCODE_TABLE_HELP' => 'Zum starten des phpBB3-Tablemaker > Button anklicken',
Dann geht ihr in das ACP > Beiträge > BBCodes und legt folgende neue BBCodes an:
Code: Alles auswählen
-------------------
- BBCode-Benutzung
[table border={TEXT1} cellpadding={TEXT2} cellspacing={TEXT3} width={TEXT4} height={TEXT5}]{TEXT6}[/table]
- HTML-Ersetzung
<table border="{TEXT1}" cellpadding="{TEXT2}" cellspacing="{TEXT3}" width="{TEXT4}" style="height:{TEXT5}">{TEXT6}</table>
-------------------
- BBCode-Benutzung
[tr]{TEXT}[/tr]
- HTML-Ersetzung
<tr>{TEXT}</tr>
------------
- BBCode-Benutzung
[td align={TEXT1} valign={TEXT2} bordercolor={TEXT3} bgcolor={TEXT4}]{TEXT5}[/td]
- HTML-Ersetzung
<td align="{TEXT1}" valign="{TEXT2}" style="border-color:{TEXT3}; background-color:{TEXT4}">{TEXT5}</td>
------------
Das wars..