[3.2][BETA] Advanced Points System

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!
Suggested Hosts
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
eunaumtenhoid
Registered User
Posts: 898
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.2][BETA] Advanced Points System

Post by eunaumtenhoid » Mon Dec 02, 2019 3:47 pm

Honestly folks are not belittling the other extensions, but these of you are being the best ever created here in PHPBB.
Congratulations!
UPDATED tys
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4991
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [3.2][BETA] Advanced Points System

Post by VSE » Wed Dec 04, 2019 6:58 pm

Love the ACP interface upgrade.
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.

User avatar
eunaumtenhoid
Registered User
Posts: 898
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.2][BETA] Advanced Points System

Post by eunaumtenhoid » Wed Dec 04, 2019 11:54 pm

when I add custom dot scrapes for moderation it retraces this error:

Code: Select all

Fatal error: Uncaught TypeError: Argument 1 passed to phpbbstudio\aps\points\reasoner::fill() must be of the type array, boolean given, called in /home2/thetolo4/public_html/ext/phpbbstudio/aps/controller/acp_controller.php on line 452 and defined in /home2/thetolo4/public_html/ext/phpbbstudio/aps/points/reasoner.php:140 Stack trace: #0 /home2/thetolo4/public_html/ext/phpbbstudio/aps/controller/acp_controller.php(452): phpbbstudio\aps\points\reasoner->fill(false) #1 /home2/thetolo4/public_html/ext/phpbbstudio/aps/acp/main_module.php(54): phpbbstudio\aps\controller\acp_controller->points() #2 /home2/thetolo4/public_html/includes/functions_module.php(676): phpbbstudio\aps\acp\main_module->main('\\phpbbstudio\\ap...', 'points') #3 /home2/thetolo4/public_html/adm/index.php(82): p_master->load_active() #4 {main} thrown in /home2/thetolo4/public_html/ext/phpbbstudio/aps/points/reasoner.php on line 140


when I access this link >> site/aps/items
this error appears

Code: Select all

SQL ERROR [ mysqli ]

Unknown column 'c.category_id1' in 'where clause' [1054]

SQL

SELECT c.category_title, SUM(i.item_purchases) as purchases FROM phpbb_ass_items i, phpbb_ass_categories c WHERE i.category_id = c.category_id1 AND c.category_active = 1 GROUP BY i.category_id ORDER BY c.category_order

BACKTRACE
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes

User avatar
3Di
Former Team Member
Posts: 14477
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2][BETA] Advanced Points System

Post by 3Di » Thu Dec 05, 2019 12:57 am

eunaumtenhoid wrote:
Wed Dec 04, 2019 11:54 pm
when I add custom dot scrapes for moderation
Sorry... how to reproduce it please? (I guess that's a bad translation on your side)
eunaumtenhoid wrote:
Wed Dec 04, 2019 11:54 pm
Unknown column 'c.category_id1' in 'where clause' [1054]
That's Advanced Shop System related, not Points.

In any case an category_id1 is not present in the code.
What`s your line 150 of ext\phpbbstudio\ass\operator\blocks.php? Please post it there, thanks.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
✒️ Black Friday 2019 @ The Studio ▪️◾️

User avatar
eunaumtenhoid
Registered User
Posts: 898
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.2][BETA] Advanced Points System

Post by eunaumtenhoid » Thu Dec 05, 2019 1:45 am

click on ACP>POINTS>add new action (Here you can set Pontos values for global actions. You can also manage the preset reasons used in adjusting a user’s Pontos.)
show it error
Fatal error: Uncaught TypeError: Argument 1 passed to phpbbstudio\aps\points\reasoner::fill() must be of the type array, boolean given, called in /home2/thetolo4/public_html/ext/phpbbstudio/aps/controller/acp_controller.php on line 452 and defined in /home2/thetolo4/public_html/ext/phpbbstudio/aps/points/reasoner.php:140 Stack trace: #0 /home2/thetolo4/public_html/ext/phpbbstudio/aps/controller/acp_controller.php(452): phpbbstudio\aps\points\reasoner->fill(false) #1 /home2/thetolo4/public_html/ext/phpbbstudio/aps/acp/main_module.php(54): phpbbstudio\aps\controller\acp_controller->points() #2 /home2/thetolo4/public_html/includes/functions_module.php(676): phpbbstudio\aps\acp\main_module->main('\\phpbbstudio\\ap...', 'points') #3 /home2/thetolo4/public_html/adm/index.php(82): p_master->load_active() #4 {main} thrown in /home2/thetolo4/public_html/ext/phpbbstudio/aps/points/reasoner.php on line 140
new error:

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/language/language.php on line 313: vsprintf(): Too few arguments
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4626: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3358)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4626: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3358)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4626: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3358)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4626: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3358)
and in notification :

Image
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes

User avatar
3Di
Former Team Member
Posts: 14477
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2][BETA] Advanced Points System

Post by 3Di » Thu Dec 05, 2019 1:50 am

eunaumtenhoid wrote:
Thu Dec 05, 2019 1:45 am
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/language/language.php on line 313: vsprintf(): Too few arguments
That's an issue with the translation (language files). Check if your brasilian packages for APS/ASS are up to date with the latest versions.
To be sure, switch to English and check if that error is still there, it should not be.
eunaumtenhoid wrote:
Thu Dec 05, 2019 1:45 am
click on ACP>POINTS>add new action (Here you can set Pontos values for global actions. You can also manage the preset reasons used in adjusting a user’s Pontos.)
Will be checked. Confirmed, thanks for reporting. See: https://github.com/phpBB-Studio/Advance ... /issues/10
eunaumtenhoid wrote:
Thu Dec 05, 2019 1:45 am
and in notification :
In notification what happens?
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
✒️ Black Friday 2019 @ The Studio ▪️◾️

User avatar
eunaumtenhoid
Registered User
Posts: 898
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.2][BETA] Advanced Points System

Post by eunaumtenhoid » Thu Dec 05, 2019 10:07 am

the message does not appear in the notification, but it is resolved is all about the translation, thanks for the support
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes

User avatar
3Di
Former Team Member
Posts: 14477
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2][BETA] Advanced Points System

Post by 3Di » Thu Dec 05, 2019 10:09 am

eunaumtenhoid wrote:
Thu Dec 05, 2019 10:07 am
the message does not appear in the notification, but it is resolved is all about the translation, thanks for the support
Glad you got it sorted. :)
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
✒️ Black Friday 2019 @ The Studio ▪️◾️

User avatar
eunaumtenhoid
Registered User
Posts: 898
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.2][BETA] Advanced Points System

Post by eunaumtenhoid » Thu Dec 05, 2019 10:40 am

new:
when I went to approve / disapprove a topic this error appeared
Erro Geral
SQL ERROR [ mysqli ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND user_id = 13491 AND post_id = 256222' at line 1 [1064]

SQL

DELETE FROM phpbb_aps_logs WHERE log_id <> 0 AND log_approved = AND user_id = 13491 AND post_id = 256222

BACKTRACE

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

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

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

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

FILE: [ROOT]/ext/phpbbstudio/aps/core/log.php
LINE: 284
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/ext/phpbbstudio/aps/points/distributor.php
LINE: 176
CALL: phpbbstudio\aps\core\log->delete()

FILE: [ROOT]/ext/phpbbstudio/aps/actions/manager.php
LINE: 415
CALL: phpbbstudio\aps\points\distributor->disapprove()

FILE: [ROOT]/ext/phpbbstudio/aps/actions/manager.php
LINE: 199
CALL: phpbbstudio\aps\actions\manager->distribute()

FILE: [ROOT]/ext/phpbbstudio/aps/event/actions.php
LINE: 461
CALL: phpbbstudio\aps\actions\manager->trigger()

FILE: [ROOT]/vendor/symfony/event-dispatcher/EventDispatcher.php
LINE: 184
CALL: phpbbstudio\aps\event\actions->queue()

FILE: [ROOT]/vendor/symfony/event-dispatcher/EventDispatcher.php
LINE: 46
CALL: Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 62
CALL: Symfony\Component\EventDispatcher\EventDispatcher->dispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 46
CALL: phpbb\event\dispatcher->dispatch()

FILE: [ROOT]/includes/mcp/mcp_queue.php
LINE: 1466
CALL: phpbb\event\dispatcher->trigger_event()

FILE: [ROOT]/includes/mcp/mcp_queue.php
LINE: 140
CALL: mcp_queue::disapprove_posts()

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

FILE: [ROOT]/mcp.php
LINE: 312
CALL: p_master->load_active()
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes

User avatar
3Di
Former Team Member
Posts: 14477
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2][BETA] Advanced Points System

Post by 3Di » Thu Dec 05, 2019 10:43 am

Thanks for reporting it, will be investigated as well. :)
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
✒️ Black Friday 2019 @ The Studio ▪️◾️

User avatar
eunaumtenhoid
Registered User
Posts: 898
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.2][BETA] Advanced Points System

Post by eunaumtenhoid » Thu Dec 05, 2019 10:51 am

completing ...
after the topic error was approved normally, but the user did not receive the points for creating the topic

EDIT:
Using MCP to add points to the group returns this error:
Fatal error: Uncaught Error: Call to a member function acl_get() on null in /home2/thetolo4/public_html/phpbb/group/helper.php:154 Stack trace: #0 /home2/thetolo4/public_html/ext/phpbbstudio/aps/controller/mcp_controller.php(505): phpbb\group\helper->get_name_string('full', '33', 'Colaboradores', '#00BF00') #1 /home2/thetolo4/public_html/ext/phpbbstudio/aps/mcp/main_module.php(46): phpbbstudio\aps\controller\mcp_controller->change() #2 /home2/thetolo4/public_html/includes/functions_module.php(676): phpbbstudio\aps\mcp\main_module->main('\\phpbbstudio\\ap...', 'change') #3 /home2/thetolo4/public_html/mcp.php(312): p_master->load_active() #4 {main} thrown in /home2/thetolo4/public_html/phpbb/group/helper.php on line 154
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes

User avatar
mrgoldy
Jr. Extension Validator
Posts: 1202
Joined: Tue Oct 06, 2009 7:34 pm
Location: The Netherlands
Name: Gijs
Contact:

Re: [3.2][BETA] Advanced Points System

Post by mrgoldy » Thu Dec 05, 2019 8:54 pm

All these should be fixed in the next release.

Apart from that group helper error.
What phpBB version are you using?
And not sure what is going on there but I see a lot of things wrong with that error message, that sounds like you've been doing some modifications.
That's the \phpbb\auth\auth $auth not being available, that has nothing to do with this extension.
The function is being called with the group colour '#00BF00', where default phpBB only stores the hexdec and not the leading #.
So, you probably have some other modifications going on there.

User avatar
3Di
Former Team Member
Posts: 14477
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2][BETA] Advanced Points System

Post by 3Di » Thu Dec 05, 2019 11:01 pm

eunaumtenhoid wrote:
Thu Dec 05, 2019 10:07 am
the message does not appear in the notification, but it is resolved is all about the translation, thanks for the support
Please from now on, if you get an error, before to post it make sure that it happens also on prosilver style and english language, thank you. :geek: :)
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
✒️ Black Friday 2019 @ The Studio ▪️◾️

User avatar
eunaumtenhoid
Registered User
Posts: 898
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.2][BETA] Advanced Points System

Post by eunaumtenhoid » Sun Dec 08, 2019 10:08 am

look how weird, I changed a user's points and after he created a topic the points disappeared

Image
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes

User avatar
Lona
Registered User
Posts: 3
Joined: Mon Dec 09, 2019 2:20 am

Re: [3.2][BETA] Advanced Points System

Post by Lona » Mon Dec 09, 2019 2:43 am

Hello.
I try on Openserver. phpbb 3.2.8.
In the menu, I select "points" and get:

Code: Select all

SQL ERROR [ mysqli ]

Table 'mag1.phpbb_aps_display' doesn't exist [1146]

SQL

SELECT user_id, aps_display FROM phpbb_aps_display WHERE user_id IN (0, 65)
The forum already had "dmzx/ultimatepoints". Unplugged.

What needs to be done?

Post Reply

Return to “Extensions in Development”