Firefox PHP

MOD: Like Button (Internal, not external to Facebook or anything)

Posted by Robert Angle 
MOD: Like Button (Internal, not external to Facebook or anything)
January 30, 2012 12:33PM
I have a number of users that want a like button for the posts.

The preferred like button would record a like for that post to the database. Who liked what would be displayed on posts (and if the list of users who liked a post was above a certain number, the display would be cut off, but a link to a pop up window with a complete list would be made available).

A bonus, but not necessary, would be to be able to see a list of what a user liked in their profile (and then after the X amount of recents, a link to an addon page pop up for a more comprehensive list.)

My users are not interested in a Facebook like button, however, because of privacy concerns (we're a username, not a real name, community).


Robert Angle
Phorum lover, nothing more.
Ruminations
Re: MOD: Like Button (Internal, not external to Facebook or anything)
January 18, 2013 05:29AM
I'd be interested in something similar but even more simpler : just a Thanks button for every post with the possibility to show the lists of users who pressed the button, a list that would be hidden by default.
Re: MOD: Like Button (Internal, not external to Facebook or anything)
March 11, 2013 08:38AM
Still nothing similar ? In fact, I'd need this for people to say that they saw the post more thant to thanks the author...
mac
Re: MOD: Like Button (Internal, not external to Facebook or anything)
August 08, 2013 06:38AM
I like the idea - which is why I stumbled upon this thread. Maybe I'll give this to a student as a project... After many years of use, Phorum still rules!!
Re: MOD: Like Button (Internal, not external to Facebook or anything)
June 18, 2014 03:46PM
The original post at this thread head was two years ago. I see dozens of similar requests for other forums (phpBB, vanilla, simple machines, etc....all largely inferior to phorum for lots of reasons, but similarly devoid of like buttons).

Why is this so hard? How would it work?

A "phorum.phorum_likes" junction link table with triplet rows of primary_key, user_id (of the liker) and message_id. Incoming likes would be a post that aborts if that user has already liked this message, Or deletes that phorum.phorum_likes row (liker user_id message_id pair) if the incoming post says "unlike" instead of like? Perhaps it's tricky because you would need a de-normalized running total somehow, somewhere, so each message list query wouldn't have to calculate and re-calculate the current like total constantly. Is that why it's hard?

I must be missing something. It seems so simple. But if it was that simple there'd be like button mods for all forums. Because so many users are requesting it. Perhaps the running likes total (for each message_id) would be another junction link table that is primary_key, message_id and total number, which would get triggered and adjusted for each like or unlike post. That total would have a tendency to get out of wack I suppose. But a nightly cron job could synch those two tables every 24 hours. At 2:00am



Edited 1 time(s). Last edit at 06/18/2014 03:51PM by spittendrigh.
Re: MOD: Like Button (Internal, not external to Facebook or anything)
August 03, 2014 09:39PM
I've been asked about this as well. It is available on other popular forum platforms and it would be nice to offer to my community as well.

Wallet Friendly Watch Forum
www.wf-wf.com
Sorry, only registered users may post in this forum.

Click here to login