Advanced Bb Codes Pack

Advanced Bb Codes Pack [Paid] 1.14.7

No permission to buy ($35.00)
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.
Ah ok. Unfortunately, I am unemployed (and have been since December) so I can't afford to foot the bill.
 
Xon updated Advanced Bb Codes Pack with a new update entry:

1.13.9 - Bugfix update

  • Fix inline-spoiler in emails was not redacted
  • Fix "false" for a boolean bb-code option was not actually interpreted as false
  • Fix [searchcontent] bb-code did not extract all search parameters from bb-code options correctly
  • Add preview support to thread results for [searchcontent] bb-code.
    Configurable via "Search - Default can preview" style property

Read the rest of this update entry...
 
@Xon Font Awesome icons fab fa-fonticons not showing in forum page but admin CP are showing. How can fix this issue?

Admin CP:

ScreenShot00069.webp

Thread view:

ScreenShot00070.webp
 
If you are using @Kirby's Font Awesome Manager, it probably isn't checking the bb-code editor dropdown list for icons allowed. But that add-on doesn't work well when you allow users to insert arbitrary font-awesome icons into posts
 
I'm using a customized default XF style (color and bg changes mostly), but when I hit "Fullscreen editor," it doesn't go actual fullscreen?
1690935569632.webp

There's a bit of space at the bottom that isn't expanding to my 1440p monitor. Any ideas why? There are zero errors in the ACP error log relating to this. (only email related errors but that should be fixed tonight hopefully)
 
I'm using a customized default XF style (color and bg changes mostly), but when I hit "Fullscreen editor," it doesn't go actual fullscreen?
View attachment 289377

There's a bit of space at the bottom that isn't expanding to my 1440p monitor. Any ideas why? There are zero errors in the ACP error log relating to this. (only email related errors but that should be fixed tonight hopefully)
A Froala update broke it, will be fixed next version.
 
I've got a work-around in the next version of this add-on. XF doesn't actually implement the fullscreen widget despite shipping it with froala probably because it is somewhat buggy.
 
If you are using @Kirby's Font Awesome Manager, it probably isn't checking the bb-code editor dropdown list for icons allowed. But that add-on doesn't work well when you allow users to insert arbitrary font-awesome icons into posts

Currently I am not using Font Awesome Manager. Also can you add support show list of Font Awesome icons?

ScreenShot00071.webp
 
Xon updated Advanced Bb Codes Pack with a new update entry:

1.13.15 - Bugfix update

  • Fix usage of deprecated constant for [time] formatting
  • Fix fullscreen editor not actually covering the screen with later froala versions
  • Fix bb-code editor integration not reliably inserting width/height options into generated bb-code output
  • Fixes for searchcontent bb-code
    • Make editor integration for searchcontent bb-code use json instead of XF bb-code options to avoid non-obvious parsing rules
    • Fix " Undefined array key "keywords"" when using...

Read the rest of this update entry...
 
  • Like
Reactions: Bob
Not sure what's causing this. I've updated to the latest build, 1.13.15 (shows 3 times in log):

Code:
ErrorException: Template error: [E_USER_WARNING] Method canViewResources is not callable on the given object (SV\AdvancedBbCodesPack\XF\Entity\User)
src/XF/Template/Templater.php:1187
 
Not sure what's causing this. I've updated to the latest build, 1.13.15 (shows 3 times in log):

Code:
ErrorException: Template error: [E_USER_WARNING] Method canViewResources is not callable on the given object (SV\AdvancedBbCodesPack\XF\Entity\User)
src/XF/Template/Templater.php:1187
You would need to show the stacktrace. That my stuff shows up in the object type doesn't mean my add-on it at fault.

This sort of thing will happen during add-on updates as the add-ons are technically in a zombie state where the template modification is in place but the code which injects the stuff it depends on is not.
 
You would need to show the stacktrace. That my stuff shows up in the object type doesn't mean my add-on it at fault.

This sort of thing will happen during add-on updates as the add-ons are technically in a zombie state where the template modification is in place but the code which injects the stuff it depends on is not.
I'll get that for you when I wake up later this morning. I already turned my PC off and it's not really that great at trying to place the whole stack trace on my phone's keyboard haha
 
@Xon Server error log:

Code:
TypeError: XF\Util\Url::urlToUtf8(): Argument #1 ($url) must be of type string, null given, called in /home/nadda/public_html/src/XF/BbCode/ProcessorAction/AutoLink.php on line 430 src/XF/Util/Url.php:50

Generated by: Unknown account Aug 25, 2023 at 5:48 PM

Stack trace

#0 src/XF/BbCode/ProcessorAction/AutoLink.php(430): XF\Util\Url::urlToUtf8(NULL, false)
#1 src/XF/BbCode/ProcessorAction/AutoLink.php(149): XF\BbCode\ProcessorAction\AutoLink->unfurlLinkUrl('https://alfa-pe...')
#2 [internal function]: XF\BbCode\ProcessorAction\AutoLink->XF\BbCode\ProcessorAction\{closure}(Array)
#3 src/XF/BbCode/ProcessorAction/AutoLink.php(145): preg_replace_callback('#^(?<=[^a-z0-9@...', Object(Closure), [invalid])
#4 src/XF/BbCode/Processor.php(377): XF\BbCode\ProcessorAction\AutoLink->filterString([invalid], Array, Object(XF\BbCode\Processor))
#5 src/XF/BbCode/Processor.php(360): XF\BbCode\Processor->filterString([invalid], Array)
#6 src/XF/BbCode/Traverser.php(67): XF\BbCode\Processor->renderString([invalid], Array)
#7 src/XF/BbCode/Traverser.php(39): XF\BbCode\Traverser->renderSubTree(Array, Array)
#8 src/XF/BbCode/Traverser.php(22): XF\BbCode\Traverser->renderAst(Array, Object(SV\AdvancedBbCodesPack\XF\BbCode\RuleSet), Array)
#9 src/XF/Service/Message/Preparer.php(163): XF\BbCode\Traverser->render([invalid], Object(SV\AdvancedBbCodesPack\XF\BbCode\Parser), Object(SV\AdvancedBbCodesPack\XF\BbCode\RuleSet), Array)
#10 src/XF/Service/Message/Preparer.php(129): XF\Service\Message\Preparer->processMessage([invalid])
#11 src/addons/DBTech/UserTagging/XF/Service/Message/Preparer.php(35): XF\Service\Message\Preparer->prepare([invalid], true)
#12 src/addons/XFMG/XF/Service/Message/Preparer.php(11): DBTech\UserTagging\XF\Service\Message\Preparer->prepare([invalid], true)
#13 src/addons/SV/AdvancedBbCodesPack/XF/Service/Message/Preparer.php(32): XFMG\XF\Service\Message\Preparer->prepare([invalid], true)
#14 src/XF/Service/Post/Preparer.php(98): SV\AdvancedBbCodesPack\XF\Service\Message\Preparer->prepare([invalid], true)
#15 src/addons/DBTech/UserTagging/XF/Service/Post/Preparer.php(43): XF\Service\Post\Preparer->setMessage([invalid], true, true)
#16 src/XF/Service/Thread/Replier.php(114): DBTech\UserTagging\XF\Service\Post\Preparer->setMessage([invalid], true, true)
#17 src/addons/XenConcept/AdvancedPermissions/XF/Service/Thread/Replier.php(36): XF\Service\Thread\Replier->setMessage([invalid], true)
#18 src/XF/Pub/Controller/Thread.php(441): XenConcept\AdvancedPermissions\XF\Service\Thread\Replier->setMessage([invalid])
#19 src/XF/Pub/Controller/Thread.php(590): XF\Pub\Controller\Thread->setupThreadReply(Object(SV\SearchImprovements\XF\Entity\ThreadCollab))
#20 src/addons/KL/EditorManager/XF/Pub/Controller/Thread.php(30): XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#21 src/addons/Snog/ForceSecure/XF/Pub/Controller/Thread.php(17): KL\EditorManager\XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#22 src/addons/xenMade/STFRT/XF/Pub/Controller/Thread.php(114): Snog\ForceSecure\XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#23 src/XF/Mvc/Dispatcher.php(352): xenMade\STFRT\XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#24 src/XF/Mvc/Dispatcher.php(258): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'AddReply', Object(XF\Mvc\RouteMatch), Object(SV\ElasticSearchEssentials\XF\Pub\Controller\Thread), NULL)
#25 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\ElasticSearchEssentials\XF\Pub\Controller\Thread), NULL)
#26 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#27 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#28 src/XF.php(524): XF\App->run()
#29 index.php(20): XF::runApp('XF\\Pub\\App')
#30 {main}

Request state

array(4) {
  ["url"] => string(24) "/threads/73057/add-reply"
  ["referrer"] => string(57) "/threads/73057/page-14#post-2479544"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(9) {
    ["_xfToken"] => string(8) "********"
    ["message_html"] => string(494) "Эффект  печатей а также стереотипов в недлинные сроки
[url=http://печати-в-челябинске.рф]печати-в-челябинске.рф[/url] на ради нашем сайте  [url=http://печати-в-челябинске.рф][i] печати-в-челябинске.рф[/i][/url]
 
https://печативкраснодаре.рф]
 
 
http://печати-в-челябинске.рф]
 
 
https://alfa-pechati.ru]"
    ["message"] => string(494) "Эффект  печатей а также стереотипов в недлинные сроки
[url=http://печати-в-челябинске.рф]печати-в-челябинске.рф[/url] на ради нашем сайте  [url=http://печати-в-челябинске.рф][i] печати-в-челябинске.рф[/i][/url]
 
https://печативкраснодаре.рф]
 
 
http://печати-в-челябинске.рф]
 
 
https://alfa-pechati.ru]"
    ["no_captcha"] => string(1) "1"
    ["submit"] => string(0) ""
    ["last_date"] => string(10) "1692802157"
    ["last_known_date"] => string(10) "1692802157"
    ["load_extra"] => string(1) "1"
    ["klPage"] => string(2) "14"
  }
}
 
That is a XenForo bug, make sure you are running XF2.2.13, you might need to apply this patch (updated files from ChrisD):

 
@Xon How do I change the text colour in the table header? Everything I have tried in style settings hasn't worked and it's not visible? It might be an issue combining this with @DohTheme Retro?
 

Attachments

  • Screenshot 2023-09-09 at 20.48.01.webp
    Screenshot 2023-09-09 at 20.48.01.webp
    13.6 KB · Views: 2
Top Bottom