[DBTech] DragonByte Credits

[DBTech] DragonByte Credits [Paid] 6.0.9

No permission to buy (€14.95)
Hello @DragonByte Tech
Sorry if this has been asked before. I searched this thread but could not find.

We have an issue with the event:
1735119025264.webp
We have it set up as awarding users 2 credits for every 2 files uploaded to the media gallery.
but we noticed that when uploading a couple of files at once, it awards the user 1 credit for the first 2 files, and 1 credit for each of the next files uploaded on the same time (i.e when uploading 7 files at once it awards 6 credits)

Is this a bug or am I misunderstanding how it works?

Thanks!!

Has this been fixed on later versions? We are using version 5.8.5
 
Hello @DragonByte Tech
Sorry if this has been asked before. I searched this thread but could not find.

We have an issue with the event:
View attachment 316406
We have it set up as awarding users 2 credits for every 2 files uploaded to the media gallery.
but we noticed that when uploading a couple of files at once, it awards the user 1 credit for the first 2 files, and 1 credit for each of the next files uploaded on the same time (i.e when uploading 7 files at once it awards 6 credits)

Is this a bug or am I misunderstanding how it works?

Thanks!!

Has this been fixed on later versions? We are using version 5.8.5
The XF 2.2 versions are no longer supported with bug fixes as I don’t have the bandwidth to support multiple XenForo versions with more than security fixes.

That being said, I do recall there being an update that addressed limits, but I think that was before 5.8.5.

Make sure the “limit per user” is ticked otherwise the limit won’t check for events from the same user only.
 
The XF 2.2 versions are no longer supported with bug fixes as I don’t have the bandwidth to support multiple XenForo versions with more than security fixes.

That being said, I do recall there being an update that addressed limits, but I think that was before 5.8.5.

Make sure the “limit per user” is ticked otherwise the limit won’t check for events from the same user only.
thanks, but maybe you misunderstood my question?
I am talking about the frequency.
not limit. so the "limit per user" is not what I am looking for...

I want the event to trigger after a user uploaded 2 media items to his gallery (instead of after each and every one of them).
Currently, when uploading the files separately it triggers every 2nd item (as it should), but when uploading a couple of items together it triggers the 2nd item and each of the next items uploaded with it.

We can upgrade to the next version but can't upgrade to 2.3 yet as not all of the addons we use support it.

Please have a look into it.
it seems to me that it is how it works in later versions too.
Thanks!
 
Last edited:
Hi!
We've been playing around with the Credit System in our forum (xf 2.2) and we've encountered an error.
Once you use the event "adjust" and set at tax for the Sending user, the option jumps back to Receiving user (Admin CP).

In addition: instead of only charging the user instead of giving it to him, there's also a wrong value that's being withdrawn.
In my case: instead of giving 100 it turned to removing 4.900 :X3:

FYI: I've checked it also with your newest version in Xf2.3 and the bug persists.


View attachment screen_1736781130.mp4


Screenshot 2025-01-13 at 16.16.49.webp

Thank you
Fabian
 
Hi!
We've been playing around with the Credit System in our forum (xf 2.2) and we've encountered an error.
Once you use the event "adjust" and set at tax for the Sending user, the option jumps back to Receiving user (Admin CP).

In addition: instead of only charging the user instead of giving it to him, there's also a wrong value that's being withdrawn.
In my case: instead of giving 100 it turned to removing 4.900 :X3:

FYI: I've checked it also with your newest version in Xf2.3 and the bug persists.


View attachment 317336


View attachment 317335

Thank you
Fabian
Could you please re-post this in the ticket system @ DBTech? I won't have time to look into this right away and I don't want to forget this :D
 
DragonByte Tech updated [DBTech] DragonByte Credits with a new update entry:

6.0.5

Update highlights​

This version makes a change to the "Richest Users" widget so it correctly respects currency privacy settings.

Furthermore, an issue with the "payment" event handler causing the transaction log to become unviewable due to a server error has been resolved.


Complete Change Log​

Change: "Richest Users" widget will now properly respect the currency privacy setting
Change: Clarify "Taxation" phrase with example of decimal...

Read the rest of this update entry...
 
Hello @DragonByte Tech
I am using the real time alerts plugin. (021 Real Time Alerts)
Notifications come twice.

View attachment 318104

Can we solve this?
Thank you.

My xF version 2.2.17
5.9.0 using on my forum DB Credits
Hello,

I am unable to confirm if there is a conflict with that add-on, as I do not use it.

Additionally, I am only able to fully support the latest version of the add-on and XenForo, which is for XenForo 2.3. Older versions only receive security updates if necessary.

I apologize for the inconvenience.
 
Hello there, I upgraded my software from 2.2 to 2.3 and after upgrading this addon I am getting this error:

InvalidArgumentException: Column 'customcurrency' is unknown in src/XF/Mvc/Entity/Entity.php at line 758
  1. XF\Mvc\Entity\Entity->setAsSaved() in src/addons/DBTech/Credits/Entity/Transaction.php at line 252
  2. DBTech\Credits\Entity\Transaction->_postSave() in src/XF/Mvc/Entity/Entity.php at line 1324
  3. XF\Mvc\Entity\Entity->save() in src/addons/DBTech/Credits/EventTrigger/AbstractHandler.php at line 610
  4. DBTech\Credits\EventTrigger\AbstractHandler->trigger() in src/addons/DBTech/Credits/EventTrigger/AbstractHandler.php at line 448
  5. DBTech\Credits\EventTrigger\AbstractHandler->apply() in src/addons/DBTech/Credits/EventTrigger/AdjustHandler.php at line 159
  6. DBTech\Credits\EventTrigger\AdjustHandler->rebuild() in src/addons/DBTech/Credits/EventTrigger/AbstractHandler.php at line 876
  7. DBTech\Credits\EventTrigger\AbstractHandler->rebuildEntities() in src/addons/DBTech/Credits/EventTrigger/AbstractHandler.php at line 823
  8. DBTech\Credits\EventTrigger\AbstractHandler->rebuildRange() in src/addons/DBTech/Credits/Job/TransactionRebuild.php at line 82
  9. DBTech\Credits\Job\TransactionRebuild->run() in src/XF/Job/Manager.php at line 275
  10. XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 205
  11. XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 121
  12. XF\Job\Manager->runByIds() in src/XF/Admin/Controller/ToolsController.php at line 146
  13. XF\Admin\Controller\ToolsController->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 362
  14. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
  15. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
  16. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
  17. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826
  18. XF\App->run() in src/XF.php at line 806
  19. XF::runApp() in admin.php at line 15
I'm not sure what the problem could be , but seems to be that it isn't recognizing the column of my currency which I have only one of.
 
Noticed this is happening with any currency I set even if I make a new one. Disabling the currencies work. I did check the database and the original column is there so I'm not sure what to do or why new currencies don't work.
 
@DragonByte Tech

Code:
An exception occurred: [ErrorException] [E_WARNING] Undefined array key "children" in src/addons/DBTech/Credits/Listener.php on line 260

XF::handlePhpError() in src/addons/DBTech/Credits/Listener.php at line 260
DBTech\Credits\Listener::navigationSetup() in src/XF/Extension.php at line 86
XF\Extension->fire() in src/XF/App.php at line 3368
XF\App->fire() in src/XF/Pub/App.php at line 646
XF\Pub\App->getNavigation() in src/XF/Pub/App.php at line 585
XF\Pub\App->renderPageHtml() in src/XF/App.php at line 2573
XF\App->renderPage() in src/XF/Mvc/Dispatcher.php at line 414
XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 66
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826
XF\App->run() in src/XF.php at line 806
XF::runApp() in index.php at line 23
 
@DragonByte Tech

Code:
An exception occurred: [ErrorException] [E_WARNING] Undefined array key "children" in src/addons/DBTech/Credits/Listener.php on line 260

XF::handlePhpError() in src/addons/DBTech/Credits/Listener.php at line 260
DBTech\Credits\Listener::navigationSetup() in src/XF/Extension.php at line 86
XF\Extension->fire() in src/XF/App.php at line 3368
XF\App->fire() in src/XF/Pub/App.php at line 646
XF\Pub\App->getNavigation() in src/XF/Pub/App.php at line 585
XF\Pub\App->renderPageHtml() in src/XF/App.php at line 2573
XF\App->renderPage() in src/XF/Mvc/Dispatcher.php at line 414
XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 66
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826
XF\App->run() in src/XF.php at line 806
XF::runApp() in index.php at line 23
This will happen if you disable the navbar tab via the Setup -> Public navigation, instead of via admin.php?options/groups/dbtech_credits/. Please correct this misconfiguration.

In the future I'll look into fixing this, but for now you can resolve the issue by using the correct method for disabling the navbar tab.
 
DragonByte Tech updated [DBTech] DragonByte Credits with a new update entry:

6.0.7

Update highlights​

This version changes the way credit expiry works, to avoid a scenario where the user no longer has enough credits to deduct. If negative currency handling is set to "Disallow", expiring credits will now reduce the user's balance by 0 and skip any further expiration events.

Furthermore, a few reported bugs have been resolved.


Complete Change Log​

Change: Cap credit expiry to user's max credits when negative handling is set...

Read the rest of this update entry...
 
Back
Top Bottom