[DBTech] DragonByte User Upgrade Coupons

[DBTech] DragonByte User Upgrade Coupons 1.3.0

No permission to buy ($9.95)
Update highlights

!!!This version requires PHP 7.4+!!!


This version adds a new feature; Bulk Coupon Creation. When creating a new coupon, you can enter any number of coupon codes and they will all be created using the same configuration.

This version also refactors some backend code as well as fixing a compatibility issue with PHP 8.4.


Complete Change Log

Feature: Bulk coupon creation
Change: Refactored backend code
Change: Bump minimum PHP version to 7.4 and recommended version to 8.2
Fix: Fix PHP 8.4 compatibility issue
Update highlights

In this version, a minor change is made to also log the coupon usage when the coupon makes the user upgrade free. Previously, only discounted upgrades were logged.


Complete Change Log

Change: Log coupon usage when the user upgrade is free
Update highlights

!!! THIS VERSION REQUIRES XENFORO 2.2.0 AND PHP 7.2.0 !!!

This version contains no changes other than coding style updates and changes for XenForo 2.2.0 / PHP 7.2.0.


Complete Change Log

Change: Update internal functions to follow new XenForo 2.1 / 2.2 coding standards
Update highlights

This version adds a constraint on the coupon code length in order to prevent a server error from being displayed.


Complete Change Log

Fix: Prevent a server error by constraining coupon code length
Update highlights

This version fixes a couple issues related to user upgrade coupons that makes the upgrade itself free.


Complete Change Log

Fix: Fix limited-use coupons not having their remaining uses decremented when the user upgrade is free
Fix: Fix an issue that might allow for a user upgrade to be granted for free when it shouldn't be
Update highlights

This version adds a major new feature; one-time free user upgrades via 100% discount coupons!

The most frequently requested feature in v1.0 was the ability to provide a 100% discount via a coupon to enable free user upgrades. At first, this feature did not exist because I believed people were requesting recurring subscriptions at 100% discount, which is not possible.

After receiving clarification, the feature has now made its way into the product.


Complete Change Log

Feature: 100% discount coupons now offer a free one-time user upgrade
Update highlights

This version fixes a missing coupon permission template.


Complete Change Log

Fix: Fixed missing coupon permission template
Update highlights

This version improves customisation options by making the "previous price" display a CSS class rather than in-line CSS, so it's easier to customise with new colours and whatnot.

A couple reported bugs have also been fixed.


Complete Change Log

Change: Old upgrade price is now a CSS class for easier customisation
Fix: Fixed a server error that could occur if a user upgrade was purchased without a coupon
Fix: Fix a server error when renewing a user upgrade
Top Bottom