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: Steelio on June 30, 2014, 04:52:32 AM
very cool mod Joker! :) (cool username too lol!)
Lol thanks :laugh:


Quote from: Steelio on June 30, 2014, 04:52:32 AM
i was wondering when you're going to release the latest version of this? i was thinking of installing this new feature on my next forum maintenance task
Well not before weekend, as these days I'm able to work on SMF things only on weekend. So by looking at the amount of work left, maximum it can be released within 2 weeks.


Quote from: Steelio on June 30, 2014, 04:52:32 AM
also, is the design of the "Like button" still look like your screenshots here? ( Like in Post Like in Forum ) if they are, is there a way to tweak this? my current forum theme is green and i was wondering if theres a way to change how it looks
Well its just CSS thing, I'll be pointing out the code with the next release, as many users has asked for the same.
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

bassbass

thanks for your response Joker.  now I have another issue, se attached pic, I click on the link "Show Likes notification", window pops up but I can't closed no matter what I do unless I refresh the page.  I use IE with or without compatibility mode and still does the same thing.  not sure if its a glitch or not, but it would be good to be able to close the window either by clicking anywhere on the form page or an X button.  thanks!

Joker™

Quote from: bassbass on June 30, 2014, 12:03:11 PM
thanks for your response Joker.  now I have another issue, se attached pic, I click on the link "Show Likes notification", window pops up but I can't closed no matter what I do unless I refresh the page.  I use IE with or without compatibility mode and still does the same thing.  not sure if its a glitch or not, but it would be good to be able to close the window either by clicking anywhere on the form page or an X button.  thanks!
Well personally I hate IE most, but as the issue is small I can try to fix it.

In the mean time can you try pressing the 'esc' (escape)  button, as it also closes the popup. Moreover, which version of IE are you 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

Joker™

Yupieee, released a newer version which gives access to like stats. How you guyz, girls will like it ;)

bassbass, add a button as well in notification header to close it & you can change the following code in css for button

Themes/theme_you_are_using/css/LikePosts.css
.like_unlike_link {
background: #C44E19;
padding: 1px 5px;
color: #fff !important;
position: relative;
}


Have a nice weekend everyone 8)
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

sneakers

Hello,
I have problem with the mod. After installing mod, doesn't show like button in posts. I use Skm night theme. On the default theme is ok.

Thanks ;)

Steelio

Quote from: Joker™ on July 05, 2014, 03:47:38 PM
Yupieee, released a newer version which gives access to like stats. How you guyz, girls will like it ;)

bassbass, add a button as well in notification header to close it & you can change the following code in css for button

Themes/theme_you_are_using/css/LikePosts.css
.like_unlike_link {
background: #C44E19;
padding: 1px 5px;
color: #fff !important;
position: relative;
}


Have a nice weekend everyone 8)

oh yay! new update :D

is that the code you mentioned that can change the color of the Like button?

MechSpecs

#326
Only bugs I have come across so far is that it won't display member avatars if they are selected from pre-set ones on the server...



User Uploaded avatars display correctly though.

Google Chrome won't allow me to check who liked a specific post "2 users like this post" and when I click? Nothing happens.

Never mind. Chrome works? Weird, musta been a hiccup.

Also, is there a way to move the LIKE STATS button so that it is not the last one in the list? I prefer DONATIONS being in that place.

I looked in Subs.php but couldn't find it having been added to the menu option so it must be somewhere else?

Steelio

hi Joker, so i'm trying to install your mod now, but im getting this error message instead:

"You cannot download or install new packages because the Packages directory or one of the files in it are not writable" i went into fuller detail on this here http://www.simplemachines.org/community/index.php?topic=525033.0

i was wondering if theres a way to install this without needing to FTP anything to the server? is there something i should tweak before uploading the mod? would really appreciate your help on this  :-\

MechSpecs

I'm also getting this error


http://www.shipspecs.com/forum/index.php?action=likepostsstats
Apply Filter: Only show the errors with the same message
2: strpos() [<a href='function.strpos'>function.strpos</a>]: Offset not contained in string
Apply Filter: Only show the errors from this file
File: /home/shipspecs/www/www/forum/Sources/Subs-LikePosts.php
Line: 777


Not sure if that is related to the new version of 2.0.8 or not.

ryan_dwight

Quote from: Joker™ on July 05, 2014, 03:47:38 PM
Yupieee, released a newer version which gives access to like stats. How you guyz, girls will like it ;)

bassbass, add a button as well in notification header to close it & you can change the following code in css for button

Themes/theme_you_are_using/css/LikePosts.css
.like_unlike_link {
background: #C44E19;
padding: 1px 5px;
color: #fff !important;
position: relative;
}


Have a nice weekend everyone 8)
thanks for the update but my like stats is empty, I tried using the default smf theme but its the same.

Joker™

#330
Quote from: sneakers on July 07, 2014, 04:33:43 PM
Hello,
I have problem with the mod. After installing mod, doesn't show like button in posts. I use Skm night theme. On the default theme is ok.

Thanks ;)
Make sure while installing the mod Skm night theme is also selected.


Quote from: Steelio on July 08, 2014, 12:40:21 AM
Quote from: Joker™ on July 05, 2014, 03:47:38 PM
Yupieee, released a newer version which gives access to like stats. How you guyz, girls will like it ;)

bassbass, add a button as well in notification header to close it & you can change the following code in css for button

Themes/theme_you_are_using/css/LikePosts.css
.like_unlike_link {
background: #C44E19;
padding: 1px 5px;
color: #fff !important;
position: relative;
}


Have a nice weekend everyone 8)

oh yay! new update :D

is that the code you mentioned that can change the color of the Like button?
Yup, that is the code to change the like button appearance.



Quote from: MechSpecs on July 08, 2014, 09:07:19 PM
Only bugs I have come across so far is that it won't display member avatars if they are selected from pre-set ones on the server...



User Uploaded avatars display correctly though.
Well, I'm unable to reproduce the error. Try some other browser as well.


Quote from: MechSpecs on July 08, 2014, 09:07:19 PM
Also, is there a way to move the LIKE STATS button so that it is not the last one in the list? I prefer DONATIONS being in that place.

I looked in Subs.php but couldn't find it having been added to the menu option so it must be somewhere else?
Well I usually try to make use of hooks and edit least number of SMF files. So you can play with the things over here

Code (Sources/LikePostsHooks.php) Select

while((list($key, $val) = each($menu_buttons)) && $key != 'logout')

In place of 'logout' try some other button value



Quote from: Steelio on July 11, 2014, 05:12:18 PM
hi Joker, so i'm trying to install your mod now, but im getting this error message instead:

"You cannot download or install new packages because the Packages directory or one of the files in it are not writable" i went into fuller detail on this here http://www.simplemachines.org/community/index.php?topic=525033.0

i was wondering if theres a way to install this without needing to FTP anything to the server? is there something i should tweak before uploading the mod? would really appreciate your help on this  :-\
Are you able to install any other mod?



Quote from: MechSpecs on July 11, 2014, 07:45:19 PM
I'm also getting this error


http://www.shipspecs.com/forum/index.php?action=likepostsstats
Apply Filter: Only show the errors with the same message
2: strpos() [<a href='function.strpos'>function.strpos</a>]: Offset not contained in string
Apply Filter: Only show the errors from this file
File: /home/shipspecs/www/www/forum/Sources/Subs-LikePosts.php
Line: 777


Not sure if that is related to the new version of 2.0.8 or not.
Yeyy, another bug. Wil be fixing it.



Quote from: ryan_dwight on July 12, 2014, 04:08:00 PM
Quote from: Joker™ on July 05, 2014, 03:47:38 PM
Yupieee, released a newer version which gives access to like stats. How you guyz, girls will like it ;)

bassbass, add a button as well in notification header to close it & you can change the following code in css for button

Themes/theme_you_are_using/css/LikePosts.css
.like_unlike_link {
background: #C44E19;
padding: 1px 5px;
color: #fff !important;
position: relative;
}


Have a nice weekend everyone 8)
thanks for the update but my like stats is empty, I tried using the default smf theme but its the same.
Are there any likes made so far on your forum?
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

Before I click the stat I liked two threads but I cant see that in the stat.

Joker™

Quote from: ryan_dwight on July 13, 2014, 05:48:22 AM
Before I click the stat I liked two threads but I cant see that in the stat.
What message does it exactly show. A screen shot can do wonders ;)
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

Black n black theme and the smf default theme.

I tried every category but I got the same(no stats appearing).

Joker™

Quote from: ryan_dwight on July 13, 2014, 06:07:55 AM
Black n black theme and the smf default theme.

I tried every category but I got the same(no stats appearing).
Link to the website
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: ryan_dwight on July 13, 2014, 06:07:55 AM
Black n black theme and the smf default theme.

I tried every category but I got the same(no stats appearing).
It looks like the CSS file related to the mod is not loaded.

I can see a lot of errors coming up due to 'NcodeImageResizer'. Try to disable the related mod and see if the issue persist.
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

Quote from: Joker™ on July 13, 2014, 09:17:18 AM
Quote from: ryan_dwight on July 13, 2014, 06:07:55 AM
Black n black theme and the smf default theme.

I tried every category but I got the same(no stats appearing).
It looks like the CSS file related to the mod is not loaded.

I can see a lot of errors coming up due to 'NcodeImageResizer'. Try to disable the related mod and see if the issue persist.
I uninstalled the 'NcodeImageResizer' but i got the same results.

MechSpecs

Quote from: Joker™ on July 13, 2014, 05:42:20 AM

Quote from: MechSpecs on July 08, 2014, 09:07:19 PM
Only bugs I have come across so far is that it won't display member avatars if they are selected from pre-set ones on the server...



User Uploaded avatars display correctly though.
Well, I'm unable to reproduce the error. Try some other browser as well.

I've tried IE (latest), Chrome (latest) and Firefox (latest)

All three show the exact same way.

Perhaps there was some miscommunication in how I described the bug...

When a user uploads their Avatar this will display fine (the couple that are listed below that show up) however when you try and select an Avatar from the preconfigured ones on the server (you know; where you upload and allow users to select from a bunch that you choose as options?) those are the ones that won't show.

BubbaCat

This looks like an awesome mod. Great work, Joker. I have a question on converting to your Like Posts. I am currently running smf v 2.0.8 with the GPBP (good post bad post) v2.0.4 mod and have had this mod for over a year. We love that your Like Posts can be used with tapatalk and it is slicker than GPBP.

My question is, can we install Like Posts and somehow retain all the up votes or members have already accumulated?  We only use the up vote feature of that helps, so we would only care about retaining that number, if we lose the link between the up vote and the thread, it doesn't matter to us.

Thanks very much in advance.

MarkJ

Brilliant mod but I'm having trouble with the 'Show like button on board index'.  It seems to have a mind of it's own.  It appears to only be displaying likes for today and if there are not enough of them it fails to show at all when clicked upon.

Advertisement: