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. January 8th 2021, 8:32 pm

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 January 9th 2021, 4:08 am

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


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

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 : 10053
Reputation : 920
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 January 9th 2021, 9:23 am

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.
TheCrow
TheCrow
Manager
Manager

Male Posts : 6878
Reputation : 794
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 January 11th 2021, 7:37 pm

I have no idea about this. It seems quite mess


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

Male Posts : 1397
Reputation : 217
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 January 11th 2021, 9:34 pm

@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.
TheCrow
TheCrow
Manager
Manager

Male Posts : 6878
Reputation : 794
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. January 13th 2021, 9:36 pm

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 January 13th 2021, 11:39 pm

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


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 : 51195
Reputation : 3508
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