[ABD] Topic/Post Reactions(like, happy, thanks, angry)

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
Geepers
Registered User
Posts: 215
Joined: Fri Apr 04, 2014 7:44 am
Location: Tasmania - Australia
Name: Glenn
Contact:

Re: [3.2][3.3][RC] Topic/Post Reactions(like, happy, thanks, angry)

Post by Geepers »

FCAC wrote: Mon Apr 20, 2020 12:51 am What did you do please?
This is what I was told to do, fixed my issue:

1. Go to ext/EXTENSION_AUTHOR/EXTENSION_NAME/styles/ (if you’ve already installed the extension) or to EXTENSION_AUTHOR/EXTENSION_NAME/styles/ (if you want to change the extension before installation)

2. Find the “prosilver” directory, duplicate it and rename the duplicate into your theme name variation. E.g if you using Quarto Asphalt, rename it to “quarto_asphalt” etc.

3. And don’t forget to purge the system cache after creating a duplicate if you do it directly on the server (via ACP — General tab — Purge the cache — Right now).
User avatar
FCAC
Registered User
Posts: 39
Joined: Fri Apr 03, 2020 10:41 pm

Re: [3.2][3.3][RC] Topic/Post Reactions(like, happy, thanks, angry)

Post by FCAC »

Thank you so much :D

Code: Select all

  :shock:  
User avatar
imkingdavid
Former Team Member
Posts: 2673
Joined: Sun Jul 26, 2009 7:59 pm
Location: EST
Name: David King

Re: [3.2][3.3][RC] Topic/Post Reactions(like, happy, thanks, angry)

Post by imkingdavid »

Holger wrote: Tue Apr 21, 2020 5:54 pm Hi, I am using the ext gfksx/thanksforposts
I would love to switch to Reactions. But I dont want to loose the thanks. A migrator/converter would be great! :oops:
For anyone who wants to migrate from the "gfksx/thanksforposts" extension, as of version 3.2.15, to version 0.6.0-dev of this extension, the following worked for me. Your mileage may vary. I recommend trying this on a local dev copy of your forum to make sure it worked before you do it on your live database. I will take no responsibility if your board gets messed up after following these steps. Proceed at your own risk.

The following query worked for me to convert all "thanks" from Thanks for Posts to the default "Like" reaction type added by this extension. If you know how, you can modify the query so that it converts all thanks to a different reaction type; otherwise, just leave it as is. (Note: It ran virtually instantly for about 19k 'thanks', but depending on the size of your board and how many thanks there are, it may take longer.)

Code: Select all

INSERT INTO phpbb_reactions (
reaction_user_id, poster_id,
post_id, topic_id,
reaction_type_id, reaction_file_name,
reaction_type_title, reaction_time
)
SELECT user_id, poster_id, post_id, topic_id, 1, '1f44d.png', 'Like', thanks_time FROM phpbb_thanks;
After running that, you will also need to resync the reactions for all posts. Out of the box the extension lets you resync the reactions per post if that post already has a reaction on it, but I didn't see a way to do that for all posts en-mass. So I added a console command that borrows code from the resync_reactions controller that does this for me.

I've attached the console command file here, and you will need to upload it to ext/steve/postreactions/command/resync.php.

[The extension php has been deactivated and can no longer be displayed.]

You will also need to add the following service to the ext/steve/postreactions/config/services.yml file and then clear the cache using the phpBB CLI:

Code: Select all

    console.command.steve.postreactions.resync:
        class: steve\postreactions\command\resync
        arguments:
            - '@user'
            - '@dbal.conn'
            - '%steve.postreactions.tables.reactions_table%'
        tags:
            - { name: console.command }
You can run the command using the phpBB CLI took as follows, from your board root:
php bin/phpbbcli.php cache:purge
php bin/phpbbcli.php reactions:resync-all

This command's runtime was almost exactly 1 minute per 1000 posts. I had roughly 6300 posts that had reactions, so it took roughly 6 and a half minutes. Your mileage may vary.

You should probably either put your board in maintenance mode while running this, or disable the Thanks for Posts extension before doing so, so that your users don't add new thanks after the fact that get lost. Do not delete the data for the Thanks for Posts extension until the above SQL query is run, or you will lose all thanks. So only disable that extension until after you finish all of this.
Don't forget to smile today. :)
Please do NOT contact for support via PM or email.
Holger
Registered User
Posts: 1883
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [3.2][3.3][RC] Topic/Post Reactions(like, happy, thanks, angry)

Post by Holger »

Thank you David! :)
User avatar
eunaumtenhoid
Registered User
Posts: 1007
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.2][3.3][RC] Topic/Post Reactions(like, happy, thanks, angry)

Post by eunaumtenhoid »

This is a very good extension, congratulations!
could some of these details be added?

in the profile show separate reactions received and sent:
in top send
in bot recebidas
Image

in the posts could show a little differently:
a slightly larger icon determining the reaction you gave and the smaller ones with the numbers as already and currently and just below my name and some who reacted with a similar phrase >> You, nick, nick2 and 4 others reacted to this
Image

and finally in the pop up each tab could be displayed on a tab showing a reaction showing the users who made that reaction and a tab showing the post's reaction total
Image

in configurations is it possible to select a reaction as positive or negative in the face of statistics to find out if the user had more positive or negative reactions?

no more, TY dude!
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes
BF79
Registered User
Posts: 499
Joined: Fri Feb 13, 2015 1:28 pm
Name: Fouad B

Re: [3.2][3.3][RC] Topic/Post Reactions(like, happy, thanks, angry)

Post by BF79 »

how possible to edit the number the red one is more dominant than the reaction..
I want to remove the red color by transparent or grey gradient and size
nnbb.jpg
nnbb.jpg (3.96 KiB) Viewed 3880 times
thanks
User avatar
eunaumtenhoid
Registered User
Posts: 1007
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.2][3.3][RC] Topic/Post Reactions(like, happy, thanks, angry)

Post by eunaumtenhoid »

could have option in the ACP settings to disable the reaction in the first post of the topic
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes
TexTHKM
Registered User
Posts: 61
Joined: Sun Sep 28, 2008 3:31 pm

Re: [3.2][3.3][RC] Topic/Post Reactions(like, happy, thanks, angry)

Post by TexTHKM »

eunaumtenhoid wrote: Tue Apr 28, 2020 3:13 pm This is a very good extension, congratulations!
could some of these details be added?

in the profile show separate reactions received and sent:
in top send
in bot recebidas
Image

in the posts could show a little differently:
a slightly larger icon determining the reaction you gave and the smaller ones with the numbers as already and currently and just below my name and some who reacted with a similar phrase >> You, nick, nick2 and 4 others reacted to this
Image

and finally in the pop up each tab could be displayed on a tab showing a reaction showing the users who made that reaction and a tab showing the post's reaction total
Image

in configurations is it possible to select a reaction as positive or negative in the face of statistics to find out if the user had more positive or negative reactions?

no more, TY dude!
Agreed, these suggestions would really elevate it to the next level. :!:
TexTHKM
Registered User
Posts: 61
Joined: Sun Sep 28, 2008 3:31 pm

Re: [3.2][3.3][RC] Topic/Post Reactions(like, happy, thanks, angry)

Post by TexTHKM »

Hopefully Steve saw the excellent suggestions from eunaumtenhoid ;)

Hope everything is going ok with you Steve, this is a fantastic extension already! :D
User avatar
eunaumtenhoid
Registered User
Posts: 1007
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.2][3.3][RC] Topic/Post Reactions(like, happy, thanks, angry)

Post by eunaumtenhoid »

i too :lol:

I have facebook images in animated gif you want to add to your package steve?
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes
alamere
Registered User
Posts: 4
Joined: Wed May 13, 2020 11:48 pm
Contact:

Re: [3.2][3.3][RC] Topic/Post Reactions(like, happy, thanks, angry)

Post by alamere »

Hey Steve,

Thanks for this extension.
This is the first "Likes" type extension that I've installed that I thought worked really well on my board.
(Using ProSilver with the Milk Theme)

I have a tiny msg board and the #1 request has been some sort of 'likes' or 'reaction' button.

I'll send a donation asap. thanks again!
User avatar
Steve
Registered User
Posts: 1480
Joined: Tue Apr 07, 2009 7:48 pm
Name: Steven Clark
Contact:

Re: [3.2][3.3][RC] Topic/Post Reactions(like, happy, thanks, angry)

Post by Steve »

Please bare with me....
@ The Chief Medical Officers guideline for men is that: You are safest not to drink regularly more than 14 units per week.
- I drank that today++ :lol: 🍺
User avatar
warmweer
Jr. Extension Validator
Posts: 11234
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: [3.2][3.3][RC] Topic/Post Reactions(like, happy, thanks, angry)

Post by warmweer »

Steve wrote: Thu May 21, 2020 10:34 am Please bare with me....
I hope that's a typo in which case it should be : Please bear with me.
If it's not a typo ... euh .. No, I'll pass on that ;)
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
odf
Registered User
Posts: 171
Joined: Sun Jan 22, 2017 8:55 pm

Re: [3.2][3.3][RC] Topic/Post Reactions(like, happy, thanks, angry)

Post by odf »

Where can I find the recent copy of this extension?
kobasamsu
Registered User
Posts: 4
Joined: Sat May 09, 2020 9:08 am

Re: [3.2][3.3][RC] Topic/Post Reactions(like, happy, thanks, angry)

Post by kobasamsu »

download link (https://www.phpbb-extensions.com/forum/ ... hp?f=2&t=2) dead... please upload it live link
Locked

Return to “Abandoned Extensions”