News:

SMF 2.1.2 has been released! Take it for a spin! Read more.

Main Menu

Like Posts

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

Previous topic - Next topic

STRRAYNGE

Quote from: Joker™ on December 07, 2013, 11:55:43 AM
Quote from: STRRAYNGE on December 07, 2013, 10:44:06 AM
Ok, not sure what I did wrong and what I need to do now, but, I tried to upgrade, and now its showing 2 like buttons for everything? I went in and manually deleted all edits, then tried to do a fresh install, but both are still there. I guess I should have left it alone.
Just make sure that the edits made by the mod appears only once in the respective files.

Make back up of the files on your computer before editing them

Edits made by mod

Just make sure these edits appears only once in mentioned files.
I appreciate it. I just restored from backup prior to installing the mod, then reinstalled it. All good now! Thanks again!

Joker™

Glad, that its working fine :).
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

dhaya.b

hai thanks for the update joker .. working fine i installed yesterday .. great one :)

shanea

Wow, this is one of the best mods I have seen so far! :D

fmofmpls

I'm loving this mod too. It would be nice however to have options for the "Like" button's appearance. I noticed it's not a image that can easily be replaced somewhere within a folder? Right?

Papoune57

Update working fine,great mod.
SMF 2.1 RC3
Tiny Portal  2.0.1

Joker™

Thanks for the comments :).

Quote from: fmofmpls on December 10, 2013, 04:47:20 PM
I'm loving this mod too. It would be nice however to have options for the "Like" button's appearance. I noticed it's not a image that can easily be replaced somewhere within a folder? Right?
Yup, the buttons are created via css, as why to increase the load on website to load the images when you can do awesome things with CSS3 :P.
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

pevanis

 :) Ta daaaaaaaaaaa

Great mod. :)
Thank You 

Augustine

Hey Joker!

This can be really useful! Thanks.

deivitbcn

I liked your mod!

two suggestions

1. Could be the button near the other ones (quote, modify...) ?
2. and if the button has a similar design to the theme "default" it would much nicer...

the same, thanks for this great mod.

Joker™

Quote from: deivitbcn on December 12, 2013, 07:00:00 AM
I liked your mod!

two suggestions

1. Could be the button near the other ones (quote, modify...) ?
2. and if the button has a similar design to the theme "default" it would much nicer...

the same, thanks for this great mod.

Hi deivitbcn,

Thanks for the suggestions, initially I made the mod with the suggested UI interface, but later on I've changed the like button due to following reason

1. Mostly you will be liking a post after completely reading it, so why not to give the button in the end.
2. Also, I thought of giving the button a but different design.

If you have some nice design of button, I'd love to hear about 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

AfterForever666

Hi All,

I'm running SMF 2.0.6 and installed Like Posts 1.2.1. Nothing went wrong during installation, but I'm having the following problem :

When I click the "like" button on a post, nothing seems to happen. There is nothing in the error log when I do that either.
Secondly, when I click the "Total Likes" of a given user, I get an error in the errorlog :

ERROR: syntax error at or near ")"
LINE 2: ...nabled, GROUP_CONCAT(CONVERT(lp.id_member, CHAR( 8 )) SEPARATO...
^
File: C:\inetpub\QAForum\Sources\Subs-LikePosts.php
Line: 396

The database I'm using is Postgres 9. I've a feeling that some queries are not working on Postgres. If I'm right, Is this a known issue ? Could someone that knowledgable in this area suggest me how I could change the files so it works on Postgress ?
(I've found many articles on the web about converting "GROUP_CONCAT" from MySQL to Postgress, hence my assumptions)

Thanks for helping !

Arantor

I would strongly suggest using MySQL if at all possible. Most mods, even SMF itself, are written and tested on MySQL and then butchered into working. SMF's abstraction layer basically works by taking queries destined for MySQL and tweaking them to work. It is a terrible process but one that has been inherited and won't change any time soon.

This mod will likely need serious changes to make it work with PostgreSQL, and I seriously don't see anyone putting the time in.

AfterForever666

Thanks Arantor for your answer. I get the point.
I didn't have much choice but to use PostGres (company policy).

I'm still hoping that this mod will be or has been tweaked by someone to work on PostgreSQL. Otherwise we'll have to do without like system.

Arantor

The mod hasn't been tweaked, and I don't see how it can without being rewritten.

Joker™

Hi AfterForever666,

Thanks Arantor for replying to the user :).

AfterForever666, I got very little time these days for even supporting my mods and whatever time I get I try my best to fix the bugs and implement new features if community/users asks for them. I don't see the mod supporting 'Postgres DB' anytime soon.
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™

Hi All,

Working with notification system for the mod. Attaching a very initial screen shot.

All thoughts/suggestion etc about the placement/design etc of notification system are most welcomed :).
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

Arantor

While I think it's great that you're adding this, be careful about putting too much in when 2.1 not only includes likes by default, it also includes a notifications system.

Biology Forums

Quote from: Arantor Beeblebrox the First on December 24, 2013, 02:07:57 PM
While I think it's great that you're adding this, be careful about putting too much in when 2.1 not only includes likes by default, it also includes a notifications system.

Where can we play around with a working copy (live demo) of 2.1?

margarett

Some users do have own test forums live, or you can get the newest code from GitHub and set up your own ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Advertisement: