cclaerhout
Well-known member
I plan to release a new version with only a few Bb Codes helpers.
Now here's one of the reasons (early preview):
Wip
I plan to release a new version with only a few Bb Codes helpers.
Now here's one of the reasons (early preview):
I plan to release a new version with only a few Bb Codes helpers.
Now here's one of the reasons (early preview):
No, they will be released as a separate addon and will require the Bbm 2.2.7 (for its helpers). At the moment there are two Bb Codes (wip - working in progress) :Where is all this bbcodes? They exists in 2.7.0? I can't find this bbcodes in 2.7.0 version.![]()
No, they will be released as a separate addon and will require the Bbm 2.2.7 (for its helpers). At the moment there are two Bb Codes (wip - working in progress) :
I originally wanted to release as well a line chart Bb Code, but I'm going to make a break (a long one) and focus to write the FAQ of these Bb Codes (which will be required to be able to use them) and to introduce the script I've used for this integration (a great one... but with hundreds of options).
- pie - the coding part seems to be finished ; it's not that hard as the below one
- bar - the code has been rewritten 3 times ; it was a nightmare to deal with its options (only the major ones) ; it should be finished soon now
[pie=legend:nw|label: label|label-pos:0.8|start-angle:-60]
{title}Test{/title}
{data}
Heavy Industry | 22
Retail | 9
Light Industry | 14
Out of home | 16
Commuting | 7
Orientation | 9
{/data}
[/pie]
[pie=legend:nw|label-pos:0.8|start-angle:-60|slice-margin:3]
{title}Title test{/title}
{data}
Heavy Industry | 22
Retail | 9
Light Industry | 14
Out of home | 16
Commuting | 7
Orientation | 9
{/data}
{data}
Heavy Industry | 30
Retail | 4
Light Industry | 10
Out of home | 18
Commuting | 9
Orientation | 20
{/data}
[/pie]
[bar=800x500|bcenter|legend:e|label-pos:0.8|no-grid:xy]
{title=left}Title test 2{/title}
{xaxis}Label x{/xaxis}
{data=label:2010}
Heavy Industry | 22
Retail | 9
Light Industry | 14
Out of home | 16
Commuting | 7
Orientation | 9
{/data}
{data=label:2011}
Heavy Industry | 30
Retail | 4
Light Industry | 10
Out of home | 18
Commuting | 9
Orientation | 20
{/data}
{data=label:2012}
Heavy Industry | 22
Retail | 9
Light Industry | 14
Out of home | 16
Commuting | 7
Orientation | 9
{/data}
[/bar]
[bar=400x400|bcenter|legend:no|label-pos:0.8|bar-h|multi-color]
{title=left}Title test 2{/title}
{data}22; 9; 14; 16; 7; 9{/data}
{ticks=yaxis}Heavy Industry|Retail|Light Industry|Out of home|Commuting|Orientation{/ticks}
[/bar]
[bar=stack-data|stack-values|point-labels|bar-margin:30|legend: outside]
{data}2; 6; 7; 10{/data}
{data}7; 5; 3; 4{/data}
{data}14; 9; 3; 8{/data}
[/bar]
[bar=point-labels|legend:no|multi-color]
{data}14 ; 32 ; 41 ; 44 ; 40{/data}
{ticks}A|B|C|D|E{/ticks}
{points}fourteen|thirty two|fourty one|fourty four|fourty{/points}
[/bar]
[bar=600x@|no-tick|pad:0|legend:no|zoom]
{data=mod-axis:y-y2|point-labels|bar-padding:-15|bar-margin:0|bar-width:15|animate:2500}
2002 | 10200
2003 | 10800
2004 | 11200
2005 | 11800
2006 | 12400
2007 | 12800
2008 | 13200
2009 | 12600
2010 | 13100
{/data}
{data=no-renderer|animate:2000}
2002 | 112000
2003 | 122000
2004 | 104000
2005 | 99000
2006 | 121000
2007 | 148000
2008 | 114000
2009 | 133000
2010 | 161000
2011 | 173000
{/data}
{yaxis=string:dollar|tick-zero}{/yaxis}
{y2axis=string:dollar|no-grid|tick-zero|tick-align}{/y2axis}
{xaxis=no-tick-mark}{/xaxis}
{zoom=loose}{/zoom}
{hl=tooltip:s|tooltip-axis:y|size-adjust:7.5}{/hl}
[/bar]
[bar=point-labels|multi-color|legend:w-outside|tick-angle:0]
{data}1x4;3x5;7x2{/data}
{points}a|b|c{/points}
[/bar]
[bar=point-labels|legend:s-outside|no-tick]
{data}1x4{/data}
{data}3x5{/data}
{data}7x2{/data}
{points}a|b|c{/points}
[/bar]
I've been using on my dev boards the 1.3.x versions without any problems. If your Bbm version is old, you would just have to upgrade it to match the new editor layout. I haven't tested personally the stock Custom Bb Code manager, but after having a quick look at its integration, it is unlikely to have any compatibility issues. If a Bb Code has the same tag name, the one from the stock one will be replaced by the one from the Bbm since the integration of the Bbm Bb Codes is done a little after, which means if you already have a Bbm spoiler Bb Code, it will not change. To have the XenForo one, you will have to rename your original Bb Code or disable it. It's up to you.Hi Cédric, sorry for the dumb question or if it has been already answered, but what is going to happen with XF 1.3.0 including a BBCode manager and your installed add-on? No compatibility issues? Both can still be used separately?
No, that's the only button that can't be moved at the moment (using the XenForo Redactor Framework), see the suggestion here.Hello Cédric,
Would this add-on allow me to move the strike-through button back into the main toolbar - as a button on it's own again (XF 1.3)?
Regards,
Shaun
Replace the content of the file BBM_ControllerPublic_Help (see the bbm librarie) by:On 1.3 XF on this page /help/bb-codes i got error :
Template Errors: help_bbm_bbcodes
- Invalid argument supplied for foreach() in /var/www/bla/data/www/final.bla.ru/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 2:
1: $__output = '';
2: foreach ($bbmBbCodes AS $bbmBbCode)
3: {
Cool ! Thank you!Replace the content of the file BBM_ControllerPublic_Help (see the bbm librarie) by:
by this:
http://pastebin.com/quC3ZymQ
I will publish an update soon.
Version 2.8.0 released
This update is a major one. It is focusing on XenForo official Bb Codes permissions and Bb Codes content protection. Like for any major version, I recommend first to test it on your dev board.
- New permissions for the XenForo official Bb Codes
- Parsing permissions (apply to the poster - experimental):
- new permission for the url Bb Code
- can be apply only to some forums if needed
- description rewritten to...
Short anwser: yes but it's complicated.Is it possible to parse the bbcodes in the editor? Like Bold/Italic/Underline?
Maybe you have disabled them here:When I enable this addon my bbcodes stop working ( even default ones, like LIST bbcode)
Am I missing something?
We use essential cookies to make this site work, and optional cookies to enhance your experience.