Suggestion: phpBB Topic/Post Reactions

Forum rules
You can post in this forum for support for extensions.

Topics are locked for extensions because I reserve the right to do so …
bennybernaer
Reactions: 9
Posts: 16
Joined: Fri Feb 04, 2022 8:53 pm

Suggestion: phpBB Topic/Post Reactions

Post by bennybernaer »

Steve wrote: Sun Mar 20, 2022 10:31 am So you have a link? I’ll be back home soon
https://www.ana4life.be

I pm me your login details
Steve
Site Admin
Reactions: 30
Posts: 97
Joined: Sun Jan 30, 2022 8:17 am

Suggestion: phpBB Topic/Post Reactions

Post by Steve »

Here you are, try..., as the extension needs me to get an API key I can't use it nor do I want too.

Open youtubegallery/styles/prosilver/theme/video.css
find and delete:

Code: Select all

a {
    display: inline;
}
The extension has no right to control all 'a' elements on a page....
bennybernaer
Reactions: 9
Posts: 16
Joined: Fri Feb 04, 2022 8:53 pm

Suggestion: phpBB Topic/Post Reactions

Post by bennybernaer »

Thanks Steve! Perfect!

One more little question in memberlist_view_content_append.html

Shouldn't it be?
<span class="badge tpr-font">{{ lang('REACTIONS_GIVEN') }} {{ REACTIONS }}</span>
Instead of:
<span class="badge tpr-font">{{ lang('REACTIONS') }} {{ REACTIONS }}</span>
1 Image
Steve
Site Admin
Reactions: 30
Posts: 97
Joined: Sun Jan 30, 2022 8:17 am

Suggestion: phpBB Topic/Post Reactions

Post by Steve »

Only if you want to use 'GIVEN'.
1 Image
bennybernaer
Reactions: 9
Posts: 16
Joined: Fri Feb 04, 2022 8:53 pm

Suggestion: phpBB Topic/Post Reactions

Post by bennybernaer »

I am very happy with the new version Steve! Everything works properly.

A small remark/suggestion: you can't delete reaction images via the acp?
If you do it via ftp, a broken image will remain visible in acp
Steve
Site Admin
Reactions: 30
Posts: 97
Joined: Sun Jan 30, 2022 8:17 am

Suggestion: phpBB Topic/Post Reactions

Post by Steve »

I removed deleting reactions until version 0.9.0. Just disable the reaction for now.
1 Image
bennybernaer
Reactions: 9
Posts: 16
Joined: Fri Feb 04, 2022 8:53 pm

Suggestion: phpBB Topic/Post Reactions

Post by bennybernaer »

Hi Steve! Thanks again for this wonderful update..

One more question: the image and username are stuck together. How can I insert a space here.

I've already searched the files, but I don't know which file.

Naamloos.png
You do not have the required permissions to view the files attached to this post.
Steve
Site Admin
Reactions: 30
Posts: 97
Joined: Sun Jan 30, 2022 8:17 am

Suggestion: phpBB Topic/Post Reactions

Post by Steve »

Open styles/prosilver/template/reactions_post_body.html

Find: (line: 49)

Code: Select all

			<div style="float: left;">
Replace with:

Code: Select all

			<div style="float: left;margin-right: 5px;">
Adjust margin-right, that suits you.

I've added a class now, so Will be added in version 0.9.5.
1 Image
bennybernaer
Reactions: 9
Posts: 16
Joined: Fri Feb 04, 2022 8:53 pm

Suggestion: phpBB Topic/Post Reactions

Post by bennybernaer »

In old topics I get the following error:

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/ext/steve/postreactions/event/viewtopic_listener.php on line 150: Undefined array key "user_reactions"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/steve/postreactions/event/viewtopic_listener.php on line 150: Undefined array key "user_reactions"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/steve/postreactions/event/viewtopic_listener.php on line 150: Undefined array key "user_reactions"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/steve/postreactions/event/viewtopic_listener.php on line 150: Undefined array key "user_reactions"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/steve/postreactions/event/viewtopic_listener.php on line 150: Undefined array key "user_reactions"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/steve/postreactions/event/viewtopic_listener.php on line 150: Undefined array key "user_reactions"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/steve/postreactions/event/viewtopic_listener.php on line 150: Undefined array key "user_reactions"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/steve/postreactions/event/viewtopic_listener.php on line 150: Undefined array key "user_reactions"
Steve
Site Admin
Reactions: 30
Posts: 97
Joined: Sun Jan 30, 2022 8:17 am

Suggestion: phpBB Topic/Post Reactions

Post by Steve »

I’ll fix that in the Morning, althought I can’t reproduce it.
1 Image