[DBTech] DragonByte Shop

[DBTech] DragonByte Shop 6.7.0

No permission to buy ($12.45)
Update highlights

Welcome to the second preview 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 (rather staggering amount of) 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.

  • This version is flagged as "Alpha". It's the earliest possible preview version that contains the minimum feature set (items & inventories). It is missing the following features:
    • Steal
    • Lottery
    • Trading
  • 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!

Bank: The first of the previously missing features have been re-added, featuring an improved / condensed UI to make it easier to manage your credits.

Deeper XenForo integration: The Shop now integrates with the following XenForo features:
  • Admin Search
  • Bookmarks
  • Daily Statistics
  • Member Stats
  • Reactions
  • User Search
  • What's New
In addition, various bugs have been resolved and made the occasional behind-the-scenes change.


Complete Change Log

Feature: Admin Search support for Categories and Items
Feature: Bookmarks and Reactions for Items
Feature: Added tracking for how many items each user has created
Feature: Added a new Member Stat for displaying how many items each user has created
Feature: Added new rebuild tools for purchase counter and item creation counter
Feature: What's New integration
Feature: Daily statistics for Items Added, Item Reactions, Item Ratings and Purchases
Feature: User Search integration for Items Added and Purchases
Feature: Author profile for displaying items added
Feature: Bank
Fix: Username Style item would not work as intended
Fix: The navbar tab in any of the "Right" positions would not display due to a renamed "Can view" permission
  • Like
Reactions: 51463
Update highlights

Welcome to the first preview 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 (rather staggering amount of) 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.

  • This version is flagged as "Alpha". It's the earliest possible preview version that contains the minimum feature set (items & inventories). It is missing the following features:
    • Bank
    • Steal
    • Lottery
    • Trading
  • 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! Hope you brought enough food and drink, because we're gonna be here for a while :p

Categories: The category and shop systems have been completely redesigned in order to merge them into a single "Category" function. This enables you to construct a "category tree" for easier browsing. Categories also take on some of the functionality of the old "Shop" system, namely the "Beneficiaries" feature that let you split earnings of an item.

New item management UI: Items now belong to only a single category, whereas before items could belong to a category and multiple shops simultaneously. As a result, the item management UI has been simplified. The UI has also been modernised to bring it more in line with the rest of XenForo.

Per-category permissions: You can now customise user group and per-user permissions for individual categories using the content permissions system in XenForo 2. Permissions also "bubble down" from categories, so any changes made to categories will apply to each individual items unless they have been overridden on a per-item basis.

Per-item permissions: The old item permissions and access criteria features have been replaced with the content permissions system in XenForo 2. This gives much greater control over item access, allowing you to fine-tune permissions in a much more intuitive way.

Item prefixes: You can now customise your items further with prefixes, as is standard across XenForo and other 3rd party add-ons.

Custom item fields: The "Custom fields" feature used in threads can now also be configured for items, allowing you to add new information fields to items in various locations.

Front-end item management: You can now add/edit/delete items via the front-end, and powerful new user group permissions control who can perform these actions on items.

Review system: The current "Feedback" system has been replaced with a "Review" system, letting users add text to their star ratings and displaying reviews and ratings more prominently.

Improved DragonByte Credits integration: The integration between these two mods has been improved, synchronising common fields from the Credits mod whenever you save an integrated currency in the Shop mod.

Improved item configuration: When viewing a purchased item in the inventory, you now see extended information about your configuration, including links to content for items such as "Bump Thread". Item configuration itself has also been improved, where such items accepting both a content ID as well as a link to the thread or post itself. Lastly, configuration notifications have been improved, now containing links to content such as threads or posts where applicable.

Deep XenForo integration: The Shop now integrates with the following XenForo features:
  • Approval Queue
  • Inline Moderation
  • Moderator Log
  • News Feed
  • Report
  • Search engine
  • Warning

Complete Change Log

Feature: Per-item permissions using XF2's content permissions system
Feature: Prefix support for items
Feature: Custom fields for items
Feature: Full category tree support
Feature: Per-category permissions using XF2's content permissions system
Feature: Extended item information in the Inventory screen
Feature: Items can be added/edited/managed via the front-end
Feature: Report system integration
Feature: Approval Queue integration
Feature: News Feed integration
Feature: Inline Moderation integration
Feature: Moderator Log integration
Feature: Search engine integration
Feature: Warning system integration
Change: Merged "Shops" and "Categories" into just "categories"
Change: Items can only belong to one category (shop), items currently stocked in multiple shops will be duplicated
Change: Vastly improved DragonByte Credits integration
Change: Items that take a thread ID or post ID in their configuration now also accept a thread or post link
Change: Item configuration notification conversations now contain more info, such as a link to the content in question
Change: Changed item feeedback into a standard "Review" system
Change: Removed the old per-item permissions and access criteria
Change: Completely overhauled item management and category management UI
  • Like
  • Love
Reactions: jul and 51463
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.
  • Like
Reactions: 51463
Hey all,

A bug has been discovered which caused the "Interest" cron job to log transaction entries for for all members even if the interest feature was disabled. Depending on the size of your forum, this could cause your xf_dbtech_shop_transactionlog table to grow out of control.

I have patched every available download starting with v6.0.0 onwards, so even if your license has expired you should still be able to download the fix.

The only file changed is /src/addons/DBTech/Shop/Model/Bank.php

After uploading the fix, you may wish to clean out your database, especially if you plan to upgrade to the upcoming v6.1, which will make significant alterations to the transaction log table.

In order to clean up your database, please execute this query:
SQL:
DELETE FROM xf_dbtech_shop_transactionlog WHERE action = 'interest' AND info LIKE '%s:6:"amount";d:0;}';
Very large forums may wish to run this query via the command line, as it is not guaranteed to work via web interfaces like phpMyAdmin.

After running this query, you may also wish to optimise the table by executing this query:
SQL:
OPTIMIZE TABLE xf_dbtech_shop_transactionlog;
This will help speed things up, especially if a large amount of data was deleted.
  • Like
Reactions: 51463
What is happening?
On the 11th of July 2018, XenForo published their Resource Guidelines aimed at ensuring performance & stability of XenForo modifications. At the moment, this product does not meet these standards, due to the fact that this product has been engineered to allow the core code to run on both XenForo 1 and XenForo 2.

As a result, I am beginning work on re-engineering this product to become a "native" XenForo 2 modification. At this point in time, there are no plans to re-engineer the XenForo 1 version, as the guidelines appear to target XF2 specifically.


What does this mean for the XF1 version?

Given that I will no longer be able to produce new features for XF1 and XF2 simultaneously without also doubling the work, the version numbers for the XF1 and XF2 versions may diverge going forward. The primary focus of development will be the XenForo 2 version of this product. Support for the XF1 version is NOT ending, and you will continue to be able to download the XF1 version alongside the XF2 version free of charge. Whether I will bump the XF1 version's version number to be in line with XF2 is undecided at this time.


What does this mean for the XF2 version?

First of all, I want to be clear that you will NOT have to uninstall the existing XF2 version in order to continue using this product going forward. I will be releasing beta versions of the re-engineered XF2 version as I finish working on them. I will need your help testing the various features and combinations of features in order to ensure the Gold version is as stable as possible.


When will this update be released?

Unfortunately it is not possible for me to give an ETA on when these updates will be completed, as it depends on the complexity of each individual modification.


Will this be a paid upgrade?

If you have an active license at the time of release, you will be able to download the new version free of charge.


----
I would also like to ask for your patience while I work on this update. My ability to fix bugs in the existing released version may be diminished, depending on the complexity of the issue.
  • Like
Reactions: 51463
Update highlights

This release fixes a few lingering issues from the 6.0.3 update.


Complete Change Log

Fix: [XF1] Fixed an issue where the item info template was missing
Fix: [XF2] Fixed an issue where the lottery draw cron job was missing
  • Like
Reactions: 51463
Update highlights

This release fixes a few lingering issues from the 6.0.2 update.

Special thanks to Siropu for helping me fix the incompatibility between our two mods :)


Complete Change Log

Fix: Phrase fixes in the front-end for certain items
Fix: Fixed an issue where Post Style would not apply to posts if Siropu's Ads Manager was installed.
  • Like
Reactions: 51463
Update highlights

This release fixes a few lingering issues from the 6.0.1 update.


Complete Change Log

Fix: Single use flag for the Post Style item would disable the Configure link
Fix: Phrase fixes in the AdminCP for certain items
Fix: Fixed an issue where certain URL parameters would not work correctly if content titles were disabled
Feature: The "User has purchased an item of the following item type:" feature from XF1 is now available on XF2
Feature: Conversations notifying users that they have received a gift will now include a link to the Active/Hidden settings panel
Change: The "No Configuration" checkbox will no longer be displayed when gifting an item if reconfigure is turned off in the item settings.
Change: Improved the display for messages along with gifted items
Fix: The "User has purchased the following item" feature was not working as intended
Fix: Mousing over a gifted item in the postbit would not correctly display the gift giver
Change: The copyright URL has been changed to match DBTech's new XF2 URLs
Fix: Bugfix roll-up since previous version
Top Bottom