[DBTech] DragonByte Credits

[DBTech] DragonByte Credits [Paid] 5.0.3

No permission to buy ($14.95)
Bumbing again after a month, any ETA for XFRM integration? Downloading resourses is the first choice for members to spend their credits.
 
An error when using this addon with Conversation Improvements, (XF 1.5)
https://xenforo.com/community/threads/conversation-improvements-by-xon.103776/

Error Info
Code:
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'user.dbtech_shop_points' in 'field list' - library/Zend/Db/Statement/Mysqli.php:77
Generated By: admin, 4 minutes ago
Stack Trace
Code:
#0 /var/www/devsrvr/default/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('\n            SE...')
#1 /var/www/devsrvr/default/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '\n            SE...')
#2 /var/www/devsrvr/default/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('\n            SE...')
#3 /var/www/devsrvr/default/library/XenForo/Model.php(219): Zend_Db_Adapter_Abstract->query('\n            SE...', Array, 2)
#4 /var/www/devsrvr/default/library/SV/ConversationImprovements/XenForo/Model/Conversation.php(82): XenForo_Model->fetchAllKeyed('\n            SE...', 'message_id')
#5 /var/www/devsrvr/default/library/SV/ConversationImprovements/Search/DataHandler/ConversationMessage.php(117): SV_ConversationImprovements_XenForo_Model_Conversation->getConversationMessagesByIds(Array, Array)
#6 /var/www/devsrvr/default/library/SV/ConversationImprovements/Search/DataHandler/ConversationMessage.php(104): SV_ConversationImprovements_Search_DataHandler_ConversationMessage->quickIndex(Object(XenForo_Search_Indexer), Array)
#7 /var/www/devsrvr/default/library/XenForo/Deferred/SearchIndex.php(74): SV_ConversationImprovements_Search_DataHandler_ConversationMessage->rebuildIndex(Object(XenForo_Search_Indexer), 0, 500)
#8 /var/www/devsrvr/default/library/XenForo/Model/Deferred.php(295): XenForo_Deferred_SearchIndex->execute(Array, Array, 8, '')
#9 /var/www/devsrvr/default/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 8, '', false)
#10 /var/www/devsrvr/default/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, 8, '', false)
#11 /var/www/devsrvr/default/library/XenForo/ControllerAdmin/Tools.php(159): XenForo_Model_Deferred->run(true, NULL, '', false)
#12 /var/www/devsrvr/default/library/XenForo/FrontController.php(369): XenForo_ControllerAdmin_Tools->actionRunDeferred()
#13 /var/www/devsrvr/default/library/XenForo/FrontController.php(152): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#14 /var/www/devsrvr/default/admin.php(13): XenForo_FrontController->run()
#15 {main}
Request State
Code:
array(3) {
  ["url"] => string(57) "https://devsrvr.com/default/admin.php?tools/run-deferred"
  ["_GET"] => array(1) {
    ["tools/run-deferred"] => string(0) ""
  }
  ["_POST"] => array(3) {
    ["redirect"] => string(62) "https://devsrvr.com/default/admin.php?tools/rebuild&success=1"
    ["execute"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
  }
}
 
An error when using this addon with Conversation Improvements, (XF 1.5)
https://xenforo.com/community/threads/conversation-improvements-by-xon.103776/

Error Info
Code:
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'user.dbtech_shop_points' in 'field list' - library/Zend/Db/Statement/Mysqli.php:77
Generated By: admin, 4 minutes ago
Stack Trace
Code:
#0 /var/www/devsrvr/default/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('\n            SE...')
#1 /var/www/devsrvr/default/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '\n            SE...')
#2 /var/www/devsrvr/default/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('\n            SE...')
#3 /var/www/devsrvr/default/library/XenForo/Model.php(219): Zend_Db_Adapter_Abstract->query('\n            SE...', Array, 2)
#4 /var/www/devsrvr/default/library/SV/ConversationImprovements/XenForo/Model/Conversation.php(82): XenForo_Model->fetchAllKeyed('\n            SE...', 'message_id')
#5 /var/www/devsrvr/default/library/SV/ConversationImprovements/Search/DataHandler/ConversationMessage.php(117): SV_ConversationImprovements_XenForo_Model_Conversation->getConversationMessagesByIds(Array, Array)
#6 /var/www/devsrvr/default/library/SV/ConversationImprovements/Search/DataHandler/ConversationMessage.php(104): SV_ConversationImprovements_Search_DataHandler_ConversationMessage->quickIndex(Object(XenForo_Search_Indexer), Array)
#7 /var/www/devsrvr/default/library/XenForo/Deferred/SearchIndex.php(74): SV_ConversationImprovements_Search_DataHandler_ConversationMessage->rebuildIndex(Object(XenForo_Search_Indexer), 0, 500)
#8 /var/www/devsrvr/default/library/XenForo/Model/Deferred.php(295): XenForo_Deferred_SearchIndex->execute(Array, Array, 8, '')
#9 /var/www/devsrvr/default/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 8, '', false)
#10 /var/www/devsrvr/default/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, 8, '', false)
#11 /var/www/devsrvr/default/library/XenForo/ControllerAdmin/Tools.php(159): XenForo_Model_Deferred->run(true, NULL, '', false)
#12 /var/www/devsrvr/default/library/XenForo/FrontController.php(369): XenForo_ControllerAdmin_Tools->actionRunDeferred()
#13 /var/www/devsrvr/default/library/XenForo/FrontController.php(152): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#14 /var/www/devsrvr/default/admin.php(13): XenForo_FrontController->run()
#15 {main}
Request State
Code:
array(3) {
  ["url"] => string(57) "https://devsrvr.com/default/admin.php?tools/run-deferred"
  ["_GET"] => array(1) {
    ["tools/run-deferred"] => string(0) ""
  }
  ["_POST"] => array(3) {
    ["redirect"] => string(62) "https://devsrvr.com/default/admin.php?tools/rebuild&success=1"
    ["execute"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
  }
}
Does this only happen when Conversation Improvements is active?


Fillip
 
Yup, tested it on a clean install with just the two addons. When conversation improvements is enabled, the error will occur when rebuilding search index.
If it only happens with conversation improvements, I'll need Xon's help to come up with a solution, I'll PM them.


Fillip
 
Hi,
I just wanted to ask why it takes away credits from users when they post comments in threads? The amount of credits it takes away also varies and I was wondering if there was a way to stop it from taking credits.
Thanks!
 
Hi,
I just wanted to ask why it takes away credits from users when they post comments in threads? The amount of credits it takes away also varies and I was wondering if there was a way to stop it from taking credits.
Thanks!
Check to make sure you haven’t set up a post or reply event that charges Credits.


Fillip
 
Hello Fillip, @DragonByte Tech

We are planing to use it in RM, please let me know if all the listed feature is available in this addon:

In Xen RM and starting from the addon installation date:
1. The user who will download any file from RM, he will loose 1 point. On the other hand, the file author will gain 1 point.
2. The user will gain 10 points for every 1000 posts.
3. The users can send points to each others.
4. The admin can add packages (for example Package (A) - 100 points - $10 / Package (B) - 500 points - $50)
5. The users can buy any package using Paypal and they will gain the points automatically.
6. Admin can add different payment method (Local payment method).
7. Admin can send bulk points to all users.
8. The users with credits more than 100 points can send request to admin to get paid by the admin (fro example if a user has 100 points then he can request $10, however, the payment itself will be a manual process by Admin)
 
Last edited:
You could absolutely configure the addon in that way, yeah :)

Regarding #2, you can either limit the event to only apply every 1000 posts, or you can set it up so that they receive 0.01 credits per post (thereby giving them 1 credit every 100 posts), it’s up to you.


Fillip
 
You could absolutely configure the addon in that way, yeah :)

Regarding #2, you can either limit the event to only apply every 1000 posts, or you can set it up so that they receive 0.01 credits per post (thereby giving them 1 credit every 100 posts), it’s up to you.


Fillip

Fantastic

I will be happy to buy it today
Just to make sure, all the 8 points I wrote above are possible? including point#4, #6, #7, #8?
 
Fantastic

I will be happy to buy it today
Just to make sure, all the 8 points I wrote above are possible? including point#4, #6, #7, #8?
This mod integrates with [bd] PayGates on XF1 and with the Payment Profile system on XF2. You can use any payment methods either of those support.

Creating new Purchase events will allow you to create the packages.

Having checked it just now, there doesn't appear to be a way to bulk send credits, but you could manually do this in the database.

Requests like #8 would be handled manually, so totally independent of this mod. You can manually adjust users' credits when they have cashed out.


Fillip
 
This mod integrates with [bd] PayGates on XF1 and with the Payment Profile system on XF2. You can use any payment methods either of those support.

Creating new Purchase events will allow you to create the packages.

Having checked it just now, there doesn't appear to be a way to bulk send credits, but you could manually do this in the database.

Requests like #8 would be handled manually, so totally independent of this mod. You can manually adjust users' credits when they have cashed out.


Fillip

Thanks Fillip

I will buy it now and give it a try
 
Thanks Fillip

I will buy it now and give it a try

I am configuring the addon, the user who will download any file from RM, he will loose 1 point and author will gain 1 point. I did that successfully but if the user has Zero point, then he should not be able to download from RM, he should buy credit to download a file. How can I do this?

BTW, is this the right place to get support? or we need to submit a ticket somewhere?
 
I am configuring the addon, the user who will download any file from RM, he will loose 1 point and author will gain 1 point. I did that successfully but if the user has Zero point, then he should not be able to download from RM, he should buy credit to download a file. How can I do this?
You need two events:
XenResource Download - set this to Charge, and amount to 1
XenResource Downloaded - set this to not charge, and amount to 1

That will take 1 credit from the person downloading, and give 1 credit to the person whose resource was downloaded.

BTW, is this the right place to get support? or we need to submit a ticket somewhere?
Either here or @ our site is fine, it's easier for me to keep track of tickets @ our site but when volume is low I can manage support here too :)


Fillip
 
You need two events:
XenResource Download - set this to Charge, and amount to 1
XenResource Downloaded - set this to not charge, and amount to 1

That will take 1 credit from the person downloading, and give 1 credit to the person whose resource was downloaded.

Perfect, thanks Fillip :)


Requests like #8 would be handled manually, so totally independent of this mod. You can manually adjust users' credits when they have cashed out.
Regarding request #8, yes we will pay for the user and adjust his points manually, but we need an option so the user can request the cash from Admin without sending PM or email every time to Admin.

The flow will be like this:
1. User have 100 points will click on (request) button.
2. Admin will receive the user request.
3. Admin will calculate and pay manually (No issue for this step)
4. Admin will do manual adjustment for user points who will receive notification regarding this adjustment. (No issue for this step)

Is there any way to do step#1&2 through the addon?
 
Top Bottom