Simple Machines Community Forum

General Community => Site Comments, Issues and Concerns => Topic started by: Sir Osis of Liver on August 30, 2021, 09:33:26 PM

Title: Disable "Like"?
Post by: Sir Osis of Liver on August 30, 2021, 09:33:26 PM
Is there any way to disable the "Like" thing?  It's sooooo annoying. >:(
Title: Re: Disable "Like"?
Post by: Emre Y on August 30, 2021, 09:38:17 PM
Quote from: Sir Osis of Liver on August 30, 2021, 09:33:26 PMIs there any way to disable the "Like" thing?  It's sooooo annoying. >:(
I think you can disable this feature from group privileges.  :o
Title: Re: Disable "Like"?
Post by: Sir Osis of Liver on August 30, 2021, 09:54:49 PM
Would have to disable it in profile on this forum, don't see an option in Look and Layout.
Title: Re: Disable "Like"?
Post by: shadav on August 30, 2021, 09:56:57 PM
can't please everyone  :laugh:  :P
and yeah I'm not finding a way to disable it per user base
Title: Re: Disable "Like"?
Post by: Sir Osis of Liver on August 30, 2021, 10:02:31 PM
Wasn't here earlier today, maybe it will just go away.
Title: Re: Disable "Like"?
Post by: shadav on August 30, 2021, 10:05:59 PM
:laugh: nope not likely going away
it's a feature available for 2.1 so it's enabled here as well as mentions

[edit] i think it'd help to move it's placement, personally I don't like where it's located, i think moving it elsewhere would probably help some
Title: Re: Disable "Like"?
Post by: Antechinus on August 30, 2021, 10:14:25 PM
I just liked all of Sir Osis's posts in this thread, to annoy him. :D

Quick CSS fix:
.under_message .floatleft {display: none;}
That will hide the likes stuff inside threads.
Title: Re: Disable "Like"?
Post by: shadav on August 30, 2021, 10:14:55 PM
Quote from: Antechinus on August 30, 2021, 10:14:25 PMI just liked all of Sir Osis's posts in this thread, to annoy him. :D

bwahahahahaha
Title: Re: Disable "Like"?
Post by: Sir Osis of Liver on August 30, 2021, 10:17:30 PM
That's even more annoying. :P

Previews are loading normally, did someone fix something?
Title: Re: Disable "Like"?
Post by: Antechinus on August 30, 2021, 10:20:07 PM
You can also disable alerts for likes in  Profile > Notifications > Notification Preferences > Posts > When a message of mine is liked > Uncheck "Receive alert" > Save Settings. :P

Which I just did. Yay!
Title: Re: Disable "Like"?
Post by: Sir Osis of Liver on August 30, 2021, 10:28:22 PM
Hmm, that's enabled by default, but I'm not getting any alerts for likes.
Title: Re: Disable "Like"?
Post by: Antechinus on August 30, 2021, 10:29:51 PM
Ok, well that's one less thing to annoy you. Win. :)
Title: Re: Disable "Like"?
Post by: Sir Osis of Liver on August 30, 2021, 10:46:26 PM
Just appeared.  Apparently there's a considerable delay in posting the alert.

Just had a look, there are 5 likes and only 2 alerts.
Title: Re: Disable "Like"?
Post by: Arantor on August 31, 2021, 03:33:19 AM
The alert is generated by a background task but it looks like the background task runner is triggered manually by JS calls (not something I'd recommend for a site of this size).

A delay is somewhat by design, though, to avoid overloading the server (liking a post is cheap, working out if an alert should be issued and then issuing it slightly less so)
Title: Re: Disable "Like"?
Post by: Massl on August 31, 2021, 03:35:15 PM
Quote from: Sir Osis of Liver on August 30, 2021, 09:33:26 PMIt's sooooo annoying. >:(


Believe me, it is more annoying to see the insect in your avatar 😝
Title: Re: Disable "Like"?
Post by: KittyGalore on August 31, 2021, 03:38:49 PM
Quote from: Sir Osis of Liver on August 30, 2021, 10:46:26 PMJust appeared.  Apparently there's a considerable delay in posting the alert.

Just had a look, there are 5 likes and only 2 alerts.

Quote from: Sir Osis of Liver on August 30, 2021, 09:33:26 PMIs there any way to disable the "Like" thing?  It's sooooo annoying. >:(

You must be the only one who doesn't like the like button.
Title: Re: Disable "Like"?
Post by: Antechinus on August 31, 2021, 04:13:43 PM
I don't like it either. Also, see: https://www.simplemachines.org/community/index.php?msg=4093861
Title: Re: Disable "Like"?
Post by: Doug Heffernan on August 31, 2021, 04:31:47 PM
Quote from: Sir Osis of Liver on August 30, 2021, 09:33:26 PMIs there any way to disable the "Like" thing?  It's sooooo annoying. >:(


Just out of curiosity, what is so annoying about likes?
Title: Re: Disable "Like"?
Post by: Arantor on August 31, 2021, 05:05:15 PM
They were invented by Facebook and therefore evil? Also, they were invented after Sir Osis turned 35 and therefore as per the meme, against the natural order of things.
Title: Re: Disable "Like"?
Post by: Doug Heffernan on August 31, 2021, 05:38:45 PM
Where is that Lol button  ;D

Good to see you here buddy. I think that I read on T.a.z. that you left Smf for good.

Quote from: Arantor on August 31, 2021, 05:05:15 PMThey were invented by Facebook and therefore evil? Also, they were invented after Sir Osis turned 35 and therefore as per the meme, against the natural order of things.
Title: Re: Disable "Like"?
Post by: Sir Osis of Liver on August 31, 2021, 05:44:31 PM
Most things were invented after Sir Osis turned 35 (over 36 years ago  :( )

Was asked to install a like mod on client forum, it was crappy so cleaned it up a bit.  Members hated it, was asked to remove it several days later.  It's juvenile, and visually intrusive where it's placed in these posts.

One of the support forums I've used (can't remember which) had a Thanks feature that was similar to 2.0 Karma.  IMO something like that would be more suitable for this forum.
Title: Re: Disable "Like"?
Post by: Antechinus on August 31, 2021, 05:49:07 PM
Just change the text string to say "Thanks" instead of "Like". Sorted.
Title: Re: Disable "Like"?
Post by: Sir Osis of Liver on August 31, 2021, 06:00:09 PM
No, that wasn't the point of it.  People who are helpful (i.e., team members) accumulate thanks in their user profile, it's displayed in poster info, same as karma.
Title: Re: Disable "Like"?
Post by: Antechinus on August 31, 2021, 06:15:30 PM
Ok, so disable likes. Then disable negative karma (admin option since way back when). Then change the text string from "Karma" to "Thanks". Sorted.
Title: Re: Disable "Like"?
Post by: Sir Osis of Liver on August 31, 2021, 06:21:58 PM
Is there karma in 2.1?  Don't see it anywhere.
Title: Re: Disable "Like"?
Post by: Antechinus on August 31, 2021, 06:29:36 PM
Oh, did they kill it? Good move. :D Well the point is you could easily tweak the Likes thing to do Thanks instead, and call it to display anywhere you want it. Or disable Likes and install a Thanks mod (which is sure to be available, since there is one for 2.0.x anyway).
Title: Re: Disable "Like"?
Post by: Sir Osis of Liver on August 31, 2021, 06:38:19 PM
Doesn't look like it counts total likes by member, just displays them by post. 
Title: Re: Disable "Like"?
Post by: Arantor on August 31, 2021, 08:06:43 PM
Yes, and with good reason. If you start displaying total likes, you start building all the bad behaviours that karma has, where you start gamifying people writing like-bait content rather than good/helpful content and the natural cliques tend to cross like each others' posts. Same way that post count does not indicate anything about quality.

The absence of the sorts of features you're talking about is not an oversight in the design but a very conscious choice to not do it.

Quote from: Doug Heffernan on August 31, 2021, 05:38:45 PMWhere is that Lol button  ;D

Good to see you here buddy. I think that I read on T.a.z. that you left Smf for good.


That was the original plan but then I got asked to comment on the 2.1 situation especially for the things I was responsible for.
Title: Re: Disable "Like"?
Post by: Antechinus on August 31, 2021, 08:59:02 PM
I'm tempted to code a mod that randomly likes or unlikes a post when you click on the Likes button.

Quote from: Arantor on August 31, 2021, 08:06:43 PMIf you start displaying total likes, you start building all the bad behaviours that karma has, where you start gamifying people writing like-bait content rather than good/helpful content and the natural cliques tend to cross like each others' posts.
TBH that tends to happen even if you don't display the total number of likes.

The only real benefit of likes is that it stops muppets endlessly quoting posts just to reply with "lol bro". They get lazy and click the likes button instead, so it saves on clutter in threads. :P
Title: Re: Disable "Like"?
Post by: zappaDPJ on September 03, 2021, 02:49:18 PM
Quote from: shadav on August 30, 2021, 10:05:59 PM[edit] i think it'd help to move it's placement, personally I don't like where it's located, i think moving it elsewhere would probably help some

I agree. I think it would be better placed to the left of the 'QUOTE' button leaving the 'x person likes this.' message as it currently is.
Title: Re: Disable "Like"?
Post by: Steve on September 04, 2021, 09:18:54 AM
Quote from: Antechinus on August 31, 2021, 08:59:02 PMThe only real benefit of likes is that it stops muppets endlessly quoting posts just to reply with "lol bro". They get lazy and click the likes button instead, so it saves on clutter in threads. :P

You would think that would be the case but muppets will always be muppets. You can't completely code against stupidity.
Title: Re: Disable "Like"?
Post by: Arantor on September 04, 2021, 09:42:11 AM
Quote from: Steve on September 04, 2021, 09:18:54 AMYou can't completely code against stupidity.

Doesn't stop me trying XD
Title: Re: Disable "Like"?
Post by: Douglas on September 04, 2021, 10:22:15 AM
Quote from: zappaDPJ on September 03, 2021, 02:49:18 PM
Quote from: shadav on August 30, 2021, 10:05:59 PM[edit] i think it'd help to move it's placement, personally I don't like where it's located, i think moving it elsewhere would probably help some
I agree. I think it would be better placed to the left of the 'QUOTE' button leaving the 'x person likes this.' message as it currently is.
As a professional web developer who is all about visually appealing layouts, I have to agree with zappaDP's suggestion. I would take it a step further and style it just like you've got the "Quote" button.

The only thing I'm going back and forth on: To the left or to the right of "Quote". Since I suspect quoting is done more than liking, I would lean to the right of "Quote".

(And, JUST to annoy the ever living s**t outta Osis... I liked every. single. one. of his posts. ;) )
((This does NOT mean I agree with him. I don't. I just want to reach out and annoy someone today.))
Title: Re: Disable "Like"?
Post by: Arantor on September 04, 2021, 10:31:21 AM
I'm just a little sad that this is another thing I didn't get right. I suppose the fact no-one's talking about some of the things I added in 2.1 is a hint that the lack of complaints is a sign I did it right because that's the beauty of good design, it's just taken for granted.

Though I kinda wish someone had said something between my introducing it with a screenshot in November 2013 (https://www.simplemachines.org/community/index.php?msg=3631761) and now...

Oh well, can't win 'em all.
Title: Re: Disable "Like"?
Post by: Antechinus on September 04, 2021, 03:25:41 PM
Quote from: Steve on September 04, 2021, 09:18:54 AM
Quote from: Antechinus on August 31, 2021, 08:59:02 PMThe only real benefit of likes is that it stops muppets endlessly quoting posts just to reply with "lol bro". They get lazy and click the likes button instead, so it saves on clutter in threads. :P

You would think that would be the case but muppets will always be muppets. You can't completely code against stupidity.
lol bro
Title: Re: Disable "Like"?
Post by: Antechinus on September 04, 2021, 03:30:56 PM
Quote from: Arantor on September 04, 2021, 10:31:21 AMI'm just a little sad that this is another thing I didn't get right.
When it comes to personal aesthetic preference you cannot please everyone all of the time. This is why we have open source code and custom themes. If it annoys them, they can change it. If they prefer to be annoyed, that's their problem.

Quote from: Douglas on September 04, 2021, 10:22:15 AMAs a professional web developer who is all about visually appealing layouts, I have to agree with zappaDP's suggestion. I would take it a step further and style it just like you've got the "Quote" button.

The only thing I'm going back and forth on: To the left or to the right of "Quote". Since I suspect quoting is done more than liking, I would lean to the right of "Quote".
Other option: keep the same position, but style it like the quickbuttons.

Although if it was amalgamated with the quickbuttons the ideal place for it might be last in the list. That way it would automatically deal wih the issue of .inline_mod_check being last-child sometimes, even when it is forced to display: none;
Title: Re: Disable "Like"?
Post by: Aleksi "Lex" Kilpinen on September 04, 2021, 03:42:59 PM
I don't really think either is perfect, it works ok where it is now, but it would also work alright next to Quote. Good with how it is now: It's separate, out of the way and keeps quote easy to get to. Good with being lumped together with quote: Maybe easier to use with a phone for example. ( At least for me, mostly using my right hand with a phone I can just about reach around :D )
Title: Re: Disable "Like"?
Post by: Antechinus on September 04, 2021, 03:47:21 PM
Thing is, if you put it in quickbuttons you can simplify .under_message. No need for the old floats. Just have one ul for the whole thing. Set it to flex. Then you can position any individual buttons left or right, in any order, just by tweaking the CSS.
Title: Re: Disable "Like"?
Post by: Aleksi "Lex" Kilpinen on September 04, 2021, 03:51:14 PM
Now, that does sound like it could be good - Though I don't really speak CSS.
Title: Re: Disable "Like"?
Post by: Antechinus on September 04, 2021, 03:54:38 PM
CSS is easier than Finnish. :D
Title: Re: Disable "Like"?
Post by: Aleksi "Lex" Kilpinen on September 04, 2021, 03:56:57 PM
So I've been told :D
Title: Re: Disable "Like"?
Post by: Shambles on September 04, 2021, 04:23:57 PM
Quote from: AntechinusCSS is easier than Finnish. :D

(https://i.imgur.com/R7pSQ50.png)
Title: Re: Disable "Like"?
Post by: Aleksi "Lex" Kilpinen on September 04, 2021, 04:47:09 PM
Nah, he is probably right.
Title: Re: Disable "Like"?
Post by: Arantor on September 04, 2021, 05:56:00 PM
So if you put the like button itself into the quick buttons, what are you doing with the '1 person likes this' which is returned via AJAX and includes a link to a popup to see all the likers?
Title: Re: Disable "Like"?
Post by: Sir Osis of Liver on September 04, 2021, 06:00:12 PM
Quote from: Antechinus on September 04, 2021, 03:30:56 PMkeep the same position, but style it like the quickbuttons.
^ Good idea.

Quote from: Arantor on September 04, 2021, 05:56:00 PMSo if you put the like button itself into the quick buttons, what are you doing with the '1 person likes this' which is returned via AJAX and includes a link to a popup to see all the likers?
Place it below the button, as it appears in your post.

Quote from: Arantor on September 04, 2021, 10:31:21 AMI'm just a little sad that this is another thing I didn't get right
Not a question of getting it right or wrong, it's an aesthetic thing, everybody doesn't like something.

QuoteOh well, can't win 'em all.
Nobody does, and in the end everyone loses it all. :(
Title: Re: Disable "Like"?
Post by: Arantor on September 04, 2021, 06:11:11 PM
Quote from: Sir Osis of Liver on September 04, 2021, 06:00:12 PMPlace it below the button, as it appears in your post.

Underneath all of the quote/more buttons? Because that's what 'under the quick buttons' would mean.

Quote from: Sir Osis of Liver on September 04, 2021, 06:00:12 PMNot a question of getting it right or wrong

Not being funny but I don't think you understand. There has been a fair amount of feedback since 2.1 went live here. Virtually *everything* that everyone has complained about was down to me. Not just this one thing but _all_ of the things people actually complained about.

That's a lot to have gotten wrong.
Title: Re: Disable "Like"?
Post by: Antechinus on September 04, 2021, 06:18:37 PM
Quote from: Arantor on September 04, 2021, 05:56:00 PMSo if you put the like button itself into the quick buttons, what are you doing with the '1 person likes this' which is returned via AJAX and includes a link to a popup to see all the likers?
First up, I really do have to wonder if that is useful functionality anyway. :D

However, it could be kept as an unstyled li > a that holds said text, and placed next to the Likes button. So Likes button over at the left, styled to match other quickbuttons. Blurb/link just after it, with plain background, etc. This is not difficult to do with CSS.

Or you could keep two separate ul's for added flexibility if you really wanted to, and just use the quickbuttons class to pick up styling for the Likes button. TBH I haven't given it a lot of thought yet, since at the moment I'm running with the LIkes stuff hidden. Could play around with it a bit in Stylus.
Title: Re: Disable "Like"?
Post by: Sir Osis of Liver on September 04, 2021, 06:45:19 PM
This?
Title: Re: Disable "Like"?
Post by: Antechinus on September 04, 2021, 06:46:50 PM
Needs a bit more tweaking, but basically that, yes. :)
Title: Re: Disable "Like"?
Post by: Arantor on September 04, 2021, 06:48:36 PM
That's not what I was asking about, no, which is why I asked for clarification. Putting it "into the quick buttons" means on the right hand side not the left, hence my 'what are you doing with the other part' confusion.

But that does at least make it look like a clickable thing, though it doesn't follow all of the UI paradigms of SMF (which has too many inconsistent visual cues and calls to action anyway)
Title: Re: Disable "Like"?
Post by: Antechinus on September 04, 2021, 06:53:54 PM
Quote from: Arantor on September 04, 2021, 06:48:36 PMThat's not what I was asking about, no, which is why I asked for clarification. Putting it "into the quick buttons" means on the right hand side not the left...
Not necessarily.
.quickbuttons {
    float: none;
    clear: right;
    display: flex;
    margin: 0 0 5px;
    text-align: start;
}
.quickbuttons > .likes_button {
    order: 1;
}
.quickbuttons > .likes_blurb {
    order: 2;
    margin-right: auto;
}
.quickbuttons > .quote_button {
    order: 3;
    margin-left: auto;
}

Or whatever. In principle it is easy to do.
Title: Re: Disable "Like"?
Post by: Douglas on September 04, 2021, 07:53:35 PM
Arantor, I actually LOVE the like feature. I'm glad it made it into SMF as part of the CORE features and that frickin' karma went away. Karma was always a popularity contest on literally every site I've ever managed or help manage.

The like feature actually makes sense. Still kind of a popularity contest, but the focus is more on the post, itself.

As far as visual aesthetics... someone else said it best: You're not going to please everyone.

That's why SMF is powerful and who it is: If there's something you like/dislike/want to change, it's generally pretty easy to make that change.

Don't take anything we're saying as criticism for your work. :)

As for the location: The like button should be on the right (either to the left or right of "Quote").

The like text needs to stay right where it's at, currently.
Title: Re: Disable "Like"?
Post by: Antechinus on September 04, 2021, 07:58:51 PM
If you want it on the right, it has to go after "Quote", or after "More...". Having it before "Quote" would be a PITA.
Title: Re: Disable "Like"?
Post by: zappaDPJ on September 04, 2021, 08:05:44 PM
Quote from: Arantor on September 04, 2021, 05:56:00 PMSo if you put the like button itself into the quick buttons, what are you doing with the '1 person likes this' which is returned via AJAX and includes a link to a popup to see all the likers?

I would leave that where it is.

Although it might seem logical to place the button and the text together it's actually a little confusing. Where there's text (i.e. a post has been liked) the button takes on the appearance of a heading rather than a call to action so to speak.

By placing the button next to the other action buttons (e.g. 'QUOTE) it's purpose becomes more obvious. It's also more in keeping with other platforms.

To be honest, as things stands now I initially thought the 'Like' button was a notification of a single like. It could be that I'm as thick as a brick but it's been nagging at me every time I see it and that's usually a sign in my mind at least that something is not quite right.

Quote from: Arantor on September 04, 2021, 06:11:11 PMNot being funny but I don't think you understand. There has been a fair amount of feedback since 2.1 went live here. Virtually *everything* that everyone has complained about was down to me. Not just this one thing but _all_ of the things people actually complained about.

That's a lot to have gotten wrong.

Have you considered you were right at the time and that what you contributed at the very least planted the seeds of some very necessary changes?

This upgrade has been a very long time coming so it's inevitable what was done way back when may have moved on a little.

In terms of the 'Like' function the important thing is we now have it, placement is just semantics.


[EDIT]
Quote from: Sir Osis of Liver on September 04, 2021, 06:45:19 PMThis?

This which I didn't see at the time of posting is in my view is far more intuitive.
Title: Re: Disable "Like"?
Post by: Antechinus on September 04, 2021, 08:10:35 PM
Actually, if you want a really neat implementation take a look at the way Elkarte did it.
Example: https://www.elkarte.net/community/index.php?topic=5993.msg42695#msg42695
Hover over the "Likes" button to get the pop-up of all the members who liked the post.

Elkarte_likes_button.png

(And before someone says "We can't copy Elkarte!!!!" - you copied the idea of Likes anyway. :P )
Title: Re: Disable "Like"?
Post by: Aleksi "Lex" Kilpinen on September 04, 2021, 08:21:50 PM
That is pretty neat, could work just fine.
Title: Re: Disable "Like"?
Post by: Antechinus on September 04, 2021, 08:24:34 PM
It does work just fine. I know because I've used it live. :D Simple code too. You can evil steal Elk's code, coz we have this thing called "open source". You know you want it.