[DBTech] DragonByte Shop

[DBTech] DragonByte Shop [Paid] 6.0.4

No permission to buy (€12.45)
  • When I create a new shop from front end, it says "x added successfully". It seems its not phrase. I couldn't find it to translate it. (also when I edit the shop, the "x edited successfully" is not phrase. also "item added successfully")
  • I added a new shop (I = user) and also added an item to it. But its not being displayed in shop page (not item nor the created shop) Although I see it in acp in shops page under user created shop. (just shops created from acp is being displayed in shop's main page in front-end) (Edit: found it. Its a tab :| )
 
When I create a new shop from front end, it says "x added successfully". It seems its not phrase. I couldn't find it to translate it. (also when I edit the shop, the "x edited successfully" is not phrase. also "item added successfully")
It is a phrase, it's a composite of 3 phrases:

dbtech_shop_x_y
dbtech_shop_item
dbtech_shop_edited (or dbtech_shop_added)


Fillip
 
A big suggestion. Please change the way the main page of shop looks like. I mean this page (/dbtech-shop).

Now:
  • It shows a shop, and other shops are as tabs, that when we click on those tabs, it opens the page to show items of that category.
But I wish:
  • there was a Recent Items and Recent Feedbacks and High Rated Items and High Rated Shops block in sidebar of /dbtech-shop page.
  • Shops were listed in Grid View next to each other (like how we see in xfmg or Social Groups by Nobita) (or like now, as list view, but below each other, not as tabs => or an option to change from tabbed to below each other) and not showing items of the shop below it, but user should click to enter the shop's page to see items of that special shop (again items can be displayed like how they are now, or like Grid View)

Also:
  • please add an option to let each useegroup to create x number of shops, or y number of items per shop. For many reason, a user may need to create different shops.
  • Also please add an option to let show owners to create categories in their shops.
(what I have in my mind? I want to use this perfect add-on as a marketplace in our site. Not just a simple shop)

(I know tonight I asked you lots of things. So I hope your read this big suggestion tomorrow so that you don't say NO :D )
 
Hello! I have a quick question. Is there a way to change the default item purchase permission for a usergroup? I can only find the per-item setting at the moment.
 
Hello! I have a quick question. Is there a way to change the default item purchase permission for a usergroup? I can only find the per-item setting at the moment.
DragonByte Tech: Shop - General Permissions -> Default Item Permissions: Deny Access

In XenForo's usergroup permissions interface :)


Fillip
 
@DragonByte Tech

This error comes up when an item is gifted to a user:

PHP:
ErrorException: Undefined index: expirydate - library/DBTech/Shop/Item/Helper/Extendable.php:48
Generated By: Divvens, 1 minute ago
Stack Trace
#0 /home/xxxx/public_html/library/DBTech/Shop/Item/Helper/Extendable.php(48): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/xxxx/...', 48, Array)
#1 /home/xxxx/public_html/library/DBTech/Shop/Action/Buyitem.php(398): DBTech_Shop_Item_Helper_Extendable->purchase(Array, true)
#2 /home/xxxx/public_html/library/DBTech/Shop/Application/Core.php(333): DBTech_Shop_Action_Buyitem->actionBuyGift()
#3 /home/xxxx/public_html/library/DBTech/Shop/XenForo/ControllerPublic/Shop.php(38): DBTech_Shop_Application_Core->runAction()
#4 /home/xxxx/public_html/library/XenForo/FrontController.php(351): DBTech_Shop_XenForo_ControllerPublic_Shop->actionIndex()
#5 /home/xxxx/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#6 /home/xxxx/public_html/index.php(13): XenForo_FrontController->run()
#7 {main}
Request State
array(3) {
  ["url"] => string(91) "http://orojackson.com/shop/wiper-the-warrior-tag-14-days-special.19/buyitem?action=buy-gift"
  ["_GET"] => array(1) {
   ["action"] => string(8) "buy-gift"
  }
  ["_POST"] => array(12) {
   ["recipient"] => string(15) "Heavenly Yaksha"
   ["message"] => string(201) "xxxxx"
   ["itemid"] => string(2) "19"
   ["shopid"] => string(1) "2"
   ["_xfConfirm"] => string(1) "1"
   ["_xfToken"] => string(8) "********"
   ["purchase"] => string(8) "Purchase"
   ["_xfRequestUri"] => string(20) "/shop/member-shop.2/"
   ["_xfNoRedirect"] => string(1) "1"
   ["_xfResponseType"] => string(4) "json"
   ["do"] => string(7) "buyitem"
   ["id"] => int(19)
  }
}

Line 48 on the file is:
PHP:
}
                    else if ($this->purchaseinfo['expirydate'] > $this->app->getTime())
                    {

There is an expiry duration added to the item.

If any other information is required, let me know :)
 
DragonByte Tech: Shop - General Permissions -> Default Item Permissions: Deny Access

In XenForo's usergroup permissions interface :)


Fillip
Thanks! I tried that, but it doesn't seem to be working. Or else my permissions aren't setup properly.

My account's primary usergroup (Registered) has Default Item Permissions: Deny Access set to "Yes". Every other usergroup has this set to default. None of my shop items have item permissions set. They're all set to default. I assumed this mean that none of the items would appear in the shop. However, they all still appear in the shop.
 
When an item that is purchased by some users is deleted from items list, Normally its price should be added to user's credit. Because they can no longer use that product. But I tested one item, and purchased it, and then deleted that item from acp, although the item was no longer in my account, but no credit came back to my credit.
 
I unchecked "User Shops Enabled". So now the whole system that let users create or manage shop in front end should be disabled. (even if they have "Can Create Custom Shop" or "Is Shop Manager" permissions). Because this option is disabling that feature in add-on, and when something is disable in add-on, its not important if you have permission for it or not. You won't be able to use it.

But they still can see "Manage Shop" and "Manage Items" buttons there. (although when they click on them, they go to a page that shows this missing phrase: no_permission) It would be better to not to see those buttons when they don't have permission or "User Shops Enabled" is unchecked.
 
In acp, I wanted to add a new item. I selected a file for "Upload New Small Icon" and a file for "Upload New Shop Icon" and then saved it.

It didn't add those icons to item. But when I edited the item and selected files and saved it, then it showed.
 
I checked " (Pro) Override "Can Use Signature"?". And no usergroup is selected for "(Pro) Override "Can Use Signature" Exempt Usergroups".

But I still can change my signature.
 
This error comes up when an item is gifted to a user
I'll resolve that for the next version, thanks :)

Thanks! I tried that, but it doesn't seem to be working. Or else my permissions aren't setup properly.
I'll re-test this for the next version :)

maybe a bug?
I'll re-test this for the next version :)

When an item that is purchased by some users is deleted from items list, Normally its price should be added to user's credit. Because they can no longer use that product. But I tested one item, and purchased it, and then deleted that item from acp, although the item was no longer in my account, but no credit came back to my credit.
This is working as intended. There are no refunds for deleted items and it is not something that's planned either, as it would have a negative impact on performance.

I unchecked "User Shops Enabled". So now the whole system that let users create or manage shop in front end should be disabled. (even if they have "Can Create Custom Shop" or "Is Shop Manager" permissions). Because this option is disabling that feature in add-on, and when something is disable in add-on, its not important if you have permission for it or not. You won't be able to use it.

But they still can see "Manage Shop" and "Manage Items" buttons there. (although when they click on them, they go to a page that shows this missing phrase: no_permission) It would be better to not to see those buttons when they don't have permission or "User Shops Enabled" is unchecked.
I'll look into the navbar template for the next version :)

In acp, I wanted to add a new item. I selected a file for "Upload New Small Icon" and a file for "Upload New Shop Icon" and then saved it.

It didn't add those icons to item. But when I edited the item and selected files and saved it, then it showed.
This is currently working as intended, as mentioned in a previous post the uploads will not work until you edit the item.

I checked " (Pro) Override "Can Use Signature"?". And no usergroup is selected for "(Pro) Override "Can Use Signature" Exempt Usergroups".

But I still can change my signature.
That feature is not supported in XenForo at this time, I will move the options to a debug-only group to get them out of the way for now.


Fillip
 
Back
Top Bottom