News:

SMF 2.0.19 has been released! Please update. Read more.

Main Menu

Like Posts

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

Previous topic - Next topic

gorbi

Quote from: shayneb on October 21, 2014, 10:32:32 AM
Ah, sorry for not including that: Likes Admin Page, yes (and as far as I can tell, every checkbox does what ti's supposed to), but Like Stats says: Unable to load the 'main' template.
+1

Joker™

It looks like the required files aren't uploaded/extract properly.

1. Download the mod from here
2. Extract it on your computer
3. Upload the files from source folder and theme folders manually and see if the error 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

shayneb

Quote from: Joker™ on October 21, 2014, 01:14:26 PM
It looks like the required files aren't uploaded/extract properly.

1. Download the mod from here
2. Extract it on your computer
3. Upload the files from source folder and theme folders manually and see if the error persist.

"Unable to load main template" error persists after replacing the files automatically added by the installer with ones extracted from the .zip on my computer. Like button still does nothing.

Joker™

Quote from: shayneb on October 21, 2014, 02:12:09 PM
Quote from: Joker™ on October 21, 2014, 01:14:26 PM
It looks like the required files aren't uploaded/extract properly.

1. Download the mod from here
2. Extract it on your computer
3. Upload the files from source folder and theme folders manually and see if the error persist.

"Unable to load main template" error persists after replacing the files automatically added by the installer with ones extracted from the .zip on my computer. Like button still does nothing.
Okzzz, instead of going round with the issue, can you set up a fresh forum with mod for me. I would be happy to look at it all, but will need ftp/admin account pm me if interested
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

Quote from: Joker™ on October 21, 2014, 02:24:02 PM
Quote from: shayneb on October 21, 2014, 02:12:09 PM
Quote from: Joker™ on October 21, 2014, 01:14:26 PM
It looks like the required files aren't uploaded/extract properly.

1. Download the mod from here
2. Extract it on your computer
3. Upload the files from source folder and theme folders manually and see if the error persist.

"Unable to load main template" error persists after replacing the files automatically added by the installer with ones extracted from the .zip on my computer. Like button still does nothing.
Okzzz, instead of going round with the issue, can you set up a fresh forum with mod for me. I would be happy to look at it all, but will need ftp/admin account pm me if interested

I already set up the fresh forum with the mod, per my previous post. I PMd you the details, including the username/pw of a test administrator account.

Joker™

Quote from: shayneb on October 20, 2014, 11:53:07 PM
PHP version 5.4.24.  I made a completely new forum with *nothing* changed but adding this mod, and the "Like" button still does nothing.On the completely fresh forum, I still have the two errors in my error log:
http://www.shaynebundy.com/dndftw/forum2/index.php?action=likeposts;sa=like_post
Unable to load the 'main' template.

and

http://www.shaynebundy.com/dndftw/forum2/index.php?action=likeposts;sa=like_post
2: call_user_func(LikePostsRouter::routeLikes) [<a href='function.call-user-func'>function.call-user-func</a>]: First argument is expected to be a valid callbackApply Filter: Only show the errors from this file File: /home7/shaynebu/public_html/dndftw/forum2/index.php
Line: 161
Thanks to shayneb for providing the admin account and ftp access. At last I was able to get hold of the issue and it'll be rolled out in next release with other bug fixes. In the mean time if someone else is also facing the similar issue, simple replace the attached file with the one in 'Sources/LikePosts/LikePostsRouter.php"
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

To everyone who is having issues with version 2.0:

Joker is working on it and is aware of some problems, including (but possibly not limited to):
Nothing happening when you click the Like button
"Like" not changing to "Unlike" after being clicked (if anything happened at all)
Board Like buttons reflecting the likes of single posts inside them
"Unable to load main template" issue in the Like Stats and error log
"First argument is expected to be a valid callback" in the error log

heisenberg3041

So we have too wait for a update. About the thing with the " Total Likes " under the Avatar ?

Steve

You don't HAVE to but if you're smart you will. ;) :D
Please do not PM me for support. 

gorbi

Maybe go smaller steps? 8)

Joker™

Updated the mod version2.0.1 with the following fixes

- Fix for total likes not appearing
- Fix for method accessing issue via action hook
- Fix for like button text not changing
- Added admin function to remove duplicate like entries from DB
- Fixes for upgrade cleaning out the mod 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

shayneb

Quote from: Joker™ on October 22, 2014, 03:34:12 AM
Updated the mod version2.0.1 with the following fixes

- Fix for total likes not appearing
- Fix for method accessing issue via action hook
- Fix for like button text not changing
- Added admin function to remove duplicate like entries from DB
- Fixes for upgrade cleaning out the mod settings

This appears to be working for me! Like button works, text changes correctly when pressed, animation is adorable, and no more errors in my error log!
Thank you so much for your dedication to this mod. For a small forum with a lot of "lazy" people (:D), being able to just press a button to show support is a wonderful thing.

Can I remove my test forum now, or do you need/want it for any further testing?

Joker™

Quote from: shayneb on October 22, 2014, 10:18:01 AM
This appears to be working for me! Like button works, text changes correctly when pressed, animation is adorable, and no more errors in my error log!
Thank you so much for your dedication to this mod. For a small forum with a lot of "lazy" people (:D), being able to just press a button to show support is a wonderful thing.

Can I remove my test forum now, or do you need/want it for any further testing?
Thanks for the nice words. Yup, you can remove the test forum and thanks for providing me the required resources for fixing the issue :).
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

gorbi

installation is not successful

Joker™

Quote from: gorbi on October 22, 2014, 11:45:31 AM
installation is not successful
In that case you can go ahead with the errors and make the remaining(error'd) edit manually by referring the required changes from here
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

gorbi

Where can I see working 2.0.1?

Beelzeboss

Quote from: Joker™ on October 22, 2014, 03:34:12 AM
Updated the mod version2.0.1 with the following fixes

- Fix for total likes not appearing
- Fix for method accessing issue via action hook
- Fix for like button text not changing
- Added admin function to remove duplicate like entries from DB
- Fixes for upgrade cleaning out the mod settings

Thanks for the update. :)

Now the only problem that I noticed is in "Recount members total likes". It can not be started. The other two ( "Check likes table/ Remove duplicate likes") start after a few seconds you click the button.

Joker™

Quote from: gorbi on October 22, 2014, 01:42:55 PM
Where can I see working 2.0.1?
Ummm, set up a test forum and install the mod :P

Quote from: Beelzeboss on October 22, 2014, 02:00:05 PM
Quote from: Joker™ on October 22, 2014, 03:34:12 AM
Updated the mod version2.0.1 with the following fixes

- Fix for total likes not appearing
- Fix for method accessing issue via action hook
- Fix for like button text not changing
- Added admin function to remove duplicate like entries from DB
- Fixes for upgrade cleaning out the mod settings

Thanks for the update. :)

Now the only problem that I noticed is in "Recount members total likes". It can not be started. The other two ( "Check likes table/ Remove duplicate likes") start after a few seconds you click the button.
Which browser 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

Beelzeboss

Quote from: Joker™ on October 23, 2014, 03:30:36 AM
Which browser are you using?

Firefox  32.x or 33.x and chrome 38.x. I have cleared the cache and repaired the database. The table like_post has ~55.000 entries.

power505

Hello, I would like to ask you two things:

1. Is it possible to somehow remove "Total likes" field from profile (under avatar)?
2. How can i realign LIKE button before "Report to moderator" line?

Advertisement: