The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Enable user to both "like" and "dislike" the same post

5 posters

Go down

Solved Enable user to both "like" and "dislike" the same post

Post by Jassu L. Fri Jan 08 2021, 21:32

Hi all!

I am using the "like / dislike" feature on my forum, but I have customized the reactions for like and dislike to have different meanings (both are used in a positive manner).

The current situation is that the "like" and "dislike" options (or in my case, positive reactions) cannot be used simultaneously by one single user, but the user has to choose between the two. I would love to enable my users to use both the reactions at the same time for a single post.

Does anyone know about the javascript behind this feature? Smile I would guess there is some kind of if-else condition for activation of the "like" and "dislike" that prevents them from being active at the same time, that could, in my case, be removed to allow the simultaneous use of them two..?

Thank you in advance for any help or ideas!
Jassu L.
Jassu L.
New Member

Female Posts : 23
Reputation : 1
Language : Finnish
Location : Finland

http://shelyes.palstani.com

TonnyKamper likes this post

Back to top Go down

Solved Re: Enable user to both "like" and "dislike" the same post

Post by brandon_g Sat Jan 09 2021, 05:08

Hello,

This feature is still quite new, having been released only a couple months ago, so I do not think many custom scripts have been created for it yet.

Perhaps @TheCrow, @Draxion or @SarkZKalie may be able to develop one for you if it is possible to do so.

-Brandon


color post - Enable user to both "like" and "dislike" the same post Brando10
Remember to mark your topic color post - Enable user to both "like" and "dislike" the same post Solved15 when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

color post - Enable user to both "like" and "dislike" the same post Scre1476
Team Leader
Review Section Rules | Request A Review | Sticker Points
brandon_g
brandon_g
Manager
Manager

Male Posts : 10110
Reputation : 923
Language : English
Location : USA

https://www.broadcastingduo.com

Back to top Go down

Solved Re: Enable user to both "like" and "dislike" the same post

Post by TheCrow Sat Jan 09 2021, 10:23

As brandon mentioned, this is a new system and we have yet to start "playing" with it. As of now, I have no code to help you with. Sorry.


color post - Enable user to both "like" and "dislike" the same post Thecro10
Forum of the Forums

Forumotion Rules | Tips & Tricks |
FAQ | Did you forget your password?



*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6921
Reputation : 795
Language : Greek, English

https://forumote.forumotion.com

SarkZKalie likes this post

Back to top Go down

Solved Re: Enable user to both "like" and "dislike" the same post

Post by SarkZKalie Mon Jan 11 2021, 20:37

I have no idea about this. It seems quite mess


color post - Enable user to both "like" and "dislike" the same post Sarkzk10
SarkZKalie
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 1420
Reputation : 220
Language : English

https://rotavn.forumotion.com/

Back to top Go down

Solved Re: Enable user to both "like" and "dislike" the same post

Post by TheCrow Mon Jan 11 2021, 22:34

@Jassu L.,

You can't react with two reactions on a topic. Same as other platforms who use reactions. You only can react one way. I managed to change the like/dislike buttons via the templates, thanks to the new buttons Forumotion added but you can't make it possible a user to react with both like and dislike. It's logically impossible.


color post - Enable user to both "like" and "dislike" the same post Thecro10
Forum of the Forums

Forumotion Rules | Tips & Tricks |
FAQ | Did you forget your password?



*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6921
Reputation : 795
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Solved Re: Enable user to both "like" and "dislike" the same post

Post by Jassu L. Wed Jan 13 2021, 22:36

Hi,
thank you for the replies!

I can see that the logic behind the like/dislike feature lies in this js file: https://illiweb.com/rs3/89/frm/jquery/likes/FA_Likes.js
So I wouldn't call it "logically impossible" to react with both like and dislike if there just was a way to edit the file or insert another function below that file.

So far I haven't been able to come up with a solution to override that file since I don't know where it comes from (templates? or something else so innate, that us forum founders cannot edit it?).

Apparently this is not an editable feature (yet, at least), so I'll mark it as solved. Thank you for your help anyways :-)
Jassu L.
Jassu L.
New Member

Female Posts : 23
Reputation : 1
Language : Finnish
Location : Finland

http://shelyes.palstani.com

Back to top Go down

Solved Re: Enable user to both "like" and "dislike" the same post

Post by SLGray Thu Jan 14 2021, 00:39

Problem solved & topic archived.
Please read our forum rules:  ESF General Rules


color post - Enable user to both "like" and "dislike" the same post Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51506
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum