Content Ratings

Content Ratings [Paid] 2.8.5

No permission to buy ($35.00)
So... what would happen if you upgraded to XF2.1 in the absence of Content Ratings for 2.1, but with the intention of installing content ratings 2.1 as soon as it was available?
 
So... what would happen if you upgraded to XF2.1 in the absence of Content Ratings for 2.1, but with the intention of installing content ratings 2.1 as soon as it was available?
Assuming you have updated to Content Rating 1.3.x? When you rate a post it will pull in the old ratings, and the existing rating types will still be there.

Once an upgrade for Content ratings for XF2.1 is installed, the extra features will then be enabled and a cleanup task will be run which will make all the old ratings visible instead of when the rated content changes
 
So... what would happen if you upgraded to XF2.1 in the absence of Content Ratings for 2.1, but with the intention of installing content ratings 2.1 as soon as it was available?

Great question. Why not do it on a development site (you do have one don't you?) and see what happens. This is on my todo list.
 
Assuming you have updated to Content Rating 1.3.x? When you rate a post it will pull in the old ratings, and the existing rating types will still be there.

Once an upgrade for Content ratings for XF2.1 is installed, the extra features will then be enabled and a cleanup task will be run which will make all the old ratings visible instead of when the rated content changes

i guess i'm finally upgrading so

cheers
 
Assuming you have updated to Content Rating 1.3.x? When you rate a post it will pull in the old ratings, and the existing rating types will still be there.

Once an upgrade for Content ratings for XF2.1 is installed, the extra features will then be enabled and a cleanup task will be run which will make all the old ratings visible instead of when the rated content changes

I really need to upgrade myself too but I'm debating whether or not to. Can you explain this in a bit more detail? What "extra features" are not available when upgrading and what features are. I'm trying to follow what your saying to the best of my abilities. By existing rating types I assume you mean the default ones in 2.1? Or do you mean all of the rating types for the add-on will show? Also you say "it will make all old ratings visible when rated content changes". What does this mean?

Basically I just need the run down on what is available if we go ahead with it and if there are any known errors if I don't wait.
 
So why even ask the question? just do it.

OH I DID IT

giphy.gif
 
@Xon if I upgrade now, what will happen if someone tried to rate a post that they had already rated on XF 2.0? Would it cause a duplicate rating to appear, or would it already show up as having been rated? I want to upgrade, it seems like 1-2 weeks has turned into 1-2 months.
 
@Xon if I upgrade now, what will happen if someone tried to rate a post that they had already rated on XF 2.0? Would it cause a duplicate rating to appear, or would it already show up as having been rated? I want to upgrade, it seems like 1-2 weeks has turned into 1-2 months.

I agree and I'm hoping there's going to be a release soon. @Xon you really should have made an importer to import to default reactions like theme house did. Though I suppose your working on it now so I will more than likely wait on you since I have waited this long.
 
Will using this add-on cause the ratings from 2.0 to appear as reactions after upgrading?

EDIT: I just upgraded, and reactions given still don't appear to anyone other than the user who gave them, I guess I'll just have to wait for the 2.1 version in order to get them to appear.
 
Last edited:
I have the add-on disabled, but whenever I view /whats-new/latest-activity, it generates a server error:
Code:
Server error log
InvalidArgumentException: Accessed unknown getter 'sv_rating_type' on XF:NewsFeed[13810] src/XF/Mvc/Entity/Entity.php:194
Generated by: CarpCharacin Mar 3, 2019 at 7:38 AM
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(106): XF\Mvc\Entity\Entity->get('sv_rating_type')
#1 internal_data/code_cache/templates/l1/s11/public/news_feed_item_post_rating.php(8): XF\Mvc\Entity\Entity->offsetGet('sv_rating_type')
#2 src/XF/Template/Templater.php(1294): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array)
#3 src/XF/NewsFeed/AbstractHandler.php(102): XF\Template\Templater->renderTemplate('news_feed_item_...', Array)
#4 src/XF/Entity/NewsFeed.php(79): XF\NewsFeed\AbstractHandler->render(Object(XF\Entity\NewsFeed))
#5 [internal function]: XF\Entity\NewsFeed->render()
#6 src/XF/Template/Templater.php(978): call_user_func_array(Array, Array)
#7 internal_data/code_cache/templates/l1/s11/public/news_feed_macros.php(34): XF\Template\Templater->method(Object(XF\Entity\NewsFeed), 'render', Array)
#8 src/XF/Template/Templater.php(694): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Array)
#9 internal_data/code_cache/templates/l1/s11/public/news_feed_macros.php(12): XF\Template\Templater->callMacro('news_feed_macro...', 'feed_item', Array, Array)
#10 src/XF/Template/Templater.php(694): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Array)
#11 internal_data/code_cache/templates/l1/s11/public/latest_activity.php(25): XF\Template\Templater->callMacro('news_feed_macro...', 'feed_row', Array, Array)
#12 src/XF/Template/Templater.php(1294): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array)
#13 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('latest_activity', Array)
#14 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#15 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Html->renderView('XF:WhatsNew\\Lat...', 'public:latest_a...', Array)
#16 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#17 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#18 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#19 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#20 src/XF.php(390): XF\App->run()
#21 index.php(20): XF::runApp('XF\\Pub\\App')
#22 {main}
 
I have the add-on disabled, but whenever I view /whats-new/latest-activity, it generates a server error:
Code:
Server error log
InvalidArgumentException: Accessed unknown getter 'sv_rating_type' on XF:NewsFeed[13810] src/XF/Mvc/Entity/Entity.php:194
Generated by: CarpCharacin Mar 3, 2019 at 7:38 AM
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(106): XF\Mvc\Entity\Entity->get('sv_rating_type')
#1 internal_data/code_cache/templates/l1/s11/public/news_feed_item_post_rating.php(8): XF\Mvc\Entity\Entity->offsetGet('sv_rating_type')
#2 src/XF/Template/Templater.php(1294): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array)
#3 src/XF/NewsFeed/AbstractHandler.php(102): XF\Template\Templater->renderTemplate('news_feed_item_...', Array)
#4 src/XF/Entity/NewsFeed.php(79): XF\NewsFeed\AbstractHandler->render(Object(XF\Entity\NewsFeed))
#5 [internal function]: XF\Entity\NewsFeed->render()
#6 src/XF/Template/Templater.php(978): call_user_func_array(Array, Array)
#7 internal_data/code_cache/templates/l1/s11/public/news_feed_macros.php(34): XF\Template\Templater->method(Object(XF\Entity\NewsFeed), 'render', Array)
#8 src/XF/Template/Templater.php(694): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Array)
#9 internal_data/code_cache/templates/l1/s11/public/news_feed_macros.php(12): XF\Template\Templater->callMacro('news_feed_macro...', 'feed_item', Array, Array)
#10 src/XF/Template/Templater.php(694): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Array)
#11 internal_data/code_cache/templates/l1/s11/public/latest_activity.php(25): XF\Template\Templater->callMacro('news_feed_macro...', 'feed_row', Array, Array)
#12 src/XF/Template/Templater.php(1294): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array)
#13 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('latest_activity', Array)
#14 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#15 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Html->renderView('XF:WhatsNew\\Lat...', 'public:latest_a...', Array)
#16 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#17 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#18 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#19 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#20 src/XF.php(390): XF\App->run()
#21 index.php(20): XF::runApp('XF\\Pub\\App')
#22 {main}

See this post:
 
See this post:
I ran that query, and I'm still getting the error.
 
Back
Top Bottom