Page 58 of 75

Re: [DEV] Thanks for posts

Posted: Sat Mar 25, 2017 7:40 am
by deejko
Thank you & apologies.

I think a useful option would be to manually add thanks to a specific user. Especially if database (php_thanks table) gets lost when users update from 3.0/3.1 to 3.2.

Re: [DEV] Thanks for posts

Posted: Sat Mar 25, 2017 1:03 pm
by Hippie459MN
Happy to report that I updated my board from 3.1.10 to 3.2.0 last night and updated the extension to 3.0.2-dev and so far everything is working perfect here that I can see.

Thank you. :)

Re: [DEV] Thanks for posts

Posted: Sat Apr 01, 2017 1:18 pm
by androidcribs
Hippie459MN wrote:
Sat Mar 25, 2017 1:03 pm
Happy to report that I updated my board from 3.1.10 to 3.2.0 last night and updated the extension to 3.0.2-dev and so far everything is working perfect here that I can see.

Thank you. :)
How did you update? Just delete the file and upload the 3.2 thanks post extension? Or you need to delete all include data and yu have something to import in the database?

Re: [DEV] Thanks for posts

Posted: Sat Apr 01, 2017 2:57 pm
by androidcribs
Works fine for now but one thing notice image in thanks doesn't show.

Re: [DEV] Thanks for posts

Posted: Sat Apr 01, 2017 9:29 pm
by paulie
Extension up and running fine on my test forum, so many thanks.

One question though: The list of likes is shown at the bottom of the post, all good. However, if the liked post has a signature, then the liked list shows before the signature. How can I get the liked list to show after the signature please?

Many thanks.

Re: [DEV] Thanks for posts

Posted: Sat Apr 01, 2017 9:41 pm
by Hippie459MN
androidcribs wrote:
Sat Apr 01, 2017 1:18 pm
Hippie459MN wrote:
Sat Mar 25, 2017 1:03 pm
Happy to report that I updated my board from 3.1.10 to 3.2.0 last night and updated the extension to 3.0.2-dev and so far everything is working perfect here that I can see.

Thank you. :)
How did you update? Just delete the file and upload the 3.2 thanks post extension? Or you need to delete all include data and yu have something to import in the database?
I just disabled the extension (DO NOT DELETE DATA) in the ACP then via FTP, removed/deleted the extension files and uploaded the new ones in their place, then went back in my ACP and re-enabled the extension. Thats it.

If there is any DB changes, the extension will take care of that when you re-enable it. With the extension system now, you dont have to do anything with the DB anymore. The extensions handle it all.

Re: [DEV] Thanks for posts

Posted: Sun Apr 02, 2017 10:00 am
by rxu
paulie wrote:
Sat Apr 01, 2017 9:29 pm
How can I get the liked list to show after the signature please?
You can try this (not tested though): find /ext/gfksx/ThanksForPosts/styles/prosilver/template/event/viewtopic_body_postrow_post_notices_after.html, rename the file to viewtopic_body_postrow_post_content_footer.html, then purge the cache.

Re: [DEV] Thanks for posts

Posted: Mon Apr 03, 2017 5:26 pm
by androidcribs
Hippie459MN wrote:
Sat Apr 01, 2017 9:41 pm
androidcribs wrote:
Sat Apr 01, 2017 1:18 pm
Hippie459MN wrote:
Sat Mar 25, 2017 1:03 pm
Happy to report that I updated my board from 3.1.10 to 3.2.0 last night and updated the extension to 3.0.2-dev and so far everything is working perfect here that I can see.

Thank you. :)
How did you update? Just delete the file and upload the 3.2 thanks post extension? Or you need to delete all include data and yu have something to import in the database?
I just disabled the extension (DO NOT DELETE DATA) in the ACP then via FTP, removed/deleted the extension files and uploaded the new ones in their place, then went back in my ACP and re-enabled the extension. Thats it.

If there is any DB changes, the extension will take care of that when you re-enable it. With the extension system now, you dont have to do anything with the DB anymore. The extensions handle it all.
Thanks buddy my problem now can't show image in thanks and removed.
Image

Re: [DEV] Thanks for posts

Posted: Mon Apr 03, 2017 6:02 pm
by Galixte de EzCom
Copy the folder: ./ext/gfksx/ThanksForPosts/styles/prosilver/ with the name of your style, like this: ./ext/gfksx/ThanksForPosts/styles/yourstyle/, then purge the forum cache.

Re: [DEV] Thanks for posts

Posted: Mon Apr 03, 2017 8:25 pm
by johnnytype2
curious to find the .psd file? i cant find any folder contrib...

good extension

Re: [DEV] Thanks for posts

Posted: Mon Apr 03, 2017 9:24 pm
by Galixte de EzCom
This sentence comes from the MOD version, here: https://www.phpbb.com/customise/db/mod/ ... for_posts/. Inside the MOD archive there is a contrib folder with the PSD file. ;)

Re: [DEV] Thanks for posts

Posted: Mon Apr 10, 2017 8:37 pm
by paulie
rxu wrote:
Sun Apr 02, 2017 10:00 am
You can try this (not tested though): find /ext/gfksx/ThanksForPosts/styles/prosilver/template/event/viewtopic_body_postrow_post_notices_after.html, rename the file to viewtopic_body_postrow_post_content_footer.html, then purge the cache.
Worked a treat, thank you very much :)

Next question: How do I put a contrasting background colour to the visible list under the post of those that have given thanks?

Re: [DEV] Thanks for posts

Posted: Wed Apr 12, 2017 10:03 am
by odf
rxu wrote:
Thu Mar 09, 2017 5:19 pm
construaprende wrote:
Wed Mar 01, 2017 6:57 am
There is only a blank button
Works fine for me without any additional edits:
Image
I've installed Thanks for Posts extension on phpBB 3.1.9 using Prosilver theme, although it seems to work fine but the Thanks icon shows four images: Image, while I only need one with thumbs up. I tried to use a single image by making it point to ./ext/thanks_for_posts/styles/prosilver/theme/thanks.css but only to find that the image icon is duplicated four times!

What can I do exactly to only have one thumbs up icon?

NB: Who knows where to edit Thanks for Posts ext to make the list of users below the topic/post who thanked for a post viewable to guest users? Permission settings in Misc tab doesn't work.

Appreciating for your help.

Re: [DEV] Thanks for posts

Posted: Sun Apr 16, 2017 7:02 am
by niebrat
odf wrote:
Wed Apr 12, 2017 10:03 am
although it seems to work fine but the Thanks icon shows four images:
Do you have a ext/gfksx/ThanksForPosts/styles/prosilver/theme/thanks/css file? Or have you changed it? Because it looks like a simple style problem.


Allright I have a problem on my phpbb 3.2. Everytime when I click on "thanks" button I can see something like this
Catchable fatal error: Argument 1 passed to phpbb\notification\type\base::__construct() must implement interface phpbb\db\driver\driver_interface, instance of phpbb\user_loader given, called in /homepages/41/d339986667/htdocs/aleyoya/cache/production/container_4335734bbdd20f586549a504dff5f80c.php on line 2125 and defined in /homepages/41/d339986667/htdocs/aleyoya/phpbb/notification/type/base.php on line 87
But after refresh it seems to work fine...just hate that showing error.

Re: [DEV] Thanks for posts

Posted: Sun Apr 16, 2017 2:35 pm
by rxu
niebrat wrote:
Sun Apr 16, 2017 7:02 am
I have a problem on my phpbb 3.2
Are you using 3.2 version of the extension?