[UW] Forum Comments System [Deleted]

Is it possible to allow uploads in comments as some people like to reply with gifs ? I don't mind if it's just through the insert image button
 
Is it possible to allow uploads in comments as some people like to reply with gifs ? I don't mind if it's just through the insert image button
Forum comments use the same text editor as profile comments. And there is an image insert button by URL. Attachments for comments text editor I think should be available in xF 2.2.
 
Error when visiting a thread on XF 2.2.0 Beta 3.

Code:
Error: Call to a member function toArray() on array src/addons/UW/FCS/Extend/Pub/Controller/Thread.php:70
Generated by: Admin Aug 18, 2020 at 1:35 AM
Stack trace
#0 src/addons/XenConcept/HideBBCode/XF/Pub/Controller/Thread.php(21): UW\FCS\Extend\Pub\Controller\Thread->actionIndex()
#1 src/addons/XFMG/XF/Pub/Controller/Thread.php(11): XenConcept\HideBBCode\XF\Pub\Controller\Thread->actionIndex()
#2 src/addons/SV/LiveContent/XF/Pub/Controller/Thread.php(37): XFMG\XF\Pub\Controller\Thread->actionIndex()
#3 src/XF/Mvc/Dispatcher.php(350): SV\LiveContent\XF\Pub\Controller\Thread->actionIndex()
#4 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#5 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#6 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#7 src/XF/App.php(2298): XF\Mvc\Dispatcher->run()
#8 src/XF.php(459): XF\App->run()
#9 index.php(20): XF::runApp()
#10 {main}
 
Error when visiting a thread on XF 2.2.0 Beta 3.

Code:
Error: Call to a member function toArray() on array src/addons/UW/FCS/Extend/Pub/Controller/Thread.php:70
Generated by: Admin Aug 18, 2020 at 1:35 AM
Stack trace
#0 src/addons/XenConcept/HideBBCode/XF/Pub/Controller/Thread.php(21): UW\FCS\Extend\Pub\Controller\Thread->actionIndex()
#1 src/addons/XFMG/XF/Pub/Controller/Thread.php(11): XenConcept\HideBBCode\XF\Pub\Controller\Thread->actionIndex()
#2 src/addons/SV/LiveContent/XF/Pub/Controller/Thread.php(37): XFMG\XF\Pub\Controller\Thread->actionIndex()
#3 src/XF/Mvc/Dispatcher.php(350): SV\LiveContent\XF\Pub\Controller\Thread->actionIndex()
#4 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#5 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#6 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#7 src/XF/App.php(2298): XF\Mvc\Dispatcher->run()
#8 src/XF.php(459): XF\App->run()
#9 index.php(20): XF::runApp()
#10 {main}
Beta software is not officially supported. We do not recommend running it in production. So lets wait for the stable version before making any changes to plugin.
 
  • Like
Reactions: rdn
I got an error also uninstalling this addon:
Code:
Server error log
XF\Db\InvalidQueryException: xf_user_option: MySQL query error [1091]: Can't DROP COLUMN `comment_notif_all`; check that it exists src/XF/Db/AbstractStatement.php:228
Generated by: Dev Aug 18, 2020 at 1:57 AM
Stack trace
ALTER TABLE `xf_user_option`
DROP `comment_notif_all`
------------

#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException()
#1 src/XF/Db/Mysqli/Statement.php(77): XF\Db\Mysqli\Statement->getException()
#2 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/Schema/AbstractDdl.php(151): XF\Db\AbstractAdapter->query()
#4 src/XF/Db/SchemaManager.php(149): XF\Db\Schema\AbstractDdl->apply()
#5 src/addons/UW/FCS/Setup.php(221): XF\Db\SchemaManager->alterTable()
#6 src/XF/AddOn/StepRunnerUninstallTrait.php(59): UW\FCS\Setup->uninstallStep3()
#7 src/XF/AddOn/StepRunnerUninstallTrait.php(26): UW\FCS\Setup->uninstallStepRunner()
#8 src/XF/Admin/Controller/AddOn.php(641): UW\FCS\Setup->uninstall()
#9 src/XF/Mvc/Dispatcher.php(350): XF\Admin\Controller\AddOn->actionUninstall()
#10 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#11 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#12 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#13 src/XF/App.php(2298): XF\Mvc\Dispatcher->run()
#14 src/XF.php(459): XF\App->run()
#15 admin.php(13): XF::runApp()
#16 {main}
Request state
array(4) {
  ["url"] => string(35) "/admin.php?add-ons/UW-FCS/uninstall"
  ["referrer"] => string(56) "https://dev.onl/admin.php?add-ons/UW-FCS/uninstall"
  ["_GET"] => array(1) {
    ["add-ons/UW-FCS/uninstall"] => string(0) ""
  }
  ["_POST"] => array(7) {
    ["_xfProcessing"] => string(1) "1"
    ["continue"] => string(1) "1"
    ["confirm"] => string(1) "1"
    ["params"] => string(10) "{"step":3}"
    ["count"] => string(1) "3"
    ["finished"] => string(1) "0"
    ["_xfToken"] => string(8) "********"
  }
}
 
Uninstalling via CLI works: php cmd.php xf:addon-uninstall UW/FCS

But comments are NOT retain as what was promise on addon description.

What to do?
Thanks.

I'm at 181,276+ comments now from this addon, I hope I will not loss this data.
 
Last edited:
Beta software is not officially supported. We do not recommend running it in production. So lets wait for the stable version before making any changes to plugin.

Sure, but it's just good practice to report bugs ahead of the release when users experience them (even when we don't expect it to be fully compatible yet) , so the developer can prepare and have a compatible version of the addon ready around the release of 2.2.
 
I got an error also uninstalling this addon:
Code:
Server error log
XF\Db\InvalidQueryException: xf_user_option: MySQL query error [1091]: Can't DROP COLUMN `comment_notif_all`; check that it exists src/XF/Db/AbstractStatement.php:228
Generated by: Dev Aug 18, 2020 at 1:57 AM
Stack trace
ALTER TABLE `xf_user_option`
DROP `comment_notif_all`
------------

#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException()
#1 src/XF/Db/Mysqli/Statement.php(77): XF\Db\Mysqli\Statement->getException()
#2 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/Schema/AbstractDdl.php(151): XF\Db\AbstractAdapter->query()
#4 src/XF/Db/SchemaManager.php(149): XF\Db\Schema\AbstractDdl->apply()
#5 src/addons/UW/FCS/Setup.php(221): XF\Db\SchemaManager->alterTable()
#6 src/XF/AddOn/StepRunnerUninstallTrait.php(59): UW\FCS\Setup->uninstallStep3()
#7 src/XF/AddOn/StepRunnerUninstallTrait.php(26): UW\FCS\Setup->uninstallStepRunner()
#8 src/XF/Admin/Controller/AddOn.php(641): UW\FCS\Setup->uninstall()
#9 src/XF/Mvc/Dispatcher.php(350): XF\Admin\Controller\AddOn->actionUninstall()
#10 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#11 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#12 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#13 src/XF/App.php(2298): XF\Mvc\Dispatcher->run()
#14 src/XF.php(459): XF\App->run()
#15 admin.php(13): XF::runApp()
#16 {main}
Request state
array(4) {
  ["url"] => string(35) "/admin.php?add-ons/UW-FCS/uninstall"
  ["referrer"] => string(56) "https://dev.onl/admin.php?add-ons/UW-FCS/uninstall"
  ["_GET"] => array(1) {
    ["add-ons/UW-FCS/uninstall"] => string(0) ""
  }
  ["_POST"] => array(7) {
    ["_xfProcessing"] => string(1) "1"
    ["continue"] => string(1) "1"
    ["confirm"] => string(1) "1"
    ["params"] => string(10) "{"step":3}"
    ["count"] => string(1) "3"
    ["finished"] => string(1) "0"
    ["_xfToken"] => string(8) "********"
  }
}
There is no error when uninstalling the add-on. Just tested it now.
 
Uninstalling via CLI works: php cmd.php xf:addon-uninstall UW/FCS

But comments are NOT retain as what was promise on addon description.

What to do?
Thanks.

I'm at 181,276+ comments now from this addon, I hope I will not loss this data.
I just tested the add-on and it works perfectly as designed. This is before uninstalling:

1597734817878.webp

And this is after uninstalling:

1597734964463.webp
 
  • Like
Reactions: rdn
What do you think this sentence means according to you: "This add-on is NOT made for xF 2.2 Beta." ?
Well none of the addons on RM are "made for" 2.2. That's a moot point. Getting a compability update however, is a different matter.

What does this mean to you?

Please DO NOT USE IT on xF 2.2 Beta
Using it for testing purposes is fine. I think most here are perfectly aware that you should not upgrade to 2.2 with lots of addons, and expect them all to work without modifications from the developers. But you may do this on a second forum (mirror copy of your live production forum) for example, to check for bugs and report them to the respective addon developers. Thus allow the addon to be compatible faster when it is closer to release and the team pushes out release candidates.

It's just that the guy was reporting a bug with 2.2, and you just screaming that they should NOT USE THIS with 2.2. Instead say "thanks for the report, an update for this will come closer to release".
 
  • Like
Reactions: rdn
Top Bottom