Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Likes
« Reply #30, on March 13th, 2012, 10:55 PM »
It had crossed my mind, yes.

Ultimately it's not really that complicated. All this amounts to is a table that tracks something being liked, only it's more versatile than just posts. Everything beyond that is basically housekeeping.
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Likes
« Reply #31, on March 13th, 2012, 11:00 PM »
A social stream is probably not too hard to implement... Probably the only difficulty is to make it translatable, which means we have to store an action ID, as well as IDs or strings for whatever is done. Has to be done either in a table with multiple fields, or a single field with serialized arrays of whatever we want to translate... I'd go for the multiple fields because it would allow to easily filter out some message types (such as likes.)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Likes
« Reply #32, on March 13th, 2012, 11:01 PM »
Making it translatable is not a problem.

Consider it this way: is it really that much different to what's in the moderator log or the admin log? All you need to do is record the type of action itself (simple string), which also gives you the lookup for language string, which then just has to fill in the blanks with details.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Likes
« Reply #33, on March 14th, 2012, 08:20 AM »
Text string? Not ideal for filtering... :(

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Likes
« Reply #34, on March 14th, 2012, 12:33 PM »
It's actually not so much of a big deal because in every case where performance actually makes a difference (like thread display), it's using the content id first (i.e. message id), and the primary key reflects that.

The flip side is making it either an enum or some kind of integer which makes it next to impossible to extend reliably.

But in any case, caching will (when implemented) take on the bulk of it workload here.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Likes
« Reply #35, on March 14th, 2012, 08:17 PM »
I'm counting on you!

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Likes
« Reply #36, on March 14th, 2012, 09:34 PM »
It'll get sorted, don't worry :)

Not entirely sure we need 'Like' both next to the Quote button and in the More... menu at the same time though.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Likes
« Reply #37, on March 14th, 2012, 09:59 PM »
Ah, yes, that's because I worked with Wireless in mind... Didn't check in Weaving itself.
I'd recommend moving it always to the Action menu, because we're not Facebook (or because I'm not very fond of the icon :P).
Dunno. More opinions maybe..? I think Quote and Modify are the two most important actions on a forum, although if Like is prominent, it might get used a lot.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Likes
« Reply #38, on March 14th, 2012, 10:04 PM »
I considered both approaches and concluded that I'd rather have it prominent and visible, but have no objection to moving it to the action menu for wireless.

Given that right now it's the only 'appreciation' / 'thank' / 'karma' type feature we have, it does need *some* prominence.

die2mrw007

  • One of the greatest platform ever which will make History - Wedge !!!
  • Posts: 25
Re: Likes
« Reply #39, on March 16th, 2012, 11:49 PM »
It will be a nice feature infact, but should be optimized. Maximum of three user name should be shown in post and other should be under spoiler with text to the number of additional member "likes"
One of the greatest platform ever which will make History - Wedge !!!

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Likes
« Reply #40, on March 16th, 2012, 11:50 PM »
Quote
It will be a nice feature infact, but should be optimized. Maximum of three user name should be shown in post and other should be under spoiler with text to the number of additional member "likes"
Did you, in fact, TRY IT?

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Likes
« Reply #41, on March 16th, 2012, 11:51 PM »
Lol.

Well, don't scare people away Pete, everyone's entitled to being drunk from time to time ;)

die2mrw007

  • One of the greatest platform ever which will make History - Wedge !!!
  • Posts: 25
Re: Likes
« Reply #42, on March 16th, 2012, 11:52 PM »
Quote from Arantor on March 16th, 2012, 11:50 PM
Quote
It will be a nice feature infact, but should be optimized. Maximum of three user name should be shown in post and other should be under spoiler with text to the number of additional member "likes"
Did you, in fact, TRY IT?
I couldnt see any post where there is multiple likes here...still finding it :P
I did like a post by nao in this topic to see how will it look like.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Likes
« Reply #43, on March 16th, 2012, 11:54 PM »
Let's just say this is the continuation of a long standing issue I have where people talk and talk without knowing what the hell they're talking about.
Quote
I couldnt see any post where there is multiple likes here...still finding it
So, instead of telling me how you think it should be optimised, why not ask first before telling me how to do my job? (Telling me how it should work, with the implication that it doesn't work like that would be fine... if you'd actually checked and verified that it is not what it should be.) It already does optimise it based on the number of people, though as yet there's no popup because it's still a WIP feature I only added quickly a couple of days ago.


(Going back to the other conversation elsewhere, it is precisely this kind of stuff that makes me think negatively of you, because you're telling me how you think it should work without finding out if in fact it did work like that already.)

die2mrw007

  • One of the greatest platform ever which will make History - Wedge !!!
  • Posts: 25
Re: Likes
« Reply #44, on March 17th, 2012, 12:00 AM »
BTW, how about intimating the user via some kind of notification who received a like from a user  ? Like, the user should get an instant notification that "this user has liked your 'this' post"

PS: this isnt anything required, but will prove only a positive environment to engage in the conversation more in forum.
Posted: March 16th, 2012, 11:58 PM
Quote from Arantor on March 16th, 2012, 11:54 PM
Let's just say this is the continuation of a long standing issue I have where people talk and talk without knowing what the hell they're talking about.
Quote
I couldnt see any post where there is multiple likes here...still finding it
So, instead of telling me how you think it should be optimised, why not ask first before telling me how to do my job? (Telling me how it should work, with the implication that it doesn't work like that would be fine... if you'd actually checked and verified that it is not what it should be.) It already does optimise it based on the number of people, though as yet there's no popup because it's still a WIP feature I only added quickly a couple of days ago.


(Going back to the other conversation elsewhere, it is precisely this kind of stuff that makes me think negatively of you, because you're telling me how you think it should work without finding out if in fact it did work like that already.)
okay sorry, forgive me.