BBCode parser all [Deleted]

AndyB

Well-known member
AndyB submitted a new resource:

BBCode parser all - Removes undesired BBCode tags from all messages.

Premium upgrade:

For $25.00 USD this add-on along with the entire collection may be downloaded for up to one year. Please see the colletion in the Resources area at this URL:

https://www.xf2addons.com/

Description:

Removes undesired BBCode tags from messages.

When a member saves a message, this add-on will remove any undesired tags.

(Example of Options page)

View attachment 180644

(Example of BBCode parser all page)

View attachment 180645...

Read more about this resource...
 
Can't use this Andy, as it takes longer than 100 seconds to run, thus anyone using cloudflare will get a 524 error. I think these needs to batch process in small chunks to avoid running super long queries on large sites.
 
And generated this error when it tried to do a run:

Code:
Server error log
ErrorException: Template error: Template public:andy_bbcodeparserall is unknown src/XF/Template/Templater.php:583
Generated by: anthony Aug 9, 2018 at 11:58 AM
Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Template public...', '/home/nginx/dom...', 583, Array)
#1 src/XF/Template/Templater.php(583): trigger_error('Template public...', 512)
#2 src/XF/Template/Templater.php(538): XF\Template\Templater->getTemplateData('public', 'andy_bbcodepars...')
#3 src/XF/Template/Templater.php(1248): XF\Template\Templater->getTemplateCode('public', 'andy_bbcodepars...')
#4 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('andy_bbcodepars...', Array)
#5 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#6 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('Andy\\BBCodePars...', 'public:andy_bbc...', Array)
#7 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#8 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#9 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#10 src/XF.php(328): XF\App->run()
#11 index.php(13): XF::runApp('XF\\Pub\\App')
#12 {main}
Request state
array(4) {
  ["url"] => string(16) "/bbcodeparserall"
  ["referrer"] => string(38) "https://www.myptsd.com/bbcodeparserall"
  ["_GET"] => array(1) {
    ["/bbcodeparserall"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 
Back
Top Bottom