Seite 1 von 1

Eigene BBCodes in nächste Zeile

Verfasst: 12.03.2008 17:09
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?

Verfasst: 12.03.2008 17:11
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>

Verfasst: 12.03.2008 17:15
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 -->

Verfasst: 12.03.2008 17:35
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!

Verfasst: 12.03.2008 20:48
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ß

Verfasst: 12.03.2008 22:17
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

Verfasst: 13.03.2008 06:38
von Isyan

Verfasst: 13.03.2008 08:23
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 ....

Verfasst: 13.03.2008 12:48
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!