Liking by user ID rather than IP?

euantor's Avatar

euantor

03 May, 2011 07:09 PM

I've just finished modifying this plugin to my needs and the greatest issue I found was that Likes were stored on an IP basis. I'd much rather use it on a User ID basis (and disable liking for guests), so I made this edit.

I also made a change whereby if a user clicks the like link after having already liked it, it effectively "unlikes" the post. I thought this was deeply needed for my site and can imagine others probably wanting it too.

Just a suggestion anyway - great work otherwise!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

24 Feb, 2016 05:49 PM
30 Nov, 2013 03:31 PM
30 Nov, 2013 03:10 PM
30 Nov, 2013 11:55 AM
30 Nov, 2013 11:24 AM

Recent Articles