BBCodeBox-Problem

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 3.0 hat das Ende seiner Lebenszeit überschritten
phpBB 3.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 3.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf die neuste phpBB-Version, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
seritools
Mitglied
Beiträge: 3
Registriert: 30.07.2008 14:20

BBCodeBox-Problem

Beitrag von seritools »

Hi, ich hab ma diesen code wie es in der anleitung von der bbcodebox steht in die posting_buttons.html eingefügt.

Code: Alles auswählen

	// Define the bbCode tags
	var bbcode = new Array();
var bbtags = new Array(
//0
'[b]','[/b]',
//2
'[i]','[/i]',
//4
'[u]','[/u]',
//6
'[quote]','[/quote]',
//8
'[code]','
',
//10
'
  • ','
',
//12
'
  • ','
',
//14 Listenpunkt [*]
'[img]','[/img]',
//16
'','',
//18 Flash phpbb3-intern
'[flash=]','[/flash]',
//20 Font - Size - phpbb3-intern
'[size=]','[/size]',
//22
'[align=center]','[/align]',
//24
'[align=right]','[/align]',
//26
'[spoil]','[/spoil]',
//28
'[spoil_l]','[/spoil_l]',
//30
'[img_l]','[/img_l]',
//32
'[flash_i]','[/flash_i]',
//34
'[img_r]','[/img_r]',
//36
'[br]','[/br]',
//38
'[youtube]','[/youtube]',
//40
'[gvideo]','[/gvideo]',
//42
'[myspace]','[/myspace]',
//44
'[myvideo]','[/myvideo]',
//46
'[clipfish]','[/clipfish]',
//48
'[flv]','[/flv]',
//50
'[stream]','[/stream]',
//52
'[mov]','[/mov]',
//54
'[sup]','[/sup]',
//56
'[sub]','[/sub]',
//58
'[marq=down]','[/marq]',
//60
'[marq=up]','[/marq]',
//62
'[marq=left]','[/marq]',
//64
'[marq=right]','[/marq]',
//66
'[strike]','[/strike]',
//68
'[align=justify]','[/align]',
//70
'[rm]','[/rm]',
//72
'[wmv]','[/wmv]',
//74
'[hr]','[/hr]',
//76
'[mail=]','[/mail]'
//77 Font - Type
//78 Begin Custom
//79 Font - Color

<!-- BEGIN custom_tags -->, {custom_tags.BBCODE_NAME}<!-- END custom_tags -->);
.BBCODE_NAME}<!-- END custom_tags -->);[/code]

leider kommt, wenn ich die ganze anleitung durchgemacht habe, der fehler:

Code: Alles auswählen

Parse error: syntax error, unexpected '}' in /users/seritools/www/cache/tpl_prosilver_posting_buttons.html.php on line 94
ach ja, der code der tpl_prosilver_posting_buttons.html.php(zeile 1-95):

Code: Alles auswählen

<script type="text/javascript">
// <![CDATA[
	var form_name = 'postform';
	var text_name = <?php if ($this->_tpldata['DEFINE']['.']['SIG_EDIT']) {  ?>'signature'<?php } else { ?>'message'<?php } ?>;
	var load_draft = false;
	var upload = false;

	// Define the bbCode tags
	var bbcode = new Array();
var bbtags = new Array(
//0
'[b]','[/b]',
//2
'[i]','[/i]',
//4
'[u]','[/u]',
//6
'[quote]','[/quote]',
//8
'[code]','
',
//10
'
  • ','
',
//12
'
  • ','
',
//14 Listenpunkt [*]
'[img]','[/img]',
//16
'','',
//18 Flash phpbb3-intern
'[flash=]','[/flash]',
//20 Font - Size - phpbb3-intern
'[size=]','[/size]',
//22
'[align=center]','[/align]',
//24
'[align=right]','[/align]',
//26
'[spoil]','[/spoil]',
//28
'[spoil_l]','[/spoil_l]',
//30
'[img_l]','[/img_l]',
//32
'[flash_i]','[/flash_i]',
//34
'[img_r]','[/img_r]',
//36
'[br]','[/br]',
//38
'[youtube]','[/youtube]',
//40
'[gvideo]','[/gvideo]',
//42
'[myspace]','[/myspace]',
//44
'[myvideo]','[/myvideo]',
//46
'[clipfish]','[/clipfish]',
//48
'[flv]','[/flv]',
//50
'[stream]','[/stream]',
//52
'[mov]','[/mov]',
//54
'[sup]','[/sup]',
//56
'[sub]','[/sub]',
//58
'[marq=down]','[/marq]',
//60
'[marq=up]','[/marq]',
//62
'[marq=left]','[/marq]',
//64
'[marq=right]','[/marq]',
//66
'[strike]','[/strike]',
//68
'[align=justify]','[/align]',
//70
'[rm]','[/rm]',
//72
'[wmv]','[/wmv]',
//74
'[hr]','[/hr]',
//76
'[mail=]','[/mail]'
//77 Font - Type
//78 Begin Custom
//79 Font - Color

<?php $_custom_tags_count = (isset($this->_tpldata['custom_tags'])) ? sizeof($this->_tpldata['custom_tags']) : 0;if ($_custom_tags_count) {for ($_custom_tags_i = 0; $_custom_tags_i < $_custom_tags_count; ++$_custom_tags_i){$_custom_tags_val = &$this->_tpldata['custom_tags'][$_custom_tags_i]; ?>, <?php echo $_custom_tags_val['BBCODE_NAME']; }} ?>);
.BBCODE_NAME}<?php }} ?>);
var imageTag = false;[/code]
4seven
Mitglied
Beiträge: 5869
Registriert: 21.04.2007 06:18

Beitrag von 4seven »

die meldung besagt, das du einen einbaufehler gemacht hast.
check nochmal die install schritt für schritt
Antworten

Zurück zu „[3.0.x] Mod Support“