[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!
Anti-Spam Guide
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 »

Janvitus wrote: Mon Feb 27, 2023 7:19 pm Hi, this ext support only mysql db?
Sure. Tested on Mysql / Mariadb. Should also be compatible with others, like Posgres, mysqli or even Oracle, as it uses standard SQL or PhpBB ORM (then it should be compatible with all ones that phpBB is compatible).
User avatar
halil16
Registered User
Posts: 1393
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 »

Naguissa wrote: Mon Feb 20, 2023 7:28 am
Isn't it possible to experience this with some php code to be added to pull data in the database? I think this extension needs to work with some additions to be able to do this simply. Any ideas on how I can do it at least something like this? Or should only like buton, not show numbers or results?

begensayili.jpg
You do not have the required permissions to view the files attached to this post.
Buy me a coffee
Hire me for your phpBB board.
Introducing Mobile Upgrade! Make your phpBB board like an app!
O BeldeThatTowns*for sale*
"The day we will need ideas more than possessions, we will find the secret to true wealth." - Peyami Safa
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 »

halil16 wrote: Fri Mar 03, 2023 3:21 am
Naguissa wrote: Mon Feb 20, 2023 7:28 am
Isn't it possible to experience this with some php code to be added to pull data in the database? I think this extension needs to work with some additions to be able to do this simply. Any ideas on how I can do it at least something like this? Or should only like buton, not show numbers or results?


begensayili.jpg

Again,

halil16 wrote: Sat Feb 18, 2023 3:59 pm How about that request over there:
https://www.phpbb.com/customise/db/exte ... pic/241946

Frankly, I'm not interested in Tapatalk or average score indicators right now. I'm trying to make the likes simpler this way. can you help me?
It's possible to add it, but it's a new feature. Just as code is now it's not possible to do so just changing config options.
User avatar
janus_zonstraal
Registered User
Posts: 6589
Joined: Sat Aug 30, 2014 1:30 pm

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

Post by janus_zonstraal »

Thanks for your extension, just updated to the latest version but have problem with AJAX, when I enable "use AJAX" the extension is not working.
Tfp version 4.0.4
phpbb version 3.3.10
php version 8.1
Sorry! My English is bat ;) !!!
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 »

janus_zonstraal wrote: Thu May 11, 2023 8:14 am Thanks for your extension, just updated to the latest version but have problem with AJAX, when I enable "use AJAX" the extension is not working.
Tfp version 4.0.4
phpbb version 3.3.10
php version 8.1
Are you using phpbb in a subfolder, like "/forum"? If so, there's a problem with phpbb routing. I can check it again but last time it had no solution and you had to use full page mode.
User avatar
janus_zonstraal
Registered User
Posts: 6589
Joined: Sat Aug 30, 2014 1:30 pm

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

Post by janus_zonstraal »

Ok, than I leave it like it is, without Ajax, thanks (folder is indeed /phpbb)
Sorry! My English is bat ;) !!!
User avatar
Wuppi
Registered User
Posts: 19
Joined: Mon Jun 17, 2019 9:22 am

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

Post by Wuppi »

Hello,

i wanted to migrate from gfksx/thanksforposts 2.0.7 to this version 4.0.4.

1) deactivate gfksx
2) upload 4.0.4 Naguissa
3) activate 4.0.4

Works - i think. Overview of Thanks: work. Clicking "Thanks" works. But I have no way to configure the addon. The options are missing.

If I now delete gfksx, I get the error message that the extension gfksx/thanksforposts is invalid and gfksx composer.json cannot be found.

What did I do wrong here?
Board is 3.2.7 (update to 3.3 is planned as soon as the addons are 3.3/php8 compatible)
User avatar
janus_zonstraal
Registered User
Posts: 6589
Joined: Sat Aug 30, 2014 1:30 pm

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

Post by janus_zonstraal »

Installation:

Extension:

Extension files should be extracted to /ext/naguissa/thanksforposts/ folder. Then the extension should be enabled in ACP as usually.

If you are updating, you need to do, in this specific order:

Disable extension.
Delete /ext/naguissa/thanksforposts/ folder (if old extension is previous to 4.0.0 folder to delete is /ext/gfksx/ThanksForPosts/)
Upload extension to /ext/naguissa/thanksforposts/
Reactivate extension.
Sorry! My English is bat ;) !!!
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 »

Wuppi wrote: Fri May 12, 2023 11:16 am Hello,

i wanted to migrate from gfksx/thanksforposts 2.0.7 to this version 4.0.4.

1) deactivate gfksx
2) upload 4.0.4 Naguissa
3) activate 4.0.4

Works - i think. Overview of Thanks: work. Clicking "Thanks" works. But I have no way to configure the addon. The options are missing.

If I now delete gfksx, I get the error message that the extension gfksx/thanksforposts is invalid and gfksx composer.json cannot be found.

What did I do wrong here?
Board is 3.2.7 (update to 3.3 is planned as soon as the addons are 3.3/php8 compatible)


Seems extension name was not correctly migrated. Try this in SQL console:

Code: Select all

UPDATE `phpbb_ext` SET `ext_name` = 'naguissa/thanksforposts' WHERE (`ext_name` = 'gfksx/thanksforposts');
User avatar
Wuppi
Registered User
Posts: 19
Joined: Mon Jun 17, 2019 9:22 am

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

Post by Wuppi »

Naguissa wrote: Mon May 15, 2023 10:20 am Seems extension name was not correctly migrated. Try this in SQL console:

Code: Select all

UPDATE `phpbb_ext` SET `ext_name` = 'naguissa/thanksforposts' WHERE (`ext_name` = 'gfksx/thanksforposts');
works after clear cache ;)

But: i don't have any Config-Options in ACP (last tab - i don't now the english name ... Extensions ?) - with gfksx i had some config-options
User avatar
Wuppi
Registered User
Posts: 19
Joined: Mon Jun 17, 2019 9:22 am

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

Post by Wuppi »

Wuppi wrote: Wed May 17, 2023 10:15 am
Naguissa wrote: Mon May 15, 2023 10:20 am Seems extension name was not correctly migrated. Try this in SQL console:

Code: Select all

UPDATE `phpbb_ext` SET `ext_name` = 'naguissa/thanksforposts' WHERE (`ext_name` = 'gfksx/thanksforposts');
works after clear cache ;)

But: i don't have any Config-Options in ACP (last tab - i don't now the english name ... Extensions ?) - with gfksx i had some config-options
no ideas?
or are there no more config options? (Version dependent? I'm still on 3.2.7 - 3.3 comes after Thanks for 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 »

Wuppi wrote: Mon May 22, 2023 9:11 am
Wuppi wrote: Wed May 17, 2023 10:15 am
works after clear cache ;)

But: i don't have any Config-Options in ACP (last tab - i don't now the english name ... Extensions ?) - with gfksx i had some config-options
no ideas?
or are there no more config options? (Version dependent? I'm still on 3.2.7 - 3.3 comes after Thanks for Post)
I was really busy this week....

Try this:

Code: Select all

INSERT INTO `phpbb_modules` (`module_id`,`module_enabled`,`module_display`,`module_basename`,`module_class`,`parent_id`,`left_id`,`right_id`,`module_langname`,`module_mode`,`module_auth`) VALUES (273,1,1,'','acp',31,346,355,'ACP_THANKS','','');
INSERT INTO `phpbb_modules` (`module_id`,`module_enabled`,`module_display`,`module_basename`,`module_class`,`parent_id`,`left_id`,`right_id`,`module_langname`,`module_mode`,`module_auth`) VALUES (274,1,1,'\\naguissa\\thanksforposts\\acp\\acp_thanks_module','acp',273,347,348,'ACP_THANKS_SETTINGS','thanks','ext_naguissa/thanksforposts && acl_a_board');
INSERT INTO `phpbb_modules` (`module_id`,`module_enabled`,`module_display`,`module_basename`,`module_class`,`parent_id`,`left_id`,`right_id`,`module_langname`,`module_mode`,`module_auth`) VALUES (275,1,1,'\\naguissa\\thanksforposts\\acp\\acp_thanks_refresh_module','acp',273,349,350,'ACP_THANKS_REFRESH','thanks','ext_naguissa/thanksforposts && acl_a_board');
INSERT INTO `phpbb_modules` (`module_id`,`module_enabled`,`module_display`,`module_basename`,`module_class`,`parent_id`,`left_id`,`right_id`,`module_langname`,`module_mode`,`module_auth`) VALUES (276,1,1,'\\naguissa\\thanksforposts\\acp\\acp_thanks_truncate_module','acp',273,351,352,'ACP_THANKS_TRUNCATE','thanks','ext_naguissa/thanksforposts && acl_a_board');
INSERT INTO `phpbb_modules` (`module_id`,`module_enabled`,`module_display`,`module_basename`,`module_class`,`parent_id`,`left_id`,`right_id`,`module_langname`,`module_mode`,`module_auth`) VALUES (277,1,1,'\\naguissa\\thanksforposts\\acp\\acp_thanks_reput_module','acp',273,353,354,'ACP_THANKS_REPUT_SETTINGS','thanks','ext_naguissa/thanksforposts && acl_a_board');
Fredrik_Norway_2
Registered User
Posts: 3
Joined: Mon Oct 17, 2022 6:05 pm

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

Post by Fredrik_Norway_2 »

Hey.

I also inserted the code you mentioned above in SQL. However I'm not sure if I misunderstood, but I thought it would result in more settings for the extension? If that's correct, do you know where I find these settings as I can't seem to locate them on my webpage?

:)
deninho32
Registered User
Posts: 238
Joined: Tue May 21, 2019 8:57 am

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

Post by deninho32 »

Just did an update to the latest version. When I turn on AJAX, something goes wrong. When I'm the first to thank somebody it's all good. But when there are thanks before me, the thanks duplicate when I thank that post.
Screenshot 2023-06-28 at 10-17-41 Programma algemeen - Pagina 16 - Negentiendertien.nl.png
You do not have the required permissions to view the files attached to this post.
phpBB 3.3.7 | PHP Version 7.4.33 | Milk Theme
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 »

deninho32 wrote: Wed Jun 28, 2023 8:18 am Just did an update to the latest version. When I turn on AJAX, something goes wrong. When I'm the first to thank somebody it's all good. But when there are thanks before me, the thanks duplicate when I thank that post.

Screenshot 2023-06-28 at 10-17-41 Programma algemeen - Pagina 16 - Negentiendertien.nl.png
I'll check it; could be some minor SQL improvements I did....

Return to “Extensions in Development”