Bug User Title issue

Status
Not open for further replies.

hakkuo23

Customer
When gifting the user title, it looks like the configuration for it is being overwritten somewhere. $this->config['configuration']['usertitle'] is sending my users the error: Undefined index: usertitle.

I've been making custom items with the API, and, although I'm no expert, don't you have to extend the defaultConfig method and add the item configs and the user configs that will be stored? It looks like the item is not doing it.

Can you take a look into this issue as it makes for sending preconfigured user titles impossible :(

Thanks!
 
Can you please try disabling all of your custom mods for this mod and then see if it works?
 
Can you talk me through the exact configuration of your item as well as the exact steps that can replicate this issue 100% of the time, so I can see if it occurs for me locally?
 
Can you talk me through the exact configuration of your item as well as the exact steps that can replicate this issue 100% of the time, so I can see if it occurs for me locally?
Query of the item:
PHP:
INSERT INTO `xf_dbtech_shop_item` (`itemid`, `categoryid`, `title`, `description`, `shopicon`, `displayorder`, `purchases`, `price`, `permissions`, `code`, `itemtypeid`, `giftable`, `icon`, `currencyid`, `shop`, `duration`, `ownerid`, `uniqueitem`, `onlygiftable`, `moderation`, `reconfigure`, `regift`, `giftpm`, `nodisplay`, `active`, `threadcreation`, `threadpage`, `customshops`, `stealthed`, `prepurchase_callback_class`, `prepurchase_callback_method`, `postpurchase_callback_class`, `postpurchase_callback_method`, `sellback_callback_class`, `sellback_callback_method`, `configure_callback_class`, `configure_callback_method`, `gift_callback_class`, `gift_callback_method`, `discard_callback_class`, `discard_callback_method`, `exclusiveitem`) VALUES
(2, 1, 'User Title', 0x596f752063616e206368616e676520746865207469746c652074686174206170706561727320756e64657220796f757220757365726e616d652e, '', 100, 19, '0.00', 0x613a31363a7b693a383b613a313a7b733a31303a2263616e6275796974656d223b733a323a222d31223b7d693a32363b613a313a7b733a31303a2263616e6275796974656d223b733a323a222d31223b7d693a33343b613a313a7b733a31303a2263616e6275796974656d223b733a323a222d31223b7d693a32333b613a313a7b733a31303a2263616e6275796974656d223b733a323a222d31223b7d693a33303b613a313a7b733a31303a2263616e6275796974656d223b733a323a222d31223b7d693a353b613a313a7b733a31303a2263616e6275796974656d223b733a323a222d31223b7d693a32393b613a313a7b733a31303a2263616e6275796974656d223b733a323a222d31223b7d693a32353b613a313a7b733a31303a2263616e6275796974656d223b733a323a222d31223b7d693a333b613a313a7b733a31303a2263616e6275796974656d223b733a323a222d31223b7d693a33363b613a313a7b733a31303a2263616e6275796974656d223b733a323a222d31223b7d693a32313b613a313a7b733a31303a2263616e6275796974656d223b733a323a222d31223b7d693a343b613a313a7b733a31303a2263616e6275796974656d223b733a323a222d31223b7d693a323b613a313a7b733a31303a2263616e6275796974656d223b733a323a222d31223b7d693a33313b613a313a7b733a31303a2263616e6275796974656d223b733a323a222d31223b7d693a33393b613a313a7b733a31303a2263616e6275796974656d223b733a323a222d31223b7d693a313b613a313a7b733a31303a2263616e6275796974656d223b733a323a222d31223b7d7d, NULL, 'usertitlechange', 1, '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, '', '', '', '', '', '', '', '', '', '', '', '', 0);

Then you purchase the item and go to your inventory and click configure on the item. Set the title to something like 'I really like cheese' and click save. Then go to gift, type in someone's name and get it through autocomplete, do not fill out a message and do not check the configuration checkbox. That is how we trigger the error.
 
Hello hakkuo23,

This ticket has now been closed with the status Fixed.

We hope your issue or question has been addressed to your satisfaction. If not, please feel free to re-open it by clicking this link.

If you have any further issues or questions, please feel free to start a new support ticket via the button at the top of every page.

Thank you!
 
Status
Not open for further replies.

DragonByte Shop

XenForo 1.5.3+ XenForo 2.0.x XenForo 2.1.x XenForo 2.2.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
3,200
Customer rating
5.00 star(s) 3 ratings
Back
Top