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.