Resource icon

[bd] Banking 1.0.4

No permission to download
Currently i'm debating if I wanna use the *******'s Credits system, xFPoints, or this one. One thing I don't like about Credits is that a user can still download attachments if he/she doesn't have enough or no points at all. I prefer the mod to display an error message that he doesn't have enough points for this action. Does this mod do any of that?

Also a question about the future shop system. Does it do subscription base like Ice Shop? I find that feature is so useful.
 
Getting this error when merging threads (XF 1.2) @xfrocks

ErrorException: Argument 1 passed to bdBank_XenForo_DataWriter_Discussion_Thread::_discussionPostDelete() must be an array, none given, called in /home/user/public_html/library/Tinhte/XenTag/XenForo/DataWriter/Discussion/Thread.php on line 120 and defined - library/bdBank/XenForo/DataWriter/Discussion/Thread.php:4
Generated By: user, 23 dakika önce
Stack Trace

#0 /home/user/public_html/library/bdBank/XenForo/DataWriter/Discussion/Thread.php(4): XenForo_Application::handlePhpError(4096, 'Argument 1 pass...', '/home/user/pu...', 4, Array)
#1 /home/user/public_html/library/Tinhte/XenTag/XenForo/DataWriter/Discussion/Thread.php(120): bdBank_XenForo_DataWriter_Discussion_Thread->_discussionPostDelete()
#2 /home/user/public_html/library/EWRporta/DataWriter/Discussion/Thread.php(23): Tinhte_XenTag_XenForo_DataWriter_Discussion_Thread->_discussionPostDelete()
#3 /home/user/public_html/library/XenForo/DataWriter/Discussion.php(762): EWRporta_DataWriter_Discussion_Thread->_discussionPostDelete()
#4 /home/user/public_html/library/XenForo/DataWriter.php(1767): XenForo_DataWriter_Discussion->_postDelete()
#5 /home/user/public_html/library/XenForo/Model/Thread.php(2027): XenForo_DataWriter->delete()
#6 /home/user/public_html/library/Bookmarks/Model/Thread.php(23): XenForo_Model_Thread->mergeThreads(Array, 45246, Array)
#7 /home/user/public_html/library/XenForo/Model/InlineMod/Thread.php(773): Bookmarks_Model_Thread->mergeThreads(Array, 45246, Array)
#8 /home/user/public_html/library/XenForo/ControllerPublic/InlineMod/Thread.php(294): XenForo_Model_InlineMod_Thread->mergeThreads(Array, 45246, Array, NULL)
#9 /home/user/public_html/library/XenForo/FrontController.php(337): XenForo_ControllerPublic_InlineMod_Thread->actionMerge()
#10 /home/user/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#11 /home/user/public_html/index.php(13): XenForo_FrontController->run()
#12 {main}

Request State

array(3) {
["url"] => string(45) "http://www.site.com/inline-mod/thread/merge"
["_GET"] => array(0) {
}
["_POST"] => array(7) {
["target_thread_id"] => string(5) "45246"
["create_redirect"] => string(0) ""
["save"] => string(13) "Merge Threads"
["threads"] => array(2) {
[0] => string(5) "45246"
[1] => string(5) "27454"
}
["_xfConfirm"] => string(1) "1"
["redirect"] => string(68) "http://www.site.com/forumlar/film-paylaşım-fihristi.172/"
["_xfToken"] => string(8) "********"
}
}
 
I'm getting this error. Anyone know the reason for it and how to correct it?

Server Error Log
Error Info
ErrorException: Argument 1 passed to bdBank_XenForo_DataWriter_Discussion_Thread::_discussionPostDelete() must be an array, none given, called in /home/gearhead/public_html/library/EWRatendo/DataWriter/Discussion/Thread.php on line 19 and defined - library/bdBank/XenForo/DataWriter/Discussion/Thread.php:4
Generated By: Flexin, Thursday at 9:55 PM
Stack Trace
#0 /home/gearhead/public_html/library/bdBank/XenForo/DataWriter/Discussion/Thread.php(4): XenForo_Application::handlePhpError(4096, 'Argument 1 pass...', '/home/gearhead/...', 4, Array) #1 /home/gearhead/public_html/library/EWRatendo/DataWriter/Discussion/Thread.php(19): bdBank_XenForo_DataWriter_Discussion_Thread->_discussionPostDelete() #2 /home/gearhead/public_html/library/EWRporta/DataWriter/Discussion/Thread.php(23): EWRatendo_DataWriter_Discussion_Thread->_discussionPostDelete() #3 /home/gearhead/public_html/library/XenForo/DataWriter/Discussion.php(762): EWRporta_DataWriter_Discussion_Thread->_discussionPostDelete() #4 /home/gearhead/public_html/library/XenForo/DataWriter.php(1767): XenForo_DataWriter_Discussion->_postDelete() #5 /home/gearhead/public_html/library/XenForo/Model/Thread.php(2027): XenForo_DataWriter->delete() #6 /home/gearhead/public_html/library/XenForo/Model/InlineMod/Thread.php(773): XenForo_Model_Thread->mergeThreads(Array, 4226, Array) #7 /home/gearhead/public_html/library/XenForo/ControllerPublic/InlineMod/Thread.php(294): XenForo_Model_InlineMod_Thread->mergeThreads(Array, 4226, Array, NULL) #8 /home/gearhead/public_html/library/XenForo/FrontController.php(337): XenForo_ControllerPublic_InlineMod_Thread->actionMerge() #9 /home/gearhead/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch)) #10 /home/gearhead/public_html/index.php(13): XenForo_FrontController->run() #11 {main}
Request State
array(3) { ["url"] => string(64) "http://www.gearheadcentral.com/index.php?inline-mod/thread/merge" ["_GET"] => array(1) { ["inline-mod/thread/merge"] => string(0) "" } ["_POST"] => array(7) { ["target_thread_id"] => string(4) "4226" ["create_redirect"] => string(0) "" ["save"] => string(13) "Merge Threads" ["threads"] => array(2) { [0] => string(4) "4227" [1] => string(4) "4226" } ["_xfConfirm"] => string(1) "1" ["redirect"] => string(60) "http://www.gearheadcentral.com/index.php?forums/off-topic.2/" ["_xfToken"] => string(8) "********" } }

James
 
I updated to 1.2.1 and I now have a couple of server errors.

Any idea on how to correct it?

James

Server Error Log

Error Info
Zend_Exception: No entry is registered for key 'bdBank' - library/XenForo/Application.php:958
Generated By: Flexin, 3 minutes ago
Stack Trace
#0 /home/gearhead/public_html/library/bdBank/Model/Bank.php(548): XenForo_Application::get('bdBank') #1 /home/gearhead/public_html/library/bdBank/CronEntry/Transaction.php(6): bdBank_Model_Bank::getInstance() #2 [internal function]: bdBank_CronEntry_Transaction::archive(Array) #3 /home/gearhead/public_html/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array) #4 /home/gearhead/public_html/library/XenForo/Deferred/Cron.php(22): XenForo_Model_Cron->runEntry(Array) #5 /home/gearhead/public_html/library/XenForo/Model/Deferred.php(198): XenForo_Deferred_Cron->execute(Array, Array, 9.99999785423, '') #6 /home/gearhead/public_html/library/XenForo/Model/Deferred.php(321): XenForo_Model_Deferred->runDeferred(Array, 9.99999785423, '', false) #7 /home/gearhead/public_html/library/XenForo/Model/Deferred.php(274): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false) #8 /home/gearhead/public_html/library/XenForo/Install/Controller/Upgrade.php(244): XenForo_Model_Deferred->run(false) #9 /home/gearhead/public_html/library/XenForo/FrontController.php(337): XenForo_Install_Controller_Upgrade->actionComplete() #10 /home/gearhead/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch)) #11 /home/gearhead/public_html/install/index.php(18): XenForo_FrontController->run() #12 {main}
Request State
array(3) { ["url"] => string(61) "http://gearheadcentral.com/install/index.php?upgrade/complete" ["_GET"] => array(1) { ["upgrade/complete"] => string(0) "" } ["_POST"] => array(0) { } }

Server Error Log

Error Info
Zend_Exception: No entry is registered for key 'bdBank' - library/XenForo/Application.php:958
Generated By: Flexin, 10 minutes ago
Stack Trace
#0 /home/gearhead/public_html/library/bdBank/Model/Bank.php(548): XenForo_Application::get('bdBank') #1 /home/gearhead/public_html/library/bdBank/CronEntry/Stats.php(6): bdBank_Model_Bank::getInstance() #2 [internal function]: bdBank_CronEntry_Stats::rebuildRichest(Array) #3 /home/gearhead/public_html/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array) #4 /home/gearhead/public_html/library/XenForo/Deferred/Cron.php(22): XenForo_Model_Cron->runEntry(Array) #5 /home/gearhead/public_html/library/XenForo/Model/Deferred.php(198): XenForo_Deferred_Cron->execute(Array, Array, 9.99999594688, '') #6 /home/gearhead/public_html/library/XenForo/Model/Deferred.php(321): XenForo_Model_Deferred->runDeferred(Array, 9.99999594688, '', false) #7 /home/gearhead/public_html/library/XenForo/Model/Deferred.php(274): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false) #8 /home/gearhead/public_html/library/XenForo/Install/Controller/Upgrade.php(244): XenForo_Model_Deferred->run(false) #9 /home/gearhead/public_html/library/XenForo/FrontController.php(337): XenForo_Install_Controller_Upgrade->actionComplete() #10 /home/gearhead/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch)) #11 /home/gearhead/public_html/install/index.php(18): XenForo_FrontController->run() #12 {main}
Request State
array(3) { ["url"] => string(61) "http://gearheadcentral.com/install/index.php?upgrade/complete" ["_GET"] => array(1) { ["upgrade/complete"] => string(0) ""
 
I updated to 1.2.1 and I now have a couple of server errors.

Any idea on how to correct it?

James

Server Error Log

Error Info
Zend_Exception: No entry is registered for key 'bdBank' - library/XenForo/Application.php:958
Generated By: Flexin, 3 minutes ago
Stack Trace
#0 /home/gearhead/public_html/library/bdBank/Model/Bank.php(548): XenForo_Application::get('bdBank') #1 /home/gearhead/public_html/library/bdBank/CronEntry/Transaction.php(6): bdBank_Model_Bank::getInstance() #2 [internal function]: bdBank_CronEntry_Transaction::archive(Array) #3 /home/gearhead/public_html/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array) #4 /home/gearhead/public_html/library/XenForo/Deferred/Cron.php(22): XenForo_Model_Cron->runEntry(Array) #5 /home/gearhead/public_html/library/XenForo/Model/Deferred.php(198): XenForo_Deferred_Cron->execute(Array, Array, 9.99999785423, '') #6 /home/gearhead/public_html/library/XenForo/Model/Deferred.php(321): XenForo_Model_Deferred->runDeferred(Array, 9.99999785423, '', false) #7 /home/gearhead/public_html/library/XenForo/Model/Deferred.php(274): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false) #8 /home/gearhead/public_html/library/XenForo/Install/Controller/Upgrade.php(244): XenForo_Model_Deferred->run(false) #9 /home/gearhead/public_html/library/XenForo/FrontController.php(337): XenForo_Install_Controller_Upgrade->actionComplete() #10 /home/gearhead/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch)) #11 /home/gearhead/public_html/install/index.php(18): XenForo_FrontController->run() #12 {main}
Request State
array(3) { ["url"] => string(61) "http://gearheadcentral.com/install/index.php?upgrade/complete" ["_GET"] => array(1) { ["upgrade/complete"] => string(0) "" } ["_POST"] => array(0) { } }

Server Error Log

Error Info
Zend_Exception: No entry is registered for key 'bdBank' - library/XenForo/Application.php:958
Generated By: Flexin, 10 minutes ago
Stack Trace
#0 /home/gearhead/public_html/library/bdBank/Model/Bank.php(548): XenForo_Application::get('bdBank') #1 /home/gearhead/public_html/library/bdBank/CronEntry/Stats.php(6): bdBank_Model_Bank::getInstance() #2 [internal function]: bdBank_CronEntry_Stats::rebuildRichest(Array) #3 /home/gearhead/public_html/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array) #4 /home/gearhead/public_html/library/XenForo/Deferred/Cron.php(22): XenForo_Model_Cron->runEntry(Array) #5 /home/gearhead/public_html/library/XenForo/Model/Deferred.php(198): XenForo_Deferred_Cron->execute(Array, Array, 9.99999594688, '') #6 /home/gearhead/public_html/library/XenForo/Model/Deferred.php(321): XenForo_Model_Deferred->runDeferred(Array, 9.99999594688, '', false) #7 /home/gearhead/public_html/library/XenForo/Model/Deferred.php(274): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false) #8 /home/gearhead/public_html/library/XenForo/Install/Controller/Upgrade.php(244): XenForo_Model_Deferred->run(false) #9 /home/gearhead/public_html/library/XenForo/FrontController.php(337): XenForo_Install_Controller_Upgrade->actionComplete() #10 /home/gearhead/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch)) #11 /home/gearhead/public_html/install/index.php(18): XenForo_FrontController->run() #12 {main}
Request State
array(3) { ["url"] => string(61) "http://gearheadcentral.com/install/index.php?upgrade/complete" ["_GET"] => array(1) { ["upgrade/complete"] => string(0) ""
According to the log, you got the error during 1.2.1 upgrade process, is that correct?
 
Yes it is. There was an error that I believe that was because of the add on installer.

James
I think the upgrade process triggered the error during a cron entry execution. Please keep an eye on your server log. My guess is it will not happen again.
 
I will. I just went in again and clicked rebuild master data. I will let you know if I get another error. Thanks for the response.

James
 
I noticed two more errors that happened almost 2 hours later. Looking at the time, it happened right when I made my last post. So that was when I rebuilt the master data. So it might have been the same issue. I will just keep an eye on it. I also just updated the add on installer because I think that is what caused the error when I upgraded.

James
 
I installed the dev version on my xenForo version 1.2.1 forum.
My members have been sending me messages that they're losing points. I looked into it and discovered that the problem might be due to "likes".

BD Banking Settings :
  • In my Admin Control Panel settings for this add-on, liking a post is set to "0".
  • Post Character Threshold is set to "90".
  • Bonus for threads and posts are "2".
It appears if someone likes a post that a member made with over 90 characters, "2" points will be subtracted from the person who made the post.

Can anyone reproduce this?

Edited: If the member has only 1 point, it will not be reduced to 0. Points were only subtracted when the member had over 2 points (let's say "3" to be safe).
 
Last edited:
I installed the dev version on my xenForo version 1.2.1 forum.
My members have been sending me messages that they're losing points. I looked into it and discovered that the problem might be due to "likes".

BD Banking Settings :
  • In my Admin Control Panel settings for this add-on, liking a post is set to "0".
  • Post Character Threshold is set to "90".
  • Bonus for threads and posts are "2".
It appears if someone likes a post that a member made with over 90 characters, "2" points will be subtracted from the person who made the post.

Can anyone reproduce this?

Edited: If the member has only 1 point, it will not be reduced to 0. Points were only subtracted when the member had over 2 points (let's say "3" to be safe).
There is a fix released Wednesday https://xfrocks.com/banking/threads/bd-banking-v1-0-dev-versions.81/#post-553 related to your buggy behavior. Did you install this version?
 
Top Bottom