What's new
[XB] Thread Ratings

[XB] Thread Ratings [Paid] 2.1.1 Patch Level 4

You must log in or register to purchase ($25.00)

Painbaker

Administrator
Painbaker submitted a new resource:

[XB] Thread Rating Posts - Encourage your community to express their opinions by allowing them to rate threads

View attachment 1046

Encourage your community to express their opinions by allowing them to rate threads simply by replying!

Commissioned by @PhineasD

Features:​

  • ⭐ Rate threads by replying: allow members to express their thoughts without additional steps
  • 📊 Display total thread rating: users can quickly see how the community rates a particular thread
  • 📈 New thread ratings widget: show recently rated...

Read more about this resource...
 
Hello - big fan of this add-on. There was one similar post rating addon before this, but it was glitchy and not as polished as yours.

Would it be possible to add the star rating option for posts contributed by guests? In the forum I'm using the add-on, I'd like to allow guests to contribute reviews/ratings too, if at all possible.

Thanks!
 
Hello - big fan of this add-on. There was one similar post rating addon before this, but it was glitchy and not as polished as yours.

Would it be possible to add the star rating option for posts contributed by guests? In the forum I'm using the add-on, I'd like to allow guests to contribute reviews/ratings too, if at all possible.

Thanks!

Guest can rate with this version.
 
Painbaker updated [XB] Thread Ratings with a new update entry:

2.0.2

  • Addon name was changed to "Thread Ratings"
  • Added ability to rate threads without replying (requires separate permission)
  • Added option to rate own thread during creation

Breaking change:​

This update renames database tables and entity IDs. Any custom code, or third-party add-ons that reference the old table names or entity IDs will need to be updated accordingly. Be sure to back up your forum before upgrading.

Read the rest of this update entry...
 
@Painbaker I get this error:

XF\Db\DuplicateKeyException: MySQL query error [1062]: Duplicate entry '0' for key 'post_id' in src/XF/Db/AbstractStatement.php at line 230
  1. XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 207
  2. XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 83
  3. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
  4. XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 219
  5. XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line 1572
  6. XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1300
  7. XF\Mvc\Entity\Entity->save() in src/addons/OzzModz/ThreadRatingPosts/Service/Rater.php at line 49
  8. OzzModz\ThreadRatingPosts\Service\Rater->_save() in src/XF/Service/ValidateAndSavableTrait.php at line 42
  9. OzzModz\ThreadRatingPosts\Service\Rater->save() in src/addons/OzzModz/ThreadRatingPosts/XF/Pub/Controller/Thread.php at line 75
  10. OzzModz\ThreadRatingPosts\XF\Pub\Controller\Thread->actionRate() in src/XF/Mvc/Dispatcher.php at line 362
  11. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
  12. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
  13. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
  14. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826
  15. XF\App->run() in src/XF.php at line 806
  16. XF::runApp() in index.php at line 23
 
@Painbaker I get this error:

XF\Db\DuplicateKeyException: MySQL query error [1062]: Duplicate entry '0' for key 'post_id' in src/XF/Db/AbstractStatement.php at line 230
  1. XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 207
  2. XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 83
  3. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
  4. XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 219
  5. XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line 1572
  6. XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1300
  7. XF\Mvc\Entity\Entity->save() in src/addons/OzzModz/ThreadRatingPosts/Service/Rater.php at line 49
  8. OzzModz\ThreadRatingPosts\Service\Rater->_save() in src/XF/Service/ValidateAndSavableTrait.php at line 42
  9. OzzModz\ThreadRatingPosts\Service\Rater->save() in src/addons/OzzModz/ThreadRatingPosts/XF/Pub/Controller/Thread.php at line 75
  10. OzzModz\ThreadRatingPosts\XF\Pub\Controller\Thread->actionRate() in src/XF/Mvc/Dispatcher.php at line 362
  11. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
  12. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
  13. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
  14. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826
  15. XF\App->run() in src/XF.php at line 806
  16. XF::runApp() in index.php at line 23
Please try the latest patch.
 
Painbaker updated [XB] Thread Ratings with a new update entry:

2.1.0

✨ New Features:​

  • Allow to leave a review message to users with permission to rate threads without replying.
  • Added spam checker support for review messages.
  • Added ACP batch actions for thread ratings: delete, make anonymous, and make non-anonymous.
  • Added a member profile tab for thread ratings.
  • Added inline moderation tool support.
  • Added "Most thread ratings given" member statistic.
  • Added thread ratings counter displaying in member profiles (can...

Read the rest of this update entry...
 
Thanks for the update.
I edited the first post of a thread to rate it. I set it to 5 stars and hit the Save button.
Got this server error:
Oops! We ran into some problems.
LogicException: Attempted to set 'ozzmodz_trp_rating_split' while a save was pending without forceSet in src/XF/Mvc/Entity/Entity.php at line 645
  1. XF\Mvc\Entity\Entity->set() in src/XF/Mvc/Entity/Entity.php at line 618
  2. XF\Mvc\Entity\Entity->__set() in src/addons/OzzModz/ThreadRatingPosts/XF/Entity/Thread.php at line 267
  3. OzzModz\ThreadRatingPosts\XF\Entity\Thread->rebuildPostRating() in src/addons/OzzModz/ThreadRatingPosts/XF/Entity/Thread.php at line 232
  4. OzzModz\ThreadRatingPosts\XF\Entity\Thread->rebuildPostRatingCounters() in src/addons/OzzModz/ThreadRatingPosts/Entity/ThreadRating.php at line 157
  5. OzzModz\ThreadRatingPosts\Entity\ThreadRating->_postSave() in src/XF/Mvc/Entity/Entity.php at line 1330
  6. XF\Mvc\Entity\Entity->save() in src/XF/Mvc/Entity/Entity.php at line 1324
  7. XF\Mvc\Entity\Entity->save() in src/XF/Service/Post/EditorService.php at line 201
  8. XF\Service\Post\EditorService->_save() in src/addons/TickTackk/ChangeContentOwner/Service/Content/EditorTrait.php at line 120
  9. TickTackk\ChangeContentOwner\XF\Service\Post\Editor->_save() in src/XF/Service/ValidateAndSavableTrait.php at line 42
  10. XF\Service\Post\EditorService->save() in src/XF/Pub/Controller/PostController.php at line 173
  11. XF\Pub\Controller\PostController->actionEdit() in src/addons/M2N/Locations/XF/Pub/Controller/PostController.php at line 14
  12. M2N\Locations\XF\Pub\Controller\PostController->actionEdit() in src/addons/SV/CustomFieldExtras/XF/Pub/Controller/Post.php at line 17
  13. SV\CustomFieldExtras\XF\Pub\Controller\Post->actionEdit() in src/addons/TickTackk/ChangeContentOwner/XF/Pub/Controller/Post.php at line 66
  14. TickTackk\ChangeContentOwner\XF\Pub\Controller\Post->actionEdit() in src/XF/Mvc/Dispatcher.php at line 362
  15. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
  16. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
  17. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
  18. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2824
  19. XF\App->run() in src/XF.php at line 814
  20. XF::runApp() in index.php at line 23
 
Back
Top