Changelog
Bugfixes & Changes
- Moved Javascript files from
js/addons/kl/profile-post-bbcode
tojs/kl/profile-post-bbcode
.
- You may safely delete
js/addons/kl/profile-post-bbcode
after upgrading.- Fixed a bug that would not show the "post" button for profile messages upon clicking an editor that has BB codes disabled.
Apologies if I'm pointing out the obvious, but have you enabled the add-on viaWhat the hell? It does nothing at mine and I double checked the permissions, there is no rich editor and can't use BB codes.
View attachment 185742
Permisisons set for all relevant user groups.
View attachment 185743
Profile posts still the same.
Options: [KL] Profile Post BB Code
?Apologies if I'm pointing out the obvious, but have you enabled the add-on viaOptions: [KL] Profile Post BB Code
?
@Lukas W. I'm sorry to ask as I can see the add-on is no longer maintained, but the add-on seems to ignore the "auto-allow" for super administrators, requiring the permissions to be set for the administrative user group before use.
You've shown screenshots of the new permissions, but not the additional options that I noted?No worries, and yes of course, it is enabled as I have the new set of permissions and can configure them.
I was referring to this, but on closer inspection it seems that this is intended / default behaviour for add-ons. Whoops!What permissions are you referring to exactly? Being a super admin has no effect on user group permissions, only admin permissions
You've shown screenshots of the new permissions, but not the additional options that I noted?
View attachment 186339
I was referring to this, but on closer inspection it seems that this is intended / default behaviour for add-ons. Whoops!
ErrorException: Template error: array_keys() expects parameter 1 to be array, null given src/addons/KL/ProfilePostBBCode/Listener/Template/ProfilePost.php:36
#0 [internal function]: XF\Template\Templater->handleTemplateError(2, 'array_keys() ex...', '/home/vvn/publi...', 36, Array)
#1 src/addons/KL/ProfilePostBBCode/Listener/Template/ProfilePost.php(36): array_keys(NULL)
#2 [internal function]: KL\ProfilePostBBCode\Listener\Template\ProfilePost::extendPostMacro(Object(ThemeHouse\UIX\XF\Template\Templater), 'public', 'kl_ppbbc_profil...', 'kl-ppbbc-profil...', Array, Array)
#3 src/XF/Extension.php(50): call_user_func_array(Array, Array)
#4 src/XF/App.php(2647): XF\Extension->fire('templater_macro...', Array, 'public:kl_ppbbc...')
#5 src/XF/Template/Templater.php(682): XF\App->fire('templater_macro...', Array, 'public:kl_ppbbc...')
#6 internal_data/code_cache/templates/l1/s31/public/profile_post_macros.php(978): XF\Template\Templater->callMacro('kl_ppbbc_profil...', 'kl-ppbbc-profil...', Array, Array)
#7 src/XF/Template/Templater.php(701): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array, Array)
#8 internal_data/code_cache/templates/l1/s31/public/widget_new_profile_posts.php(38): XF\Template\Templater->callMacro('profile_post_ma...', 'submit', Array, Array)
#9 src/XF/Template/Templater.php(1301): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array)
#10 src/XF/Widget/WidgetRenderer.php(62): XF\Template\Templater->renderTemplate('widget_new_prof...', Array)
#11 src/XF/Widget/WidgetRenderer.php(67): XF\Widget\WidgetRenderer->render()
#12 src/XF/Template/Templater.php(1620): XF\Widget\WidgetRenderer->__toString()
#13 internal_data/code_cache/templates/l1/s31/public/forum_list.php(217): XF\Template\Templater->widgetPosition('forum_list_side...', Array)
#14 src/XF/Template/Templater.php(1301): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array)
#15 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('forum_list', Array)
#16 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#17 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Html->renderView('XF:Forum\\Listin...', 'public:forum_li...', Array)
#18 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#19 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#20 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#21 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#22 src/XF.php(390): XF\App->run()
#23 index.php(20): XF::runApp('XF\\Pub\\App')
#24 {main}
ErrorException: Template error: in_array() expects parameter 2 to be array, null given src/addons/KL/ProfilePostBBCode/Listener/Template/ProfilePost.php:36
#0 [internal function]: XF\Template\Templater->handleTemplateError(2, 'in_array() expe...', '/home/vvn/publi...', 36, Array)
#1 src/addons/KL/ProfilePostBBCode/Listener/Template/ProfilePost.php(36): in_array('member_view', NULL)
#2 [internal function]: KL\ProfilePostBBCode\Listener\Template\ProfilePost::extendPostMacro(Object(ThemeHouse\UIX\XF\Template\Templater), 'public', 'kl_ppbbc_profil...', 'kl-ppbbc-profil...', Array, Array)
#3 src/XF/Extension.php(50): call_user_func_array(Array, Array)
#4 src/XF/App.php(2647): XF\Extension->fire('templater_macro...', Array, 'public:kl_ppbbc...')
#5 src/XF/Template/Templater.php(682): XF\App->fire('templater_macro...', Array, 'public:kl_ppbbc...')
#6 internal_data/code_cache/templates/l1/s31/public/profile_post_macros.php(978): XF\Template\Templater->callMacro('kl_ppbbc_profil...', 'kl-ppbbc-profil...', Array, Array)
#7 src/XF/Template/Templater.php(701): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array, Array)
#8 internal_data/code_cache/templates/l1/s31/public/widget_new_profile_posts.php(38): XF\Template\Templater->callMacro('profile_post_ma...', 'submit', Array, Array)
#9 src/XF/Template/Templater.php(1301): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array)
#10 src/XF/Widget/WidgetRenderer.php(62): XF\Template\Templater->renderTemplate('widget_new_prof...', Array)
#11 src/XF/Widget/WidgetRenderer.php(67): XF\Widget\WidgetRenderer->render()
#12 src/XF/Template/Templater.php(1620): XF\Widget\WidgetRenderer->__toString()
#13 internal_data/code_cache/templates/l1/s31/public/forum_list.php(217): XF\Template\Templater->widgetPosition('forum_list_side...', Array)
#14 src/XF/Template/Templater.php(1301): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array)
#15 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('forum_list', Array)
#16 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#17 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Html->renderView('XF:Forum\\Listin...', 'public:forum_li...', Array)
#18 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#19 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#20 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#21 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#22 src/XF.php(390): XF\App->run()
#23 index.php(20): XF::runApp('XF\\Pub\\App')
#24 {main}
You should uninstall it on 2.1.1 - BB Code works on profile posts out of the box.Getting the following error spam on 2.1.1.
You should uninstall it on 2.1.1 - BB Code works on profile posts out of the box.
We use essential cookies to make this site work, and optional cookies to enhance your experience.