[TH] Credits: Shop [Deleted]

Jake B.

Well-known member
but how? All it does it appear in a users wallet and no way for staff to know.

You can have it show up in the user's inventory on their profile page (if you have the inventory set as public) or can have it show up in the postbit as well :)
 

Tasanar

Active member
Without staff being able to go in and remove from the inventory it helps little. Just being able to "Retire" an item after it is retrieved in game would be a huge help.
 

Tasanar

Active member
I am having trouble getting the shop to actually save the picture of the item. It keeps saying the location to save it to is unreadable even after I set it to 777. Where is the default location this addon tries to save shop images to?
 

m1ne

Well-known member
@Jake B. getting this error when saving a product

Code:
ErrorException: Undefined index: Sep 2016 - library/Audentio/Credit/Core/Model/PackageIncome.php:161
Generated By: Solidus, A moment ago

Code:
#0 /var/www/wweforums.net/httpdocs/library/Audentio/Credit/Core/Model/PackageIncome.php(161): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/...', 161, Array)
#1 /var/www/wweforums.net/httpdocs/library/Audentio/Credit/Core/ControllerAdmin/Credit.php(43): Audentio_Credit_Core_Model_PackageIncome->prepareIncomeForPastYear(Array)
#2 /var/www/wweforums.net/httpdocs/library/XenForo/FrontController.php(351): Audentio_Credit_Core_ControllerAdmin_Credit->actionIndex()
#3 /var/www/wweforums.net/httpdocs/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /var/www/wweforums.net/httpdocs/admin.php(13): XenForo_FrontController->run()
#5 {main}
 

madness85

Active member
@ThemeHouse

On an old credit sytem i used on vb it had a very fun feature so users could attempt to steal a % set in the admin panel from one another. any chance that can be added on a future release?
 

Dalton Prock

Well-known member
Another thing I noticed the credits system will not let you use a table that already exists. This is a big downfall for me I would like to have multiple addons using the same table.
I see, I will be sure to make a note of this so that we can look into adding this in a future release.
 

Dalton Prock

Well-known member
Last edited:

madness85

Active member
There should be an option for this in the Credits: Shop option group
/admin.php?adcredits/

Options:
Products
Categorys

I don't seen anything in the above options to set maximum allowed icons in postbit, just an option on each item if it should be displayed or not.

Cold you guys add an option? It would be nice if it displayed the amount we set and It had a dropdown in postbit to display all.
 

Travis

Active member
Uninstalled this addon as the site's needs changed, but now when i go to create a new member i get this error:

The following error occurred:
Mysqli statement execute error : Field 'adcredit_shop_postbit_icons' doesn't have a default value
  1. Zend_Db_Statement_Mysqli->_execute() in Zend/Db/Statement.php at line 297
  2. Zend_Db_Statement->execute() in Zend/Db/Adapter/Abstract.php at line 479
  3. Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 574
  4. Zend_Db_Adapter_Abstract->insert() in XenForo/DataWriter.php at line 1638
  5. XenForo_DataWriter->_insert() in XenForo/DataWriter.php at line 1627
  6. XenForo_DataWriter->_save() in XenForo/DataWriter.php at line 1419
  7. XenForo_DataWriter->save() in XenForo/ControllerAdmin/User.php at line 514
  8. XenForo_ControllerAdmin_User->actionSave() in XenForo/FrontController.php at line 351
  9. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  10. XenForo_FrontController->run() in /home/ftvnatio/public_html/forum/admin.php at line 13
 

Jake B.

Well-known member
Uninstalled this addon as the site's needs changed, but now when i go to create a new member i get this error:


Uninstalled or disabled? looks like you've disabled which leaves the blob fields in place. Run these queries to stop getting the error when you disable:

Code:
ALTER TABLE `xf_user` MODIFY COLUMN `adcredit_shop_profile_icons` BLOB NULL ;
ALTER TABLE `xf_user` MODIFY COLUMN `adcredit_shop_profile_icons` BLOB NULL ;
 
Top