News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Like Posts

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

Previous topic - Next topic

Joker™

Quote from: Kimmie on October 14, 2014, 07:43:06 AM
Quote from: Arantor on October 11, 2014, 10:35:36 PM
Why would you want people to like something they can't see?


Because that way they don't have to reply if they don't want to. This gives them a choice. Most of my members prefer the like button like we had before (only then it was a Thank You button). They have been begging me to try and get it put back on.

Quote from: Joker™ on October 12, 2014, 04:25:14 AM
Quote from: Kimmie on October 11, 2014, 10:30:26 PM
How hard would it be to incorporate this into this mod? There was a Thank You mod on here a while back (1.x) that tied both together but that one no longer works on 2.x. I still use the hide tag even though it isn't available on here anymore.

http://www.simplemachines.org/community/index.php?topic=32954.0
And what feature should be exactly tied up?
You really need to explain in simple words, as I'm confused about what feature do you exactly want.
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: Kimmie on October 14, 2014, 07:43:06 AM
I also need to know how to change the background color or the color of the names. You can't see them because you have this as white on white.




Which section i.e notification/boards/topics/profile section?
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™

Okzzzz, everyone heres the list of things completed for next version (very near to release)

- PHP files converted to OOP, easy management for me :P
- JS file converted to singleton, in layman words, its more efficient
- All inline css removed from JS and templates
- Likes text based on number of likes, ref
- Handling for likes data when post is deleted/merged/move, ref
- Like posts permission based on post count group, ref
- New permission in admin panel to disbale like stats completely (including button ;))
- Permission to disbale notification for eveyone or based on user group
- In admin panel, new feature to optimize like tabel and remove likes from delete topic
- Some hidden/fun JS features added in admin panel
- Permissions fixes through out the codebase
- Tons of fixes

If you have any new feature in mind, which is not listed above or in previous version, please do let me know asap by replying  in this topic.



NOTE - Strictly for test sites, not for live forums. If by using this package anything broke down I'm not responsible. You this at your own risk :laugh:

Sneak peek of LikePosts2.0
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

shayneb

I am using SMF 2.0.9 and the Like Posts version 1.6.1, and the Like links in the posts (or on the boards/topics) just don't show. However, the "Total likes: 0" part below the avatar does.
The theme I am using is called Concept, and it isn't the most compatible thing out there, but I've been able to make it work with every other mod I've ever tried.



Thanks so much for your help.

gorbi

2.0 beta is not installed through the package manager. His need to repack...

Rain Forest

Quote from: shayneb on October 14, 2014, 11:14:05 PM
I am using SMF 2.0.9 and the Like Posts version 1.6.1, and the Like links in the posts (or on the boards/topics) just don't show. However, the "Total likes: 0" part below the avatar does.
The theme I am using is called Concept, and it isn't the most compatible thing out there, but I've been able to make it work with every other mod I've ever tried.



Thanks so much for your help.

I think because you don't have profile.template.php in your custom theme and it will auto select the profile.template.php from the default theme. Display.template.php in your custom theme needs to be tweaked. Make sure you have edit all files for custom theme.. (theme/concept/display.template.php, index.template.php and messageindex.template.php)

shayneb

QuoteI think because you don't have profile.template.php in your custom theme and it will auto select the profile.template.php from the default theme. Display.template.php in your custom theme needs to be tweaked. Make sure you have edit all files for custom theme.. (theme/concept/display.template.php, index.template.php and messageindex.template.php)

The theme just doesn't come with display.template.php or messageindex.template.php (but it does have index.template.php). They're not in the zip of the theme itself.
Can I just copy the ones from the default theme into my custom theme (named Concept)?

Arantor

QuoteBecause that way they don't have to reply if they don't want to. This gives them a choice. Most of my members prefer the like button like we had before (only then it was a Thank You button). They have been begging me to try and get it put back on.

Likes are great for indicating interest in a post without replying, sure, but making someone *like a post* just to be able to *see* it pretty much defeats the value in having it as a metric for anything.

gorbi

Has anyone tried the 2.0 version?

Steve

I'll wait till the final release before trying 2.0 ... :)
DO NOT pm me for support!

Joker™

Quote from: shayneb on October 14, 2014, 11:14:05 PM
I am using SMF 2.0.9 and the Like Posts version 1.6.1, and the Like links in the posts (or on the boards/topics) just don't show. However, the "Total likes: 0" part below the avatar does.
The theme I am using is called Concept, and it isn't the most compatible thing out there, but I've been able to make it work with every other mod I've ever tried.



Thanks so much for your help.
Check if the board is selected from 'Like Posts' admin panel board settings.
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™

Its friday ;D. Will be trying to complete 2.0 by this weekend only :)
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

barnaby jonez

Nice job Joker. Keeping an eye on 2.0, fingers crossed for success

Joker™

Version 2.0, released

- PHP files converted to OOP, easy code management and readability
- JS file converted to singleton and compressed, in layman words, its more efficient and fast
- All inline css removed from JS and templates
- Likes text based on number of likes, reference url
- Handling for likes data when post is deleted/merged/move, reference url
- Like posts permission based on post count group, reference url
- New permission in admin panel to disbale like stats completely
- Permission to disbale notification for eveyone or based on user group
- In admin panel, new feature to optimize like tabel and remove likes from delete topic
- Some hidden/fun JS features added in admin panel
- Permissions fixes through out the codebase
- Tons of fixes
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

Elizabeth II

Is there an option to recount likes? as when that bug was present were you could like a single post more than once, some members have silly amounts of likes from 1 post.

Joker™

Quote from: Britannia360 on October 17, 2014, 02:44:35 PM
Is there an option to recount likes? as when that bug was present were you could like a single post more than once, some members have silly amounts of likes from 1 post.
Yup option it still there.

QuoteRecount Like Stats
- To remove the deleted messages from likes count and stats
- To recount the total likes user has received so far. One should run this once a month at least.

Edit - I think what you are asking for requires a completely separate functionality
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

ryan_dwight

Great update Joker.

a little stuff due to my laziness is the permission which doesn't have a check all but nevertheless it was a great work. Thank you

Elizabeth II

Well I completely uninstalled the last version and db tables and reinstalled with the new version. I noticed that if you like a post, the Total Likes :- of that person stays 0.


gorbi

I installed the 2.0 mod, he began to swear at Theme, although Theme I have a standard. Went back to 1.6.1, he began to work with bugs (

gorbi

Unknown column 'lp.id_board' in 'where clause'
file: /var/www/gnewsR/g-news.com.ua/forum_smf/Sources/Subs-LikePosts.php
line: 172

Advertisement: