Bug Options change after event triggered

Status
Not open for further replies.

FabianB

Customer
Here's the same text that I've posted on XF :)
-----------
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
 
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).
This is because there is no "Sending user" for the "Adjust" event.

With the "Donate" event, you are taking credits from your own account and sending it to someone else. To use the user names from your video:
au lait = sending user
fabianb = receiving user

With the "Adjust" event, you are either generating credits from thin air ("Give") or destroying credits ("Take"). Again, to use the user names:
Nothing = sending user
fabianb = receiving user

Therefore, it does not make sense to tax the sending user, when the sending user doesn't exist :D

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:
This is not a bug, your Taxation amount is set to 5000% (50 in decimal is 1000% more than 0.5). That being said, I do agree that this is rather confusing so I'll look at changing it in the next version.
 
Update: Since the field has different functions based on what type of event it is, it's not feasible for me to change it to use integer % rather than decimal %. I'll clarify the phrase instead.
 
Hi Filip,

Thank you for your quick response!

If I understand correctly, the change in the ACP is intentional since there is no "sending user." Therefore, it's working as a fallback solution. Regarding the tax: understood, and I agree that another description would make things clearer. ;)

On Musiker-Board, we want to migrate from the reputation system to your credit system because we like the idea of using the tax feature, which isn't possible with the other add-on.

My question is: Is it possible to create credits "out of thin air" while charging the sending user a tax at the same time?

Example:
I have 1,000 credits and want to reward another user with, say, 300 credits.
The other user receives 300 credits, but I am charged only the tax (e.g., 10%), which would be 30 credits.
Is that possible with the current options?

One more question, if you don’t mind:
Is it possible to use an event more than once? In the ACP, I see the option to set it, but it seems to trigger only once.

Thank you so much!
Fabian
 
My question is: Is it possible to create credits "out of thin air" while charging the sending user a tax at the same time?
No. If the sending user does not exist, the sending user cannot be charged tax. If you're asking whether it's possible to tax the person making the adjustment, then that's also no, because Adjust is meant to be an administrative action to correct any discrepancies.

s it possible to use an event more than once? In the ACP, I see the option to set it, but it seems to trigger only once.
Under "Event Triggering" in the XenForo Options, choose "All", then create a copy of the event (f.ex. the "Post" event). Both will then apply if they both match.
 
Hello @FabianB,

We hope your ticket regarding DragonByte Credits has been addressed to your satisfaction. This ticket has now been scheduled to be closed.

If your ticket has not been resolved, you can reply to this thread at any point in the next 7 days in order to reopen the ticket, afterwards this thread will be closed.

Please do not reply to this thread if your ticket has been resolved.

Thank you.


- DragonByte Technologies, Ltd.
 
Hello @FabianB,

As we have not heard back from you, your ticket regarding DragonByte Credits has now been closed.

If your ticket has not been resolved, please feel free to start a new support ticket and link back to this ticket.

If you have time, please leave a review on XenForo.com's Resource Manager.

Thank you.


- DragonByte Technologies, Ltd.
 
Status
Not open for further replies.

Similar threads

DragonByte Credits

XenForo 1.5.3+ XenForo 2.0.x XenForo 2.1.x XenForo 2.2.x XenForo 2.3.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
4,968
Customer rating
5.00 star(s) 5 ratings
Back
Top