Editor & BB Code Manager

Editor & BB Code Manager 2.0.1 Patch Level 1

No permission to download


Wow this update is really massive, you put a lot of work into it, I can't even imagine how hard you had to work to provide all these updates! Although I can't wait to try it, I'll not update it for now, as you kindly explained that it's quite risky for live sites as all the features might not work as expected, but I still thank you immensely for what you've done and I'll wait until at least someone will confirm there are no critical issues on a live site :)

And thank you also for the Ajax live support, it's really the most epic add-on for xenforo now.
 
@Lukas W. Server error log from BB Code. (Beta Team Note: Doing testing with XPress PL3 in Demo site.)

Code:
XF\Db\Exception: MySQL query error [1364]: Field 'aliases' doesn't have a default value src/XF/Db/AbstractStatement.php:212

Generated by: Nirjonadda Aug 4, 2018 at 10:11 AM

Stack trace

INSERT  INTO `xf_kl_em_bb_codes` (`bb_code_id`, `user_criteria`) VALUES (?, ?)
------------

#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL query err...', 1364, 'HY000')
#1 src/XF/Db/Mysqli/Statement.php(77): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1364, 'HY000')
#2 src/XF/Db/AbstractAdapter.php(79): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(160): XF\Db\AbstractAdapter->query('INSERT  INTO `x...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1389): XF\Db\AbstractAdapter->insert('xf_kl_em_bb_cod...', Array, false)
#5 src/XF/Mvc/Entity/Entity.php(1121): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/addons/KL/EditorManager/Admin/Controller/BBCodes.php(40): XF\Mvc\Entity\Entity->save()
#7 src/XF/Mvc/Dispatcher.php(249): KL\EditorManager\Admin\Controller\BBCodes->actionEdit(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('KL\\EditorManage...', 'Edit', 'html', Object(XF\Mvc\ParameterBag), 'emBBCode', Object(KL\EditorManager\Admin\Controller\BBCodes), Object(XF\Mvc\Reply\Reroute))
#9 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#11 src/XF.php(328): XF\App->run()
#12 admin.php(13): XF::runApp('XF\\Admin\\App')
#13 {main}

Request state

array(4) {
  ["url"] => string(28) "/admin.php?em/bb-codes/bold/"
  ["referrer"] => string(46) "/admin.php?em/bb-codes/"
  ["_GET"] => array(1) {
    ["em/bb-codes/bold/"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 
Server error log with XPress PL3.

Code:
Error: Call to a member function getController() on boolean src/addons/KL/EditorManager/Listener/TemplaterTemplatePreRender.php:176

Generated by: Nirjonadda Aug 4, 2018 at 10:51 AM

Stack trace

#0 [internal function]: KL\EditorManager\Listener\TemplaterTemplatePreRender::editor(Object(AddonFlare\PaidRegistrations\XF\Template\Templater), 'public', 'editor', Array)
#1 src/XF/Extension.php(50): call_user_func_array(Array, Array)
#2 src/XF/App.php(2392): XF\Extension->fire('templater_templ...', Array, 'public:editor')
#3 src/XF/Template/Templater.php(1231): XF\App->fire('templater_templ...', Array, 'public:editor')
#4 src/XF/Template/Templater.php(4810): XF\Template\Templater->renderTemplate('editor', Array)
#5 internal_data/code_cache/templates/l1/s1/public/quick_reply_macros.php(56): XF\Template\Templater->formEditor(Array)
#6 src/XF/Template/Templater.php(662): XF\Template\Templater->{closure}(Object(AddonFlare\PaidRegistrations\XF\Template\Templater), Array, Array)
#7 internal_data/code_cache/templates/l1/s1/public/thread_view.php(747): XF\Template\Templater->callMacro('quick_reply_mac...', 'body', Array, Array)
#8 src/XF/Template/Templater.php(1249): XF\Template\Templater->{closure}(Object(AddonFlare\PaidRegistrations\XF\Template\Templater), Array)
#9 wordpress/wp-content/plugins/wp-xpress-plugin/src/templates/comments.php(31): XF\Template\Templater->renderTemplate('thread_view', Array)
#10 wordpress/wp-includes/comment-template.php(1472): require('/home/nminfo/pu...')
#11 wordpress/wp-content/themes/wp-xpress-theme/single.php(23): comments_template()
#12 wordpress/wp-includes/template-loader.php(74): include('/home/nminfo/pu...')
#13 wordpress/wp-blog-header.php(19): require_once('/home/nminfo/pu...')
#14 wordpress/index.php(17): require('/home/nminfo/pu...')
#15 {main}

Request state

array(4) {
  ["url"] => string(34) "/wordpress/2018/06/22/xpress-post/"
  ["referrer"] => string(34) "/wordpress/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

Code:
ErrorException: [E_NOTICE] Trying to get property 'term_id' of non-object wordpress/wp-content/themes/wp-xpress-theme/inc/template-tags.php:178

Generated by: Nirjonadda Aug 4, 2018 at 10:50 AM

Stack trace

#0 wordpress/wp-content/themes/wp-xpress-theme/inc/template-tags.php(178): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/nminfo/pu...', 178, Array)
#1 wordpress/wp-content/themes/wp-xpress-theme/archive.php(15): thxpress_get_all_categories()
#2 wordpress/wp-includes/template-loader.php(74): include('/home/nminfo/pu...')
#3 wordpress/wp-blog-header.php(19): require_once('/home/nminfo/pu...')
#4 wordpress/index.php(17): require('/home/nminfo/pu...')
#5 {main}

Request state

array(4) {
  ["url"] => string(34) "/wordpress/category/uncategorized/"
  ["referrer"] => string(238) "/wordpress/2018/08/04/%e0%a6%a1%e0%a6%be%e0%a7%9f%e0%a6%ac%e0%a7%87%e0%a6%9f%e0%a6%bf%e0%a6%b8-%e0%a6%b0%e0%a7%8b%e0%a6%97%e0%a7%80%e0%a6%a6%e0%a7%87%e0%a6%b0-%e0%a6%9c%e0%a6%a8%e0%a7%8d%e0%a6%af-%e0%a6%a1%e0%a6%be/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

Code:
ErrorException: [E_NOTICE] Trying to get property 'cat_ID' of non-object wordpress/wp-content/themes/wp-xpress-theme/inc/template-tags.php:180

Generated by: Nirjonadda Aug 4, 2018 at 10:50 AM

Stack trace

#0 wordpress/wp-content/themes/wp-xpress-theme/inc/template-tags.php(180): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/nminfo/pu...', 180, Array)
#1 wordpress/wp-content/themes/wp-xpress-theme/archive.php(15): thxpress_get_all_categories()
#2 wordpress/wp-includes/template-loader.php(74): include('/home/nminfo/pu...')
#3 wordpress/wp-blog-header.php(19): require_once('/home/nminfo/pu...')
#4 wordpress/index.php(17): require('/home/nminfo/pu...')
#5 {main}

Request state

array(4) {
  ["url"] => string(34) "/wordpress/category/uncategorized/"
  ["referrer"] => string(238) "/wordpress/2018/08/04/%e0%a6%a1%e0%a6%be%e0%a7%9f%e0%a6%ac%e0%a7%87%e0%a6%9f%e0%a6%bf%e0%a6%b8-%e0%a6%b0%e0%a7%8b%e0%a6%97%e0%a7%80%e0%a6%a6%e0%a7%87%e0%a6%b0-%e0%a6%9c%e0%a6%a8%e0%a7%8d%e0%a6%af-%e0%a6%a1%e0%a6%be/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

More error log about [E_NOTICE] Trying to get property 'XXXX' of non-object.
 
Yeah, that's probably where they're coming from. Post em there and I'll look into them next week. The other two are from this add-on though. Thanks for testing!
 
Lukas W. updated Editor & BB Code Manager with a new update entry:

1.0.0 Beta 2

Changelog
Bugfixes & Changes
  • Disabled aliases for Table, Hide, List and Align
  • Fixed a 'no default value' error when opening the BB code criteria page
  • Fixed a bug that would disable all stock BB codes if an Editor Manager bb code was enabled and vice versa
  • Fixed an 'undefined method' error in conjunction with [TH] XPress
  • Renamed add-on list entry to reflect the extended add-on...

Read the rest of this update entry...
 
It is a minor, very minor thing, sorry to moan about it but I find the versioning a bit confusing:

1533384002810.webp

The first releases were called 1.0.0 Beta and now again?
 
Working fine for me? Check the browser console for errors. It only triggers on the default like and reply events, so if you have any add-ons that replace it, it might not work fwiw.

Yes this are not compatible with [TH] Reactions add-on. Like is my Default reaction, So why not open from like Reactions?

ScreenShot00111.webp
 
I am on holiday so can not test it yet. But from changelog it can be seen that you again did a great job. Thanks for your support and interest in this free add on.
 
Found out that this happens when you put the size code inside of the background color code. I'll see if I can come up with a workaround, but I'm not sure if there's a whole lot I can do, due to the nature of how the browser handles that.

Edit: Got a workaround ready for the next update. It's not 100% perfect for all situations, but the best we can do within the BB Code realm.
Awesome, thanks! Is this in Beta 2?
Once you enabled the button in the options it should pop up in the toolbar layout section, somewhere around undo/redo:
oomi6Xo.png
Got it, thanks!
 
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!
 
Back
Top Bottom