Content Ratings for XF2.1+ Resource Manager

Content Ratings for XF2.1+ Resource Manager 2.1.0

No permission to download
Just a little notice that after files are uploaded, there is not "upgrade" in addons menu.
I reupload files several times.
Only when choose rebuild addon, version set correct
@Sunka I don't think the version id was updated properly, it will be fixed properly on the next version. Just do a 'rebuild' on the add-on to get it to reload the changed phrases
Some error

Server error log
LogicException: Template public:xfrm_resource_view error: src/addons/SV/ContentRatings/Entity/Ratable.php:57
Generated by: Pozna 22.01.2018. at 19:24
Stack trace
#0 src/addons/SV/ContentRatings/Entity/Ratable.php(67): SV\ContentRatingsXFRM\XFRM\Entity\ResourceUpdate->_getContentUserId()
#1 src/addons/SV/ContentRatings/Listener.php(196): SV\ContentRatingsXFRM\XFRM\Entity\ResourceUpdate->canUseRating(Object(SV\ContentRatings\Entity\RatingType))
#2 [internal function]: SV\ContentRatings\Listener::SV\ContentRatings\{closure}(Object(SV\ContentRatings\Entity\RatingType))
#3 src/XF/Mvc/Entity/AbstractCollection.php(167): array_filter(Array, Object(Closure))
#4 src/addons/SV/ContentRatings/Listener.php(197): XF\Mvc\Entity\AbstractCollection->filter(Object(Closure))
#5 [internal function]: SV\ContentRatings\Listener::templaterMacroPreRender(Object(SV\ContentRatings\XF\Template\Templater), 'public', 'sv_contentratin...', 'rating_bar', Array, Array)
#6 src/XF/Extension.php(50): call_user_func_array(Array, Array)
#7 src/XF/App.php(2341): XF\Extension->fire('templater_macro...', Array, 'public:sv_conte...')
#8 src/XF/Template/Templater.php(624): XF\App->fire('templater_macro...', Array, 'public:sv_conte...')
#9 internal_data/code_cache/templates/l1/s1/public/xfrm_resource_view.php(190): XF\Template\Templater->callMacro('sv_contentratin...', 'rating_bar', Array, Array)
#10 src/XF/Template/Templater.php(1230): XF\Template\Templater->{closure}(Object(SV\ContentRatings\XF\Template\Templater), Array)
#11 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('xfrm_resource_v...', Array)
#12 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#13 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XFRM:ResourceIt...', 'public:xfrm_res...', Array)
#14 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#15 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#16 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#17 src/XF.php(328): XF\App->run()
#18 index.php(13): XF::runApp('XF\\Pub\\App')
#19 {main}
Request state
array(4) {
  ["url"] => string(103) "/resources/fall-and-winter-gardening-25-organic-vegetables-to-plant-and-grow-for-late-season-food.1074/"
  ["referrer"] => string(27) ""
  ["_GET"] => array(1) {
    ["/resources/fall-and-winter-gardening-25-organic-vegetables-to-plant-and-grow-for-late-season-food_1074/"] => string(0) ""
  ["_POST"] => array(0) {
@Sunka Thanks, I've confirmed that. I'll work on that soon. It looks like this add-on is a little broken somehow :(

:edit: Found the error, and should have a fix out in a few hours
Last edited:
When clicking Install in XF Addon panel, nothing happens.
How to install this addon ?
When clicking Install in XF Addon panel, nothing happens.
How to install this addon ?
  • upload src folder in forum folder main directory
  • ACP - Add-ons - Add-ons
  • Installable add-ons list Content Ratings - XFRM add-ons instal button
That's all

@Xon , What exactly does this plug-in do? I did not understand.
Thanks for the answer.
This what i did :
> root_setup/src/addons/SV/ContentRatingsXFRM
I can see your addon listed in ACP Addons section
But nothing happens when i click install.

Fresh XF2 setup (PHP 7 / MySQL 5.5)
This add-on requires my Content Ratings add-on and XenForo Resource Manager, XenForo shouldn't let you install it and should give an explicit error if you don't have either of those add-ons.

@Xon , What exactly does this plug-in do? I did not understand.
This add-on add's ratings/reactions to XFRM;
Top Bottom