Eigene BBCodes in nächste Zeile

Fragen zur Bedienung von phpBB 3.0.x, Probleme bei der Benutzung und alle weiteren Fragen inkl. Update auf die neuste phpBB 3.0.14 Version
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
Benutzeravatar
Isyan
Mitglied
Beiträge: 393
Registriert: 26.08.2007 15:36
Wohnort: Augsburg

Eigene BBCodes in nächste Zeile

Beitrag von Isyan »

Hallo,

ich hab die Forensuche bereits benutzt und habe mehrere Begriffe eingegeben! Beispiele dazu waren BBCodes sortieren und andere...

Nun zu meiner Frage!

Ich möchte, dass die von mir im Adminbereich erstellten BBCodes eine Zeile unter den Standart BBCodes erscheinen! Wie könnte ich dieses verwirklichen?

Gruß


/Edit: standart anklickbar? hab ich nicht gemacht wasn das?
Huchinotte
Mitglied
Beiträge: 765
Registriert: 24.10.2007 09:34

Beitrag von Huchinotte »

ÖFFNE: posting_buttons.html

SUCHE:

Code: Alles auswählen

   <!-- BEGIN custom_tags -->
      <input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.BBCODE_HELPLINE}" />
   <!-- END custom_tags -->
</div>

ERSETZE MIT:

Code: Alles auswählen

</div>

<div>
   <!-- BEGIN custom_tags -->
      <input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.BBCODE_HELPLINE}" />
   <!-- END custom_tags -->
</div>
Benutzeravatar
Isyan
Mitglied
Beiträge: 393
Registriert: 26.08.2007 15:36
Wohnort: Augsburg

Beitrag von Isyan »

In der Posting_Buttons.html sieht es bei mir so aus:

Code: Alles auswählen

....size=]','[/size]'<!-- BEGIN custom_tags -->, {custom_tags.BBCODE_NAME}<!-- END custom_tags -->);
/edit

weiterunten dann erst

Code: Alles auswählen

		<!-- BEGIN custom_tags -->
			,cb_{custom_tags.BBCODE_ID}: '{custom_tags.A_BBCODE_HELPLINE}'
		<!-- END custom_tags -->
Huchinotte
Mitglied
Beiträge: 765
Registriert: 24.10.2007 09:34

Beitrag von Huchinotte »

Dann solltest du zumindest schreiben welchen Style du benutzt ...
Hab da aber ne Vermutung

Öffne posting_button.html

Suche

Code: Alles auswählen

<!-- BEGIN custom_tags -->
			<input type="button" class="btnbbcode" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})"<!-- IF custom_tags.BBCODE_HELPLINE !== '' --> onmouseover="helpline('cb_{custom_tags.BBCODE_ID}')" onmouseout="helpline('tip')"<!-- ENDIF --> />
		<!-- END custom_tags -->
		<!-- ENDIF -->
		<!-- IF S_BBCODE_ALLOWED -->
		<span class="genmed nowrap">{L_FONT_SIZE}: <select class="gensmall" name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" onmouseover="helpline('f')" onmouseout="helpline('tip')">
			<option value="50">{L_FONT_TINY}</option>
			<option value="85">{L_FONT_SMALL}</option>
			<option value="100" selected="selected">{L_FONT_NORMAL}</option>
			<option value="150">{L_FONT_LARGE}</option>
			<option value="200">{L_FONT_HUGE}</option>
		</select></span>
<!-- ENDIF -->
Ersetze mit

Code: Alles auswählen

		<div> 
<!-- BEGIN custom_tags -->
			<input type="button" class="btnbbcode" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})"<!-- IF custom_tags.BBCODE_HELPLINE !== '' --> onmouseover="helpline('cb_{custom_tags.BBCODE_ID}')" onmouseout="helpline('tip')"<!-- ENDIF --> />
		<!-- END custom_tags -->
		<!-- ENDIF -->
		<!-- IF S_BBCODE_ALLOWED -->
		<span class="genmed nowrap">{L_FONT_SIZE}: <select class="gensmall" name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" onmouseover="helpline('f')" onmouseout="helpline('tip')">
			<option value="50">{L_FONT_TINY}</option>
			<option value="85">{L_FONT_SMALL}</option>
			<option value="100" selected="selected">{L_FONT_NORMAL}</option>
			<option value="150">{L_FONT_LARGE}</option>
			<option value="200">{L_FONT_HUGE}</option>
		</select></span>
<!-- ENDIF --></div> 
Ansonsten das letzte </div> hinter <!-- END custom_tags --> wenn die Fonts bei dir nicht gibt!
Benutzeravatar
Isyan
Mitglied
Beiträge: 393
Registriert: 26.08.2007 15:36
Wohnort: Augsburg

Beitrag von Isyan »

Hallo,

sry... tut mir leid! Ich benutze den Style "Arrow". Die von dir angegebene Code ist auch nicht so zu finden alles ist wo anderst.

Gruß
Huchinotte
Mitglied
Beiträge: 765
Registriert: 24.10.2007 09:34

Beitrag von Huchinotte »

Isyan hat geschrieben:Hallo,

sry... tut mir leid! Ich benutze den Style "Arrow". Die von dir angegebene Code ist auch nicht so zu finden alles ist wo anderst.

Gruß
Stell mal die posting_button zur verfügung bitte
Benutzeravatar
Isyan
Mitglied
Beiträge: 393
Registriert: 26.08.2007 15:36
Wohnort: Augsburg

Beitrag von Isyan »

Huchinotte
Mitglied
Beiträge: 765
Registriert: 24.10.2007 09:34

Beitrag von Huchinotte »

Isyan hat geschrieben:Posting_Button.html
:o
Huchinotte hat geschrieben:ÖFFNE: posting_buttons.html

SUCHE:

Code: Alles auswählen

   <!-- BEGIN custom_tags -->
      <input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.BBCODE_HELPLINE}" />
   <!-- END custom_tags -->
</div>

ERSETZE MIT:

Code: Alles auswählen

</div>

<div>
   <!-- BEGIN custom_tags -->
      <input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.BBCODE_HELPLINE}" />
   <!-- END custom_tags -->
</div>
Wenn du das machst gehts ........ einfach mal ganz nach unten in der posting_button scrollen ....
Benutzeravatar
Isyan
Mitglied
Beiträge: 393
Registriert: 26.08.2007 15:36
Wohnort: Augsburg

Beitrag von Isyan »

ups.. sry... hab ja des was bei FINDE steht oben auch gefunden dacht net das es unten wieder zu finden wäre.. naja es geht ja jetzt.. danke!
Antworten

Zurück zu „[3.0.x] Administration, Benutzung und Betrieb“