Likes

Nao

  • Dadman with a boy
  • Messages: 16 082
Likes
« le 11 Mai 2011 à 15:40 »Modifié le 8 Octobre 2014 à 21:11
Area: Miscellaneous
Feature: Reactions (Likes)
Developer: Arantor & Nao
Target: users
Status: 95% (core functionality implemented for posts and thoughts)
Comment:

We never liked karma in SMF. We don't like the idea that people get thumbs down on the basis of a message, but they never get to know which posts got them that reputation. Plus -- it's a bit of an ego trip.

Implementing 'like' buttons on posts/topics is a better way of actually guiding people through a user's best posts. We're hoping to implement the feature in every possible feature, such as media items.

The structure already implemented allows for liking any structure in theory - even plugin-added ones, and there's already the foundation for even doing it through AJAX, just more UI work needs to be done; most of the core was added in enough time to get it on wedge.org with more to follow ;)

:edit: October 2014: added support for multiple like types; renamed to 'Reactions'.

Re: Like/dislike
« Réponse #91, le 17 Mars 2012 à 01:18 »
Eheh :)
Since Pete wrote the feature, I think he should be the one to update the first post in the list.
How much has it reached now...? 50% completion? 60%? 90%?
It all depends on how much we're going to add later...

Re: Like/dislike
« Réponse #92, le 17 Mars 2012 à 01:21 »
Certainly 60%.

Re: Like/dislike
« Réponse #93, le 17 Mars 2012 à 01:23 »
Let's say 61% once we fix the 'x and y like this' div to not stand out too much compared to the rest of the post ;)

Re: Like/dislike
« Réponse #94, le 17 Mars 2012 à 01:26 »
Works for me :)

Re: Likes
« Réponse #95, le 22 Mars 2012 à 05:54 »
I don't know if this has been mentioned, but something I like:

If dislike *is* implemented (I don't mind either way), a certain amount of dislikes would send an automatic report to the administrator to have it checked out. That would be sweet :) Just popping ideas around! :D

Re: Likes
« Réponse #96, le 22 Mars 2012 à 07:24 »
We decided against Dislikes quite some time ago.
Either reddit or Facebook. Can't have both!

Re: Likes
« Réponse #97, le 22 Mars 2012 à 09:02 »
Did we? I don't actually remember that, but I guess the likes structure has no support for it at the present time.

Re: Likes
« Réponse #98, le 22 Mars 2012 à 09:08 »
If we didn't, at least I consider we did ;)
Re: Likes
« Réponse #99, le 22 Mars 2012 à 12:22 »
Oh, just wanted to be sure... Likes are associated to a post ID, right? So, if we merge or split a topic, Likes are kept everytime?
(I'm 99% positive it's yes, but I would be mad at myself for not making sure of it.)

Also, it may be possible that I forgot to deal with parent posts when splitting and merging topics. That, I'm 40% positive I dealt with them...
Not that it matters much for now (we're not using that field), but it may in the future...

Re: Likes
« Réponse #100, le 22 Mars 2012 à 12:27 »
Correct, yes, it's always on post id, never topic.
Citation
Also, it may be possible that I forgot to deal with parent posts when splitting and merging topics. That, I'm 40% positive I dealt with them...
We'll figure it out. There's always maintenance and find/repair routines we can make ;)

Re: Likes
« Réponse #101, le 22 Mars 2012 à 12:29 »
Sure, but I'd rather we have a clean codebase to begin with... :lol:
Re: Likes
« Réponse #102, le 17 Mai 2012 à 10:59 »
Is it as desired, that we're not caching likes in the posts table...? (ot topic table even? per first-post or for all posts in the topic?)

I could see it as an interesting sort method, even if we still need to tell if our own likes are in these.

Re: Likes
« Réponse #103, le 17 Mai 2012 à 12:56 »
Well... if it's being done for sorting, it makes no difference whether a given person's is in there or not, since you'd just be sorting based on the like count of a topic.

I didn't bother putting it there since I didn't really see that much of a use for it at that level...

Re: Likes
« Réponse #104, le 17 Mai 2012 à 15:08 »
Well, we can always add this later and do a small script to import all data from the likes table of course...

Re: Likes
« Réponse #105, le 17 Mai 2012 à 15:16 »
Of course we can :) I'm just not sure we need it at this point in time ;)