[ABD] phpBB Topic/Post Reactions, Thanks, Like

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.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26508
Joined: Fri Aug 29, 2008 9:49 am

Re: [3.3][DEV] phpBB Topic/Post Reactions, Thanks, Likeg any further

Post by Mick »

one.com always used to generate error logs and it would be unusual if they didn’t. The error appears to be a PHP issue so the best thing to do in my opinion is to ask the host, explain to them as you have done here. There’s not much point going round in circles until you know what the error is unless, of course, someone else has prior knowledge of the specific issue?

Edit: I notice one.com are removing support for PHP 7.4, have they recently moved you to PHP 8+ by any chance? I know this extension says it’s compatible with PHP 7.4 >= but you never know.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
rudi_br
Registered User
Posts: 99
Joined: Sun Dec 10, 2017 5:48 pm
Name: Rudi Bjørn Rasmussen
Contact:

Re: [3.3][DEV] phpBB Topic/Post Reactions, Thanks, Like

Post by rudi_br »

ok - I'll try asking one.com.

You will be updated here.
/Rudi Bjørn Rasmussen
rudi_br
Registered User
Posts: 99
Joined: Sun Dec 10, 2017 5:48 pm
Name: Rudi Bjørn Rasmussen
Contact:

Re: [3.3][DEV] phpBB Topic/Post Reactions, Thanks, Like

Post by rudi_br »

Unfortunately one.com can not help me. That say they do not have such php log files.
/Rudi Bjørn Rasmussen
Aaron89
Registered User
Posts: 33
Joined: Sat Mar 12, 2022 11:12 pm

Re: [3.3][DEV] phpBB Topic/Post Reactions, Thanks, Like

Post by Aaron89 »

I installed, and enabled the reactions, but nothing shows up on the posts for people to click to react to the post....am I missing something here? Thanks!!!
User avatar
warmweer
Jr. Extension Validator
Posts: 11234
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: [3.3][DEV] phpBB Topic/Post Reactions, Thanks, Like

Post by warmweer »

Aaron89 wrote: Mon Oct 10, 2022 2:30 pm I installed, and enabled the reactions, but nothing shows up on the posts for people to click to react to the post....am I missing something here? Thanks!!!
Did you set permissions?
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.
Aaron89
Registered User
Posts: 33
Joined: Sat Mar 12, 2022 11:12 pm

Re: [3.3][DEV] phpBB Topic/Post Reactions, Thanks, Like

Post by Aaron89 »

Haha nope, but they work now that I did. 😃🤦‍♂️
User avatar
Gumboots
Registered User
Posts: 692
Joined: Fri Oct 11, 2019 1:59 am

Re: [3.3][DEV] phpBB Topic/Post Reactions, Thanks, Like

Post by Gumboots »

Great extension, and seems to work very well. However, I noticed that it seems to produce invalid markup in the reactions drop menu. I'm not sure if this is a known issue, but it's probably a very simple fix (I have not looked inside the relevant code yet).

The markup I get in my document inspector looks like this:

Code: Select all

<li class="reaction-button-show" data-skip-responsive="true">
	<div class="dropdown-container dropdown-button-control dropdown-left dropdown-down visible dropdown-visible" id="tpr-dropdown">
		<span title="React to post" class="button button-secondary dropdown-trigger dropdown-toggle">
			<i class="icon fa-smile-o icon-green"></i><i class="icon fa-sort-down fa-fw" aria-hidden="true"></i>
		</span>
		<div class="dropdown" style="width: 100px; display: block; margin-left: -1639.5px;">
			<div class="pointer"><div class="pointer-inner"></div></div>
			<ul class="dropdown-contents contact-icons dropdown-nonscroll" id="ltpr-13903" style="margin-left: 0px; left: 0px; margin-right: 0px; max-width: 2233px;">
				<li>
					<a href="/tikal/app.php/add_reaction/13903/4" class="add-reaction-input" data-add-reaction="true">
						<img src="./ext/steve/postreactions/images/emoji/red-heart_2764-fe0f.png" style="height: 18px;width: 18px;" alt="Love" title="Love">
					</a>
				</li>
					<a href="/tikal/app.php/add_reaction/13903/1" class="add-reaction-input" data-add-reaction="true">
						<img src="./ext/steve/postreactions/images/emoji/1f44d.png" style="height: 18px;width: 18px;" alt="Like" title="Like">
					</a>
					<a href="/tikal/app.php/add_reaction/13903/5" class="add-reaction-input" data-add-reaction="true">
						<img src="./ext/steve/postreactions/images/emoji/1f602.png" style="height: 18px;width: 18px;" alt="Funny" title="Funny">
					</a>
					<a href="/tikal/app.php/add_reaction/13903/2" class="add-reaction-input" data-add-reaction="true">
						<img src="./ext/steve/postreactions/images/emoji/1f44e.png" style="height: 18px;width: 18px;" alt="Dislike" title="Dislike">
					</a>
					<a href="/tikal/app.php/add_reaction/13903/10" class="add-reaction-input" data-add-reaction="true">
						<img src="./ext/steve/postreactions/images/emoji/1f621.png" style="height: 18px;width: 18px;" alt="Mad" title="Mad">
					</a>
			</ul>
			<div class="dropdown-contents dropdown-nonscroll" style="margin-left: 0px; left: 0px; margin-right: 0px; max-width: 2233px;">
				<ul class="dropdown-contents contact-icons dropdown-nonscroll" style="margin-left: 0px; left: 0px; margin-right: 0px; max-width: 2233px;">
					<li id="delete-button13903" style="display: none;">
						<a id="delete-reaction13903" href="" class="delete-reaction-input" data-delete-reaction="true" title="Delete Reaction">
							<i class="icon fa-times icon-red"></i>
						</a>
					</li>
				</ul>
			</div>
		</div>
	</div>
</li>
IOW, it's missing li tags in ul#ltpr-13903, for all reaction options apart from the first one (which gets the li tag as it should).
🇺🇦 Слава Україні! 🇺🇦 Героям слава! 🇺🇦
Vazze
Registered User
Posts: 11
Joined: Mon Mar 12, 2012 8:47 pm

Re: [3.3][DEV] phpBB Topic/Post Reactions, Thanks, Like

Post by Vazze »

Hi,
i have a board with + 1.5 million posts, when trying to enable this plugin it went like 10 minutes before it returned a error 500.
The database query still rolled though and all posts have a new column named posts_reaction
Today the plugin is NOT enabled, and when i try to enable it i throws:

Code: Select all

General Error
SQL ERROR [ mysqli ]

Duplicate entry 'steve/postreactions' for key 'ext_name' [1062]

SQL

INSERT INTO phpbb_ext (ext_name, ext_active, ext_state) VALUES ('steve/postreactions', 0, 's:12:\"notification\";')

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 1023
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 202
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 345
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/phpbb/extension/manager.php
LINE: 179
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/phpbb/extension/manager.php
LINE: 241
CALL: phpbb\extension\manager->update_state()

FILE: [ROOT]/includes/acp/acp_extensions.php
LINE: 209
CALL: phpbb\extension\manager->enable_step()

FILE: [ROOT]/includes/functions_module.php
LINE: 676
CALL: acp_extensions->main()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
Thanks in advance.
Last edited by Mick on Fri Oct 14, 2022 8:59 am, edited 1 time in total.
Reason: [c] replaced with [code] for clarity.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26508
Joined: Fri Aug 29, 2008 9:49 am

Re: [3.3][DEV] phpBB Topic/Post Reactions, Thanks, Like

Post by Mick »

@Vazze: Please use the supplied [code] tags when posting long error messages and code for clarity.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
n4n
Registered User
Posts: 2
Joined: Mon Dec 21, 2020 2:18 pm

Re: [3.3][DEV] phpBB Topic/Post Reactions, Thanks, Like

Post by n4n »

I installed the extension on latest version, after activated completely lost GUI access to forum (can pm link) just white page. Any way to delete extension (by modifying code in php via ftp)?
User avatar
warmweer
Jr. Extension Validator
Posts: 11234
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: [3.3][DEV] phpBB Topic/Post Reactions, Thanks, Like

Post by warmweer »

n4n wrote: Tue Nov 01, 2022 1:49 pm I installed the extension on latest version, after activated completely lost GUI access to forum (can pm link) just white page. Any way to delete extension (by modifying code in php via ftp)?
I just tested this (v 0.9.0-dev) on 2 testing boards and encountered no problems. (except for the configuration settings which aren't very intuitive).
What I did notice is that enabling the extension takes some time (more than many other larger extensions).

Did you see the message that the extension was enabled successfully ?

First thing to do is to delete /installer and /production from yourboardroot/cache.
If that doesn't help: Check the ext_table (phpMyAdmin) field: ext_active and set that to 0 (if it's set to 1). You should then be able to delete data for the extension (ACP tab EXTENSIONS)

If that doesn't work you could try Disabling all extensions at once.
And if that still doesn't solve it: just restore the database backup you (should have) made before installing the extension.
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.
rudi_br
Registered User
Posts: 99
Joined: Sun Dec 10, 2017 5:48 pm
Name: Rudi Bjørn Rasmussen
Contact:

Re: [3.3][DEV] phpBB Topic/Post Reactions, Thanks, Like

Post by rudi_br »

My Topic/Post Reactions extension has been diabled for a while now (see my posts above: viewtopic.php?p=15887656#p15887656), but my forum members are missing it.
So I tried the following

1) Delete all extension data (old reactions lost)
2) Activate the extension

This time, the few users that were met with Http error 500 had no issues any more, I was very happy first. But only until I found out, that the forum no longer could show attached images !!!! And since my forum is very much about images, this was not acceptable.
So now the extension is disabled again - sigh......


I tried resetting the cache from ACP but that didn't make any change.

Any ideas???
/Rudi Bjørn Rasmussen
scheccia
Registered User
Posts: 94
Joined: Fri Feb 10, 2017 8:16 am

Re: [3.3][DEV] phpBB Topic/Post Reactions, Thanks, Like

Post by scheccia »

in big forum, installation go in error or timeout... it's possible to have sql command?
rudi_br
Registered User
Posts: 99
Joined: Sun Dec 10, 2017 5:48 pm
Name: Rudi Bjørn Rasmussen
Contact:

Re: [3.3][DEV] phpBB Topic/Post Reactions, Thanks, Like

Post by rudi_br »

Thanks for the suggestion. But I have found another solution that suits my needs: https://www.phpbb.com/customise/db/exte ... r_posts_2/
/Rudi Bjørn Rasmussen
User avatar
GTI
Registered User
Posts: 300
Joined: Mon Aug 24, 2020 4:59 pm
Location: West Sussex
Name: Laura

Re: [3.3][DEV] phpBB Topic/Post Reactions, Thanks, Like

Post by GTI »

rudi_br wrote: Sun Nov 06, 2022 10:29 am Thanks for the suggestion. But I have found another solution that suits my needs: https://www.phpbb.com/customise/db/exte ... r_posts_2/
Nice find!
RXU is on the extensions dev team so I will give it a try.
Most of us will enjoy Christmas in the comfort of our own homes this year, however, sadly, that can't be said for people in the Ukraine who are suffering day after day, due to the Russian invasion.

If you would like to make a small donation to help Ukrainians in their time of need, you can donate to help all Ukrainians via BritishRedCross or you can donate to help the Ukrainian children via Unicef. 🇺🇦 Thank You 🇺🇦
Locked

Return to “Abandoned Extensions”