Editor & BB Code Manager

Editor & BB Code Manager 2.0.1 Patch Level 1

No permission to download
Please can you add option can disable [KL] Editor Manager without disabling the add-on? Just add enable/disable option for this addon. I am highly recommended for this option .... (y)
I'm sorry, I don't understand exactly what you're suggesting.
 
@katsulynx Still getting this Server error logs about [E_NOTICE] Undefined index: user_id

Code:
    ErrorException: [E_NOTICE] Undefined index: user_id src/addons/KL/EditorManager/BbCode/Renderer/Html.php:480



    Generated by: Unknown account Dec 7, 2017 at 4:05 AM



Stack trace



#0 src/addons/KL/EditorManager/BbCode/Renderer/Html.php(480): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/nadda/pub...', 480, Array)

#1 src/addons/KL/EditorManager/BbCode/Renderer/Html.php(425): KL\EditorManager\BbCode\Renderer\Html->isCreator(Array)

#2 [internal function]: KL\EditorManager\BbCode\Renderer\Html->renderTagHideReplyThanks(Array, NULL, Array, Array, Object(KL\EditorManager\BbCode\Renderer\Html))

#3 src/XF/BbCode/Renderer/Html.php(234): call_user_func(Array, Array, NULL, Array, Array, Object(KL\EditorManager\BbCode\Renderer\Html))

#4 src/XF/BbCode/Traverser.php(49): XF\BbCode\Renderer\Html->renderTag(Array, Array)

#5 src/XF/BbCode/Renderer/Html.php(351): XF\BbCode\Traverser->renderSubTree(Array, Array)

#6 [internal function]: XF\BbCode\Renderer\Html->renderTagAlign(Array, NULL, Array, Array, Object(KL\EditorManager\BbCode\Renderer\Html))

#7 src/XF/BbCode/Renderer/Html.php(234): call_user_func(Array, Array, NULL, Array, Array, Object(KL\EditorManager\BbCode\Renderer\Html))

#8 src/XF/BbCode/Traverser.php(49): XF\BbCode\Renderer\Html->renderTag(Array, Array)

#9 src/XF/BbCode/Traverser.php(29): XF\BbCode\Traverser->renderSubTree(Array, Array)

#10 src/XF/BbCode/Traverser.php(18): XF\BbCode\Traverser->renderAst(Array, Object(KL\EditorManager\BbCode\RuleSet), Array)

#11 src/XF/Pub/View/Forum/Rss.php(83): XF\BbCode\Traverser->render('[CENTER][COLOR=...', Object(XF\BbCode\Parser), Object(KL\EditorManager\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(1879): 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(19) "/forums/-/index.rss"

  ["referrer"] => string(27) "/"

  ["_GET"] => array(0) {

  }

  ["_POST"] => array(0) {

  }

}
 
One of my members just reported he doesn't see the icons I havef added to the toolbar. It appears he is just seeing the default set. This is on IE11, which I don't have so can't test it it myself.
 
Last edited:
Couple of issues with tables:

  • It is sometimes difficult to add text underneath as there is no room for the cursor. On Safari you place it right on the RH side of table which is a bit tricky, on Firefox I couldn't place it at all (had to toggle bbcode)
  • If you go back to the post and edit something in a table, it seems you cannot then edit any text beneath again go to bbcode as workaround)
  • Sometimes when saving the next reoply box won't let you add text until you refresh the page.
 
One of my members just reported he doesn't see the icons I havef added to the toolbar. It appears he is just seeing the default set. This is on IE11, which I don't have so can't test it it myself.

Another member (IE11 also) seems to only see the default set of icons (I have added tables which they don't see and removed remove formatting, which they do see) I've also changed the order but they see the default order.

BUT oddly they do get the option for background colours under the text colour icon
 
@katsulynx Getting lot of error log about [E_NOTICE] Undefined index: user_id

Code:
ErrorException: [E_NOTICE] Undefined index: user_id src/addons/KL/EditorManager/BbCode/Renderer/Html.php:480

Generated by: Unknown account Dec 10, 2017 at 8:21 AM

Stack trace

#0 src/addons/KL/EditorManager/BbCode/Renderer/Html.php(480): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/nadda/pub...', 480, Array)
#1 src/addons/KL/EditorManager/BbCode/Renderer/Html.php(425): KL\EditorManager\BbCode\Renderer\Html->isCreator(Array)
#2 [internal function]: KL\EditorManager\BbCode\Renderer\Html->renderTagHideReplyThanks(Array, NULL, Array, Array, Object(KL\EditorManager\BbCode\Renderer\Html))
#3 src/XF/BbCode/Renderer/Html.php(234): call_user_func(Array, Array, NULL, Array, Array, Object(KL\EditorManager\BbCode\Renderer\Html))
#4 src/XF/BbCode/Traverser.php(49): XF\BbCode\Renderer\Html->renderTag(Array, Array)
#5 src/XF/BbCode/Traverser.php(29): XF\BbCode\Traverser->renderSubTree(Array, Array)
#6 src/XF/BbCode/Traverser.php(18): XF\BbCode\Traverser->renderAst(Array, Object(KL\EditorManager\BbCode\RuleSet), Array)
#7 src/XF/Pub/View/Forum/Rss.php(83): XF\BbCode\Traverser->render('Hide this post....', Object(XF\BbCode\Parser), Object(KL\EditorManager\BbCode\RuleSet), Array)
#8 src/XF/Mvc/Renderer/AbstractRenderer.php(77): XF\Pub\View\Forum\Rss->renderRss()
#9 src/XF/Mvc/Renderer/Xml.php(74): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('XF:Forum\\Rss', '', Array)
#10 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Xml->renderView('XF:Forum\\Rss', '', Array)
#11 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Rss), Object(XF\Mvc\Reply\View))
#12 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'rss')
#13 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#14 src/XF.php(328): XF\App->run()
#15 index.php(13): XF::runApp('XF\\Pub\\App')
#16 {main}

Request state

array(4) {
  ["url"] => string(41) "/forums/help-and-suggestions.14/index.rss"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Sorry for the delayed reply guys, having a rough weekend. I'll get back to you and answer your questions and work through your bug reports as soon as I can next week!
 
Sorry for the delayed reply guys, having a rough weekend. I'll get back to you and answer your questions and work through your bug reports as soon as I can next week!

OK but one day Server error logs generated more then 5000, Does its need fix ASAP ?

Code:
ErrorException: [E_NOTICE] Undefined index: user_id src/addons/KL/EditorManager/BbCode/Renderer/Html.php:480

Generated by: Unknown account Dec 12, 2017 at 11:58 PM

Stack trace

#0 src/addons/KL/EditorManager/BbCode/Renderer/Html.php(480): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/nadda/pub...', 480, Array)
#1 src/addons/KL/EditorManager/BbCode/Renderer/Html.php(425): KL\EditorManager\BbCode\Renderer\Html->isCreator(Array)
#2 [internal function]: KL\EditorManager\BbCode\Renderer\Html->renderTagHideReplyThanks(Array, NULL, Array, Array, Object(KL\EditorManager\BbCode\Renderer\Html))
#3 src/XF/BbCode/Renderer/Html.php(234): call_user_func(Array, Array, NULL, Array, Array, Object(KL\EditorManager\BbCode\Renderer\Html))
#4 src/XF/BbCode/Traverser.php(49): XF\BbCode\Renderer\Html->renderTag(Array, Array)
#5 src/addons/KL/EditorManager/BbCode/Renderer/Html.php(144): XF\BbCode\Traverser->renderSubTree(Array, Array)
#6 [internal function]: KL\EditorManager\BbCode\Renderer\Html->renderTagFont(Array, 'Open Sans', Array, Array, Object(KL\EditorManager\BbCode\Renderer\Html))
#7 src/XF/BbCode/Renderer/Html.php(234): call_user_func(Array, Array, 'Open Sans', Array, Array, Object(KL\EditorManager\BbCode\Renderer\Html))
#8 src/XF/BbCode/Traverser.php(49): XF\BbCode\Renderer\Html->renderTag(Array, Array)
#9 src/XF/BbCode/Renderer/Html.php(244): XF\BbCode\Traverser->renderSubTree(Array, Array)
#10 src/XF/BbCode/Traverser.php(49): XF\BbCode\Renderer\Html->renderTag(Array, Array)
#11 src/XF/BbCode/Renderer/Html.php(775): XF\BbCode\Traverser->renderSubTree(Array, Array)
#12 [internal function]: XF\BbCode\Renderer\Html->renderTagSize(Array, '4', Array, Array, Object(KL\EditorManager\BbCode\Renderer\Html))
#13 src/XF/BbCode/Renderer/Html.php(234): call_user_func(Array, Array, '4', Array, Array, Object(KL\EditorManager\BbCode\Renderer\Html))
#14 src/XF/BbCode/Traverser.php(49): XF\BbCode\Renderer\Html->renderTag(Array, Array)
#15 src/XF/BbCode/Traverser.php(29): XF\BbCode\Traverser->renderSubTree(Array, Array)
#16 src/XF/BbCode/Traverser.php(18): XF\BbCode\Traverser->renderAst(Array, Object(KL\EditorManager\BbCode\RuleSet), Array)
#17 src/XF/Pub/View/Forum/Rss.php(83): XF\BbCode\Traverser->render('[SIZE=4][COLOR=...', Object(XF\BbCode\Parser), Object(KL\EditorManager\BbCode\RuleSet), Array)
#18 src/XF/Mvc/Renderer/AbstractRenderer.php(77): XF\Pub\View\Forum\Rss->renderRss()
#19 src/XF/Mvc/Renderer/Xml.php(74): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('XF:Forum\\Rss', '', Array)
#20 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Xml->renderView('XF:Forum\\Rss', '', Array)
#21 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Rss), Object(XF\Mvc\Reply\View))
#22 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'rss')
#23 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#24 src/XF.php(328): XF\App->run()
#25 index.php(13): XF::runApp('XF\\Pub\\App')
#26 {main}

Request state

array(4) {
  ["url"] => string(19) "/forums/-/index.rss"
  ["referrer"] => string(27) "/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
It's not important for now, you can go ahead and delete them. It's just a formality to fix this. The BB Code renderer attempts to look for a user id at that point, but when opening the rss feed from a remote connection, there's no user given at that point. The result is still correct, it's just a notice being generated that this case should be catched properly (and will be with the next update).
 
Another member (IE11 also) seems to only see the default set of icons (I have added tables which they don't see and removed remove formatting, which they do see) I've also changed the order but they see the default order.

BUT oddly they do get the option for background colours under the text colour icon
I haven't done any testing with IE11 yet. I'll get my hands on one and look through it to see if I can find any obvious errors.
 
Any way to add the old unlink option back? The current implementation, with the little hover editor, sucks, since you can only unlink one link at a time. It was much better when I could "select all" and nuke every link in a post with one click, if I wanted to.
 
Last edited:
Very complete extension, good work ! It's possible to have only the hide hack option in an add-on ? Thank you ;)
 
Very complete extension, good work ! It's possible to have only the hide hack option in an add-on ? Thank you ;)

Modified versions (including stripped down ones) can be requested against a fee. Drop me a PM if you require one.
 
Using the charge bb code feature, is there a way to have a default credit amount so members dont ever have to fill that in manually?
 
Top Bottom