[DBTech] DragonByte Credits

xF2 Add-on [DBTech] DragonByte Credits 5.8.4

No permission to download
Update highlights

This version adds one of the most frequently requested features: The ability to add DragonByte Credits as a payment profile!

You can apply this payment profile to things like user upgrades, DragonByte eCommerce products, and more! This feature will work with any 1st party or 3rd party system that uses XenForo's built-in payment profile system to handle payments.

When configuring the payment profile, you will have the option to pick which Credits currency is applied, and also the "Exchange rate". This helps translate your Credits currency to real-world currency. For instance, if you plan to apply this profile to a User Upgrade that costs $4.99, and set the exchange rate to 100, users will need 499 points to buy this upgrade.

This minor update fixes a couple reported bugs discovered since Beta 1.


Complete Change Log

Fix: Fix an issue where negating a skipped event would incorrectly apply - the negation should also be skipped
Fix: Fix an issue where the "Frequency" setting would not work as intended
Update highlights

This version adds one of the most frequently requested features: The ability to add DragonByte Credits as a payment profile!

You can apply this payment profile to things like user upgrades, DragonByte eCommerce products, and more! This feature will work with any 1st party or 3rd party system that uses XenForo's built-in payment profile system to handle payments.

When configuring the payment profile, you will have the option to pick which Credits currency is applied, and also the "Exchange rate". This helps translate your Credits currency to real-world currency. For instance, if you plan to apply this profile to a User Upgrade that costs $4.99, and set the exchange rate to 100, users will need 499 points to buy this upgrade.


Complete Change Log

Feature: Credits as a Payment Profile
Update highlights

This version fixes a few minor issues discovered in the previous version, based on reports from our community.


Complete Change Log

Fix: Birthday event phrases used the wrong phrase key
Fix: Purchase event alert phrases did not work as intended
Fix: Worked around a race condition where the points column was deleted
Fix: Fixed clean installation not having the correct columns
Update highlights

This version features a major change to the way Thread and Post events work. The most frequent piece of feedback for DB Credits has always been "why do people lose credits when editing posts?" and the answer has always been "because of the 'amount per character' feature".

With this version, I aim to eliminate that confusion. The system will now look at the "Amount per character" / "Amount per word" setting for the Thread and Post events, and not apply any such events if those features are unused.

The end result is that editing a post will no longer add or remove credits unnecessarily.

Furthermore, credits are no longer awarded for automated threads or posts.


In other news, a new feature has been added where users can see their unlocked content (via the "Content" event and the [CHARGE] tags in posts). This new page can be found via the navbar.


Complete Change Log

Feature: Page where users can view their unlocked content
Change: Rework Thread / Post editing to only trigger negation when it's absolutely necessary
Update highlights

"Bug fixes and stability improvements"
Now that I've sufficiently triggered everyone who reads their phone app change logs...

This version makes a change that will help prevent a database error where leaving the "Points Column" field blank when adding a new currency could produce a database error.

Furthermore, the CLI command to rebuild currencies was not actually working because the class name and the file name didn't match. Whoops.

Lastly, a few minor other issues reported by our customers have been resolved.


Complete Change Log

Change: The "Column" field when adding a new currency is now marked as required in the form, preventing database errors in certain scenarios
Fix: Transaction alerts were not correctly listed as depending on this add-on
Fix: Fixed a missing phrase when adding a new currency
Fix: Fixed issues with Richest Users widgets
Fix: Fixed incorrect CLI class name preventing the CLI command from running
Update highlights

This version contains a number of bug fixes reported during the beta period, as well as a few major features and changes.

There are two major features in this update: Smart event negation and Event transaction moderation.

Smart event negation: In previous versions, you had to configure both the "Amount" and "Negation amount" settings for each events. If you did not do this, users could gain infinite credits by simply editing their posts over and over again. While the negation amount worked for the majority of users, it did not work if you made use of the "Random addition" feature.

In this version, you can optionally enable "Smart event negation" which will delete the previous transaction rather than inserting a new transaction when negating an event (such as deleting a post). This means your members will lose the exact amount of credits they earned (including random additions), and will no longer see multiple alerts when editing their posts. The transaction log will also no longer be cluttered with strike-through events.

This feature is still experimental, as I can't be sure if it works in every scenario. Furthermore, in order to take advantage of this feature, you have to set the "Negation amount" settings in your events back to 0 (so as to not disable a feature where negating an event would take away a different amount of credits).

The feature also doesn't work with all event triggers. A complete list is not available at this time.


Event transaction moderation: You can now optionally moderate each and every transaction for any given event. This is particularly useful if you have, for instance, a Redeem event that's supposed to be secret but you suspect the code has been shared. Events will appear in the Approval Queue where moderators with the appropriate permission will be able to approve or reject it.


Other changes and fixes can be found in the change log.


Complete Change Log

Feature: Smart event negation (beta)
Feature: Event transaction moderation
Feature: AdminCP transaction list / transaction view now displays the transaction state
Change: Editing posts will no longer produce an alert
Change: Rework the way Interest, Paycheck and Taxation events are applied in an attempt to reduce race conditions where events would apply into the future
Change: AdminCP transaction list now hides "Skipped" and "Skipped (maximum applications)" by default
Change: Renamed the Credits alert content types for consistency
Change: Number boxes in the AdminCP now use the XF spinbox style
Fix: It was not possible to select "both users" for the Taxation setting for certain events
Fix: The taxation feature did not function as described in the explanation text
Fix: Transaction messages would not respect the forum's censoring
Fix: Resolved a server error when limiting the Trophy event
Fix: Ensure thread owners won't trigger their own Reply events
Update highlights

This version refines the navbar integration by adding FontAwesome icons for menu entries when positioned in the right-side menu, as well as adding the ability to disable the text. Lastly, the HTML has been updated to better blend in with other right-side navbar items.

This has been tested on a limited number of custom skins. If you encounter any problems with the right-side menu after installing this update, please report it to the developer of your custom skin and ask them to get in touch with us to notify us of any changes we need to make.


Complete Change Log

Feature: Added FontAwesome icons for right-side menu entries
Feature: Added ability to disable the navbar text for right-side menu entries
Change: Updated the style of right-side menu entries to better fit into the surrounding entries
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.

!!! 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
!!! 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
What is happening?
On the 11th of July 2018, XenForo published their Resource Guidelines aimed at ensuring performance & stability of XenForo modifications. At the moment, this product does not meet these standards, due to the fact that this product has been engineered to allow the core code to run on both XenForo 1 and XenForo 2.

As a result, I am beginning work on re-engineering this product to become a "native" XenForo 2 modification. At this point in time, there are no plans to re-engineer the XenForo 1 version, as the guidelines appear to target XF2 specifically.


What does this mean for the XF1 version?

Given that I will no longer be able to produce new features for XF1 and XF2 simultaneously without also doubling the work, the version numbers for the XF1 and XF2 versions may diverge going forward. The primary focus of development will be the XenForo 2 version of this product. Support for the XF1 version is NOT ending, and you will continue to be able to download the XF1 version alongside the XF2 version free of charge. Whether I will bump the XF1 version's version number to be in line with XF2 is undecided at this time.


What does this mean for the XF2 version?

First of all, I want to be clear that you will NOT have to uninstall the existing XF2 version in order to continue using this product going forward. I will be releasing beta versions of the re-engineered XF2 version as I finish working on them. I will need your help testing the various features and combinations of features in order to ensure the Gold version is as stable as possible.


When will this update be released?

Unfortunately it is not possible for me to give an ETA on when these updates will be completed, as it depends on the complexity of each individual modification.


Will this be a paid upgrade?

If you have an active license at the time of release, you will be able to download the new version free of charge.


----
I would also like to ask for your patience while I work on this update. My ability to fix bugs in the existing released version may be diminished, depending on the complexity of the issue.

5.0.3


Update highlights

This release fixes various issues & bugs reported by our customers.


Complete Change Log

Fix: Fixed an issue where the Punish and Warned events could prevent a warning from being given in certain scenarios