Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2012-05-10 20:02:24

adaur
Developer
From: France
Registered: 2010-01-07
Posts: 707
Website

[Mod] Like mod 1.0.1

This mod adds a button to "Like" a post at the bottom of each one and displays the users who liked the post. It is jQuery powered, thanks to soyuka! Degrades gracefully if JavaScript is not enabled.

This mod has been designed to consume as less resources as possible. It uses FluxBB's posts original table and serialized data. JavaScript makes refresh unnecessary.

1336679863.png

If you're experimenting problems with this mod or if you have some questions, please ask here wink

https://fluxbb.org/resources/mods/like-mod/

Last edited by adaur (2012-10-18 19:18:50)


Please excuse my bad english, I'm french tongue.

Offline

#2 2012-10-18 19:18:40

adaur
Developer
From: France
Registered: 2010-01-07
Posts: 707
Website

Re: [Mod] Like mod 1.0.1

A new version is out!

Changelog wrote:

Fixed:
- Like not saved after like and unlike (spotted by quy)
- Special caracters in French

Improved:
- Usernames unlinked if "View user information" is disabled (suggested by quy)
- "liking" your own messages is not allowed. (suggestion by quy)
- jQuery version updated (1.8.2 vs 1.7.2)
- Read me improved


Please excuse my bad english, I'm french tongue.

Offline

#3 2012-10-22 20:16:13

BangoFace
Member
Registered: 2012-08-01
Posts: 47

Re: [Mod] Like mod 1.0.1

Is there anywhere I can test it please? A demo website?

The Java not requiring refresh bit, does that only work with Java supported servers/VPS?

Last edited by BangoFace (2012-10-23 11:56:22)

Offline

#4 2012-10-23 03:54:45

Newman
Member
Registered: 2011-11-05
Posts: 343

Re: [Mod] Like mod 1.0.1

Good work Adaur

Offline

#5 2012-10-23 15:32:07

adaur
Developer
From: France
Registered: 2010-01-07
Posts: 707
Website

Re: [Mod] Like mod 1.0.1

BangoFace wrote:

Is there anywhere I can test it please? A demo website?

Not for the moment. However, you can see it working here (Aiment ce post = Liked by)

BangoFace wrote:

The Java not requiring refresh bit, does that only work with Java supported servers/VPS?

It is JavaScript, not Java. JavaScript is handled (or not) by the client, not the server.

Thanks Newman!


Please excuse my bad english, I'm french tongue.

Offline

#6 2012-11-24 14:59:23

BangoFace
Member
Registered: 2012-08-01
Posts: 47

Re: [Mod] Like mod 1.0.1

Love this mod. Is there a simple way of tying this into a reputation/scoring system? Basically each member has a number representing their total number of times Liked?

Offline

#7 2012-12-07 20:45:17

glennvho
Member
Registered: 2012-12-07
Posts: 10
Website

Re: [Mod] Like mod 1.0.1

Hi I really like your mod! smile

I made a translation to Dutch, maybe you can add this to the next release?

<?php

// Language definitions used by Like mod

$lang_like_mod = array(
	'Like'		                =>	'Vind ik leuk',
	'Unlike'	                =>	'Vind ik niet meer leuk',
	'Like this post'	        =>	'Vinden dit leuk:',
	'Like this post multiple'	=>	'Vinden dit leuk:',
	'Like registered'	        =>	'Vind ik leuk',
	'Self like'	                =>	'Eigen post leuk vinden is niet toegestaan.',
);

Last edited by glennvho (2012-12-07 20:46:32)

Offline

#8 2012-12-08 21:26:29

BangoFace
Member
Registered: 2012-08-01
Posts: 47

Re: [Mod] Like mod 1.0.1

Not sure if this is a bug on my forum or an issue with the mod, but when not logged in, Likes on each post are all replaced with the name of the person who made the post, and not the person who liked it.
likeerror.JPG

Offline

Board footer

Powered by FluxBB 1.5.6