[TH] Reactions [Deleted]

@ALMUSA there has to be something I'm missing. I want to actually use the bar but its not working when I enable it in style properties. I actually don't like counts for dislikes but if I used the bar it would be worth it. I did everything you just said. Are there hidden permissions outside the [TH] Reactions section? I enabled the permissions too and also enabled total reactions for the postbit. I did all that.

Are you able to use all the functionality of the add-on? give likes, undo likes...etc. Your site is currently offline. Im not able to check what might be wrong.
 
Are you able to use all the functionality of the add-on? give likes, undo likes...etc. Your site is currently offline. Im not able to check what might be wrong.

Yes it's only offline while I set this up. I checked the permissions and everything. Only thing I can think of is the post bit bar is styled where I can't see it.

Just so where on the same page, were talking about a green bar that appears in the postbit instead of the counters right? And yes it's not working
 
@ALMUSA there has to be something I'm missing. I want to actually use the bar but its not working when I enable it in style properties. I actually don't like counts for dislikes but if I used the bar it would be worth it. I did everything you just said. Are there hidden permissions outside the [TH] Reactions section? I enabled the permissions too and also enabled total reactions for the postbit. I did all that.

I dont see why the bar is NOT showing up in the postbit if the permissions are set, the add-on is enabled, total reaction received is enabled, Location to display reaction details in postbit is set to either bottom or up, Content handlers is set for posts, Message user info elements in Style properties are set it should show up.
 
@ALMUSA there has to be something I'm missing. I want to actually use the bar but its not working when I enable it in style properties. I actually don't like counts for dislikes but if I used the bar it would be worth it. I did everything you just said. Are there hidden permissions outside the [TH] Reactions section? I enabled the permissions too and also enabled total reactions for the postbit. I did all that.
Check if template modification is applied
1513826217644.webp
 
Btw. The bar shows up once you have already gave one reaction at least.

Just saw this. That's what it was. I didn't know you had to receive a reaction first. Wow I appreciate it. I didn't know you had to receive one before you could see it. Thanks.
 
Okay next question. How to get the notable members page "most likes" to show "most reactions". Kind of destroys the point of it all.

Also, when you check "show total reactions received" in style properties, is that just the tooltip on the bar or does it actually show the total in numbers?

I need something to replace the like counter and a reaction counter is necessary but I don't want to switch away from the bar.

@ALMUSA @Jake B.
 
Okay next question. How to get the notable members page "most likes" to show "most reactions". Kind of destroys the point of it all.

Also, when you check "show total reactions received" in style properties, is that just the tooltip on the bar or does it actually show the total in numbers?

I need something to replace the like counter and a reaction counter is necessary but I don't want to switch away from the bar.

@ALMUSA @Jake B.

1- You have to go to tools rebuild catches> convert likes to reaction and you should have most likes pages updated showing the most reaction.

2- It shows the bar/text including the numbers upon hovering.

3- disable the Like in style properties > messages > Message user info elements > uncheck show like.
 
1- You have to go to tools rebuild catches> convert likes to reaction and you should have most likes pages updated showing the most reaction.

2- It shows the bar/text including the numbers upon hovering.

3- disable the Like in style properties > messages > Message user info elements > uncheck show like.

Is that just for the default like handler? I've noticed you can only have one like handler. I'm also have a problem getting notable members to update the reactions. I don't think it's going to update the reactions or I can't see how. If I'm imported the likes into the reactions and not the other way around.
 
Is that just for the default like handler? I've noticed you can only have one like handler. I'm also have a problem getting notable members to update the reactions. I don't think it's going to update the reactions or I can't see how. If I'm imported the likes into the reactions and not the other way around.

You can use the Like Wrapper to have the reaction stored in the default XenForo like handler in case you decided later to use XF core Like System. Once you convert like to reactions try to rebuild your caches mainly the like counts. You can do the import either way. You have two options either like to reaction or reaction to like. Rebuild whatever you wants through Tools>rebuild caches.
 
You can use the Like Wrapper to have the reaction stored in the default XenForo like handler in case you decided later to use XF core Like System. Once you convert like to reactions try to rebuild your caches mainly the like counts. You can do the import either way. You have two options either like to reaction or reaction to like. Rebuild whatever you wants through Tools>rebuild caches.

It works the way you said, I just had an extra 2 likes on my own count I can't explain. I tested and it works.

Though I must say that @Jake B. a few things you should implement in the future:

1. Being able to add more than one default like handler in like wrapper

2. Post reactions on profile page and counts of each one (like post ratings)

3. Notable members better workflow with reactions

So far I got it set up like I want now. I just have to make only one positive reaction which was the like button. But I would really consider that Jake. It would be well worth it. Anyways thanks for all the help guys.
 
It works the way you said, I just had an extra 2 likes on my own count I can't explain. I tested and it works.

Though I must say that @Jake B. a few things you should implement in the future:

1. Being able to add more than one default like handler in like wrapper

2. Post reactions on profile page and counts of each one (like post ratings)

3. Notable members better workflow with reactions

So far I got it set up like I want now. I just have to make only one positive reaction which was the like button. But I would really consider that Jake. It would be well worth it. Anyways thanks for all the help guys.

Try to rebuild again and see if those two likes are counted other than that I can not think of anything that will prevent that from happening.

Good luck.
 
Try to rebuild again and see if those two likes are counted other than that I can not think of anything that will prevent that from happening.

Good luck.

Guys how can I get the bar to start out unfilled with the positive ratings? I'd like the bar to only be able to increase after receiving positive ratings. Instead the bar just decreases when you receive negative ratings. Not quite sure the point in that. I'd like it to start unfilled and to increase as you receive positive ratings.

@Jake B. even if I have to edit a template, please tell me how to do this. I want to set it up otherwise we'll just be losing reputation for dislikes. That's not a good idea.
 
Just to let you know guys I've disabled this for now. I've decided not to use it because I don't like the dislike feature. But when disabling I received this error 4 times:

Code:
    ErrorException: Template error: Function reaction is unknown src/XF/Template/Templater.php:840 

    Generated by: TopSilver Dec 22, 2017 at 2:38 AM 

Stack trace

#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Function reacti...', '/home/ccausecod...', 840, Array)
#1 src/XF/Template/Templater.php(840): trigger_error('Function reacti...', 512)
#2 internal_data/code_cache/templates/l1/s13/public/news_feed_item_post_react.php(13): XF\Template\Templater->fn('reaction', Array, true)
#3 src/XF/Template/Templater.php(1230): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array)
#4 src/XF/NewsFeed/AbstractHandler.php(67): XF\Template\Templater->renderTemplate('news_feed_item_...', Array)
#5 src/XF/Entity/NewsFeed.php(64): XF\NewsFeed\AbstractHandler->render(Object(XF\Entity\NewsFeed))
#6 [internal function]: XF\Entity\NewsFeed->render()
#7 src/XF/Template/Templater.php(920): call_user_func_array(Array, Array)
#8 internal_data/code_cache/templates/l1/s13/public/news_feed_macros.php(34): XF\Template\Templater->method(Object(XF\Entity\NewsFeed), 'render', Array)
#9 src/XF/Template/Templater.php(643): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array, Array)
#10 internal_data/code_cache/templates/l1/s13/public/news_feed_macros.php(14): XF\Template\Templater->callMacro('news_feed_macro...', 'feed_item', Array, Array)
#11 src/XF/Template/Templater.php(643): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array, Array)
#12 internal_data/code_cache/templates/l1/s13/public/news_feed.php(27): XF\Template\Templater->callMacro('news_feed_macro...', 'feed_row', Array, Array)
#13 src/XF/Template/Templater.php(1230): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array)
#14 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('news_feed', Array)
#15 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#16 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:WhatsNew\\New...', 'public:news_fee...', Array)
#17 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#18 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#19 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#20 src/XF.php(328): XF\App->run()
#21 index.php(13): XF::runApp('XF\\Pub\\App')
#22 {main}

This is what happened when I disabled the add-on. Any ideas @Jake B. ?
 
Does this support RM, as doesn't seem to be working at all in the Resource Manager? The default XF likes system still seems to be being used.
 
Last edited:
Just to let you know guys I've disabled this for now. I've decided not to use it because I don't like the dislike feature. But when disabling I received this error 4 times:

What "dislike" feature? Any of the reactions can be disabled or deleted, and you can add your own so I don't think not liking one of the reaction options is really a reason to not use it :P

As for the error, that's just because the news feed uses a function that requires reactions to be installed to work. If you're really not wanting to use it uninstalling the add-on should remove these news feed items and you won't get that error. Unfortunately there isn't a way that we can prevent this specific error when disabling the add-on.

Does this support RM, as doesn't seem to be working at all in the Resource Manager? The default XF likes system still seems to be being used.

The next update will be adding support for the resource manager and media gallery, just have a couple of issues to work out before we can release that :)
 
  • Like
Reactions: Tom
What "dislike" feature? Any of the reactions can be disabled or deleted, and you can add your own so I don't think not liking one of the reaction options is really a reason to not use it :P

As for the error, that's just because the news feed uses a function that requires reactions to be installed to work. If you're really not wanting to use it uninstalling the add-on should remove these news feed items and you won't get that error. Unfortunately there isn't a way that we can prevent this specific error when disabling the add-on.



The next update will be adding support for the resource manager and media gallery, just have a couple of issues to work out before we can release that :)

Yes but there are 3 reaction types and it won't let me make it so that there's only 1 reaction type to replace likes. Also you can only have 1 single default like handler in the like wrapper option. I'm trying to make a replacement for likes and it's not working out so well. I mean with notable members showing likes only it's not really feasible to use the add-on. Yet if you had more than one like handler option I could replace a phrase in notable members and it would work perfectly.

I think this add-on needs work. Bug wise there's no issue and your right about the error. I pretty much assumed the issue was because I disabled it.

If you would take my suggestions to heart I would use the add-on permanently. However, for now I can't use it. Please consider organizing a plan to replace the "like" function with these reactions. Otherwise I'm sort of running blind here.

At least if it would let me delete the default reaction types I'd be able to add the like count in postbit and then do reactions separately. Or even being able to disable the entire count on the visitor panel would be helpful. Then I could do reactions and not have a count at all except for likes.

I'm just running out of ideas here to make it work. I sat for hours thinking about how I could make this work but the add-on doesn't seem to have much of a planned state of mind. Doesn't really seem planned. It's not bugs I'm worried about. Just trying to find a way to make it work.

Let me know your thoughts and I really appreciate everything.
 
Last edited:
Back
Top Bottom