[DBTech] DragonByte Credits

[DBTech] DragonByte Credits 5.1.0rc3

No permission to buy ($27.50)
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
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
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
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
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
Update highlights

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

This update fixes an issue with the "Frequency" setting for Daily, Interest, Paycheck and Transaction events.

The problem was that those events would only set the "last event" flag in the user table if the transaction was successful. In the case of the "Daily Activity" event, this meant that if you set Frequency to 30, the user simply had to refresh the page 30 times in order to get credit as if they had been active for 30 days.

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 the "Frequency" setting in Daily, Interest, Paycheck and Transaction events would not work as intended
An issue has been discovered in the Daily, Interest, Paycheck, and Taxation events preventing the "Frequency" event setting from working correctly for these events.

If you use any of these events and want to use the "Frequency" setting, then re-download v5.0.3, delete /upload/internal_data/dbtechCreditsUpgrade.lock, then re-upload all files in order to fix this issue.

This is released as a hotfix to v5.0.3 instead of a new update in order to give all existing licensed customers a chance to receive this fix without needing to pay again, if the licenses have lapsed since the last update.

An update for the v5.1.0 branch will be released shortly.
Update highlights

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

This update introduces two new features that let you control where and when your currencies are displayed; postbit, and the "member dropdown" (A.K.A. "visitor menu") when clicking your own user name.

Furthermore, this mod now takes advantage of a new feature in XF 2.0.10, so that is now the minimum requirement.

Lastly, the "Member Stats" integration on a member's profile was not working, so it is now up to 100% more working!

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: Individual currencies can now be hidden from the postbit
Feature: Individual currencies can now be displayed in the "member dropdown" (A.K.A. "visitor menu") when clicking your own user name
Change: Fresh installations will now apply sensible permission defaults
Change: The transaction log searcher sort orders can now be extended via a new code event
Change: The "Upload" event's integration with attachments has been changed to take advantage of a new feature in XF 2.0.10
Change: This mod now requires XenForo 2.0.10 to install & run
Fix: The "Member Stats" integration wasn't working
Update highlights

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

This update fixes a problem where you would need to deactivate event listeners via your config.php file in order to access any part of your site.

Furthermore, a performance issue was identified where the mod would re-fetch the currencies from the database for every single post when viewing a thread. The caching system for currencies has gained up to 200% smartness!

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: Greatly reduced the number of queries executed when viewing a thread
Fix: (Hopefully) fixed an issue that could produce a server error when upgrading from v5.0.x
Update highlights

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

Now that we have that out of the way, we're happy to bring you the first Beta version of our first major rewritten XenForo 2 only mod: DragonByte Credits! 🎉

This version has been completely rewritten from the ground up to be a completely native XenForo 2 modification, so this version will not run on XenForo 1. As a result, the UI in the AdminCP has received a major facelift, and now looks & feels as you would expect when running a XF2 mod.

Before we delve into the changes:
  • This is a Beta version, with sweeping database changes. Do not install this on a production forum without a backup that you can revert to in case something goes wrong. But please help us test it!
  • This version will not run on XenForo 1. Going forward, the focus of development will be on the XF2 version.
  • This version is not compatible with DragonByte Shop v6.0.x, the integration will fail and your site will most likely crash.
Without further ado, onto the changes!

Based on feedback, we've removed the "Manage Event Triggers" page in the AdminCP and moved its settings into the standard XenForo Options interface.
The old event triggers page was not very user friendly, with a bunch of elements you couldn't interact with and no indication of which ones you had to click in order to access important settings.


The Events page in the AdminCP has been cleaned up, the old tabs gone in favour of a more standard UI using collapse elements. A lot of descriptions have been updated to either clarify the meaning or be easier to read (especially true for the "if charging / if not charging" phrases).

Front-end wise, most of the changes are in the code, with one exception: invalid redemption codes will no longer say "Redemption successful" but with no credits applied. The user will instead be told that no valid redemptions exist for that specific code.

Once more, with feeling:

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


Complete Change Log

Feature: New user group permission: Bypass Charge tags
Feature: XenForo Media Gallery integration
Change: Completely rewrote the modification to be a native XenForo 2 modification
Change: Removed the "Manage Event Triggers" page, and moved its settings into the XenForo Options
Change: If a user attempts to redeem a code that is invalid, they will now receive a message saying so
Fix: Fixed permissions issues with viewing transaction log entries
Reactions: Rick7C2
Top