@ibaker Just a little thing I noticed while visiting your site, figured I'd report it... Missing image.
View attachment 170306
Strange, I see the image just fine.
I'll need to look into this, it is the styling which is behaving badlyThanks @Xon however that just moves the icon itself but not the whole link and icon. There is actually 2px difference in height for the link and 3px in the icon:
View attachment 170298
I should mention that this is in Firefox (latest), plus in IE and Chrome it is 1px and 2px
Nope, this add-on doesn't do that. Likely it is a custom field on the thread called "star ratings" which implements that I believe. XF also picks up XFRM content ratings too
I've updated the FAQ with that information, including documenting this add-on requires Post Ratings to be left installed when upgrading from XenForo 1 to XenForo 2.Ok, to import from Luke's Post Ratings addon to this one you need to leave Luke's one installed when you upgrade XF from v1 to v2. Once you import into Xon's one you can them uninstall Luke's one. However, there is an XF message saying:
Uninstalling legacy add-ons may leave orphaned data. Upgrade the add-on to a compatible version before uninstalling, if possible.
So, does anyone know if there is any legacy data? I think this is important to know if anyone is considering getting this addon to replace Luke's one...thanks
Can you PM me some more details? Also what version of the add-on ?Any thoughts on this please which I think is related to selecting "Show ratings on thread list"
Stack trace
- InvalidArgumentException: Accessed unknown getter 'Likes' on XF:Thread[273287]
- src/XF/Mvc/Entity/Entity.php:182
- Generated by: Electromagnetic
- Mar 5, 2018 at 3:55 PM
#0 src/XF/Mvc/Entity/Entity.php(95): XF\Mvc\Entity\Entity->get('Likes')
#1 src/addons/SV/ContentRatings/Entity/Ratable.php(252): XF\Mvc\Entity\Entity->__get('Likes')
#2 src/XF/Mvc/Entity/Entity.php(142): SV\ContentRatings\XF\Entity\Thread->getVisitorRating()
#3 src/XF/Mvc/Entity/Entity.php(95): XF\Mvc\Entity\Entity->get('visitor_rating')
#4 src/addons/SV/ContentRatings/Listener.php(316): XF\Mvc\Entity\Entity->__get('visitor_rating')
#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(2350): XF\Extension->fire('templater_macro...', Array, 'public:sv_conte...')
#8 src/XF/Template/Templater.php(641): XF\App->fire('templater_macro...', Array, 'public:sv_conte...')
#9 internal_data/code_cache/templates/l1/s11/public/thread_list_macros_content_ratings.php(16): XF\Template\Templater->callMacro('sv_contentratin...', 'rating_bar', Array, Array)
#10 src/XF/Template/Templater.php(1246): XF\Template\Templater->{closure}(Object(SV\ContentRatings\XF\Template\Templater), Array)
#11 src/XF/Template/Templater.php(1320): XF\Template\Templater->renderTemplate('public:thread_l...', Array)
#12 internal_data/code_cache/templates/l1/s11/public/thread_list_macros.php(159): XF\Template\Templater->includeTemplate('thread_list_mac...', Array)
#13 src/XF/Template/Templater.php(659): XF\Template\Templater->{closure}(Object(SV\ContentRatings\XF\Template\Templater), Array, Array)
#14 internal_data/code_cache/templates/l1/s11/public/whats_new_posts.php(261): XF\Template\Templater->callMacro('thread_list_mac...', 'item', Array, Array)
#15 src/XF/Template/Templater.php(659): XF\Template\Templater->{closure}(Object(SV\ContentRatings\XF\Template\Templater), Array, Array)
#16 internal_data/code_cache/templates/l1/s11/public/whats_new_posts.php(383): XF\Template\Templater->callMacro(NULL, 'results', Array, Array)
#17 src/XF/Template/Templater.php(1246): XF\Template\Templater->{closure}(Object(SV\ContentRatings\XF\Template\Templater), Array)
#18 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('public:whats_ne...', Array)
#19 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#20 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:WhatsNew\\Pos...', 'public:whats_ne...', Array)
#21 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#22 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#23 src/XF/App.php(1889): XF\Mvc\Dispatcher->run()
#24 src/XF.php(328): XF\App->run()
#25 index.php(13): XF::runApp('XF\\Pub\\App')
#26 {main}
- Add activity details for ratings controller
- Improve responsiveness of inline rate menu on small screens.
- Improve various background jobs to scale automatically based on server performance instead of fixed batch sizes
- Populate a thread's like total when the first post is liked
- A background task will re-sync thread like totals to the first post like totals on install
@Crazy-Achmet not currently, but that would be straight forward to implement (well beyond selecting the rating type).
I've added it as a to-do item for v1.1.x, which I plan to start working on in the next few weeks.That would be SO awesome! Something i miss in the Post Ratings AddOn for XF1 for years.
Not yet.Also, is it possible to change the button text to an admin defined phrase somehow?
I've got it setup so that it replaces the XF like button, and when you click it shows the reaction menu.
Instead of having the text show whatever the default reaction is (eg. 'Like'), I'd like to switch it to say 'React'.
We use essential cookies to make this site work, and optional cookies to enhance your experience.