?Inline moderation gives an error.
After trying to delete multiple messages. Will post full in a minute.
LogicException: Class MMO\ReputationSystem\Service\ReputationSystem\Delete does not exist in src/XF/Container.php at line 273
XF\Container->createObject() in src/XF/App.php at line 1725
XF\App->XF\{closure}() in src/XF/Container.php at line 234
XF\Container->create() in src/XF/App.php at line 3165
XF\App->service() in src/addons/MMO/ReputationSystem/InlineMod/Reputation/Delete.php at line 42
MMO\ReputationSystem\InlineMod\Reputation\Delete->applyToEntity() in src/XF/InlineMod/AbstractAction.php at line 87
XF\InlineMod\AbstractAction->applyInternal() in src/XF/InlineMod/AbstractAction.php at line 80
XF\InlineMod\AbstractAction->apply() in src/XF/Pub/Controller/InlineMod.php at line 129
XF\Pub\Controller\InlineMod->actionPerform() in src/XF/Mvc/Dispatcher.php at line 352
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2487
XF\App->run() in src/XF.php at line 524
XF::runApp() in index.php at line 20
Class MMO\ReputationSystem\Service\ReputationSystem\Delete does not exist
A moment ago src/XF/Container.php:273
LogicException: Class MMO\ReputationSystem\Service\ReputationSystem\Delete does not exist src/XF/Container.php:273
Generated by: bodybuilding.nl Apr 28, 2024 at 1:55 PM
Stack trace
#0 src/XF/App.php(1725): XF\Container->createObject('MMO\\ReputationS...', Array)
#1 src/XF/Container.php(234): XF\App->XF\{closure}('MMO\\ReputationS...', Array, Object(XF\Container))
#2 src/XF/App.php(3165): XF\Container->create('service', 'MMO\\ReputationS...', Array)
#3 src/addons/MMO/ReputationSystem/InlineMod/Reputation/Delete.php(42): XF\App->service('MMO\\ReputationS...', Object(MMO\ReputationSystem\Entity\Reputation))
#4 src/XF/InlineMod/AbstractAction.php(87): MMO\ReputationSystem\InlineMod\Reputation\Delete->applyToEntity(Object(MMO\ReputationSystem\Entity\Reputation), Array)
#5 src/XF/InlineMod/AbstractAction.php(80): XF\InlineMod\AbstractAction->applyInternal(Object(XF\Mvc\Entity\ArrayCollection), Array)
#6 src/XF/Pub/Controller/InlineMod.php(129): XF\InlineMod\AbstractAction->apply(Object(XF\Mvc\Entity\ArrayCollection), Array)
#7 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\InlineMod->actionPerform(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:InlineMod', 'Perform', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\InlineMod), Object(XF\Mvc\Reply\Reroute))
#9 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\InlineMod), Object(XF\Mvc\Reply\Reroute))
#10 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#11 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#12 src/XF.php(524): XF\App->run()
#13 index.php(20): XF::runApp('XF\\Pub\\App')
#14 {main}
Request state
array(4) {
["url"] => string(12) "/inline-mod/"
["referrer"] => string(57) "/members/apfelstrudel.58200/"
["_GET"] => array(0) {
}
["_POST"] => array(11) {
["_xfToken"] => string(8) "********"
["hard_delete"] => string(1) "0"
["reason"] => string(4) "Test"
["ids"] => array(2) {
[0] => string(3) "975"
[1] => string(3) "979"
}
["type"] => string(14) "mrs_reputation"
["action"] => string(6) "delete"
["confirmed"] => string(1) "1"
["_xfRedirect"] => string(57) "/members/apfelstrudel.58200/"
["_xfRequestUri"] => string(28) "/members/apfelstrudel.58200/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Using Xon a custom date/time picker
Add admin permission: Manage reputation
Fix LogicException: Class MMO\ReputationSystem\Service\ReputationSystem\Delete does not exist in src/XF/Container.php at line 273
Add option Send email upon positive rating
Suggestion: option to have highest reputation possible to give already filled in.
There will be support soon, but for now I need to sort out my PCCompatible with xf 2.3?
Min require XF 2.3.0
Min require PHP 7.4.0
Refactoring
Using new pattern XF
Add new option: Force anonymous reputation
All reputations are always anonymous without any controls for members.
User group controls make sense.An option to show the Reputation messages (on profile and posts) only to the member self would also be great.
Server error log
Error: Class "MMO\ReputationSystem\InlineMod\Reputation\Deleter" not found src/XF/InlineMod/AbstractHandler.php:119
Stack trace
#0 src/addons/MMO/ReputationSystem/InlineMod/Reputation.php(17): XF\InlineMod\AbstractHandler->getActionHandler('MMO\\ReputationS...')
#1 src/XF/InlineMod/AbstractHandler.php(31): MMO\ReputationSystem\InlineMod\Reputation->getPossibleActions()
#2 src/XF/ControllerPlugin/InlineMod.php(54): XF\InlineMod\AbstractHandler->__construct('mrs_reputation', Object(XF\Pub\App), Object(XF\Http\Request))
#3 src/XF/Pub/Controller/InlineMod.php(144): XF\ControllerPlugin\InlineMod->getInlineModHandler('mrs_reputation')
#4 src/XF/Pub/Controller/InlineMod.php(25): XF\Pub\Controller\InlineMod->getInlineModHandler('mrs_reputation')
#5 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\InlineMod->actionShowActions(Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:InlineMod', 'ShowActions', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\InlineMod), Object(XF\Mvc\Reply\Reroute))
#7 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\InlineMod), Object(XF\Mvc\Reply\Reroute))
#8 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(2485): XF\Mvc\Dispatcher->run()
#10 src/XF.php(524): XF\App->run()
#11 index.php(20): XF::runApp('XF\\Pub\\App')
#12 {main}
Request state
array(4) {
["url"] => string(180) "/inline-mod/?type=mrs_reputation&_xfRequestUri=%2Freputation%2Fauthors%2Fsanca-saxon.22325&_xfWithData=1&_xfToken=1731274425%2C128ebdd469e4a1b29b9e370925051bbc&_xfResponseType=json"
["referrer"] => string(66) "l/reputation/authors/sanca-saxon.22325"
["_GET"] => array(5) {
["type"] => string(14) "mrs_reputation"
["_xfRequestUri"] => string(37) "/reputation/authors/sanca-saxon.22325"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(43) "1731274425,128ebdd469e4a1b29b9e370925051bbc"
["_xfResponseType"] => string(4) "json"
}
["_POST"] => array(0) {
}
}
Please consider to add star ratings. That would be a major enhancement.After reviewing your addon, I have the following suggestions. The screenshots are from my xf1 advanced reputation system:
- Add a star rating interface. View attachment 256513
In admincp add how much each of the 5 possible ratings weigh:
View attachment 256514- Preset rating messages.
Let users select a message from a drop down. This is really useful for friendly messages when a user needs to improve their post.
In admincp add a function to add preset rating comments.- Force anonymous rating.
All ratings are always anonymous without any controls for members.
This really helps avoid flame wars over negative ratings.- Display Rater avatar to those who have permission to see who rated.
View attachment 256515- Approval queue: Reject rating (allow member to correct the rating)
- Approval queue: Reject with preset message.
- Send email upon positive rating. NOT on neutral or negative rating. This brings a lot of inactive members back.
- Display reputation in postbit.
We use essential cookies to make this site work, and optional cookies to enhance your experience.