Box - BBCode 2.0.0 pl 3

In the course of WBB4.1 / WCF2.1, there's a new version here "SmartBox – BBCode​". The Box-BBcode won't be developed further, so please use the new version compatible with WBB4.1! - The Box – BBCode plugin is a plugin allowing for inserting multicolored boxes into a thread. The contents of these boxes can be pictures, texts but also other things like e.g. a box within a box.

In the course of WBB4.1 / WCF2.1, there's a new version here "SmartBox – BBCode". The Box-BBcode won't be developed further, so please use the new version compatible with WBB4.1!


Depending on the type of content, the box also changes its size and width and thus, it can be used „freely“.


The plugin allows the user to highlight certain things via a box. Accordingly, e.g. developers can use this plugin in order to let the version number be displayed handily or you can emphasize by means of a green box all the good respectively positive things, whereas the red box can display the bad respectively negative things. The variety of use is also extensive and allows for a multitude of integrations.


Moreover, it's another feature that if an usergroup shouldn't see the icon within the editor and thus not see the note that this plugin exists, you can either activate or deactivate it via the icon, simply by means of the userrights ( News (General) ). However, this function doesn't prevent the fact that an user, not seeing the icon displayed, isn't also allowed to use it. On the contrary, this function only activates the icon - to use it, is also possible without the icon.


As a further little help you can find within the forum's help under the BBcodes a manual to use these BBcodes as well as listing of the boxes, according to colors. Due to that, you have the variety of the colors at a glance and you can also infer from the description how the BBcode is structured.


The structure of the BBcodes:
Although a description can be found within your forum's help, I'd like to quickly go into this here again. The BBcode consists of totally 4 parts:
Part 1 is the start [box].


Part 2 will be integrated into the first part, namely the choose of color. If you want to use e.g. red, you only have to choose the English spelling, namely "red“, and insert it with the = token into the first part. This would look like this: [box=red]


Part 3 is the content, which should be displayed in the box. You write it down or insert it after [box=red] (Example [box=red] This is an example ). If you use a text, you can edit it according to your taste (edits could be: font size, font, bold type, italics etc.).


Part 4 is the final part of the BBcodes, namely [/box].


If you have followed all four steps, your code should look now like this [box=red] This is an example [/box]. If it doesn't look like this, you have made a mistake at some stage and should try it again; if it looks like this, the code is correct and can be applied.



Position
Since version 1.0.2 it is also possible to display a box on the right hand side, respecively left hand side. Example: [box=red,right] Example [/box]



Credits

  • Thanks to Norse for helping with the userrights (for the version to WBb3.x),
  • Gabbid for correcting the German texts as well as providing the English translations,
  • Tom for helping with the CSS code and of course,
  • thanks to the several testers.

Wbb4 adaptation: Since WBB4 is in addition to the position information on a German HexCode use possible. The code for this is as follows: [box=hex,color code,position] text [/box].
Since WBB4 it is unfortunately not possible to use the BBCode together with the plugin "com.mobahner.wcf2.bbcode.extra1", this is because this plugin the same name used for the BBCode how I use it.


License: License for free products


Version explanation:
WCF 1.x & WBB 3.x -> Version 1.x
WCF 2.x & Wbb 4.x -> Version 2.x

  • Version 2.0.0 pl 3

  • Version 2.0.0 pl2

    • Incompatibility to BBCode "com.mobahner.wcf2.bbcode.extra1" fixed.
  • Version 2.0.0 pl 1

    • Box BBCode implemented for WBB4
    • Hex codes available [box=hex,color code,position] text [/box]
    • Location indication on German "Links" or "Rechts"
  • Version 1.1.1

    - Fehlerbehebung des Fehlers Probleme Doppeleingane, Eingabe falsch (Sprachvariabel Angepasst zum besseren Verstehen der Eingabe Forderung!)

  • Version 1.1.0

    - Selectable position (left and right For example: [box=red,right] test [/box])
    - German language color (you can now also write in German Fraben Example: [box=rot] test [/ box])

  • Version 1.0.1

    The package description is an abbreviated form.

  • Wird es das auch für das wbb4.1 geben?

  • com.woltlab.wcf (fehlt) 2.0.0
    com.woltlab.wcf.bbcode (fehlt)
    Das steht bei mir

    • Welche Forum Version nutzt du denn?


      Denn Versiom 1 ist für Wbb3.x und Version 2 für Wbb4.0

    • WBB 3.1

    • Dann musst du die letzte Version vom 1.X.X herrubterladen ;) einfach auf Versionen klicken und ein wenig runter Scrollen

  • Ich besitze diese Pakte.. und auch die neuste Version bzw Update.
    Was ist das? Ich benutze 3.1. liegt es daran, dass die aktuellste Version nur für Wbb 4 geht?
    Woher bekomme ich die alten Versionen, die Downloadlinks wurden hie rausgenommen, wie es scheint.


    #EDIT: Hab einfach doch noch mal versucht die Version von 2012 runterzuladen. Es hat 100% geklappt! :)
    Top Plug-In

    • P.s: ist es in 3.1.8 möglich HEX-Codes für die Farben zu benutzen? Die Standart Farben (Red,blue,purple etc) passen manchmal einfach und würde gerne meine eigenen Farben nehmen.
      Danke

    • P.s.2: Ist es möglich die Position der Box "Zentral" zu machen? Sprich= center
      Oder geht nur left, right? Danke.

    • Hallo SantinoJorden ,
      zum PS 1: aktuell ist in diese Richtung nichts geplant, da in der Weihnachtszeit sowieso auch nichts passiert ehm würde ich erstmal so ausformulieren, Nein. Im Januar schau ich dann nochmal wie es Zeitlich aussieht. PS 2: Es wird hier mit dem CSS Element Float gearbeitet. Für dieses Element gibt es kein center sondern nur Left & Right

    • Danke für den schnellen Support. Top Plug-In :) Konnte ich gut verwenden
      Direkt Daumen nach Oben (Y)

  • cooler bb-code...habe da mal ne frage: ist es möglich gleich die farbe zu bestimmen beim klick auf den code? wenn man ja so drauf klickt erscheint [box]xy[/box] und die farbe muss man dann mit =red ect. einfügen. wäre toll wenn es gleich von anfang an so gehen würde, da ja viele user nicht unbedingt wissen wie sie es machen müssen. oder mach ich was falsch?

    • Also man könnte eine Farbe definieren, aber von vorne herrein zusagen alle Punkte sind ausgeschrieben ist glaube ich nicht möglich. Mach mich aber nochmal schlau

      Like 1
  • Das ist nicht wbb 3.1.8 fähig weil es dort das WCF 2.0 verlangt was nicht mit dem wbb 3.1.8 kompatibel ist....

    • Für WBB3 musst du die Version 1 nutzen. Alles ab Version 2.x ist fürs das WBB4. Ich habe nochmal in der Beschreibung den Hinweis dazu ergänzt ;)

      Like 1
  • Super BB Code, die Boxen sehen sehr schön aus. Tolle Arbeit, Danke.

    Like 2
  • PICTURE ERROR : http://puu.sh/8yGjs.png How to fix ?

    • Did you set the group permission? Because I see the icon is not what this is an indicator that this has been forgotten

    • Yes. i needed edit user group > messages. and select box. works fine. Thanks! ;)

    • No Problem ;)

  • Message contains disallowed BBCodes: box how to fix?

    • when i try [box=red]test[/box] in any post.d

    • you must this in ACP bearbeiten :)

  • Leider gibt es mit einem ähnlichen BBCode ein Problem. Kann das Paket nicht geändert werden. Fatal error: A package can't overwrite files from other packages. Only an update from the package which owns the file can do that. (Package 'com.cls-design.box.bbcode' tries to overwrite file 'lib/system/bbcode/BoxBBCode.class.php', which is owned by package 'com.mobahner.wcf2.bbcode.extra1')

    • Ich werde den Bugfix mal sofort nachreichen ;) In Version 2.0.0 pl 2 behoben

    • Leider kommt auf die pl2 Vers. fast die gleiche Fehlermeldung. Jetzt der boxBBCodeTag

    • Fatal error: A package can't overwrite templates from other packages. Only an update from the package which owns the template can do that. (Package 'com.cls-design.box.bbcode' tries to overwrite template 'boxBBCodeTag', which is owned by package 'com.mobahner.wcf2.bbcode.extra1')

    • Wenn du magst, schick mir mal bitte das Plugin per Konversation zu dann gucke ich mal gleich ob ich noch mehr ändern muss

    • Hast eine PN

  • ETA version compatible with WBB4?

    • Not in the moment but i work for a update with the compatible to Wbb4

    • Plugin is now uploaded. If, however, checked by a staff

    • ok, but where to download?

    • We must wait for activated it is. That can only a staff member from woltlab.

  • epic plugin make for wbb4 please..

    • Plugin is now uploaded. If, however, checked by a staff

  • Umsetzung für WBB4?

    • In Arbeit ;)

      Like 1
    • sehr fein :)

    • Perfekt!

    • Bald sind wieder 2 Monate rum ;)

    • @rsmarty: Es ist in Arbeit. Ich bin aktuell dabei auch etwas für Hex-Codes zu machen. Sprich dass man nicht nur vorgegebene Farben hat sondern selber entscheiden kann.

  • "Das angegebene Paket lässt keine Neuinstallation zu." Was mache ich falsch? :(

    • Welche WBB Version nutzt du? Weil das Aktuelle Packet ist nur für 3.x ausgelegt nicht für wbb4

      Like 1
    • Autsch...ja mein Fehler!

    • Aber wbb4 Version ist in Arbeit

    • Super :)

    • februar, märz, april, mai... gib Dir mal einen Ruck und nimm nen Schluck :)

  • ...und solide. ;)
    Lässt keine Wünsche offen und macht genau das, was es soll. Wobei: Hex-Code Unterstützung wäre noch super.

    • Hex-Code ist mit Version 2 also fürs WBB4 nun auch endlich dabei ;)

  • Dies ist ein kleines aber feines und vor allem nützliches Plugin. Die Installation und der Testlauf verliefen völlig fehlerfrei.

  • Super Idee und gut brauchbar, aber egal welche Farbe man auf welcher Sprache eingibt, es kommt immer ein Fehler das die Eingabe nicht korrekt war, aber es funktioniert trotzdem..


    MfG OH

    • Was hattest du den eingegeben?

  • ... jau, das ist mal was ;)


    Damit lassen sich Artikel wirklich super aufwerten und bestimmte Stellen perfekt hervorheben. Vielen Dank für dieses super Teil!


    Aber... Wo Licht, da auch Schatten...


    In der Erklärung nach Anklicken des Box- Icons werden zwar die Farben erwähnt, aber nicht jeder ist unbedingt des Englischen so mächtig, das er auch die englischen Begriffe für die Farben kennt resp. deren Schreibweise.


    Ich habe jetzt erstmal die englischen Wörter in Klammern in die Textvariable eingefügt. Schöner und einfacher zu handhaben wäre aber eine Klickbox mit Radiobuttons o.ä.. Dann wäre die Nummer vollkommen Sprachenunabhängig und auch für einen DAU zu handhaben ;)

    • Wbb4 Version on the Road, liegt jetzt in der Veröffentlichung und muss freigseschaltet werden ;)