[DBTech] DragonByte Credits

[DBTech] DragonByte Credits [Paid] 6.1.2

No permission to buy (€14.95)
Love this addon!

We only use it to encourage more participation, and give users the ability to show appreciation for each other on our platform.

For the awesome developers, here are some issues we found implementing this addon since yesterday (these are definitely not deal-breakers, we just thought it would be useful for the developers):
  1. When you donate an amount, and have a negative tax, then the Alert shown around this event causes confusion.
    For example: Donating 1000 Merits with a -25% tax would be shown as the following (we like to encourage donating to others as a show of appreciation):
    1767825770798.webp1767825625714.webp
    IMHO it would be better if the Alert message in this case would state "You donated 1000 Merits to ..."

  2. Events for XF Resource Manager can cause an error during [DragonByte Credits: Rebuild transactions]
    (this was tested with [items to process per page] set to 500, 5000 and 50000, and [Delete all transactions...] to all different options, all made the same final error pop up)
    Code:
    Stack trace#0 src\addons\DBTech\Credits\EventTrigger\XFRM\RateHandler.php(105): XF::handlePhpError(2, '[E_WARNING] Att...', 'C:\\Websites\\for...', 105)
    #1 src\addons\DBTech\Credits\EventTrigger\AbstractHandler.php(887): DBTech\Credits\EventTrigger\XFRM\RateHandler->rebuild(Object(DBTech\Credits\XFRM\Entity\ResourceRating))
    #2 src\addons\DBTech\Credits\EventTrigger\AbstractHandler.php(834): DBTech\Credits\EventTrigger\AbstractHandler->rebuildEntities(Object(XF\Mvc\Entity\ArrayCollection))
    #3 src\addons\DBTech\Credits\Job\TransactionRebuild.php(84): DBTech\Credits\EventTrigger\AbstractHandler->rebuildRange(0, 5000)
    #4 src\XF\Job\Manager.php(275): DBTech\Credits\Job\TransactionRebuild->run(8)
    #5 src\XF\Job\Manager.php(205): XF\Job\Manager->runJobInternal(Array, 8)
    #6 src\XF\Job\Manager.php(121): XF\Job\Manager->runJobEntry(Array, 8)
    #7 src\XF\Admin\Controller\ToolsController.php(146): XF\Job\Manager->runByIds(Array, 8)
    #8 src\XF\Mvc\Dispatcher.php(362): XF\Admin\Controller\ToolsController->actionRunJob(Object(XF\Mvc\ParameterBag))
    #9 src\XF\Mvc\Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(SV\PasswordTools\XF\Admin\Controller\Tools), NULL)
    #10 src\XF\Mvc\Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\PasswordTools\XF\Admin\Controller\Tools), NULL)
    #11 src\XF\Mvc\Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
    #12 src\XF\App.php(2824): XF\Mvc\Dispatcher->run()
    #13 src\XF.php(806): XF\App->run()
    #14 admin.php(15): XF::runApp('XF\\Admin\\App')
    #15 {main}
    Request state
    array(4) {
      ["url"] => string(24) "/admin.php?tools/run-job"
      ["referrer"] => string(50) "https://<domain>/admin.php?tools/run-job"
      ["_GET"] => array(1) {
        ["tools/run-job"] => string(0) ""
      }
      ["_POST"] => array(3) {
        ["_xfRedirect"] => string(60) "https://<domain>/admin.php?tools/rebuild&success=1"
        ["_xfToken"] => string(8) "********"
        ["only_ids"] => string(6) "412482"
      }
    }
Then a simple feature request:
  1. With the event [Donate], give the user the option for a different destination currency, thereby automatically handling the transfer rate and preventing users from giving themselves the destination currency.

    We would love to have this option so people can more easily donate their Merit currency to other currencies like "Chemical knowledge", "Great source for information" and "Very welcoming", so those destination currencies you can only get by donations from other users.

    This way we can get a much better insight into who we could promote to certain user groups like "Chemical engineer", "Senior Member" and "Welcoming committee".
 
Last edited:
Love this addon!

We only use it to encourage more participation, and give users the ability to show appreciation for each other on our platform.

For the awesome developers, here are some issues we found implementing this addon since yesterday (these are definitely not deal-breakers, we just thought it would be useful for the developers):
  1. When you donate an amount, and have a negative tax, then the Alert shown around this event causes confusion.
    For example: Donating 1000 Merits with a -25% tax would be shown as the following (we like to encourage donating to others as a show of appreciation):
    View attachment 332231View attachment 332230
    IMHO it would be better if the Alert message in this case would state "You donated 1000 Merits to ..."

  2. Events for XF Resource Manager can cause an error during [DragonByte Credits: Rebuild transactions]
    (this was tested with [items to process per page] set to 500, 5000 and 50000, and [Delete all transactions...] to all different options, all made the same final error pop up)
    Code:
    Stack trace#0 src\addons\DBTech\Credits\EventTrigger\XFRM\RateHandler.php(105): XF::handlePhpError(2, '[E_WARNING] Att...', 'C:\\Websites\\for...', 105)
    #1 src\addons\DBTech\Credits\EventTrigger\AbstractHandler.php(887): DBTech\Credits\EventTrigger\XFRM\RateHandler->rebuild(Object(DBTech\Credits\XFRM\Entity\ResourceRating))
    #2 src\addons\DBTech\Credits\EventTrigger\AbstractHandler.php(834): DBTech\Credits\EventTrigger\AbstractHandler->rebuildEntities(Object(XF\Mvc\Entity\ArrayCollection))
    #3 src\addons\DBTech\Credits\Job\TransactionRebuild.php(84): DBTech\Credits\EventTrigger\AbstractHandler->rebuildRange(0, 5000)
    #4 src\XF\Job\Manager.php(275): DBTech\Credits\Job\TransactionRebuild->run(8)
    #5 src\XF\Job\Manager.php(205): XF\Job\Manager->runJobInternal(Array, 8)
    #6 src\XF\Job\Manager.php(121): XF\Job\Manager->runJobEntry(Array, 8)
    #7 src\XF\Admin\Controller\ToolsController.php(146): XF\Job\Manager->runByIds(Array, 8)
    #8 src\XF\Mvc\Dispatcher.php(362): XF\Admin\Controller\ToolsController->actionRunJob(Object(XF\Mvc\ParameterBag))
    #9 src\XF\Mvc\Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(SV\PasswordTools\XF\Admin\Controller\Tools), NULL)
    #10 src\XF\Mvc\Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\PasswordTools\XF\Admin\Controller\Tools), NULL)
    #11 src\XF\Mvc\Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
    #12 src\XF\App.php(2824): XF\Mvc\Dispatcher->run()
    #13 src\XF.php(806): XF\App->run()
    #14 admin.php(15): XF::runApp('XF\\Admin\\App')
    #15 {main}
    Request state
    array(4) {
      ["url"] => string(24) "/admin.php?tools/run-job"
      ["referrer"] => string(50) "https://<domain>/admin.php?tools/run-job"
      ["_GET"] => array(1) {
        ["tools/run-job"] => string(0) ""
      }
      ["_POST"] => array(3) {
        ["_xfRedirect"] => string(60) "https://<domain>/admin.php?tools/rebuild&success=1"
        ["_xfToken"] => string(8) "********"
        ["only_ids"] => string(6) "412482"
      }
    }
Then a simple feature request:
  1. With the event [Donate], give the user the option for a different destination currency, thereby automatically handling the transfer rate and preventing users from giving themselves the destination currency.

    We would love to have this option so people can more easily donate their Merit currency to other currencies like "Chemical knowledge", "Great source for information" and "Very welcoming", so those destination currencies you can only get by donations from other users.

    This way we can get a much better insight into who we could promote to certain user groups like "Chemical engineer", "Senior Member" and "Welcoming committee".
Hi there,

Can you please repost these 3 things @ my site in the appropriate sections (first two as bug reports and the third in the Suggestions sub-section)?

This site does not have any bug tracking possibilities so they will get lost in time by posting here.

Thanks!
 
Hi there,

Can you please repost these 3 things @ my site in the appropriate sections (first two as bug reports and the third in the Suggestions sub-section)?

This site does not have any bug tracking possibilities so they will get lost in time by posting here.

Thanks!
Thank you for picking this up!

And of course I'll report these things on your site, being a software solution architect myself I fully understand this optimized workflow. :).

I'll do that when I get home again from work today, it's quite the busy time with new year kicking off.
 
Back
Top Bottom