[DBTech] DragonByte Credits

[DBTech] DragonByte Credits 5.3.0b1

No permission to buy ($27.50)
Update highlights

This version adds a frequently requested (and much needed) feature; Rebuild transactions! This feature can be accessed via the "Rebuild caches" page in XenForo.

The following event triggers can be rebuilt:
  • Adjust
  • Donate
  • Message (Conversation)
  • Poll
  • Post
  • Punish (Warning)
  • Purchase
  • React
  • Reacted
  • Redeem
  • Registration
  • Reply
  • Report
  • Reported
  • Sticky
  • Tag
  • Thread
  • Transfer
  • Upload
  • Visitor (ProfilePost)
  • Wall (ProfilePost received)
  • Warning (Warned)
  • XFMG/Comment
  • XFMG/Commented
  • XFMG/Rate
  • XFMG/Rated
  • XFMG/Upload
  • XFRM/Rate
  • XFRM/Rated
  • XFRM/Update
  • XFRM/Upload
The following event triggers can not be rebuilt in this version, but may be added to future versions:
  • Avatar
  • Birthday
  • Content (charge tag)
  • Follow
  • Followed
  • Paycheck
  • Trophy
  • Vote
The following event triggers are not planned to be rebuildable:
  • Daily
  • Interest
  • Like (defunct)
  • Liked (defunct)
  • Profile
  • Read
  • Revival
  • Taxation
  • View
  • Visit
The reason why these are not currently planned is that either the data to rebuild them does not exist, or it does not exist in a format that can be used to re-generate individual events with the correct date stamps.

You can choose to rebuild all, or one individual event trigger, as well as choose whether you wish to reset all transactions, and optionally all currencies to 0.
There is also a CLI tool for running the rebuild, if you have a very old forum you wish to rebuild.

With that out of the way, there's other changes in this version as well!

The following permissions can now be assigned to individual moderators:
  • Adjust currencies
  • View any transaction log entry
  • View unapproved transactions (unused)
  • Bypass "Charge" tags
  • Bypass currency privacy
Previously, these permissions were explicitly tied to user groups.

Speaking of permissions, internally, certain permissions have been renamed / permission groups changed in order to more closely follow XenForo standards. If you have made any customisations to templates or code, these may need to be reverted.

The "Richest User" widget will now only display users that have a user state of "valid" and is not banned.

Lastly, a fix to the "Transactions" list page was applied in which a "full table scan" could occur, causing a reduction in performance proportional to the number of transaction entries you had.


Complete Change Log

Feature: Rebuild transactions
Feature: Adjust, Donate, Redeem and Transfer events now have dedidcated log tables to aid in rebuilds
Feature: Add missing (unused) permission
Feature: Certain permissions are now available to assign to individual moderators as moderator permissions
Change: Internally rename some permissions to follow XF standards
Change: Ensure only valid users are displayed in the Richest Users widget
Fix: Fix an issue causing reduced performance on the Transactions page
  • Like
Reactions: 51463
Update highlights

This version adds support for creating events based on reactions. Sorry it took so long!

Just like the XF1 version's integration with the "Post Rating" mod, you can choose to limit each event to any reaction (or multiple reactions), or allow the event regardless.


Complete Change Log

Feature: React / Reacted events
Update highlights

This is the first release that only supports XenForo 2.1, and fully supports the new v6.1.0 of Shop. If you are running DB Shop on XF 2.1, it's strongly recommended to also upgrade to this version.

This version contains some minor changes to fix XF 2.1 compatibility, as well as bringing an updated design to the various widgets. The widgets now contain the user's avatar, as well as being more suited for displaying longer user names.


Complete Change Log

Feature: Add donation reason to donation event alert / push message
Change: Updated widgets to feature avatars and a cleaner design
Fix: Fix events reverting incorrectly when an entity is saved multiple times in succession
Fix: Update FontAwesome icon for Charge tag to be compatible with XF 2.1 FontAwesome changes
Fix: Fixed Shop version number check in the installer
Update highlights

!!! DO NOT INSTALL THIS VERSION IF YOU ARE RUNNING DRAGONBYTE SHOP v6.0.x !!!

After a lengthy Beta period, this product has gone Gold 🎉

This version contains no changes from the previous version. Future updates will require XenForo 2.1.

If you want the full details on the v5.1.0 release, you can check it out here: https://www.dragonbyte-tech.com/store/dragonbyte-credits.339/release/1713/

!!! DO NOT INSTALL THIS VERSION IF YOU ARE RUNNING DRAGONBYTE SHOP v6.0.x !!!


Complete Change Log

No changes.
  • Like
Reactions: 51463
Because I will be taking advantage of features that only exist in XenForo 2.1, the next version will require XenForo 2.1.

In the meantime, I will release a "Gold" version of the current beta or RC version. This "Gold" version should work fine with XenForo 2.1. There are no known blocking issues with the planned "Gold" version of this mod preventing it from running on XenForo 2.1.


It is unknown whether the current v5.0 branch works on XenForo 2.1. If you are unable to update to v5.1 (or the upcoming v5.2) because you require the Shop mod, please either wait with upgrading to XF 2.1 or try it out on a test board.

Please be advised that it is currently not feasible for me to fix issues with XF 2.1 compatibility in the v5.0 branch, and assistance with any such issues may be limited.

I am working as hard as I can bringing an update to the Shop mod that will be compatible with this new version. Please see the Shop thread for more information.
  • Like
Reactions: 51463 and jul
Update highlights

!!! DO NOT INSTALL THIS VERSION IF YOU ARE RUNNING DRAGONBYTE SHOP v6.0.x !!!

This version contains bug fixes and feature improvements.

Currency formatting is now applied more universally, so if your site is using very large currency amounts you will no longer have to keep track of digits by tracing your finger over the screen 😛

The "Richest user" widget was previously not respecting the "limit" setting in the widget config, this has now been addressed.

The template modification for inserting our editor.js file used for the pop-up Charge button will now only load when the rest of the editor's JS code loads.

The "Frequency" setting in events was only partially working in v5.1; setting it to a value of f.ex. 30 would actually require 31 events to be skipped in order for the 32nd event to successfully trigger. This now correctly requires only 29 events to be skipped in order for the 30th to trigger, as you would expect.

Lastly, we've added an install-upgrade.json file in preparation for compatibility with the [TH] Install & Upgrade add-on.

If you want the full details on the v5.1.0 release, you can check it out here: https://www.dragonbyte-tech.com/store/dragonbyte-credits.339/release/1713/

!!! DO NOT INSTALL THIS VERSION IF YOU ARE RUNNING DRAGONBYTE SHOP v6.0.x !!!


Complete Change Log

Change: Added install-upgrade.json file
Change: Currency formatting is now applied more universally
Fix: The editor.js file is now no longer loaded even on pages where the editor isn't loaded
Fix: The "Richest user" widget now respects the limits in the widget settings
Fix: The "Frequency" setting for events would cause too many events to be skipped
  • Like
Reactions: 51463
Update highlights

!!! DO NOT INSTALL THIS VERSION IF YOU ARE RUNNING DRAGONBYTE SHOP v6.0.x !!!

This version improves the transaction log search interface in the AdminCP by allowing you to search for the source user and target user separately.

Furthermore, the custom "Charge" BBCode (for the Content event) now uses an overlay to ask the user how many credits they wish to charge for the content in question. This works when selecting content and then pressing the "Charge" icon, or by pressing it on its own.

Note: This only works if the BBCode is still called charge - if it has been renamed so that [CHARGE] is no longer the BBCode tag used, the button will continue to work as it did in RC1 and before.

If you want the full details on the v5.1.0 release, you can check it out here: https://www.dragonbyte-tech.com/store/dragonbyte-credits.339/release/1713/

!!! DO NOT INSTALL THIS VERSION IF YOU ARE RUNNING DRAGONBYTE SHOP v6.0.x !!!


Complete Change Log

Feature: You can now search for source user and target user separately when searching transaction logs
Feature: The CHARGE BBCode now uses an overlay to prompt users for the amount they wish to charge. Only works if the BBCode is still called "CHARGE"
Fix: The transaction log searcher in the AdminCP now works as intended
  • Like
Reactions: 51463
Update highlights

!!! DO NOT INSTALL THIS VERSION IF YOU ARE RUNNING DRAGONBYTE SHOP v6.0.x !!!

This update adds a new user group permission, replacing the old "Block all cancelable event triggers" permission. This new permission, "Trigger events", does effectively the same thing, only it prevents all event triggers, not just cancelable ones.

By default, this permission is turned on for all users who have permission to view your site.

This permission lays the ground work for a future update in which events will use the "Content user group permissions" system, so you will be able to tweak the "Trigger events" permission on a per-event basis, allowing you fine control over who can access what events. When this system is in place, the existing "User groups" selector will be removed.

Furthermore, a few fixes and improvements have been added to the [CHARGE] BBCode and its surrounding Content event.

The currency popup would also be inaccessible if your site was running without any accessible Donate, Adjust, Purchase, Redeem or Transfer events. This issue was most prominent for guest users.

Lastly, the time zone used for calculating the "today" event has been normalised to use the guest timezone as per your XenForo options, a preventative measure that aims to preserve the integrity of these features.

If you want the full details on the v5.1.0 release, you can check it out here: https://www.dragonbyte-tech.com/store/dragonbyte-credits.339/release/1713/

!!! DO NOT INSTALL THIS VERSION IF YOU ARE RUNNING DRAGONBYTE SHOP v6.0.x !!!


Complete Change Log

Feature: New permission: Trigger events - whether user can trigger any event
Change: Removed "Block all cancelable event triggers" permission
Change: The time zone used for calculating "today" when awarding daily credits has been normalised to use the "Guests' time zone" setting
Change: [CHARGE] BBCode tags are now more resilient to post content changes
Fix: Fixed an issue with merging or deleting users as a result of a removed database table
Fix: Fixed an issue where the currency popup would display an error if no Donate, Adjust, Purchase, Redeem or Transfer events exist in the system
  • Like
Reactions: 51463
Update highlights

!!! DO NOT INSTALL THIS VERSION IF YOU ARE RUNNING DRAGONBYTE SHOP v6.0.x !!!

This update fixes an issue with guests viewing threads and other actions, caused by an overzealous verification step.

Furthermore, a few issues with adding or editing events have been corrected, where editing an existing event could erase the contents of the "event_trigger_id" column.

Lastly, the Adjust event has received updates in order to fix an issue with the phrase displayed in the alert, and fixing an issue where it was not possible to adjust your own credits.

If you want the full details on the v5.1.0 release, you can check it out here: https://www.dragonbyte-tech.com/store/dragonbyte-credits.339/release/1713/

!!! DO NOT INSTALL THIS VERSION IF YOU ARE RUNNING DRAGONBYTE SHOP v6.0.x !!!


Complete Change Log

Fix: Fixed an issue where editing an existing event could erase the contents of the "event_trigger_id" column
Fix: Fixed an issue where guests would be unable to view threads and perform certain other actions
Fix: Fixed an issue where you would be unable to adjust your own account
Fix: Fixed a phrase issue with the alert for Adjust events
  • Like
Reactions: 51463
Update highlights

!!! DO NOT INSTALL THIS VERSION IF YOU ARE RUNNING DRAGONBYTE SHOP v6.0.x !!!

This update fixes an issue adding or saving events, stemming from the change to Event Triggers.

If you want the full details on the v5.1.0 release, you can check it out here: https://www.dragonbyte-tech.com/store/dragonbyte-credits.339/release/1713/

!!! DO NOT INSTALL THIS VERSION IF YOU ARE RUNNING DRAGONBYTE SHOP v6.0.x !!!


Complete Change Log

Fix: Fixed an issue preventing adding new events, or saving existing events in a clean install of v5.1
  • Like
Reactions: 51463
Top