[DBTech] DragonByte Shop

xF2 Add-on [DBTech] DragonByte Shop 6.6.4

No permission to download
Update highlights

This version features an important change in which deactivated items will now also be discarded if its item settings say that the item should be discarded upon expiry. Previously, these items would have been left in the user's inventory.

Furthermore, a few issues with the new transaction log and the new "display in list" option has been resolved.

Lastly, the "Unique" and "Exclusive" flags are now more resilient when gifting or buying for another user.


Complete Change Log

Change: Items that are set to be discarded upon expiry will now be discarded even if the purchase has been deactivated
Fix: Lottery Prize transaction log was missing the lottery name
Fix: Lottery Prize transaction log was missing its value
Fix: Fixed Steal log entries showing 0 instead of the actual steal value
Fix: Add "!important" to user title style Bold so that the default XF styling does not override it
Fix: Unique/Exclusive checks for items in cart now correctly only applies to the currently purchasing user when not purchasing as a gift
Fix: Unique/Exclusive checks for items in cart now correctly checks the recipient's cart when determining whether they can receive the item
Fix: Moving categories would not immediately trigger a permission rebuild
Fix: Item permissions would not rebuild correctly when adding them via the front-end
Fix: Items not displayed in the list will no longer show up in the "New Items" widget
Fix: Items not displayed in the list will no longer show up in the "Top Items" widget
Update highlights

Welcome to the first Release Candidate version of DragonByte Shop v6.1.0 ?

Version 6.1.0 represents a complete re-write of the product, making it more deeply integrated with XenForo 2.1, improving performance, and making bugfixes easier.

The Release Candidate label means that unless major bugs appear, the next version will be the Gold version.

Before we delve into the changes, let's get some things out of the way:

  • This version requires XenForo 2.1.0. It will not install on XenForo 2.0.x.
  • The "User shops" feature and surrounding item management in the front-end has been permanently removed from the add-on and will not be making a return.
  • If you are still running DragonByte Credits v5.0.x, you need to disable both DragonByte Credits and DragonByte Shop before upgrading both of them to the latest versions. Not doing so will cause your site to crash until you edit the config file to disable addons from running.
  • It is recommended you upgrade both this and DragonByte Credits via the new "Install from archive" feature in XenForo 2.1.0.
  • Please see this post: #213 for further upgrade notes.
With that out of the way, on to the changes!

This version has, quite frankly, way too many changes to delve into. I love you guys, gals and beautiful people in between, but I am not spending 5 hours writing out details for all the changes. There's ~50 of them! ?

I'll go through the new features and some of the changes, though!

This version features multiple changes to transactions and transaction logging, not all of which will be backwards compatible. Item transfers are now logged, and discarding an item now logs additional details about how it was discarded (automatically or manually, etc). Historical entries will not have the additional information, but new entries going forward will.

The list and grid view now have options to buy an item directly from the shop list, rather than having to go through the actual item page itself.

There's now an option to disable item icon scaling, if your icons are all the same size and should be displayed the same across the entire shop.

Lastly, it is now possible to change an item's configuration in the AdminCP.

The main changes to existing features in this version are; Improved the design of notification phrases (messages appear in quote BBCode), made AutoBump items able to work per-hour instead of only per-day, improved usability by adding error messages to the user explaining why they can't purchase or gift a particular item if they try.

Last but by no means least, 30+ bug fixes!


Complete Change Log

Feature: Discarding a purchase now logs additional information about why the purchase was discarded
Feature: Added "{tagline}" and "{description}" as phrase variables for various notification phrases
Feature: Pricing label is now a button in List view
Feature: Added purchase button in Grid view
Feature: Transfers are now logged in the transaction log
Feature: Ability to disable item icon scaling
Feature: Ability to change an item's configuration in the AdminCP
Change: Shop transactions inserted into DB Credits will no longer be "strikethrough" in the transaction log going forward
Change: Number boxes in the AdminCP now use the XF spinbox style
Change: Updated various notification phrases to put any custom messages in QUOTE tags
Change: Added various "_nomessage" phrases for notification phrases where this is relevant
Change: Updated "description" to "tagline" in a few phrases
Change: Standardise various spellings of "colo(u)r" to default to US English
Change: Attempting to add an item to cart that the user cannot purchase will now display an error message rather than silently discarding the item from the user's cart
Change: During purchase, attempting to gift an item that cannot be gifted will now display an error message rather than silently discarding the item from the user's cart
Change: Replaced date created / date updated with stock / purchases in List and Grid view
Change: AutoBump cron now runs every hour
Change: Changed the way user title styles are previewed
Fix: Adding a new purchase via the AdminCP would not work as intended
Fix: Fix content change integration
Fix: Fix missing bookmark template
Fix: Gift messages would not respect the forum's censoring
Fix: Transactions were not logged correctly if the currency was integrated with DragonByte Credits
Fix: The "Shadow" value in the various configuration notice phrases was wrong
Fix: Fixed an issue where the default admin config would not work as intended for certain item types
Fix: The "Custom Item" item type will no longer display empty blocks in configuration notices / gift conversations if there are no defined fields
Fix: When displaying the configuration list in a conversation, correctly say "not set" if the corresponding item setting is turned off, even if a configured value exists internally
Fix: Fixed server error when attempting to edit in the AdminCP a purchase for a non-configurable item
Fix: Fixed "{name}" showing up in the news feed instead of the user's name when a new review is written
Fix: Only display active item types in the User Criteria (such as trophies)
Fix: The "Start conversation on gift" option is now actually implemented
Fix: Bankable currencies are now more accurately filtered from the Bank page
Fix: Gift alert was not added when purchasing item as a gift
Fix: Users can no longer gift items to themselves
Fix: New Lottery History entries were not being inserted
Fix: Items that were activated during purchase should now take effect immediately, unless those items are only giftable
Fix: Fixed a template error with the news feed entry for an item review
Fix: Fixed a server error in the purchase settings page related to checking whether an item has been gifted
Fix: It is now possible to gift an item to another user during purchase even if the item is Exclusive or Unique, and the buyer would not be able to buy the item for themselves
Fix: The Unique and Exclusive flags are now checked for recipient users during gifting and trading
Fix: The correct user will now be charged for the purchase when gifting an item during purchase
Fix: Thread Highlight (Pre-Defined) was not loading the thread information into the configuration view template
Fix: User title style classes are now properly applied when running older versions of PHP
Fix: The news feed item, alert and push notifications for a reaction to a trade post would create a server error
Fix: Do not allow changing the quantity of Exclusive or Unique items during checkout
Fix: Fixed an issue where the "Forum statistics" cron would produce a server error if the latest valid user had purchased any item
Fix: Prevent a scenario in which it's possible for multiple copies of a unique item to be added to the cart
Fix: Gift and Trade events were not logged correctly in the transaction log
Fix: Fixed an issue where the configured color for the "User Title Style" would not show in the configuration information window
Fix: Fixed an issue where the "Preview" field would be empty for the two "User Title Style" item types if the user did not have a custom user title
Fix: The check for unique items now excludes items currently in cart. This means if you change the unique flag after an item is already in a user's cart, they will still be able to complete that particular order.
Update highlights

Welcome to the fourth Beta version of DragonByte Shop v6.1.0 ?

Version 6.1.0 represents a complete re-write of the product, making it more deeply integrated with XenForo 2.1, improving performance, and making bugfixes easier.

The Beta label means all missing / planned functionality has now been added, and the system is now ready for more wide-scale testing.

Before we delve into the changes, let's get some things out of the way:

  • This version requires XenForo 2.1.0. It will not install on XenForo 2.0.x.

  • The "User shops" feature and surrounding item management in the front-end has been permanently removed from the add-on and will not be making a return.

  • If you are still running DragonByte Credits v5.0.x, you need to disable both DragonByte Credits and DragonByte Shop before upgrading both of them to the latest versions. Not doing so will cause your site to crash until you edit the config file to disable addons from running.

  • It is recommended you upgrade both this and DragonByte Credits via the new "Install from archive" feature in XenForo 2.1.0.

  • Please see this post: #213 for further upgrade notes.
With that out of the way, on to the changes!

This update fixes a few minor bugs, as well as fixing an issue where reviewing an item would produce a server error in the news feed due to a missing template.

Furthermore, it was possible for users to select more than the intended lottery numbers when buying a ticket, essentially making it impossible to lose a lottery. This has now been resolved, and tickets are now correctly restricted to selecting the correct amount of numbers.


Complete Change Log

Fix: Fix an issue where it was not possible to edit a user's currency in the AdminCP
Fix: The "Filter" drop-down will no longer produce a server error if no valid items were found
Fix: Added missing template
Fix: Fixed an issue where you could choose more than the intended amount of lottery numbers
Fix: Fixed an issue where uninstalling the add-on could leave some residual data
Because my development efforts have shifted towards XenForo 2.1, the upcoming v6.1 update will require XenForo 2.1.

It is unknown whether the current v6.0 branch works on XenForo 2.1. If you are using this 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 v6.0 branch, and assistance with any such issues may be limited.

In order to speed up the process at which you are able to upgrade without fear, the following features will not be available in the first Beta version of v6.1:
  • Bank
  • Steal
  • Lottery
  • Trading
I want to focus on making the core of the product - Items - the best it can be, so it's taking a long time to develop.

I am working as hard as I can bringing the new update to you. Please stay tuned for more information.
Top