Editor & BB Code Manager

Editor & BB Code Manager 2.0.1 Patch Level 1

No permission to download
Would it be possible to add the "Tables" button in the Available buttons so we can add it to add to the Insert ... menu? This is mainly an admin feature for our forum I want to hide away under the ... Insert menu. Thanks!
All buttons that are technically doable are available for dropdowns. If they're not in the list, they're not compatible, sorry.
 
After few days of testing i've got:
  • few server errors
Code:
ErrorException: [E_NOTICE] Undefined index: url src/XF/Mvc/Entity/AbstractCollection.php:44
Generated by: Unknown account Aug 5, 2018 at 8:28 PM
Stack trace
#0 src/XF/Mvc/Entity/AbstractCollection.php(44): XF::handlePhpError(8, 'Undefined index...', '/var/www/elo...', 44, Array)
#1 src/addons/KL/EditorManager/XF/BbCode/Renderer/Html.php(272): XF\Mvc\Entity\AbstractCollection->offsetGet('url')
#2 src/XF/BbCode/Traverser.php(54): KL\EditorManager\XF\BbCode\Renderer\Html->renderTag(Array, Array)
#3 src/XF/BbCode/Traverser.php(30): XF\BbCode\Traverser->renderSubTree(Array, Array)
#4 src/XF/BbCode/Traverser.php(18): XF\BbCode\Traverser->renderAst(Array, Object(KL\EditorManager\XF\BbCode\RuleSet), Array)
#5 src/XF/Pub/View/Forum/Rss.php(83): XF\BbCode\Traverser->render('Would love to h...', Object(XF\BbCode\Parser), Object(KL\EditorManager\XF\BbCode\RuleSet), Array)
#6 src/XF/Mvc/Renderer/AbstractRenderer.php(77): XF\Pub\View\Forum\Rss->renderRss()
#7 src/XF/Mvc/Renderer/Xml.php(74): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('XF:Forum\\Rss', '', Array)
#8 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Xml->renderView('XF:Forum\\Rss', '', Array)
#9 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Rss), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'rss')
#11 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#12 src/XF.php(328): XF\App->run()
#13 index.php(13): XF::runApp('XF\\Pub\\App')
#14 {main}

Request state
array(4) {
  ["url"] => string(46) "/forum/forums/final-x.243/index.rss"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

Code:
ErrorException: [E_NOTICE] Undefined index: attach src/XF/Mvc/Entity/AbstractCollection.php:44
Generated by: Unknown account Aug 5, 2018 at 8:28 PM
Stack trace
#0 src/XF/Mvc/Entity/AbstractCollection.php(44): XF::handlePhpError(8, 'Undefined index...', '/var/www/elo...', 44, Array)
#1 src/addons/KL/EditorManager/XF/BbCode/Renderer/Html.php(272): XF\Mvc\Entity\AbstractCollection->offsetGet('attach')
#2 src/XF/BbCode/Traverser.php(54): KL\EditorManager\XF\BbCode\Renderer\Html->renderTag(Array, Array)
#3 src/XF/BbCode/Traverser.php(30): XF\BbCode\Traverser->renderSubTree(Array, Array)
#4 src/XF/BbCode/Traverser.php(18): XF\BbCode\Traverser->renderAst(Array, Object(KL\EditorManager\XF\BbCode\RuleSet), Array)
#5 src/XF/Pub/View/Forum/Rss.php(83): XF\BbCode\Traverser->render('Type down these...', Object(XF\BbCode\Parser), Object(KL\EditorManager\XF\BbCode\RuleSet), Array)
#6 src/XF/Mvc/Renderer/AbstractRenderer.php(77): XF\Pub\View\Forum\Rss->renderRss()
#7 src/XF/Mvc/Renderer/Xml.php(74): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('XF:Forum\\Rss', '', Array)
#8 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Xml->renderView('XF:Forum\\Rss', '', Array)
#9 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Rss), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'rss')
#11 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#12 src/XF.php(328): XF\App->run()
#13 index.php(13): XF::runApp('XF\\Pub\\App')
#14 {main}

Request state
array(4) {
  ["url"] => string(46) "/forum/forums/final-x.243/index.rss"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

Code:
ErrorException: [E_NOTICE] Undefined index: list src/XF/Mvc/Entity/AbstractCollection.php:44
Generated by: Unknown account Aug 5, 2018 at 8:28 PM
Stack trace
#0 src/XF/Mvc/Entity/AbstractCollection.php(44): XF::handlePhpError(8, 'Undefined index...', '/var/www/elo...', 44, Array)
#1 src/addons/KL/EditorManager/XF/BbCode/Renderer/Html.php(272): XF\Mvc\Entity\AbstractCollection->offsetGet('list')
#2 src/XF/BbCode/Traverser.php(54): KL\EditorManager\XF\BbCode\Renderer\Html->renderTag(Array, Array)
#3 src/XF/BbCode/Traverser.php(30): XF\BbCode\Traverser->renderSubTree(Array, Array)
#4 src/XF/BbCode/Traverser.php(18): XF\BbCode\Traverser->renderAst(Array, Object(KL\EditorManager\XF\BbCode\RuleSet), Array)
#5 src/XF/Pub/View/Forum/Rss.php(83): XF\BbCode\Traverser->render('Hello.\n\nI am in...', Object(XF\BbCode\Parser), Object(KL\EditorManager\XF\BbCode\RuleSet), Array)
#6 src/XF/Mvc/Renderer/AbstractRenderer.php(77): XF\Pub\View\Forum\Rss->renderRss()
#7 src/XF/Mvc/Renderer/Xml.php(74): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('XF:Forum\\Rss', '', Array)
#8 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Xml->renderView('XF:Forum\\Rss', '', Array)
#9 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Rss), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'rss')
#11 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#12 src/XF.php(328): XF\App->run()
#13 index.php(13): XF::runApp('XF\\Pub\\App')
#14 {main}
Request state
array(4) {
  ["url"] => string(46) "/forum/forums/final-x.243/index.rss"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

Code:
ErrorException: [E_NOTICE] Undefined index: underline src/XF/Mvc/Entity/AbstractCollection.php:44
Generated by: Unknown account Aug 6, 2018 at 7:32 PM
Stack trace
#0 src/XF/Mvc/Entity/AbstractCollection.php(44): XF::handlePhpError(8, 'Undefined index...', '/var/www/elo...', 44, Array)
#1 src/addons/KL/EditorManager/XF/BbCode/Renderer/Html.php(272): XF\Mvc\Entity\AbstractCollection->offsetGet('underline')
#2 src/XF/BbCode/Traverser.php(54): KL\EditorManager\XF\BbCode\Renderer\Html->renderTag(Array, Array)
#3 src/XF/BbCode/Renderer/Html.php(256): XF\BbCode\Traverser->renderSubTree(Array, Array)
#4 src/addons/KL/EditorManager/XF/BbCode/Renderer/Html.php(300): XF\BbCode\Renderer\Html->renderTag(Array, Array)
#5 src/XF/BbCode/Traverser.php(54): KL\EditorManager\XF\BbCode\Renderer\Html->renderTag(Array, Array)
#6 src/XF/BbCode/Renderer/Html.php(256): XF\BbCode\Traverser->renderSubTree(Array, Array)
#7 src/addons/KL/EditorManager/XF/BbCode/Renderer/Html.php(300): XF\BbCode\Renderer\Html->renderTag(Array, Array)
#8 src/XF/BbCode/Traverser.php(54): KL\EditorManager\XF\BbCode\Renderer\Html->renderTag(Array, Array)
#9 src/XF/BbCode/Traverser.php(30): XF\BbCode\Traverser->renderSubTree(Array, Array)
#10 src/XF/BbCode/Traverser.php(18): XF\BbCode\Traverser->renderAst(Array, Object(KL\EditorManager\XF\BbCode\RuleSet), Array)
#11 src/XF/Pub/View/Forum/Rss.php(83): XF\BbCode\Traverser->render('[ATTACH=full]16...', Object(XF\BbCode\Parser), Object(KL\EditorManager\XF\BbCode\RuleSet), Array)
#12 src/XF/Mvc/Renderer/AbstractRenderer.php(77): XF\Pub\View\Forum\Rss->renderRss()
#13 src/XF/Mvc/Renderer/Xml.php(74): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('XF:Forum\\Rss', '', Array)
#14 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Xml->renderView('XF:Forum\\Rss', '', Array)
#15 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Rss), Object(XF\Mvc\Reply\View))
#16 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'rss')
#17 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#18 src/XF.php(328): XF\App->run()
#19 index.php(13): XF::runApp('XF\\Pub\\App')
#20 {main}
Request state
array(4) {
  ["url"] => string(50) "/forum/forums/brasil-portugues-board.350/index.rss"
  ["referrer"] => string(63) "https://myforum.com/forum/forums/brasil-portugues-board.350/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

1533569498331.webp
  • i found that inline spoiler doesn't works with any other bb-code inside, dunno is it a smth like bug or no.
l1.webp
  • For now bbcode ParseHtml have some problems. When i try to add this bbcode into dropdown menu my toolbar disappears and console said
l2.webp
Screenshot_46.webp

Thank you! Regards
 
Last edited:
Hello,

I've upgraded from XF 1.x to XF 2.x , everything works perfect but I only receive error below, would be highly appreciated if you let me know how can I fix that:


Code:
ErrorException: [E_NOTICE] Undefined index: align src/XF/Mvc/Entity/AbstractCollection.php:44
Generated by: Unknown account Aug 7, 2018 at 11:12 PM

Stack trace
#0 src/XF/Mvc/Entity/AbstractCollection.php(44): XF::handlePhpError(8, 'Undefined index...', '/home/iptvcommu...', 44, Array)
#1 src/addons/KL/EditorManager/XF/BbCode/Renderer/Html.php(272): XF\Mvc\Entity\AbstractCollection->offsetGet('align')
#2 src/XF/BbCode/Traverser.php(54): KL\EditorManager\XF\BbCode\Renderer\Html->renderTag(Array, Array)
#3 src/XF/BbCode/Traverser.php(30): XF\BbCode\Traverser->renderSubTree(Array, Array)
#4 src/XF/BbCode/Traverser.php(18): XF\BbCode\Traverser->renderAst(Array, Object(KL\EditorManager\XF\BbCode\RuleSet), Array)
#5 src/XF/Pub/View/Forum/Rss.php(83): XF\BbCode\Traverser->render('[left][b]Dear R...', Object(XF\BbCode\Parser), Object(KL\EditorManager\XF\BbCode\RuleSet), Array)
#6 src/XF/Mvc/Renderer/AbstractRenderer.php(77): XF\Pub\View\Forum\Rss->renderRss()
#7 src/XF/Mvc/Renderer/Xml.php(74): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('XF:Forum\\Rss', '', Array)
#8 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Xml->renderView('XF:Forum\\Rss', '', Array)
#9 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Rss), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'rss')
#11 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#12 src/XF.php(328): XF\App->run()
#13 index.php(13): XF::runApp('XF\\Pub\\App')
#14 {main}


Request state
array(4) {
  ["url"] => string(33) "/forums/Channel-Request/index.rss"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Hi! Thank you for this addon.
Is there any chance to manipulate the table width and height in bbcode?
If I use a standard table, it's getting too large and cells are wider and higher than they need to be.
 
I have the undefined index errors fixed for the next update.

i found that inline spoiler doesn't works with any other bb-code inside, dunno is it a smth like bug or no.

This is expected behavior. The inline spoiler is meant for inline text - hence the name - and prevents BB codes from being rendered inside of it, so people don't override the hidden text with text colors or use block elements inside of it.

For now bbcode ParseHtml have some problems. When i try to add this bbcode into dropdown menu my toolbar disappears and console said
I cannot reproduce that.

Hi! Thank you for this addon.
Is there any chance to manipulate the table width and height in bbcode?
If I use a standard table, it's getting too large and cells are wider and higher than they need to be.
Use the collapse option. It's listed on your BB code help page.
 
I have the undefined index errors fixed for the next update.
Although you have fixed at next release, I want to share my errors. Using Xpress and this addon last versions.

Code:
ErrorException: [E_NOTICE] Undefined index: image_align
src/addons/KL/EditorManager/Listener/TemplaterTemplatePreRender.php:164

#0 src/addons/KL/EditorManager/Listener/TemplaterTemplatePreRender.php(164): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/altikana/...', 164, Array)
#1 [internal function]: KL\EditorManager\Listener\TemplaterTemplatePreRender::editor(Object(XenGenTr\XGTForumistatistik\XF\Template\Templater), 'public', 'editor', Array)
#2 src/XF/Extension.php(50): call_user_func_array(Array, Array)
#3 src/XF/App.php(2392): XF\Extension->fire('templater_templ...', Array, 'public:editor')
#4 src/XF/Template/Templater.php(1231): XF\App->fire('templater_templ...', Array, 'public:editor')
#5 /home/altikana/public_html/blog/wp-content/plugins/wp-xpress-plugin/src/XPress.php(1016): XF\Template\Templater->renderTemplate('editor', Array)
#6 /home/altikana/public_html/blog/wp-content/themes/wp-xpress-theme/inc/filters.php(132): XPress::getEditorInstance('comment_content', 'comment')
#7 /home/altikana/public_html/blog/wp-includes/class-wp-hook.php(286): {closure}('<p class="comme...')
#8 /home/altikana/public_html/blog/wp-includes/plugin.php(203): WP_Hook->apply_filters('<p class="comme...', Array)
#9 /home/altikana/public_html/blog/wp-includes/comment-template.php(2384): apply_filters('comment_form_fi...', '<p class="comme...')
#10 /home/altikana/public_html/blog/wp-content/themes/wp-xpress-theme/comments.php(125): comment_form(Array)
#11 /home/altikana/public_html/blog/wp-includes/comment-template.php(1474): require('/home/altikana/...')
#12 /home/altikana/public_html/blog/wp-content/themes/wp-xpress-theme/single.php(23): comments_template()
#13 /home/altikana/public_html/blog/wp-includes/template-loader.php(74): include('/home/altikana/...')
#14 /home/altikana/public_html/blog/wp-blog-header.php(19): require_once('/home/altikana/...')
#15 /home/altikana/public_html/blog/index.php(17): require('/home/altikana/...')
#16 {main}

array(4) {
  ["url"] => string(34) "/blog/2018/07/16/wp-test-featured/"
  ["referrer"] => string(31) "https://www.altikanal.com/blog/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

Code:
ErrorException: [E_NOTICE] Undefined index: lwSelectMacro.
src/addons/KL/EditorManager/Listener/TemplaterTemplatePreRender.php:569

#0 src/addons/KL/EditorManager/Listener/TemplaterTemplatePreRender.php(569): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/altikana/...', 569, Array)
#1 src/addons/KL/EditorManager/Listener/TemplaterTemplatePreRender.php(417): KL\EditorManager\Listener\TemplaterTemplatePreRender::parseToolbars(Object(stdClass), Array, Array, Array)
#2 [internal function]: KL\EditorManager\Listener\TemplaterTemplatePreRender::editor(Object(XenGenTr\XGTForumistatistik\XF\Template\Templater), 'public', 'editor', Array)
#3 src/XF/Extension.php(50): call_user_func_array(Array, Array)
#4 src/XF/App.php(2392): XF\Extension->fire('templater_templ...', Array, 'public:editor')
#5 src/XF/Template/Templater.php(1231): XF\App->fire('templater_templ...', Array, 'public:editor')
#6 /home/altikana/public_html/blog/wp-content/plugins/wp-xpress-plugin/src/XPress.php(1016): XF\Template\Templater->renderTemplate('editor', Array)
#7 /home/altikana/public_html/blog/wp-content/themes/wp-xpress-theme/inc/filters.php(132): XPress::getEditorInstance('comment_content', 'comment')
#8 /home/altikana/public_html/blog/wp-includes/class-wp-hook.php(286): {closure}('<p class="comme...')
#9 /home/altikana/public_html/blog/wp-includes/plugin.php(203): WP_Hook->apply_filters('<p class="comme...', Array)
#10 /home/altikana/public_html/blog/wp-includes/comment-template.php(2384): apply_filters('comment_form_fi...', '<p class="comme...')
#11 /home/altikana/public_html/blog/wp-content/themes/wp-xpress-theme/comments.php(125): comment_form(Array)
#12 /home/altikana/public_html/blog/wp-includes/comment-template.php(1474): require('/home/altikana/...')
#13 /home/altikana/public_html/blog/wp-content/themes/wp-xpress-theme/single.php(23): comments_template()
#14 /home/altikana/public_html/blog/wp-includes/template-loader.php(74): include('/home/altikana/...')
#15 /home/altikana/public_html/blog/wp-blog-header.php(19): require_once('/home/altikana/...')
#16 /home/altikana/public_html/blog/index.php(17): require('/home/altikana/...')
#17 {main}

array(4) {
  ["url"] => string(34) "/blog/2018/07/16/wp-test-featured/"
  ["referrer"] => string(31) "https://www.altikanal.com/blog/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Looks like a nice addon. But is the price seriously 60€, if you run user upgrades? That's a pretty massive ask for such a small addon. I would happily pay for this, f.ex. a normal rate of ~15-20 dollars.
 
Looks like a nice addon. But is the price seriously 60€, if you run user upgrades? That's a pretty massive ask for such a small addon. I would happily pay for this, f.ex. a normal rate of ~15-20 dollars.
Many add-ons are an annual subscription fee to receive updates, e.g. $25-$50+ per year. This one is a one time fee to receive updates for life.
 
Not to mention it's one of the most popular add-ons based on downloads, so clearly valuable...

It's free for most though. Not 60€.

Anyway, seems like a good addon even if I won't buy it, won't de-rail this thread. Have a nice day all :)
 
Last edited:
It's free for most though. Not 60€.

Anyway, seems like a good addon even if I won't buy it, won't de-rail this thread. Have a nice day all :)
Depends if people are being honest. My site doesn't make a profit, but it does have ad revenue, therefore commercial by the developer's definition. I'm sure others are more morally flexible. Anywho, happy to pay for good add-ons to ensure they stay supported.
 
Top Bottom