Anleitung > Auswahlmenü für Sonderzeichen

Archived Plugins and Howtos

Anleitung > Auswahlmenü für Sonderzeichen

Postby 4seven » Sat 1. Mar 2008, 15:59 | Userzeit: +1.00 / Sa 1. Mär 2008, 15:59

___________________________________________
________________________________________________
________________________________________________________


Anleitung zum Installieren des Plugins > Auswahlmenü für Sonderzeichen


Dieses Plugin ermöglicht es, beliebige Sonderzeichen einzufügen. Die Liste kann beliebig mit Sonderzeichen erweitert werden > Info der Sonderzeichen-Ersetzungen (Es wird die Unicode-Ersetzung empfohlen).

Ferner empfiehlt es sich, die Sonderzeichen schon "vernünftig" vorformatiert in das Auswahlmenü zu integrieren, da die meisten Sonderzeichen gegenüber "normalen" Buchstaben/Zahlen rel. klein dargestellt werden. Es ist aber nicht zwingend. Daher stelle ich 3 Varianten ein. In px (passend zum Plugin "Auswahlmenü für Schriftgröße in px") , in %(Standard) und unvorformatiert. Es kann natürlich jeweils von Hand "nach-formatiert" werden. Die Notizen zwischen den einzelnen Sonderzeichen sind m.E. wichtig, da man sonst nicht mehr weiß, welcher Unicode für welches Sonderzeichen steht.

Wichtig: Die Leerstelle zwischen & und # bitte manuell entfernen (also & # zu &#), da selbst in der Code-Ansicht der Unicode gleich in die Ersetzung umgewandelt wird :wink:


Öffnet (gilt für beide Styles)

styles/xxxxx/posting_buttons.html

Findet

Code: Select all
marqr: '{LA_BBCODE_marqr_HELP}',


Dahinter fügt ein

Code: Select all
ss: '{LA_BBCODE_ss_HELP}',


Findet

Code: Select all
<option style="background-color:darkgray" value="darkgray">darkgray</option>
           <option style="background-color:silver" value="silver">silver</option>
           <option style="background-color:lightgray" value="lightgray">lightgray</option>
           <option style="background-color:white" value="white">white</option>
           </select></span>


Dahinter fügt ein ("Auswahlmenü für Schriftgröße in px")

Code: Select all
<span class="genmed nowrap"><select style="height:22px" class="gensmall" name="addbbcode83" onchange="bbfontstyle('' + this.form.addbbcode83.options[this.form.addbbcode83.selectedIndex].value + '', '');this.form.addbbcode83.selectedIndex = 0;" onmouseover="helpline('ss');" onmouseout="helpline('tip');">   
<option selected="selected" value="">{L_SPECIAL_SIGNS}</option>
<!-- Herz -->
<option style="font-size: 18;" value="[size=18]& #9829;[/size]">& #9829;</option>
<!-- Weiblich -->
<option style="font-size: 18;" value="[size=18]& #9792;[/size]">& #9792;</option>
<!-- Maennlich -->
<option style="font-size: 18;" value="[size=18]& #9794;[/size]">& #9794;</option>
<!-- Unendlich -->
<option style="font-size: 18;" value="[size=18]& #8734;[/size]">& #8734;</option>
<!-- Pfund -->
<option style="font-size: 18;" value="& #163;">& #163;</option>
<!-- Yen -->
<option style="font-size: 18;" value="& #165;">& #165;</option>
<!-- Ein Viertel -->
<option style="font-size: 18;" value="[size=18]& #188;[/size]">& #188;</option>
<!-- Ein Halb -->
<option style="font-size: 18;" value="[size=18]& #189;[/size]">& #189;</option>
<!-- Drei Viertel -->
<option style="font-size: 18;" value="[size=18]& #190;[/size]">& #190;</option>
<!-- Nahezu -->
<option style="font-size: 18;" value="[size=18]& #8776;[/size]">& #8776;</option>
<!-- Ungleich -->
<option style="font-size: 18;" value="[size=18]& #8800;[/size]">& #8800;</option>
<!-- Durchschnitt -->
<option style="font-size: 18;" value="[size=18]& #216;[/size]">& #216;</option>
<!-- Pfeil links -->
<option style="font-size: 18;" value="[size=18]& #8592;[/size]">& #8592;</option>
<!-- Pfeil oben -->
<option style="font-size: 18;" value="[size=18]& #8593;[/size]">& #8593;</option>
<!-- Pfeil rechts -->
<option style="font-size: 18;" value="[size=18]& #8594;[/size]">& #8594;</option>
<!-- Pfeil unten -->
<option style="font-size: 18;" value="[size=18]& #8595;[/size]">& #8595;</option>
<!-- Pfeil links/rechts -->
<option style="font-size: 18;" value="[size=18]& #8596; [/size]">& #8596;</option>
<!-- Doppel-Pfeil rechts -->
<option style="font-size: 18;" value="[size=18]& #8658;[/size]">& #8658;</option>
<!-- Doppel-Pfeil links/rechts -->
<option style="font-size: 18;" value="[size=18]& #8660;[/size]">& #8660;</option>
<!-- Kreuz -->
<option style="font-size: 18;" value="[size=18]& #8224;[/size]">& #8224;</option>
</select></span>


Dahinter fügt ein (Auswahlmenü für Schriftgröße in % (also Standard))

Code: Select all
<span class="genmed nowrap"><select style="height:22px" class="gensmall" name="addbbcode83" onchange="bbfontstyle('' + this.form.addbbcode83.options[this.form.addbbcode83.selectedIndex].value + '', '');this.form.addbbcode83.selectedIndex = 0;" onmouseover="helpline('ss');" onmouseout="helpline('tip');">   
<option selected="selected" value="">{L_SPECIAL_SIGNS}</option>
<!-- Herz -->
<option style="font-size: 18;" value="[size=120]& #9829;[/size]">& #9829;</option>
<!-- Weiblich -->
<option style="font-size: 18;" value="[size=120]& #9792;[/size]">& #9792;</option>
<!-- Maennlich -->
<option style="font-size: 18;" value="[size=120]& #9794;[/size]">& #9794;</option>
<!-- Unendlich -->
<option style="font-size: 18;" value="[size=120]& #8734;[/size]">& #8734;</option>
<!-- Pfund -->
<option style="font-size: 18;" value="& #163;">& #163;</option>
<!-- Yen -->
<option style="font-size: 18;" value="& #165;">& #165;</option>
<!-- Ein Viertel -->
<option style="font-size: 18;" value="[size=120]& #188;[/size]">& #188;</option>
<!-- Ein Halb -->
<option style="font-size: 18;" value="[size=120]& #189;[/size]">& #189;</option>
<!-- Drei Viertel -->
<option style="font-size: 18;" value="[size=120]& #190;[/size]">& #190;</option>
<!-- Nahezu -->
<option style="font-size: 18;" value="[size=120]& #8776;[/size]">& #8776;</option>
<!-- Ungleich -->
<option style="font-size: 18;" value="[size=120]& #8800;[/size]">& #8800;</option>
<!-- Durchschnitt -->
<option style="font-size: 18;" value="[size=120]& #216;[/size]">& #216;</option>
<!-- Pfeil links -->
<option style="font-size: 18;" value="[size=120]& #8592;[/size]">& #8592;</option>
<!-- Pfeil oben -->
<option style="font-size: 18;" value="[size=120]& #8593;[/size]">& #8593;</option>
<!-- Pfeil rechts -->
<option style="font-size: 18;" value="[size=120]& #8594;[/size]">& #8594;</option>
<!-- Pfeil unten -->
<option style="font-size: 18;" value="[size=120]& #8595;[/size]">& #8595;</option>
<!-- Pfeil links/rechts -->
<option style="font-size: 18;" value="[size=120]& #8596; [/size]">& #8596;</option>
<!-- Doppel-Pfeil rechts -->
<option style="font-size: 18;" value="[size=120]& #8658;[/size]">& #8658;</option>
<!-- Doppel-Pfeil links/rechts -->
<option style="font-size: 18;" value="[size=120]& #8660;[/size]">& #8660;</option>
<!-- Kreuz -->
<option style="font-size: 18;" value="[size=120]& #8224;[/size]">& #8224;</option>
</select></span>


Dahinter fügt ein (unvorformatiert)

Code: Select all
<span class="genmed nowrap"><select style="height:22px" class="gensmall" name="addbbcode83" onchange="bbfontstyle('' + this.form.addbbcode83.options[this.form.addbbcode83.selectedIndex].value + '', '');this.form.addbbcode83.selectedIndex = 0;" onmouseover="helpline('ss');" onmouseout="helpline('tip');">   
<option selected="selected" value="">{L_SPECIAL_SIGNS}</option>
<!-- Herz -->
<option style="font-size: 18;" value="& #9829;">& #9829;</option>
<!-- Weiblich -->
<option style="font-size: 18;" value="& #9792;">& #9792;</option>
<!-- Maennlich -->
<option style="font-size: 18;" value="& #9794;">& #9794;</option>
<!-- Unendlich -->
<option style="font-size: 18;" value="& #8734;">& #8734;</option>
<!-- Pfund -->
<option style="font-size: 18;" value="& #163;">& #163;</option>
<!-- Yen -->
<option style="font-size: 18;" value="& #165;">& #165;</option>
<!-- Ein Viertel -->
<option style="font-size: 18;" value="& #188;">& #188;</option>
<!-- Ein Halb -->
<option style="font-size: 18;" value="& #189;">& #189;</option>
<!-- Drei Viertel -->
<option style="font-size: 18;" value="& #190;">& #190;</option>
<!-- Nahezu -->
<option style="font-size: 18;" value="& #8776;">& #8776;</option>
<!-- Ungleich -->
<option style="font-size: 18;" value="& #8800;">& #8800;</option>
<!-- Durchschnitt -->
<option style="font-size: 18;" value="& #216;">& #216;</option>
<!-- Pfeil links -->
<option style="font-size: 18;" value="& #8592;">& #8592;</option>
<!-- Pfeil oben -->
<option style="font-size: 18;" value="& #8593;">& #8593;</option>
<!-- Pfeil rechts -->
<option style="font-size: 18;" value="& #8594;">& #8594;</option>
<!-- Pfeil unten -->
<option style="font-size: 18;" value="& #8595;">& #8595;</option>
<!-- Pfeil links/rechts -->
<option style="font-size: 18;" value="& #8596; ">& #8596;</option>
<!-- Doppel-Pfeil rechts -->
<option style="font-size: 18;" value="& #8658;">& #8658;</option>
<!-- Doppel-Pfeil links/rechts -->
<option style="font-size: 18;" value="& #8660;">& #8660;</option>
<!-- Kreuz -->
<option style="font-size: 18;" value="& #8224;">& #8224;</option>
</select></span>


Öffnet

language/de/mods/lang_bbcodebox3.php

Findet

Code: Select all
'BBCODE_mail_HELP'           => 'Mailadresse einfügen [mail=mailadresse]Text[/url]',


Dahinter fügt ein (vorformatiert)

Code: Select all
'BBCODE_ss_HELP'             => 'Sonderzeichen: Schriftgröße vorformatiert > Zum einfügen anklicken',
'SPECIAL_SIGNS'              => 'Sonderzeichen&nbsp;',


oder (unvorformatiert)

Code: Select all
'BBCODE_ss_HELP'             => 'Sonderzeichen: Zum einfügen anklicken',
'SPECIAL_SIGNS'              => 'Sonderzeichen&nbsp;',


Das wars

lg
4seven
User avatar
4seven
Administrator
 
Posts: 427
 
Last 3 Topics:
Tabmenu Test
[Snippet] Avatar Ev...
[DEV] Zero and X-P...
 
Joined:
Sun 13. Jan 2008, 23:44
 
Letzter Login:
Mon 1. Aug 2022, 16:40
 
Posted:
Sat 1. Mar 2008, 15:59 +1.00
Userzeit: Sa 1. Mär 2008, 15:59

Return to BBCodeBox3 Plugins



Who is online

Users browsing this forum: No registered users and 0 guests

cron