Like Posts

Started by vbgamer45, June 29, 2013, 09:29:03 AM

Previous topic - Next topic

vbgamer45

Link to the mod

Like Posts

This mod provides and interface to like/unlike posts.

Features
- Users can like posts within a topic.
- Whereas on message index only the first post of topic is taken into consideration. One can like first post of topic from message index also.
- A notification system, where users can see who has liked what post in real time.
- Total no of likes user has received so far is shown in post displays.
- In profile section one can see the likes given and received by a user so far.
- A complete dedicated admin interface, to control various features of mods
- Interface to see various stats related with the mod. The section can be accessed using the 'Like stats' button provided in the website navgation



Admin interface

General Settings
- Enable disable the mod with a single click
- Enable disable like stats completely
- Enable disable like posts notification for everyone
- Number of likes to show at once in user profiles
- Number of likes to show at once in notification panel
- Whether to show like button on message index or not
- Show total likes in posts under user avatar


Permission Settings
- Enable the permission "Can like posts" for those groups who can like the posts.
- Enable the permission "Can view like" for those groups who can view who liked which post.
- Enable the permission "Can view likes of other users in their profiles" for those groups who can view like summary of other users in there profiles.
- Enable the permission "Can view stats of liked posts" for those groups who can view like posts stats
- Enable the permission "Can view notifications of liked posts" for those groups who can view like posts notifications
- Enable the permissions for guests about where they can see likes i.e in posts/topics, boards, profiles & whether or not they can see the liked posts stats


Board Settings
- Select on which boards you want to enable the mod
- If you want to select all boards in a category, just click on the category name


Recount Like Stats
- To remove the deleted messages from likes count and stats
- Removes duplicate entries from like table
- To recount the total likes user has received so far. One should run this once a month at least.


Note - If you are upgrading from version < 1.2, please recount the total like of the users from:
My Community » Administration Center » Like Posts  » Recount Like stats


GitHub Link
Change log

All suggestions related to core features and UI are most welcomed.


All images/css used in the mod falls under the license used below.

License
 * This SMF Modification is subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this SMF modification except in compliance with
 * the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

shadow82x

Interesting, any screenshots? :)
Colin B
Former Spammer, Customize, & Support Team Member

Dhayzon

#2
screenshots ::) please


edit: excellent mod I like

TheListener

Quote from: dhayzon on June 29, 2013, 01:57:58 PM
screenshots ::) please

Why repeat the previous posters request?

Joker™

Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

littlenicki

Hello, this looks like a great mod! Could you please do a SMF 1.1.18 compatible version? Thank you, Nicole
Fomer SMF user. Switched to Invision Power Board and VBulletin

Dzonny

Tnx Joker, a lovely one :)

Joker™

Quote from: littlenicki on July 02, 2013, 04:30:37 PM
Hello, this looks like a great mod! Could you please do a SMF 1.1.18 compatible version? Thank you, Nicole
Thanks for the compliment. Sorry, I'm not back-porting any of my mods to SMF 1.x branch, as a stable version (SMF 2.x) is already out.

Quote from: Dzonny on July 02, 2013, 06:48:10 PM
Tnx Joker, a lovely one :)
Thank you :).

Guys, any suggestions/improvements/features in mind for mod?
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Biology Forums

Excellent mod, Joker™!

Joker™

Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Biology Forums

As for suggestions, I'd replace the "Like" and "Unlike" with images (i.e. a thumb, or sad/happy face). Once clicked, a tooltip should appear saying "you now like this topic" (or, something appears beside the thumbs up image).

Joker™

Quote from: Liam_michael on July 14, 2013, 01:57:58 AM
As for suggestions, I'd replace the "Like" and "Unlike" with images (i.e. a thumb, or sad/happy face). Once clicked, a tooltip should appear saying "you now like this topic" (or, something appears beside the thumbs up image).
Nice nice. Also I'm thinking of adding page in user profile, where one can see:

1. How many messages he/she has liked, and
2. How many of his posts are being liked
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Mick.

Very nice. Im using this now and i dig the fact one cant like its own comment. Im changing the text link for a thumbs up/down sprite.

Biology Forums

Quote1. How many messages he/she has liked, and
2. How many of his posts are being liked

Perfect, keep a track of all the threads you've liked in past.

Quote from: Mick. on July 14, 2013, 11:12:36 AM
Im changing the text link for a thumbs up/down sprite.

Nice.

In addition, once the image is clicked, it darkens, to show that it was clicked.

Joker™

Quote from: Mick. on July 14, 2013, 11:12:36 AM
Very nice. Im using this now and i dig the fact one cant like its own comment. Im changing the text link for a thumbs up/down sprite.
Glad you guys are liking it.

TBH, personally the FB feature of liking you own post is in top 10 of my most hated things :P.

Well, I also want to add images in the mod, but I'm trying to get an idea of something different from thumbs up/down images(I hope you don't mind).

As this modification is going to do a lot more than FB likes, so why not have something different from it in terms of visual effect :P.

Even I don't know the potential of this modification right now :-X. Just saying again, I'm hearing and ready to implement the ideas present by the community in this mod, as far as we can keep this mod from getting bloated.
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

barnaby jonez

Hi Joker,

I'm currently using illori's "SMF Likes Plus" and while it gets the job done, the biggest flaw is that there's really no "feedback" on Likes.

I'd like it (this sounds demanding, but it's just a suggestion) if Likes behaved like so:

- Like/Remove Like posts (simple enough, it already does this)
- How many Likes has this user received? (Profile page)
- How many Likes has this user given? (Profile page)
- (The big one) Feedback on when a Like has been given. Perhaps some AJAX involved? Similar to how you get a PM, there is a notification.
-- Perhaps a way to show what posts/threads did give you Likes? So a user knows there is activity, even in an older thread. Maybe a last 5 threads where there was activity. Unsure of the best approach here.

While there is already a pretty feature filled Likes mod that costs money (and deservedly so), I'm on board for a free one that can reach even half the ability of it, so long as it fits the basic needs for a community.

I haven't tried your mod out as-is, but hopefully I can painlessly transfer over my current Likes from the current mod I use. Thanks for your time.

Joker™

Just pointing out the status of the points you have mentioned above.

- Like/Remove Like posts (simple enough, it already does this) - Done
- How many Likes has this user received? (Profile page) - Yet to implement
- How many Likes has this user given? (Profile page) - Yet to implement
- (The big one) Feedback on when a Like has been given. Perhaps some AJAX involved? Similar to how you get a PM, there is a notification. - Yet to implement (right now there is just a text change, I'm just waiting to get my hands on photoshop)
- Perhaps a way to show what posts/threads did give you Likes? So a user knows there is activity, even in an older thread. Maybe a last 5 threads where there was activity. Unsure of the best approach here. - Yet to implement (can you elaborate this one)

Well, my mods were always free, are free and going to be free of cost. I love to code for SMF :).
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

barnaby jonez

Joker,

Using an example from vBullitin, when you receive a Like, you click on that notification, and it will show you what posts were given likes, and by whom. [X Person liked your post(s) in this thread...]

Similarly, Facebook does this the same way. [X Person liked your Status...]

It doesnt have to be as specific as this, but something that basically says "Hey, there is some activity. Someone read your post, and liked it." -- this gets the user to zip straight there and see who is giving them props.

Does this help?

Joker™

Quote from: barnaby jonez on July 16, 2013, 12:22:05 PM
Joker,

Using an example from vBullitin, when you receive a Like, you click on that notification, and it will show you what posts were given likes, and by whom. [X Person liked your post(s) in this thread...]

Similarly, Facebook does this the same way. [X Person liked your Status...]

It doesnt have to be as specific as this, but something that basically says "Hey, there is some activity. Someone read your post, and liked it." -- this gets the user to zip straight there and see who is giving them props.

Does this help?
Hmm, sounds much clear now. Just thinking of the server load in the case, when some crazy person like me goes on a post liking rampage.

Just tracking everything on GitHub
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Biology Forums

If the person get's a PM everytime their post is liked, it shouldn't hurt the server load, should it? I'd be more concerned with people getting annoyed by the PMs. I suppose you could add an option that prevent notifications if that becomes an issue.

Advertisement: