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: 728
Website

[Mod] Like mod 1.0.2

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 (2014-11-16 10:13:34)


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: 728
Website

Re: [Mod] Like mod 1.0.2

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.2

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.2

Good work Adaur

Offline

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

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

Re: [Mod] Like mod 1.0.2

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.2

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.2

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.2

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

#9 2014-11-11 18:19:29

signuprepli
Member
Registered: 2014-11-05
Posts: 14

Re: [Mod] Like mod 1.0.2

Hi adaur,

Will this nice mode be updated to work with 1.5.7?

I tried to test it (in 1.5.7) but I ran into a few issues as follows:

-Mod does not show up in the admin panel as installed
-ReadMe shows incorrect line numbers and also one "find string" cannot be found*
-My testing also confirms the findings of BangoFace (see above) as a real bug

*Comment: I did find a string that was a very close match so I used that for reference

Thanks, in advance for your response,

signuprepli

Last edited by signuprepli (2014-11-11 18:20:53)

Offline

#10 2014-11-15 20:55:44

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

Re: [Mod] Like mod 1.0.2

Hi there,

I'm using it on my heavily 1.5.7 forum without any issue.

- This is normal since there is nothing to configure.
- Line numbers shouldn't be shown in the readme: each modification alters these indications, hence their non-reliability. What is the string causing the issue please?
- This is strange, I will try to check this out.

Cheers


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

Offline

#11 2014-11-15 21:21:19

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

Re: [Mod] Like mod 1.0.2

https://fluxbb.org/resources/mods/like- … ses/1.0.2/

This should be good enough. Please let me know!


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

Offline

#12 2014-11-16 14:54:25

signuprepli
Member
Registered: 2014-11-05
Posts: 14

Re: [Mod] Like mod 1.0.2

adaur wrote:

https://fluxbb.org/resources/mods/like- … ses/1.0.2/

This should be good enough. Please let me know!

Hello adaur,

Your modifications are not only good enough, they are perfect! The "like" function is now working 100% in my v1.5.7 forum. Thank you so much for your efforts!

BTW, I cannot pinpoint why it did not work properly when I tried it before (using the previous version) because I am not a coder but whatever you did fixed everything! Thanks again.

Best regards,

signuprepli

Offline

#13 2014-11-16 15:22:11

signuprepli
Member
Registered: 2014-11-05
Posts: 14

Re: [Mod] Like mod 1.0.2

Hello again adaur,

I did some additional testing and I found that if you have 3 likes marked against a post, and one member "unlikes" that post, all the likes disappear until the page is refreshed and then all is well. I tested this using the latest Firefox version. Just an FYI. I'm really happy with it!!

Best regards,

signuprepli

Offline

#14 2014-11-16 22:00:11

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

Re: [Mod] Like mod 1.0.2

Hi,

That's good to hear! It's a strange issue, I'll look into it if I got time.


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

Offline

Board footer

Powered by FluxBB 1.5.7