[DBTech] DragonByte Shop

[DBTech] DragonByte Shop 6.1.3.1

No permission to buy ($24.95)
Update highlights

This version fixes an issue with attachments / IP logging / spam checker when submitting a new post.


Complete Change Log

Fix: Fixed an issue where attachments would not be correctly associated when posting a post
  • Like
Reactions: 51463 and Sunka
Update highlights

This version resolves a few reported bugs and addresses a problem with the way points generation was logged.

Most importantly, guest posts will now no longer display posts as textual HTML, restored to their full BBCode glory.

For changes, the way currency transactions were logged produced a problem when using Multi-Account detection add-ons. Now, when posts or threads are automatically generated and IP address logging is turned off, this is also reflected in Shop's transaction logs.


Complete Change Log

Change: No longer logs IPs when receiving points for threads or posts if logging is turned off (such as via automated threads)
Change: Changed the wording of the interest help phrase to be more consistent
Fix: Fixed an issue where guest posts would show un-parsed HTML in posts
Fix: Fixed an issue where the "Display in postbit" option was ignored and the "Member tooltip" option applied to both postbit and tooltip
Fix: Prevent the possibility of a server error
  • Like
Reactions: Sunka and 51463
Update highlights

This version aims to improve the performance on certain low-power servers, or servers with limited resources.

In previous versions, every time the forum interacted with a user's obtained items, such as displaying user names (for coloured user names) or permissions etc, certain files were being loaded from disk repeatedly, bypassing caches.

This was originally implemented because too aggressive a cache could result in users seeing other users' items when they went to view the configuration for their own items. However, this had the unfortunate downside of causing a rather significant slow-down if the server in question was running on a slow hard drive, or if it did not properly cache the actual physical files.

After some live testing, a happy middle-ground has been found, and performance on such servers should be greatly improved. It is unlikely you'll see major gains if your server was already running the Shop mod smoothly, but any optimisation is good optimisation!


Complete Change Log

Change: The default icon is now better aligned when showing bigger icons
Change: Apply a bit more permission caching
Fix: Fixed performance issues on certain low-power servers
Fix: When moving an item to a different category in the AdminCP, the list of available prefixes did not update
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

After a lengthy and useful beta period, it's time to release the Gold 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.

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 adds a new alert for victims of a Steal attempt, when the forum is not also running DragonByte Credits. No more vanishing currency!

In order to improve the functionality of the "Expiry date" feature for items, the cron job that expires items now runs every 10 minutes rather than every 24 hours.

Various reported bugs with the various "style" items have also been resolved.


Complete Change Log

Feature: Successful and failed steal attempts will now generate an alert for the (attempted) victim, if the stolen currency is not integrated with DragonByte Credits
Change: "Expire items" cron job now runs every 10 minutes, down from every 24 hours
Fix: Color is no longer a required field for pre-defined Post Style, Thread Title Style, Username Style and User Title style items
Fix: Fix a race condition in which interest could be skipped when running via cron
Fix: The "Shadow" colour would not load correctly when configuring Post Style, Thread Title Style, Username Style and User Title Style items
Fix: The "Shadow" colour would not save correctly when configuring Post Style, Thread Title Style, Username Style and User Title Style items
Fix: Items would not deactivate before being discarded when the items expired
Fix: The "Exclusive item" item setting was not applied correctly when gifting to another user
Fix: The "Exclusive item" item setting was not applied correctly
Fix: When editing items, the global "Enable content tagging" setting was not respected
Fix: The "Interest" currency setting would not allow negative numbers as intended
Fix: First time configuring the "Create Forum" item would generate a server error
Fix: Fixed sell-back limit display in the item information
Fix: Fixed issues with Richest Users widgets
Fix: Fixed an issue where an incorrectly configured item could cause a server error
Fix: Fixed a PHP 7.4 / XenForo 2.1.3 compatibility issue
  • Like
Reactions: 51463 and Sunka
Update highlights

Welcome to the fourth 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 adds a new item type: Steal Penalty. This item type will let you increase the penalty a would-be thief suffers if they fail to steal from the person buying an item of this type. This can go all the way up to 100%, or a configurable setting of your choice, for some really devastating effects!

A rare issue was also discovered where the "Steal" page could potentially interfere with an item's information page, if the item was named "steal".

Other minor bugs have also been resolved.


Complete Change Log

Feature: Maximum steal penalty setting
Feature: Steal Penalty item, to boost the penalty others suffer when failing to steal
Change: Ensure buyback price constraint is only applied if the sale and buyback currency is identical
Fix: The "Enable item ratings" setting would not prevent the button from showing
Fix: Fixed an issue where the Steal action could interfere with certain item titles
Fix: Ensure alerts are tied to addon ID
Fix: Rewrite the sellback limit to have the code make more sense
  • Like
Reactions: Sunka and 51463
Update highlights

Welcome to the third 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 contains mostly just bug fixes as reported by the community.

One notable change is an update to the Approval Queue template for items to match the new XF 2.1 style.

A few issues with the Currency feature has been resolved. A fresh installation would produce an invalid database configuration, and saving the currency would in some scenarios produce a server error.

Lastly, an issue with discarding items for users that have been deleted has been resolved.


Complete Change Log

Change: Updated Approval Queue template for Items
Fix: Fix the default shop points currency having an incorrect table definition on a fresh install
Fix: Saving the currency could produce a server error in certain circumstances
Fix: Prevent an error when attempting to discard an item for a user that no longer exists
  • Like
Reactions: Sunka and 51463
Update highlights

Welcome to the second 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 contains mostly just bug fixes as reported by the community.

A notable change was made to the Steal feature; it is now no longer possible to attempt to steal currency if the "Unsuccessful theft penalty" option is enabled and the user does not have any currency to lose.

This means that users cannot simply bank all of their currency and go on a stealing spree until they're successful, then repeat the process ad infinitum.


Complete Change Log

Change: It is no longer possible to steal currency when the user has 0 or a negative balance of that query, if the "Penalty for unsuccessful theft" setting is greater than 0.
Fix: In certain scenarios, users' currency amounts could decrease when they should increase, such as when withdrawing from the bank
Fix: Lottery history would not allow you to browse to page 2 onwards
Fix: Sellback will now use the correct currency
Fix: Non-recurring lotteries will now correctly be drawn
Fix: Fix an issue where the Per Thread and Per Post settings would not save
  • Like
Reactions: 51463 and Sunka
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.
  • Like
Reactions: jul and 51463
Update highlights

Welcome to the fifth 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 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
Top