Advanced Bb Codes Pack

Advanced Bb Codes Pack [Paid] 1.14.5

No permission to buy ($35.00)
@Xon

We've been getting a bunch of these console errors since updating this addon from 1.11.2 to 1.12.8 and XF from 2.2.10 P1 to 2.2.12 on Wednesday. Only seems to happen when visiting while logged out.

Code:
core-compiled.js?_v=2b87b89c:6 Uncaught TypeError: Cannot read properties of undefined (reading 'prototype')
    at XF.activate.XF.extend (core-compiled.js?_v=2b87b89c:6:6112)
    at wrap-text-patch.min.js?_v=2b87b89c:4:55
    at wrap-text-patch.min.js?_v=2b87b89c:5:84

1679673413354-png.283498
 
Only seems to happen when visiting while logged out.
Do you have guest posting enabled?

:edit: It looks to be from sufficiently old mobile clients who don't have the full editor being loaded at all when the reply editor is there. Will work on a compat fix
 
Last edited:
For some reason it shows up as
Downloaded1.3.10
Latest 1.12.12

Not sure what's going on there, but I can't download it. My license expires in Oct.
 
Xon updated Advanced Bb Codes Pack with a new update entry:

1.13.3 - Feature update

  • Require php 7.2+
  • Fix php 8.1 compatibility with some bb-codes which take a width argument
  • Fix various numerical style properties which did not step in the incremental values as intended, while allowing arbitrary values in the range to be entered
  • Fix editor dialog for various bb-codes did not prefill the default options
  • Fix "Latex - Default height" and "Tabs - Default height" did not apply (changed to "auto" default height type)
  • Fixes for custom h1/h2/h3/h4 tags...

Read the rest of this update entry...
 
Just bought the addon, and having a lil bug with the Encadre code for floating text and whatnot.

1687749365525.webp
Code:
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/home/748753.cl...', 1060, Array)
#1 src/XF/Template/Templater.php(1060): trigger_error('Filter url_disp...', 512)
#2 internal_data/code_cache/templates/l1/s7/public/message_macros.php(357): XF\Template\Templater->filter('https://mesozoi...', Array, true)
#3 src/XF/Template/Templater.php(825): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array, NULL)
#4 internal_data/code_cache/templates/l1/s7/public/post_macros.php(26): XF\Template\Templater->callMacro('message_macros', 'user_info', Array, Array)
#5 src/XF/Template/Templater.php(988): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#6 src/XF/Template/Templater.php(924): XF\Template\Templater->renderExtensionInternal('user_cell', Array, Array, Object(XF\Template\ExtensionSet))
#7 internal_data/code_cache/templates/l1/s7/public/post_macros.php(154): XF\Template\Templater->renderExtension('user_cell', Array, Object(XF\Template\ExtensionSet))
#8 src/XF/Template/Templater.php(988): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#9 src/XF/Template/Templater.php(924): XF\Template\Templater->renderExtensionInternal('full_body', Array, Array, Object(XF\Template\ExtensionSet))
#10 internal_data/code_cache/templates/l1/s7/public/post_macros.php(219): XF\Template\Templater->renderExtension('full_body', Array, Object(XF\Template\ExtensionSet))
#11 src/XF/Template/Templater.php(825): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#12 internal_data/code_cache/templates/l1/s7/public/thread_view.php(861): XF\Template\Templater->callMacro('post_macros', 'post', Array, Array)
#13 src/XF/Template/Templater.php(1652): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#14 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#15 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#16 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#17 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#18 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#19 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#20 src/XF/App.php(2483): XF\Mvc\Dispatcher->run()
#21 src/XF.php(524): XF\App->run()
#22 index.php(20): XF::runApp('XF\\Pub\\App')
#23 {main}

Not sure what's going on but it seems like a similar error to the warning improvements I'm also having issues with?
 
Just bought the addon, and having a lil bug with the Encadre code for floating text and whatnot.

View attachment 287666
Code:
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/home/748753.cl...', 1060, Array)
#1 src/XF/Template/Templater.php(1060): trigger_error('Filter url_disp...', 512)
#2 internal_data/code_cache/templates/l1/s7/public/message_macros.php(357): XF\Template\Templater->filter('https://mesozoi...', Array, true)
#3 src/XF/Template/Templater.php(825): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array, NULL)
#4 internal_data/code_cache/templates/l1/s7/public/post_macros.php(26): XF\Template\Templater->callMacro('message_macros', 'user_info', Array, Array)
#5 src/XF/Template/Templater.php(988): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#6 src/XF/Template/Templater.php(924): XF\Template\Templater->renderExtensionInternal('user_cell', Array, Array, Object(XF\Template\ExtensionSet))
#7 internal_data/code_cache/templates/l1/s7/public/post_macros.php(154): XF\Template\Templater->renderExtension('user_cell', Array, Object(XF\Template\ExtensionSet))
#8 src/XF/Template/Templater.php(988): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#9 src/XF/Template/Templater.php(924): XF\Template\Templater->renderExtensionInternal('full_body', Array, Array, Object(XF\Template\ExtensionSet))
#10 internal_data/code_cache/templates/l1/s7/public/post_macros.php(219): XF\Template\Templater->renderExtension('full_body', Array, Object(XF\Template\ExtensionSet))
#11 src/XF/Template/Templater.php(825): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#12 internal_data/code_cache/templates/l1/s7/public/thread_view.php(861): XF\Template\Templater->callMacro('post_macros', 'post', Array, Array)
#13 src/XF/Template/Templater.php(1652): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#14 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#15 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#16 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#17 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#18 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#19 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#20 src/XF/App.php(2483): XF\Mvc\Dispatcher->run()
#21 src/XF.php(524): XF\App->run()
#22 index.php(20): XF::runApp('XF\\Pub\\App')
#23 {main}

Not sure what's going on but it seems like a similar error to the warning improvements I'm also having issues with?
That is unrelated to my add-on, it looks like a 3rd party add-on is using url_display which is an XF2.2.13 feature. None of my add-ons use that functionality.

With my standard Library add-on, you can check the message_macros template and view applying template modifications and look through each one and check which one is using that template function.
 
That is unrelated to my add-on, it looks like a 3rd party add-on is using url_display which is an XF2.2.13 feature. None of my add-ons use that functionality.

With my standard Library add-on, you can check the message_macros template and view applying template modifications and look through each one and check which one is using that template function.
Hm, I'm on 2.2.12, not .13. Should I downgrade to the previous version, 1.12.12?
 
Last edited:
I'm having a weird bug appear that no errors get generated in error log in ACP.

When I try using "Encadre" with "float" (either one) and I input some text in the header and text, then hit Save, it loads the board index instead of adding to the post?

If I manually do [fleft] and end it, it renders fine, but not through the pop-up menu.
 
Last edited:
I'm having a weird bug appear that no errors get generated in error log in ACP.

When I try using "Encadre" with "float" (either one) and I input some text in the header and text, then hit Save, it loads the board index instead of adding to the post?

If I manually do [fleft] and end it, it renders fine, but not through the pop-up menu.
Please open a ticket on my site and share a screenshot of what you are you screen you are using when this happens.

You'll also need to check if there are any javascript errors occurring using your browser developer tools. Also try disabling extensions and using the stock XF style.
 
Please open a ticket on my site and share a screenshot of what you are you screen you are using when this happens.

You'll also need to check if there are any javascript errors occurring using your browser developer tools. Also try disabling extensions and using the stock XF style.
Can try that once we fix the completely broken site lol
 
Xon updated Advanced Bb Codes Pack with a new update entry:

1.13.7 - Bugfix & minor feature update

  • Fix "preview" button on various bb-code editor dialogs would fail when a width/height was set to 'auto' when the "advanced options" was expanded
  • Fix editor dialog for accordion/tabs/slider did not skip the auto-added blank slide
  • Fixes for searchcontent bb-code
    • Rename the "Restrict similar content bb-code to X" to "Restrict search content bb-code", and allow with Bob's AMS articles
    • Fix preview didn't work when "Restrict similar content bb-code to article thread...

Read the rest of this update entry...
 
Will you be able to add the support for the accordion stuff also for Bob's Blogs addon? I don't have AMS, but I do have UBS.
This was a paid addition, if you are interested in adding support for other add-ons; please open a ticket on my site.

Adding support for Bob's Blogs add-on shouldn't take very long maybe 1-2 hours since most of the work has been done. It should be shorted but @Bob has some planned improvements for structured data in a few of his add-ons before this can be really rolled out to more of his add-ons.
 
Top Bottom