Advertisement:

Author Topic: Like Posts  (Read 81987 times)

Offline gorbi

  • Semi-Newbie
  • *
  • Posts: 25
    • https://www.facebook.com/s.gorbachevsky on Facebook
    • @gorbachevsky on Twitter
Re: Like Posts
« Reply #520 on: Yesterday at 11:10:13 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

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,862
  • Gender: Male
    • siddhartha-gupta on GitHub
Re: Like Posts
« Reply #521 on: Yesterday at 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.
Github Profile
My Mods
How to enable Post Moderation
Paid Support
Elkarte


"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Offline shayneb

  • Semi-Newbie
  • *
  • Posts: 15
Re: Like Posts
« Reply #522 on: Yesterday at 02:12:09 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.

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,862
  • Gender: Male
    • siddhartha-gupta on GitHub
Re: Like Posts
« Reply #523 on: Yesterday at 02:24:02 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
My Mods
How to enable Post Moderation
Paid Support
Elkarte


"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Offline shayneb

  • Semi-Newbie
  • *
  • Posts: 15
Re: Like Posts
« Reply #524 on: Yesterday at 02:36:45 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.

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,862
  • Gender: Male
    • siddhartha-gupta on GitHub
Re: Like Posts
« Reply #525 on: Yesterday at 03:55:37 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
My Mods
How to enable Post Moderation
Paid Support
Elkarte


"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Offline shayneb

  • Semi-Newbie
  • *
  • Posts: 15
Re: Like Posts
« Reply #526 on: Yesterday at 03:58:27 PM »
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

Offline heisenberg3041

  • Semi-Newbie
  • *
  • Posts: 18
Re: Like Posts
« Reply #527 on: Yesterday at 05:06:08 PM »
So we have too wait for a update. About the thing with the " Total Likes " under the Avatar ?

Offline Steve

  • Full Member
  • ***
  • Posts: 557
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Like Posts
« Reply #528 on: Yesterday at 08:11:09 PM »
You don't HAVE to but if you're smart you will. ;) :D
October Is Breast Cancer Awareness Month
(click either ribbon to give free mammograms)

Offline gorbi

  • Semi-Newbie
  • *
  • Posts: 25
    • https://www.facebook.com/s.gorbachevsky on Facebook
    • @gorbachevsky on Twitter
Re: Like Posts
« Reply #529 on: Today at 12:57:18 AM »
Maybe go smaller steps? 8)

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,862
  • Gender: Male
    • siddhartha-gupta on GitHub
Re: Like Posts
« Reply #530 on: Today at 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
Github Profile
My Mods
How to enable Post Moderation
Paid Support
Elkarte


"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Offline shayneb

  • Semi-Newbie
  • *
  • Posts: 15
Re: Like Posts
« Reply #531 on: Today at 10:18:01 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?

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,862
  • Gender: Male
    • siddhartha-gupta on GitHub
Re: Like Posts
« Reply #532 on: Today at 10:42:38 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
My Mods
How to enable Post Moderation
Paid Support
Elkarte


"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Offline gorbi

  • Semi-Newbie
  • *
  • Posts: 25
    • https://www.facebook.com/s.gorbachevsky on Facebook
    • @gorbachevsky on Twitter
Re: Like Posts
« Reply #533 on: Today at 11:45:31 AM »
installation is not successful

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,862
  • Gender: Male
    • siddhartha-gupta on GitHub
Re: Like Posts
« Reply #534 on: Today at 12:16:49 PM »
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
My Mods
How to enable Post Moderation
Paid Support
Elkarte


"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Offline gorbi

  • Semi-Newbie
  • *
  • Posts: 25
    • https://www.facebook.com/s.gorbachevsky on Facebook
    • @gorbachevsky on Twitter
Re: Like Posts
« Reply #535 on: Today at 01:42:55 PM »
Where can I see working 2.0.1?

Offline Beelzeboss

  • Semi-Newbie
  • *
  • Posts: 15
Re: Like Posts
« Reply #536 on: Today at 02:00:05 PM »
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.