Reputation System

Reputation System [Paid] 2.2.5

No permission to buy ($20.00)
@Academic, I ran the tests first with constraint enabled.
1623592892688.png
Then I conducted testing with the comment limit turned off.
1623593022090.png
Next, I checked the moderation queue with a long comment and attach a GIF
test.gif
Are you sure there is a mistake? And not a bug from the old version, when the message was deleted and the reputation was not deleted for this message and always hung in the moderation queue. Please check, there is always a link to the message and check the version of the add-on
 
HI, @kick Were you able to approve/delete the reputation with long comment from Approval Queue? The issue is it cannot not be approved or deleted due to the characters count. The version is correct, 2.2.3. The message exists.
 
Idk why gifs are not supported here, so I attach it again
test73ddaa272a47f2ad.gif
 
  • XF\PrintableException: Job XF:ApprovalQueueProcess: Please enter a value using 150 characters or fewer.
  • src/XF/Mvc/Entity/Entity.php:1212
  • Generated by: Unknown account
  • Jun 14, 2021 at 12:09 PM

Stack trace​

#0 src/XF/ModeratorLog/AbstractHandler.php(71): XF\Mvc\Entity\Entity->save()
#1 src/XF/ModeratorLog/AbstractHandler.php(47): XF\ModeratorLog\AbstractHandler->log(Object(MMO\ReputationSystem\Entity\Reputation), 'approve', Array, Object(SV\ElasticSearchEssentials\XF\Entity\User))
#2 src/XF/ModeratorLog/Logger.php(62): XF\ModeratorLog\AbstractHandler->logChange(Object(MMO\ReputationSystem\Entity\Reputation), 'reputation_stat...', 'visible', 'moderated', Object(SV\ElasticSearchEssentials\XF\Entity\User))
#3 src/XF/Logger.php(47): XF\ModeratorLog\Logger->logChanges('mrs_reputation', Object(MMO\ReputationSystem\Entity\Reputation), true)
#4 src/addons/MMO/ReputationSystem/Entity/Reputation.php(478): XF\Logger->logModeratorChanges('mrs_reputation', Object(MMO\ReputationSystem\Entity\Reputation))
#5 src/XF/Mvc/Entity/Entity.php(1266): MMO\ReputationSystem\Entity\Reputation->_postSave()
#6 src/XF/ApprovalQueue/AbstractHandler.php(150): XF\Mvc\Entity\Entity->save()
#7 src/addons/MMO/ReputationSystem/ApprovalQueue/Reputation.php(37): XF\ApprovalQueue\AbstractHandler->quickUpdate(Object(MMO\ReputationSystem\Entity\Reputation), 'reputation_stat...', 'visible')
#8 [internal function]: MMO\ReputationSystem\ApprovalQueue\Reputation->actionApprove(Object(MMO\ReputationSystem\Entity\Reputation))
#9 src/XF/ApprovalQueue/AbstractHandler.php(120): call_user_func_array(Array, Array)
#10 src/XF/Job/ApprovalQueueProcess.php(67): XF\ApprovalQueue\AbstractHandler->performAction('approve', Object(MMO\ReputationSystem\Entity\Reputation))
#11 src/XF.php(589): XF\Job\ApprovalQueueProcess->XF\Job\{closure}()
#12 src/XF/Job/ApprovalQueueProcess.php(68): XF::asVisitor(Object(SV\ElasticSearchEssentials\XF\Entity\User), Object(Closure))
#13 src/XF/Job/Manager.php(258): XF\Job\ApprovalQueueProcess->run(8)
#14 src/XF/Job/Manager.php(200): XF\Job\Manager->runJobInternal(Array, 8)
#15 src/XF/Job/Manager.php(116): XF\Job\Manager->runJobEntry(Array, 8)
#16 job.php(22): XF\Job\Manager->runByIds(Array, 8)
#17 {main}

1623669597227.webp
 
@kick After the update is applied, we have this error due to which the users are unable to post.

  • XF\Db\Exception: MySQL query error [1364]: Field 'mrs_latest_reputations' doesn't have a default value
  • src/XF/Db/AbstractStatement.php:228
#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(94): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(218): XF\Db\AbstractAdapter->query('INSERT INTO `x...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1510): XF\Db\AbstractAdapter->insert('xf_post', Array, false)
#5 src/XF/Mvc/Entity/Entity.php(1242): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Service/Thread/Replier.php(209): XF\Mvc\Entity\Entity->save(true, false)
#7 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\Thread\Replier->_save()
#8 src/XF/Pub/Controller/Thread.php(594): XF\Service\Thread\Replier->save()
#9 src/addons/ThemeHouse/AutoMergeDoublePost/XF/Pub/Controller/Thread.php(42): XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#10 src/XF/Mvc/Dispatcher.php(350): ThemeHouse\AutoMergeDoublePost\XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'AddReply', Object(XF\Mvc\RouteMatch), Object(SV\ElasticSearchEssentials\XF\Pub\Controller\Thread), NULL)
#12 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\ElasticSearchEssentials\XF\Pub\Controller\Thread), NULL)
#13 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(2326): XF\Mvc\Dispatcher->run()
#15 src/XF.php(488): XF\App->run()
#16 index.php(20): XF::runApp('XF\\Pub\\App')
#17 {main}
 
@kick Please can you add option Speed Reputation Rank Style and Postbit Position Style properties?

Example: Speed Reputation Rank Style

ScreenShot00320.webp

Example:

ScreenShot00321.webp
 
And what will it look like? If I am working with numeric output. Just for example

I am currently using one addon and all example from this addon and Planned for using your addon if you make development improvement update.

Star Rank:

ScreenShot00324.webp

Speed Rank:

ScreenShot00325.webp

Bar Rank:

ScreenShot00327.webp

Animation Bar Rank:

ScreenShot00328.webp
 
One more question, @kick Do you have option Rebuild caches > Rebuild user Reputation counts? This will be add/remove and update user Reputation counts.
 
Top Bottom