Content Ratings

Content Ratings [Paid] 2.8.1

No permission to buy ($35.00)
Getting this error when trying to rate a message...

Code:
ErrorException: Accessed unknown getter 'sv_ratings' on XF:Post[18546] in src/XF/Mvc/Entity/Entity.php at line 175
XF::handlePhpError()
trigger_error() in src/XF/Mvc/Entity/Entity.php at line 175
XF\Mvc\Entity\Entity->get() in src/XF/Mvc/Entity/Entity.php at line 92
XF\Mvc\Entity\Entity->__get() in src/addons/SV/ContentRatings/XF/ControllerPlugin/Like.php at line 133
SV\ContentRatings\XF\ControllerPlugin\Like->actionToggleRating() in src/addons/SV/ContentRatings/Pub/Controller/Ratings.php at line 100
SV\ContentRatings\Pub\Controller\Ratings->actionLike() in src/XF/Mvc/Dispatcher.php at line 232
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 85
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1777
XF\App->run() in src/XF.php at line 320
XF::runApp() in index.php at line 13
 
Getting this error when trying to rate a message...

Code:
ErrorException: Accessed unknown getter 'sv_ratings' on XF:Post[18546] in src/XF/Mvc/Entity/Entity.php at line 175
XF::handlePhpError()
trigger_error() in src/XF/Mvc/Entity/Entity.php at line 175
XF\Mvc\Entity\Entity->get() in src/XF/Mvc/Entity/Entity.php at line 92
XF\Mvc\Entity\Entity->__get() in src/addons/SV/ContentRatings/XF/ControllerPlugin/Like.php at line 133
SV\ContentRatings\XF\ControllerPlugin\Like->actionToggleRating() in src/addons/SV/ContentRatings/Pub/Controller/Ratings.php at line 100
SV\ContentRatings\Pub\Controller\Ratings->actionLike() in src/XF/Mvc/Dispatcher.php at line 232
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 85
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1777
XF\App->run() in src/XF.php at line 320
XF::runApp() in index.php at line 13
Beta 2 made some breaking changes, let me bundle up the latest build and do up some release notes
 
Xon updated Content Ratings for XF2 with a new update entry:

0.8.5 Alpha - Bugfix & feature update

  • Fix XF2.0 Beta 2 compatibility
  • Import similes as ratings
    • Option to pick which ratings to import
  • Allow sorting of ratings
  • Updated breadcrumbs for supported content types
  • Overhaul add-on extendability
    • See Development.md for details.
    • When Add-on Installer for XF2 (Alpha, not feature complete!), this add-on can generate code-stubs for arbitrary content types to add content rating...

Read the rest of this update entry...
 
Attached is a build of add-on installer 2.0.0 alpha. None of the XF1 options actually work, they've just been converted over.

Options that do work (but are disabled by default) are:
  • Export an add-on's _data folder on changes
  • Import _output instead of _data
  • Allow css caching in dev mode

Add-on files will be stored as attachments, with the actual files stored under the 'addOn-files' filesystem namespace (supports providing arbitrary file systems like other XF filesystem namespaces).

Local storage is controlled with the configuration variable $config['addOnDataPath'] Which has the default: install/addons/
 

Attachments

@Steve F the ability to convert similes to ratings has some display glitches due to some weird css issue where the sprite images do not reliably display. Been focusing on other aspects so I haven't finished hunting it down.
 
Cool I'll check it out. I did just post a bug report on your site about not being able to delete ratings.
 
  • Like
Reactions: Xon
Looking forward to the Post ratings importer, I'll definitely be buying this. (unless Post ratings for version 2 comes out of course, even then I may switch to this one anyway.)
 
Back
Top Bottom