[3.2][3.3][RC] Thanks for posts (and optional Tapatalk integration)

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
Naguissa
Registered User
Posts: 502
Joined: Thu Mar 02, 2017 6:55 am
Location: Barcelona
Name: Naguissa

Re: [3.2][3.3][RC] Thanks for posts (and optional Tapatalk integration)

Post by Naguissa »

-CoS- wrote: Tue Nov 08, 2022 2:52 pm Awesome, I'll try it. As we don't have the button here, just a standard thanks! :D

Edit: Just a question. Should I upload it to the same folder where the old mod was (gfksx) or to a new one with your name (naguissa)?
No, no! From 4.x.x versions its place is (phpbb_root/ext/)naguissa/thanksforposts

That's why it has posted instructions, in that specific order and the warning (phpbb warning noted on the instructions) that appears in the middle of the process.
User avatar
halil16
Registered User
Posts: 1448
Joined: Fri Jul 24, 2020 11:30 pm
Location: Turkiye
Name: Halil

Re: [3.2][3.3][RC] Thanks for posts (and optional Tapatalk integration)

Post by halil16 »

Let's say I want a like feature in comments on a site other than phpBB, for example WordPress. Both phpBB and WordPress users are integrated. If logged in users like that comment, can it be used later in the phpBB database?

I don't know how to do it though. Just idea.

On the WP side, a heart icon below the comment and the number of likes next to it.

If these are saved in a database, but only logged in, can they be used for phpBB later on?
Buy me a coffee ☕
Hire me for your phpBB board. 🚩
Introducing Mobile Upgrade! *Make your phpBB board like an app! 📱
O BeldeThatTowns*for sale*$2250 🛒
"The day we'll need ideas more than possessions, we'll find the secret to true wealth." - Peyami Safa /peˈjɑːmi saˈfɑː/
User avatar
Naguissa
Registered User
Posts: 502
Joined: Thu Mar 02, 2017 6:55 am
Location: Barcelona
Name: Naguissa

Re: [3.2][3.3][RC] Thanks for posts (and optional Tapatalk integration)

Post by Naguissa »

You should adapt any extension to use WP data structures. As far as I know there's no extension doing so, currently.
Albibak
Registered User
Posts: 24
Joined: Wed Sep 02, 2020 6:56 pm

Re: [3.2][3.3][RC] Thanks for posts (and optional Tapatalk integration)

Post by Albibak »

Hello,

This mod is asked a lot on my community, but unfortunately my doesn't work on my board.

Here you can find the ACP screen, and forum group permission, but the icone is not showed.
Installed the version 4.0.3, as a fresh install
Thx_1.JPG
Thx_2.JPG
Any idea?

Thanks in advance
You do not have the required permissions to view the files attached to this post.
User avatar
Naguissa
Registered User
Posts: 502
Joined: Thu Mar 02, 2017 6:55 am
Location: Barcelona
Name: Naguissa

Re: [3.2][3.3][RC] Thanks for posts (and optional Tapatalk integration)

Post by Naguissa »

Albibak wrote: Fri Dec 23, 2022 7:04 am Hello,

This mod is asked a lot on my community, but unfortunately my doesn't work on my board.

Here you can find the ACP screen, and forum group permission, but the icone is not showed.
Installed the version 4.0.3, as a fresh install

Thx_1.JPG

Thx_2.JPG

Any idea?

Thanks in advance

Could you post a link to your forum?


Merci.
User avatar
Naguissa
Registered User
Posts: 502
Joined: Thu Mar 02, 2017 6:55 am
Location: Barcelona
Name: Naguissa

Re: [3.2][3.3][RC] Thanks for posts (and optional Tapatalk integration)

Post by Naguissa »

New 4.0.4 version. It fixes a warning on thankslist pages.


https://github.com/Naguissa/thanks_for_posts/releases
Albibak
Registered User
Posts: 24
Joined: Wed Sep 02, 2020 6:56 pm

Re: [3.2][3.3][RC] Thanks for posts (and optional Tapatalk integration)

Post by Albibak »

Naguissa wrote: Fri Dec 23, 2022 7:26 am
Albibak wrote: Fri Dec 23, 2022 7:04 am Hello,

This mod is asked a lot on my community, but unfortunately my doesn't work on my board.

Here you can find the ACP screen, and forum group permission, but the icone is not showed.
Installed the version 4.0.3, as a fresh install

Thx_1.JPG

Thx_2.JPG

Any idea?

Thanks in advance

Could you post a link to your forum?


Merci.
Por supuesto ;)

https://www.gamers-things.com/forum

Tengo la misma problema con el estilo prosilver
User avatar
Naguissa
Registered User
Posts: 502
Joined: Thu Mar 02, 2017 6:55 am
Location: Barcelona
Name: Naguissa

Re: [3.2][3.3][RC] Thanks for posts (and optional Tapatalk integration)

Post by Naguissa »

Albibak wrote: Fri Dec 23, 2022 1:27 pm
Naguissa wrote: Fri Dec 23, 2022 7:26 am


Could you post a link to your forum?


Merci.
Por supuesto ;)

https://www.gamers-things.com/forum

Tengo la misma problema con el estilo prosilver

It ssems to me a permission problem.

I've tried to force a thanks and it detects everything but it doen't let me do it.

Check on:

ACP --> Group permission in forums --> Choose Registered users as group and any public forum. On Advanced -> Others tab it should be checked.

It it's wrong you need to repeat for other forums and/or groups....



Also, I see you're using a "forum" folder.... I've faced a problem with routes when using that kind of configuration; you may have to disable AJAX option if, when buttons appear, they don't work.

AFAIK, it's a phpbb router problem and cannot be solved by extensions themselves. As I don't use 'pretty URLs' for non-AJAX calls, they continue working when this problem is faced.
Albibak
Registered User
Posts: 24
Joined: Wed Sep 02, 2020 6:56 pm

Re: [3.2][3.3][RC] Thanks for posts (and optional Tapatalk integration)

Post by Albibak »

Permission is set to yes, so it's not the issue.
Button is not displayed at all

I didn't catch your last sentence
Dieterlem
Registered User
Posts: 14
Joined: Wed Jun 08, 2016 1:43 pm

Re: [3.2][3.3][RC] Thanks for posts (and optional Tapatalk integration)

Post by Dieterlem »

Thanks for this great extension. The user really like it. The problem is that I had to deactivate two other extension that this one is working. Both are from DMZ and I use it for a long time. It´s the newsletter and the topic image extension. I get the following error message:

Code: Select all

Fehler: Cannot autowire service "dmzx.newsletter.controller.acp": argument "$template" of method "dmzx\newsletter\controller\acp_controller::__construct()" references interface "phpbb\template\template" but no such service exists. You should maybe alias this interface to one of these existing services: "naguissa.thanksforposts.partials", "naguissa.thanksforposts.partials.inner".

#0 /homepages/39/d595862373/htdocs/forum/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php(60): Symfony\Component\DependencyInjection\Compiler\DefinitionErrorExceptionPass->processValue(Object(Symfony\Component\DependencyInjection\Definition), true)
#1 /homepages/39/d595862373/htdocs/forum/vendor/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php(30): Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass->processValue(Array, true)
#2 /homepages/39/d595862373/htdocs/forum/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php(39): Symfony\Component\DependencyInjection\Compiler\DefinitionErrorExceptionPass->processValue(Array, true)
#3 /homepages/39/d595862373/htdocs/forum/vendor/symfony/dependency-injection/Compiler/Compiler.php(140): Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass->process(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#4 /homepages/39/d595862373/htdocs/forum/vendor/symfony/dependency-injection/ContainerBuilder.php(789): Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#5 /homepages/39/d595862373/htdocs/forum/phpbb/di/container_builder.php(223): Symfony\Component\DependencyInjection\ContainerBuilder->compile()
#6 /homepages/39/d595862373/htdocs/forum/common.php(117): phpbb\di\container_builder->get_container()
#7 /homepages/39/d595862373/htdocs/forum/adm/index.php(23): require('/homepages/39/d...')
#8 {main}
Hopefully someone has an idea how to fix it.
User avatar
GanstaZ
Registered User
Posts: 1221
Joined: Wed Oct 11, 2017 10:29 pm
Location: GZOverse

Re: [3.2][3.3][RC] Thanks for posts (and optional Tapatalk integration)

Post by GanstaZ »

Seems like it is connected to this bug report
Usus est magister optimus! phpBB pre-Triton & latest php environment.
When answer lies in the question, question becomes redundant!
User avatar
c64persian
Registered User
Posts: 87
Joined: Tue Sep 18, 2012 11:58 pm
Location: instagram:c64persian

Re: [3.2][3.3][RC] Thanks for posts (and optional Tapatalk integration)

Post by c64persian »

like previous message created table and dont show this error message but in acp dont show setting of this extension! and extension dont work

SQL ERROR [ mysqli ]

Table 'forum_thanks' doesn't exist [1146]

SQL

SELECT MAX(tally) AS max_post_thanks FROM (SELECT post_id, COUNT(*) AS tally FROM forum_thanks GROUP BY post_id) t

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
Manard
Registered User
Posts: 19
Joined: Thu Jun 16, 2011 10:03 am

Re: [3.2][3.3][RC] Thanks for posts (and optional Tapatalk integration)

Post by Manard »

Hello,

Yesterday, I updated my forum from 3.3.4 to 3.3.9.
I had the gfksx/ThanksForPosts extension version 3.2.18. Yesterday, I replaced the 3.2.18 extension with the new version naguissa/thanksforposts version 4.0.4.
When I restart the forum, I encounter many fatal php errors

Code: Select all

[17-Jan-2023 08:59:25 Europe/Paris] PHP Fatal error:  Uncaught Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "gfksx.thanksforposts.notification.type.thanks". Did you mean one of these: "naguissa.thanksforposts.notification.type.thanks", "naguissa.thanksforposts.notification.type.thanks_remove"? in /home/sitecasa/public_html/phpBB3/vendor/symfony/dependency-injection/Container.php:348
Stack trace:
#0 /home/sitecasa/public_html/phpBB3/phpbb/notification/manager.php(930): Symfony\Component\DependencyInjection\Container->get('gfksx.thanksfor...')
#1 /home/sitecasa/public_html/phpBB3/phpbb/notification/manager.php(904): phpbb\notification\manager->load_object('gfksx.thanksfor...')
#2 /home/sitecasa/public_html/phpBB3/phpbb/notification/method/board.php(229): phpbb\notification\manager->get_item_type_class('gfksx.thanksfor...', Array)
#3 /home/sitecasa/public_html/phpBB3/phpbb/notification/manager.php(123): phpbb\notification\method\board->load_notifications(Array)
#4 /home/sitecasa/public_html/phpB in /home/sitecasa/public_html/phpBB3/vendor/symfony/dependency-injection/Container.php on line 348
How can I solve these errors ?

Thank you for your help

Bernard
Last edited by Mick on Tue Jan 17, 2023 9:02 am, edited 1 time in total.
Reason: Replaced quote with code for clarity.
User avatar
Naguissa
Registered User
Posts: 502
Joined: Thu Mar 02, 2017 6:55 am
Location: Barcelona
Name: Naguissa

Re: [3.2][3.3][RC] Thanks for posts (and optional Tapatalk integration)

Post by Naguissa »

Manard wrote: Tue Jan 17, 2023 9:00 am Hello,

Yesterday, I updated my forum from 3.3.4 to 3.3.9.
I had the gfksx/ThanksForPosts extension version 3.2.18. Yesterday, I replaced the 3.2.18 extension with the new version naguissa/thanksforposts version 4.0.4.
When I restart the forum, I encounter many fatal php errors

Code: Select all

[17-Jan-2023 08:59:25 Europe/Paris] PHP Fatal error:  Uncaught Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "gfksx.thanksforposts.notification.type.thanks". Did you mean one of these: "naguissa.thanksforposts.notification.type.thanks", "naguissa.thanksforposts.notification.type.thanks_remove"? in /home/sitecasa/public_html/phpBB3/vendor/symfony/dependency-injection/Container.php:348
Stack trace:
#0 /home/sitecasa/public_html/phpBB3/phpbb/notification/manager.php(930): Symfony\Component\DependencyInjection\Container->get('gfksx.thanksfor...')
#1 /home/sitecasa/public_html/phpBB3/phpbb/notification/manager.php(904): phpbb\notification\manager->load_object('gfksx.thanksfor...')
#2 /home/sitecasa/public_html/phpBB3/phpbb/notification/method/board.php(229): phpbb\notification\manager->get_item_type_class('gfksx.thanksfor...', Array)
#3 /home/sitecasa/public_html/phpBB3/phpbb/notification/manager.php(123): phpbb\notification\method\board->load_notifications(Array)
#4 /home/sitecasa/public_html/phpB in /home/sitecasa/public_html/phpBB3/vendor/symfony/dependency-injection/Container.php on line 348
How can I solve these errors ?

Thank you for your help

Bernard

Did you disabled gfsk version? Seems to be trying to load both extensions at the same time.

Other issue may be that any notification is still not migrated.
User avatar
Naguissa
Registered User
Posts: 502
Joined: Thu Mar 02, 2017 6:55 am
Location: Barcelona
Name: Naguissa

Re: [3.2][3.3][RC] Thanks for posts (and optional Tapatalk integration)

Post by Naguissa »

peyman974 wrote: Fri Jan 13, 2023 9:33 am like previous message created table and dont show this error message but in acp dont show setting of this extension! and extension dont work

SQL ERROR [ mysqli ]

Table 'forum_thanks' doesn't exist [1146]

SQL

SELECT MAX(tally) AS max_post_thanks FROM (SELECT post_id, COUNT(*) AS tally FROM forum_thanks GROUP BY post_id) t

BACKTRACE

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

Seems extension is not correctly installed. Do you have access to database?

Return to “Extensions in Development”