News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Like Posts

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

Previous topic - Next topic

Joker™

Quote from: SomaCruz on October 02, 2013, 05:25:27 PM
When I give "Like" button nothing happens, sometimes only... What can it be?

Sorry for my bad english

I use 1.2 version and 2.0.5 smf
Hi SomaCruz,

What exactly doesn't happen, i.e does post get liked and text doesn't change or nothing happens at all?
Does this happen on message index only or in posts too?

Seems to be an issue where javascript files are not loaded and user clicked like prior to that.
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

SomaCruz

It happens everywhere, posts and sub ​​forums ...

Any way to fix it?

The mod is really good :(

Joker™

Quote from: SomaCruz on October 03, 2013, 12:38:47 PM
It happens everywhere, posts and sub ​​forums ...

Any way to fix it?

The mod is really good :(
Ummm, was thinking of this and having a solution in mind. Why not show the like/unlike button only after jquery is loaded so that there won't be anyone complaining about the button not working :P.

Thoughts?
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™

Quote from: miguel on October 01, 2013, 02:17:53 PM
The problem is  like button on board index
The liked in message is ok
Hi miguel,

You can remove the edits I've made in MessageIndex.template.php and instead make changes in Subs-Likes.php by looking at the code of this commit.

Advantage - When you are going to update the mod, parser is going to give an error for the changes made in MessageIndex.template.php, but  for Subs-Likes.php it won't ;).
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

miguel

Thank you very much. Now this very well  ;D

miguel

just one thing. Not important. $ txt ['like_post_string_people'] when more than one has to add $ txt ['like_post_string_s']

Joker™

Quote from: miguel on October 05, 2013, 08:17:46 AM
just one thing. Not important. $ txt ['like_post_string_people'] when more than one has to add $ txt ['like_post_string_s']
Hmm, ok will see to that in next release :).
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

DeroZ

Quote from: SomaCruz on October 02, 2013, 05:25:27 PM
When I give "Like" button nothing happens, sometimes only... What can it be?

Sorry for my bad english

I use 1.2 version and 2.0.5 smf

same problem, likes don't count, don't show user names, etc...

SilverBlue

Quote from: drfun on July 27, 2013, 03:48:16 PM
...
Is it possible for quest to view the like button but cant like/unlike and if they click on the like button it prompt them to register or redirect them to the login page?
I wish to have an option that guest can see the "likes" in posts. I mean that they can see that somebody like a post.
The option of a prompt to register would be nice to have

qubbah

still having a problem using this mod in post display... not in board index.

maxmoto

Quote from: Snoopix on October 20, 2013, 01:46:31 AM
Quote from: SomaCruz on October 02, 2013, 05:25:27 PM
When I give "Like" button nothing happens, sometimes only... What can it be?

Sorry for my bad english

I use 1.2 version and 2.0.5 smf

same problem, likes don't count, don't show user names, etc...

same problem, nothing happens 2.0.6

WittyUsername

#131
So yeah, I have this mod installed on my website and it seems cool. But there's a bit of a problem...

See, the only thing that happens when I click like is it tacks on a "#1" to the URL and then nothing. No like, nothing. Just that "#1"

Now, that happens absolutely in Firefox. Chrome, it also happens... sometimes. Sometimes, after clicking around, the fade out and fade in plays. But mostly it's the same.

I tried it with Seamonkey, same result as Firefox. It just throws up a "#1."

Safari, same "#1" and nothing.

Tried it with *shudder* IE, same result. Just the "#!"

Finally, I tried it with Opera, and, funny enough, it worked. Like, every single, solitary post could be liked properly with Opera.

Funny enough, if I go to ANY other browsers and unlike a post that was liked in Opera, it works. It can be unliked properly and liked again. But no post that wasn't liked will be liked.

I guess this has something to do with Javascript? I dunno.

Using 2.0.5 and the latest build of this mod.


Now, I could use Opera and do all my fancy liking, but... seems a bit unpractical for a community. I don't want to ask my members to all use Opera just for liking. Is there anything I could do?

kpmedia

Great mod but same here, worked fine then stopped.

Displays the like button but does not allow any users to click button on any page within forum.

Do we know if there is a update due to be released to fix this problem. Also would be great if guest could like topics is well once this is fixed!

Many Thanks

STRRAYNGE

Id also like to have this working on 2.0.6. It installed fine, but clicking the button does nothing. Maybe I should install manually? Looks great so far though!

Joker™

For all those who are facing the issue that within the topic, clicking on like button nothing happens, try out this file.

Go to Sources/LikePosts.php
1. Make backup of your file
2. Replace the attached file with the file in your folder
3. Please, revert me back the results asap as these days I'm bit busy with RL so won't be around for long.
4. If something breaks, reply with your site link and a dummy account with which I can login and like posts on your site for testing purpose

Please, don't send any private messages. All private messages are going to be microwaved/nuked/dumped.

Thanks :)
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

qubbah


qubbah

Hope there is the code to show also latest update of like post from all members that we can put in it somewhere in our forum.. that all users can see it.. tq

kpmedia

Tried new php attachment but sadly made no difference to my site. Site is hxxp:www.kp-celebrities.com [nonactive] but have disable mod at the moment as it is not working

Biology Forums

QuotePlease, don't send any private messages. All private messages are going to be microwaved/nuked/dumped.

;D

freestyler7

Thank you very much for this mode, works great :)

Advertisement: