Like Posts

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

Previous topic - Next topic

zarachrome

Hi Joker;

Nice and excellent mod.
But I have a problem: I tried to translate it into spanish, thinking on give you the translated strings, but for an unknown reason, when I like in posts index, it shows only (), and for one second the button turns into "Unlike", but then it turns again into "Like".
Maybe it is a problem with spanish accents?

Thank you.

Motorhed

Since I'm here (checking in on this, etc.) I'd might as well toss out the common request people have made on Facebook and innumberable sites over the years.

A "Dislike" to go with "Like". XD

[Like] [Dislike]

Which would then just turn to...

[Unlike] or [Undislike] depending on which you clicked.


And for people who don't like negative stuff at all, an Admin option to turn in Like, and turn on Dislike seperately.

:P

Joker™

Quote from: zarachrome on September 04, 2013, 06:27:56 PM
Hi Joker;

Nice and excellent mod.
But I have a problem: I tried to translate it into spanish, thinking on give you the translated strings, but for an unknown reason, when I like in posts index, it shows only (), and for one second the button turns into "Unlike", but then it turns again into "Like".
Maybe it is a problem with spanish accents?

Thank you.

Maybe, its something to do with text strings.


Quote from: Motorhed on September 04, 2013, 07:16:28 PM
Since I'm here (checking in on this, etc.) I'd might as well toss out the common request people have made on Facebook and innumberable sites over the years.

A "Dislike" to go with "Like". XD

[Like] [Dislike]

Which would then just turn to...

[Unlike] or [Undislike] depending on which you clicked.


And for people who don't like negative stuff at all, an Admin option to turn in Like, and turn on Dislike seperately.

:P
Well I personally never liked the dislike system, as with dislike one creates a wave of negative energy within the members. Lets says I wrote a nice post about PHP and someone disliked it, for sure I'm going to feed bad and it'll create a gap between me and the member who disliked it. I hope I was able to clear my personal point of view on "dislike".
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

Motorhed


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

ScrumpyJack

Hi Joker!

For some reason, the Like Post function works on individual posts...but not on the Topic display screen (nothing seems to happen).

Is there a way to stop it appearing on the topic view so that it's only visible within the actual posts?

Thanks in advance for any help you might be able to give.

ScrumpyJack

Actually, I've just checked in Internet Explorer which is the standard browser used across our company and the Like Posts mod doesn't seem to be working at all.

Liking a post does work in Google Chrome though.


mrbig

Must be a template issues
I've tested in Chrome and IE and it works in both topics and posts.

Joker™

Ahhh IE. ScrumpyJack, please don't feel offended, but I never try my code on IE, as why should I put double effort just to support a browser which is still doing everything it can to make dev's life hell :P.

Also is anyone aware about how to install IE on mac :-X?
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

Motorhed

I run IE 8 out of necessity due to my set-up, and I don't have the issue. Just pitching in incase it's some other issue.

iknowyou

Hi there I've translated the LikePosts.english.php into traditional chinese but the mod would stop working. Like what happens is the Like button would be in Chinese but when I pressed it nothing happens apart from adding "()" next to the like button. When I refresh the page the "()" is gone but it shows that I havent liked it.

help ><

Joker™

Quote from: iknowyou on September 14, 2013, 06:34:08 AM
Hi there I've translated the LikePosts.english.php into traditional chinese but the mod would stop working. Like what happens is the Like button would be in Chinese but when I pressed it nothing happens apart from adding "()" next to the like button. When I refresh the page the "()" is gone but it shows that I havent liked it.

help ><
The text strings are generated in PHP files and sent over to JS file via ajax response. Maybe the Chinese chars are not getting parsed properly in ajax response. Also right now the mod is not coded to support different translations.

If you guys want the mod to support different translation, please provide me few strings, so that I can optimise the mod accordingly.
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

iknowyou

Ok. So far translating everything except the strings on the button itself would still make the mod functional. The txt string for like in traditional Chinese is 讚 and unlike is 收回讚.

Oh and sorry about the double posting, I missed seeing the guy with the same problem as me except in Spanish.

Cheers.

Joker™

Quote from: iknowyou on September 14, 2013, 04:56:17 PM
Ok. So far translating everything except the strings on the button itself would still make the mod functional. The txt string for like in traditional Chinese is 讚 and unlike is 收回讚.

Oh and sorry about the double posting, I missed seeing the guy with the same problem as me except in Spanish.

Cheers.
Actually I went back to debugging mode in javascript file of the mod and it seems mods seeks for a specific word while liking unlinking a post. I'm planning to roll out a new version consisting of bug fixes for now. I hope your issue will be resolved with it.
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

Joker™

Update with version 1.1.1, please try the new version.

Also the users having issue with jQuery loading, please update the mod to latest version.
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

iknowyou

Quote from: Joker™ on September 17, 2013, 10:41:06 AM
Update with version 1.1.1, please try the new version.

Also the users having issue with jQuery loading, please update the mod to latest version.

Hiya

So I uninstalled the old version, uploaded and installed the new one. What happens now is that if I unlike a post its fine but if I try to like a post it still shows the animation (but without changing from "like" to "unlike") and stuff but i just can't like it no matter how many times I press it. Or do I need to remove the like post mod database too?

Cheers

Joker™

Quote from: iknowyou on September 18, 2013, 02:38:48 AM
Quote from: Joker™ on September 17, 2013, 10:41:06 AM
Update with version 1.1.1, please try the new version.

Also the users having issue with jQuery loading, please update the mod to latest version.

Hiya

So I uninstalled the old version, uploaded and installed the new one. What happens now is that if I unlike a post its fine but if I try to like a post it still shows the animation (but without changing from "like" to "unlike") and stuff but i just can't like it no matter how many times I press it. Or do I need to remove the like post mod database too?

Cheers
Try to see if there are any javascript errors reported in the developer console of Chrome.
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

iknowyou

Chrome's javascript console didnt report an error. I tried using english for the like link and traditional chinese for the unlike link and that worked both ways. Just doesn't work if the like link is in traditional chinese.

cheers

Joker™

Quote from: iknowyou on September 19, 2013, 02:23:09 AM
Chrome's javascript console didnt report an error. I tried using english for the like link and traditional chinese for the unlike link and that worked both ways. Just doesn't work if the like link is in traditional chinese.

cheers
Can you provide me the chinese translation file you are using.
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

iknowyou

Quote from: Joker™ on September 19, 2013, 10:03:46 AM
Quote from: iknowyou on September 19, 2013, 02:23:09 AM
Chrome's javascript console didnt report an error. I tried using english for the like link and traditional chinese for the unlike link and that worked both ways. Just doesn't work if the like link is in traditional chinese.

cheers
Can you provide me the chinese translation file you are using.

Here it is. Thanks a bunch.

Advertisement: