Advanced Bb Codes Pack

Advanced Bb Codes Pack [Paid] 1.15.11

No permission to buy ($35.00)
I'm primarily interested in using Xtable, but I think it will be too complicated for most members to figure out how to manually use the BB code.

Below is the current table icon from the "Editor & BB Code Manager" addon I'm using and you can see it includes some easy edit options.

However there's no way to set table or column widths, which everyone on my site complains about. I'm hoping your xtable BB codes has this functionally, but I don't know how to use the bb code.

1) Can table and column width be set with xtable?
2) Can you create an icon with edit options for it similar to the image below (xf v2.0.x)? I'm willing to pay for the update.

201355
 
I'm primarily interested in using Xtable, but I think it will be too complicated for most members to figure out how to manually use the BB code.

Below is the current table icon from the "Editor & BB Code Manager" addon I'm using and you can see it includes some easy edit options.

However there's no way to set table or column widths, which everyone on my site complains about. I'm hoping your xtable BB codes has this functionally, but I don't know how to use the bb code.

1) Can table and column width be set with xtable?
Yup. Widths, height, colspan, border/border colors, text align options, etc. Essentially most <table> HTML attribute options except for style or raw css.

2) Can you create an icon with edit options for it similar to the image below (xf v2.0.x)? I'm willing to pay for the update.

View attachment 201355
Once I finish Content Ratings for XF2.1, and move my own site to XF2; I plan to integrate XF2.1 native table support and the xtable bb-code together. Or at least work on an xtable editor.

The primary design goal was compatibility with TinyMCE Quattro.

Probably 1-2 months out on that
 
Thanks. I'll check back then. For the time being, can you provide some examples of how to use xtable?
This post has some information; https://xenforo.com/community/resources/tinymce-quattro-its-wysiwyg-bb-codes.1881/update/6195

Other wise this screenshot has a bunch, with the "multi option" behaviour from the legacy XF1 add-on;

mce46.webp


Note; the upcoming v1.1.x release (~1 month or so) should cleanup some of the behaviour so it supports native XF2.1 tag options;


{td colspan:3 text_align:centre}[I]Group 1[/i]{/td}


Note; due to XF2.1 behaviour; instead of -, tag options must use _ instead.
 
Xon updated Advanced Bb Codes Pack with a new update entry:

1.1.5 - Feature update

Editor icons require XF2.1, will require edit various bb-codes to add vapid icons when using XF2.0!

  • Consistently support case-insensitive bb-code options
  • In XF2.1, support key:value options for more sliders/bimg/encadre attributes (note; todo document)
  • Add "Slider - Default autoplay" style property
  • Add "Anchor" bb-code - tinyQuatro compatible.
  • Add "Apply Height/Width Restrictions" style property for bb-code with height/width restriuction style properties
  • Update...

Read the rest of this update entry...
 
@Xon pop-up dialogs are not added correctly after adding title, this show in two line.

203814

This should be show in one line.

203815

Also can be add separate line for title?

203816
 
@Xon pop-up dialogs are not added correctly after adding title, this show in two line.

View attachment 203814

This should be show in one line.

View attachment 203815
Yeah, known bug. I haven't looked into how to fix it yet.

Also can be add separate line for title?

View attachment 203816

So you add css something like;
CSS:
.mod_interrupt--warning .title
{
    border-bottom: 3px solid #ffa500;
}
Which gives;
203829

Not actually too sure how how to make the title stretch the full width.
 
new update entry
bug :mad:
Code:
ErrorException: Template error: Illegal string offset 'height' internal_data/code_cache/templates/l3/s8/public/lightbox_macros.php:63

#0 internal_data/code_cache/templates/l3/s8/public/lightbox_macros.php(63): XF\Template\Templater->handleTemplateError(2, 'Illegal string ...', 'intern...', 63, Array)
#1 src/XF/Template/Templater.php(701): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array, Array)
#2 internal_data/code_cache/templates/l3/s8/public/sv_bbcode_bimg.php(103): XF\Template\Templater->callMacro('lightbox_macros', 'single_image', Array, Array)
#3 src/XF/Template/Templater.php(1301): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array)
#4 src/addons/SV/AdvancedBbCodesPack/BbCode/Tag/Bimg.php(36): XF\Template\Templater->renderTemplate('sv_bbcode_bimg', Array)
#5 [internal function]: SV\AdvancedBbCodesPack\BbCode\Tag\Bimg->render(Array, '100', Array, Array, Object(SV\AdvancedBbCodesPack\XF\BbCode\Renderer\Html))
#6 src/XF/BbCode/Renderer/Html.php(295): call_user_func(Array, Array, '100', Array, Array, Object(SV\AdvancedBbCodesPack\XF\BbCode\Renderer\Html))
#7 src/XF/BbCode/Traverser.php(61): XF\BbCode\Renderer\Html->renderTag(Array, Array)
#8 src/XF/BbCode/Traverser.php(37): XF\BbCode\Traverser->renderSubTree(Array, Array)
#9 src/XF/BbCode/Traverser.php(20): XF\BbCode\Traverser->renderAst(Array, Object(SV\AdvancedBbCodesPack\XF\BbCode\RuleSet), Array)
#10 src/XF/SubContainer/BbCode.php(219): XF\BbCode\Traverser->render(Object(XF\Phrase), Object(SV\AdvancedBbCodesPack\XF\BbCode\Parser), Object(SV\AdvancedBbCodesPack\XF\BbCode\RuleSet), Array)
#11 src/XF/Template/Templater.php(2021): XF\SubContainer\BbCode->render(Object(XF\Phrase), 'html', 'help', NULL, Array)
#12 [internal function]: XF\Template\Templater->fnBbCode(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), false, Object(XF\Phrase), 'help', NULL)
#13 src/XF/Template/Templater.php(922): call_user_func_array(Array, Array)
#14 internal_data/code_cache/templates/l3/s8/public/_help_page_bb_codes.php(285): XF\Template\Templater->fn('bb_code', Array, false)
#15 src/XF/Template/Templater.php(1301): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array)
#16 src/XF/Mvc/View.php(59): XF\Template\Templater->renderTemplate('_help_page_bb_c...', Array)
#17 src/XF/Pub/View/Help/Page.php(11): XF\Mvc\View->renderTemplate('public:_help_pa...', Array)
#18 src/XF/Mvc/Renderer/AbstractRenderer.php(91): XF\Pub\View\Help\Page->renderHtml()
#19 src/XF/Mvc/Renderer/Html.php(45): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('XF:Help\\Page', 'public:help_pag...', Array)
#20 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Html->renderView('XF:Help\\Page', 'public:help_pag...', Array)
#21 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#22 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#23 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#24 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#25 src/XF.php(390): XF\App->run()
#26 index.php(20): XF::runApp('XF\\Pub\\App')
#27 {main}
 
Last edited:
Second bug...
Code:
ErrorException: Template error: Illegal string offset 'Data' internal_data/code_cache/templates/l3/s8/public/lightbox_macros.php:63

#0 internal_data/code_cache/templates/l3/s8/public/lightbox_macros.php(63): XF\Template\Templater->handleTemplateError(2, 'Illegal string ...', 'intern...', 63, Array)
#1 src/XF/Template/Templater.php(701): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array, Array)
#2 internal_data/code_cache/templates/l3/s8/public/sv_bbcode_bimg.php(103): XF\Template\Templater->callMacro('lightbox_macros', 'single_image', Array, Array)
#3 src/XF/Template/Templater.php(1301): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array)
#4 src/addons/SV/AdvancedBbCodesPack/BbCode/Tag/Bimg.php(36): XF\Template\Templater->renderTemplate('sv_bbcode_bimg', Array)
#5 [internal function]: SV\AdvancedBbCodesPack\BbCode\Tag\Bimg->render(Array, NULL, Array, Array, Object(SV\AdvancedBbCodesPack\XF\BbCode\Renderer\Html))
#6 src/XF/BbCode/Renderer/Html.php(295): call_user_func(Array, Array, NULL, Array, Array, Object(SV\AdvancedBbCodesPack\XF\BbCode\Renderer\Html))
#7 src/XF/BbCode/Traverser.php(61): XF\BbCode\Renderer\Html->renderTag(Array, Array)
#8 src/XF/BbCode/Traverser.php(37): XF\BbCode\Traverser->renderSubTree(Array, Array)
#9 src/XF/BbCode/Traverser.php(20): XF\BbCode\Traverser->renderAst(Array, Object(SV\AdvancedBbCodesPack\XF\BbCode\RuleSet), Array)
#10 src/XF/SubContainer/BbCode.php(219): XF\BbCode\Traverser->render(Object(XF\Phrase), Object(SV\AdvancedBbCodesPack\XF\BbCode\Parser), Object(SV\AdvancedBbCodesPack\XF\BbCode\RuleSet), Array)
#11 src/XF/Template/Templater.php(2021): XF\SubContainer\BbCode->render(Object(XF\Phrase), 'html', 'help', NULL, Array)
#12 [internal function]: XF\Template\Templater->fnBbCode(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), false, Object(XF\Phrase), 'help', NULL)
#13 src/XF/Template/Templater.php(922): call_user_func_array(Array, Array)
#14 internal_data/code_cache/templates/l3/s8/public/_help_page_bb_codes.php(285): XF\Template\Templater->fn('bb_code', Array, false)
#15 src/XF/Template/Templater.php(1301): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array)
#16 src/XF/Mvc/View.php(59): XF\Template\Templater->renderTemplate('_help_page_bb_c...', Array)
#17 src/XF/Pub/View/Help/Page.php(11): XF\Mvc\View->renderTemplate('public:_help_pa...', Array)
#18 src/XF/Mvc/Renderer/AbstractRenderer.php(91): XF\Pub\View\Help\Page->renderHtml()
#19 src/XF/Mvc/Renderer/Html.php(45): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('XF:Help\\Page', 'public:help_pag...', Array)
#20 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Html->renderView('XF:Help\\Page', 'public:help_pag...', Array)
#21 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#22 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#23 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#24 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#25 src/XF.php(390): XF\App->run()
#26 index.php(20): XF::runApp('XF\\Pub\\App')
#27 {main}
 
bug :mad:
Code:
ErrorException: Template error: Illegal string offset 'height' internal_data/code_cache/templates/l3/s8/public/lightbox_macros.php:63

#0 internal_data/code_cache/templates/l3/s8/public/lightbox_macros.php(63): XF\Template\Templater->handleTemplateError(2, 'Illegal string ...', 'intern...', 63, Array)
#1 src/XF/Template/Templater.php(701): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array, Array)
#2 internal_data/code_cache/templates/l3/s8/public/sv_bbcode_bimg.php(103): XF\Template\Templater->callMacro('lightbox_macros', 'single_image', Array, Array)
#3 src/XF/Template/Templater.php(1301): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array)
#4 src/addons/SV/AdvancedBbCodesPack/BbCode/Tag/Bimg.php(36): XF\Template\Templater->renderTemplate('sv_bbcode_bimg', Array)
#5 [internal function]: SV\AdvancedBbCodesPack\BbCode\Tag\Bimg->render(Array, '100', Array, Array, Object(SV\AdvancedBbCodesPack\XF\BbCode\Renderer\Html))
#6 src/XF/BbCode/Renderer/Html.php(295): call_user_func(Array, Array, '100', Array, Array, Object(SV\AdvancedBbCodesPack\XF\BbCode\Renderer\Html))
#7 src/XF/BbCode/Traverser.php(61): XF\BbCode\Renderer\Html->renderTag(Array, Array)
#8 src/XF/BbCode/Traverser.php(37): XF\BbCode\Traverser->renderSubTree(Array, Array)
#9 src/XF/BbCode/Traverser.php(20): XF\BbCode\Traverser->renderAst(Array, Object(SV\AdvancedBbCodesPack\XF\BbCode\RuleSet), Array)
#10 src/XF/SubContainer/BbCode.php(219): XF\BbCode\Traverser->render(Object(XF\Phrase), Object(SV\AdvancedBbCodesPack\XF\BbCode\Parser), Object(SV\AdvancedBbCodesPack\XF\BbCode\RuleSet), Array)
#11 src/XF/Template/Templater.php(2021): XF\SubContainer\BbCode->render(Object(XF\Phrase), 'html', 'help', NULL, Array)
#12 [internal function]: XF\Template\Templater->fnBbCode(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), false, Object(XF\Phrase), 'help', NULL)
#13 src/XF/Template/Templater.php(922): call_user_func_array(Array, Array)
#14 internal_data/code_cache/templates/l3/s8/public/_help_page_bb_codes.php(285): XF\Template\Templater->fn('bb_code', Array, false)
#15 src/XF/Template/Templater.php(1301): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array)
#16 src/XF/Mvc/View.php(59): XF\Template\Templater->renderTemplate('_help_page_bb_c...', Array)
#17 src/XF/Pub/View/Help/Page.php(11): XF\Mvc\View->renderTemplate('public:_help_pa...', Array)
#18 src/XF/Mvc/Renderer/AbstractRenderer.php(91): XF\Pub\View\Help\Page->renderHtml()
#19 src/XF/Mvc/Renderer/Html.php(45): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('XF:Help\\Page', 'public:help_pag...', Array)
#20 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Html->renderView('XF:Help\\Page', 'public:help_pag...', Array)
#21 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#22 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#23 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#24 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#25 src/XF.php(390): XF\App->run()
#26 index.php(20): XF::runApp('XF\\Pub\\App')
#27 {main}
Second bug...
Code:
ErrorException: Template error: Illegal string offset 'Data' internal_data/code_cache/templates/l3/s8/public/lightbox_macros.php:63

#0 internal_data/code_cache/templates/l3/s8/public/lightbox_macros.php(63): XF\Template\Templater->handleTemplateError(2, 'Illegal string ...', 'intern...', 63, Array)
#1 src/XF/Template/Templater.php(701): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array, Array)
#2 internal_data/code_cache/templates/l3/s8/public/sv_bbcode_bimg.php(103): XF\Template\Templater->callMacro('lightbox_macros', 'single_image', Array, Array)
#3 src/XF/Template/Templater.php(1301): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array)
#4 src/addons/SV/AdvancedBbCodesPack/BbCode/Tag/Bimg.php(36): XF\Template\Templater->renderTemplate('sv_bbcode_bimg', Array)
#5 [internal function]: SV\AdvancedBbCodesPack\BbCode\Tag\Bimg->render(Array, NULL, Array, Array, Object(SV\AdvancedBbCodesPack\XF\BbCode\Renderer\Html))
#6 src/XF/BbCode/Renderer/Html.php(295): call_user_func(Array, Array, NULL, Array, Array, Object(SV\AdvancedBbCodesPack\XF\BbCode\Renderer\Html))
#7 src/XF/BbCode/Traverser.php(61): XF\BbCode\Renderer\Html->renderTag(Array, Array)
#8 src/XF/BbCode/Traverser.php(37): XF\BbCode\Traverser->renderSubTree(Array, Array)
#9 src/XF/BbCode/Traverser.php(20): XF\BbCode\Traverser->renderAst(Array, Object(SV\AdvancedBbCodesPack\XF\BbCode\RuleSet), Array)
#10 src/XF/SubContainer/BbCode.php(219): XF\BbCode\Traverser->render(Object(XF\Phrase), Object(SV\AdvancedBbCodesPack\XF\BbCode\Parser), Object(SV\AdvancedBbCodesPack\XF\BbCode\RuleSet), Array)
#11 src/XF/Template/Templater.php(2021): XF\SubContainer\BbCode->render(Object(XF\Phrase), 'html', 'help', NULL, Array)
#12 [internal function]: XF\Template\Templater->fnBbCode(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), false, Object(XF\Phrase), 'help', NULL)
#13 src/XF/Template/Templater.php(922): call_user_func_array(Array, Array)
#14 internal_data/code_cache/templates/l3/s8/public/_help_page_bb_codes.php(285): XF\Template\Templater->fn('bb_code', Array, false)
#15 src/XF/Template/Templater.php(1301): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array)
#16 src/XF/Mvc/View.php(59): XF\Template\Templater->renderTemplate('_help_page_bb_c...', Array)
#17 src/XF/Pub/View/Help/Page.php(11): XF\Mvc\View->renderTemplate('public:_help_pa...', Array)
#18 src/XF/Mvc/Renderer/AbstractRenderer.php(91): XF\Pub\View\Help\Page->renderHtml()
#19 src/XF/Mvc/Renderer/Html.php(45): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('XF:Help\\Page', 'public:help_pag...', Array)
#20 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Html->renderView('XF:Help\\Page', 'public:help_pag...', Array)
#21 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#22 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#23 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#24 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#25 src/XF.php(390): XF\App->run()
#26 index.php(20): XF::runApp('XF\\Pub\\App')
#27 {main}
First strings: height & Data
This is caused by changes to the lightbox_macros template, the default XF template does not reference height or Data.

I'll push an update so this isn't triggering on the help page, but ultimately this is a style/addon compatibility issue due to custom changes
 
Back
Top Bottom