[DBTech] DragonByte Shop

[DBTech] DragonByte Shop [Paid] 7.1.0

No permission to buy (€12.45)
DragonByte Tech updated [DBTech] DragonByte Shop with a new update entry:

6.1.0 Release Candidate 2

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...

Read the rest of this update entry...
 
Hey there!

For automated thread creation when you purchase an item; it only shows item and recipient. Can we edit this to show more? e.g. details, item fields.
 
I have some errors logged to report, I'm using the last version of dbtech shop.

#1

  • ErrorException: [E_NOTICE] Undefined index: main
  • src/addons/DBTech/Shop/Repository/Lottery.php:201
  • Generated by: Unknown account
  • May 17, 2019 at 2:01 AM
Code:
#0 src/addons/DBTech/Shop/Repository/Lottery.php(201): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/sbenny/pu...', 201, Array)
#1 src/addons/DBTech/Shop/Repository/Lottery.php(183): DBTech\Shop\Repository\Lottery->draw(Object(DBTech\Shop\Entity\Lottery))
#2 src/addons/DBTech/Shop/Cron/Lottery.php(16): DBTech\Shop\Repository\Lottery->drawLotteries()
#3 [internal function]: DBTech\Shop\Cron\Lottery::draw(Object(XF\Entity\CronEntry))
#4 src/XF/Job/Cron.php(34): call_user_func(Array, Object(XF\Entity\CronEntry))
#5 src/XF/Job/Manager.php(253): XF\Job\Cron->run(G)
#6 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#7 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#8 job.php(42): XF\Job\Manager->runQueue(false, 8)
#9 {main}





#2

  • ErrorException: [E_NOTICE] Undefined index: bonus
  • src/addons/DBTech/Shop/Repository/Lottery.php:201
  • Generated by: Unknown account
  • May 17, 2019 at 2:01 AM
Code:
#0 src/addons/DBTech/Shop/Repository/Lottery.php(201): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/sbenny/pu...', 201, Array)
#1 src/addons/DBTech/Shop/Repository/Lottery.php(183): DBTech\Shop\Repository\Lottery->draw(Object(DBTech\Shop\Entity\Lottery))
#2 src/addons/DBTech/Shop/Cron/Lottery.php(16): DBTech\Shop\Repository\Lottery->drawLotteries()
#3 [internal function]: DBTech\Shop\Cron\Lottery::draw(Object(XF\Entity\CronEntry))
#4 src/XF/Job/Cron.php(34): call_user_func(Array, Object(XF\Entity\CronEntry))
#5 src/XF/Job/Manager.php(253): XF\Job\Cron->run(G)
#6 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#7 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#8 job.php(42): XF\Job\Manager->runQueue(false, 8)
#9 {main}





#3
  • TypeError: Argument 4 passed to DBTech\Shop\Repository\Purchase::logTransaction() must be an instance of XF\Entity\User, null given, called in src/addons/DBTech/Shop/ItemType/AbstractHandler.php on line 621
  • src/addons/DBTech/Shop/Repository/Purchase.php:484
  • Generated by: Unknown account
  • May 17, 2019 at 1:00 AM
Code:
#0 src/addons/DBTech/Shop/ItemType/AbstractHandler.php(621): DBTech\Shop\Repository\Purchase->logTransaction(Object(DBTech\Shop\Entity\Purchase), 'discard', 0, NULL, NULL, false, Array)
#1 src/addons/DBTech/Shop/Repository/Purchase.php(358): DBTech\Shop\ItemType\AbstractHandler->discard(NULL, 'auto_discard_ex...')
#2 src/addons/DBTech/Shop/Cron/Item.php(13): DBTech\Shop\Repository\Purchase->handleExpiredItems()
#3 [internal function]: DBTech\Shop\Cron\Item::duration(Object(XF\Entity\CronEntry))
#4 src/XF/Job/Cron.php(34): call_user_func(Array, Object(XF\Entity\CronEntry))
#5 src/XF/Job/Manager.php(253): XF\Job\Cron->run(G)
#6 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#7 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#8 job.php(42): XF\Job\Manager->runQueue(false, 8)
#9 {main}


Hope they help, thank you.
 
Using latest (beta) shop and credits addon.



Changed in acp name of default credits currency.
When tried to integrate currency into shop (clicking save button), this error show up

Code:
Server error log
InvalidArgumentException: Column 'per_post' is unknown src/XF/Mvc/Entity/Entity.php:582
Generated by: Sunka 18.05.2019. at 22:23
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(720): XF\Mvc\Entity\Entity->set('per_post', 0, Array)
#1 src/XF/Mvc/FormAction.php(34): XF\Mvc\Entity\Entity->bulkSet(Array)
#2 src/XF/Mvc/FormAction.php(164): XF\Mvc\FormAction->XF\Mvc\{closure}(Object(XF\Mvc\FormAction))
#3 src/addons/DBTech/Shop/Admin/Controller/Currency.php(150): XF\Mvc\FormAction->run()
#4 src/XF/Mvc/Dispatcher.php(321): DBTech\Shop\Admin\Controller\Currency->actionSave(Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(244): XF\Mvc\Dispatcher->dispatchClass('DBTech\\Shop:Cur...', 'Save', Object(XF\Mvc\RouteMatch), Object(DBTech\Shop\Admin\Controller\Currency), NULL)
#6 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(DBTech\Shop\Admin\Controller\Currency), NULL)
#7 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#9 src/XF.php(390): XF\App->run()
#10 admin.php(13): XF::runApp('XF\\Admin\\App')
#11 {main}
Request state
array(4) {
  ["url"] => string(47) "/admin.php?dbtech-shop/currencies/points.1/save"
  ["referrer"] => string(73) "https://www.pijanitvor.com/admin.php?dbtech-shop/currencies/points.1/edit"
  ["_GET"] => array(1) {
    ["dbtech-shop/currencies/points_1/save"] => string(0) ""
  }
  ["_POST"] => array(23) {
    ["title"] => string(6) "Points"
    ["description_html"] => string(44) "<p>The default DragonByte Shop currency.</p>"
    ["display_order"] => string(2) "10"
    ["active"] => string(1) "1"
    ["credits_currency_id"] => string(1) "1"
    ["column"] => string(18) "dbtech_shop_points"
    ["decimals"] => string(1) "0"
    ["privacy"] => string(1) "2"
    ["prefix"] => string(0) ""
    ["suffix"] => string(0) ""
    ["sidebar"] => string(1) "1"
    ["postbit"] => string(1) "1"
    ["can_bank"] => string(1) "1"
    ["interest"] => string(1) "0"
    ["can_steal"] => string(1) "1"
    ["can_trade"] => string(1) "1"
    ["customshops"] => string(1) "1"
    ["per_thread"] => string(1) "5"
    ["per_reply"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(47) "/admin.php?dbtech-shop/currencies/points.1/edit"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}

22-24-45.webp
 
Using latest (beta) shop and credits addon.



Changed in acp name of default credits currency.
When tried to integrate currency into shop (clicking save button), this error show up

Code:
Server error log
InvalidArgumentException: Column 'per_post' is unknown src/XF/Mvc/Entity/Entity.php:582
Generated by: Sunka 18.05.2019. at 22:23
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(720): XF\Mvc\Entity\Entity->set('per_post', 0, Array)
#1 src/XF/Mvc/FormAction.php(34): XF\Mvc\Entity\Entity->bulkSet(Array)
#2 src/XF/Mvc/FormAction.php(164): XF\Mvc\FormAction->XF\Mvc\{closure}(Object(XF\Mvc\FormAction))
#3 src/addons/DBTech/Shop/Admin/Controller/Currency.php(150): XF\Mvc\FormAction->run()
#4 src/XF/Mvc/Dispatcher.php(321): DBTech\Shop\Admin\Controller\Currency->actionSave(Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(244): XF\Mvc\Dispatcher->dispatchClass('DBTech\\Shop:Cur...', 'Save', Object(XF\Mvc\RouteMatch), Object(DBTech\Shop\Admin\Controller\Currency), NULL)
#6 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(DBTech\Shop\Admin\Controller\Currency), NULL)
#7 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#9 src/XF.php(390): XF\App->run()
#10 admin.php(13): XF::runApp('XF\\Admin\\App')
#11 {main}
Request state
array(4) {
  ["url"] => string(47) "/admin.php?dbtech-shop/currencies/points.1/save"
  ["referrer"] => string(73) "https://www.pijanitvor.com/admin.php?dbtech-shop/currencies/points.1/edit"
  ["_GET"] => array(1) {
    ["dbtech-shop/currencies/points_1/save"] => string(0) ""
  }
  ["_POST"] => array(23) {
    ["title"] => string(6) "Points"
    ["description_html"] => string(44) "<p>The default DragonByte Shop currency.</p>"
    ["display_order"] => string(2) "10"
    ["active"] => string(1) "1"
    ["credits_currency_id"] => string(1) "1"
    ["column"] => string(18) "dbtech_shop_points"
    ["decimals"] => string(1) "0"
    ["privacy"] => string(1) "2"
    ["prefix"] => string(0) ""
    ["suffix"] => string(0) ""
    ["sidebar"] => string(1) "1"
    ["postbit"] => string(1) "1"
    ["can_bank"] => string(1) "1"
    ["interest"] => string(1) "0"
    ["can_steal"] => string(1) "1"
    ["can_trade"] => string(1) "1"
    ["customshops"] => string(1) "1"
    ["per_thread"] => string(1) "5"
    ["per_reply"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(47) "/admin.php?dbtech-shop/currencies/points.1/edit"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}

View attachment 202671
Known issue, will be fixed in the next version.
 
Back
Top Bottom