[DBTech] DragonByte Donate

[DBTech] DragonByte Donate [Paid] 3.0.0

No permission to buy ($24.95)
#28
Manage PM Thresholds >> when clicked causes this to display on screen:

Server Error
[E_RECOVERABLE_ERROR] Argument 1 passed to DBTech\Donate\Entity\Threshold::getPmTitle() must be of the type array, none given, called in /home/arlrebor/public_html/community/src/addons/DBTech/Donate/Application/Entity.php on line 526 and defined

  1. XF::handlePhpError() in /home/arlrebor/public_html/community/src/addons/DBTech/Donate/Entity/Threshold.php at line 27
  2. DBTech\Donate\Entity\Threshold->getPmTitle() in /home/arlrebor/public_html/community/src/addons/DBTech/Donate/Application/Entity.phpat line 526
  3. DBTech\Donate\Application\Entity->get() in /home/arlrebor/public_html/community/src/addons/DBTech/Donate/Application/Entity.php at line1872
  4. DBTech\Donate\Application\Entity->offsetGet() in/home/arlrebor/public_html/community/src/addons/DBTech/Donate/ActionAdmin/Threshold.php at line 145
  5. DBTech\Donate\ActionAdmin\Threshold->actionModify() in/home/arlrebor/public_html/community/src/addons/DBTech/Donate/Application/Core.php at line 173
  6. DBTech\Donate\Application\Core->runAction() in/home/arlrebor/public_html/community/src/addons/DBTech/Donate/Admin/Controller/Route.php at line 39
  7. DBTech\Donate\Admin\Controller\Route->actionIndex() in /home/arlrebor/public_html/community/src/XF/Mvc/Dispatcher.php at line 249
  8. XF\Mvc\Dispatcher->dispatchClass() in /home/arlrebor/public_html/community/src/XF/Mvc/Dispatcher.php at line 89
  9. XF\Mvc\Dispatcher->dispatchLoop() in /home/arlrebor/public_html/community/src/XF/Mvc/Dispatcher.php at line 41
  10. XF\Mvc\Dispatcher->run() in /home/arlrebor/public_html/community/src/XF/App.php at line 1879
  11. XF\App->run() in /home/arlrebor/public_html/community/src/XF.php at line 328
  12. XF::runApp() in /home/arlrebor/public_html/community/admin.php at line 13

1513381102042.png
 

DragonByte Tech

Well-known member
#29
Nevermind - brought it and fairly happy :)

Any idea how I can remove this from the forum list:
View attachment 164355
That's a Widget, you can manage it where you manage all other forum widgets :)


Manage PM Thresholds >> when clicked causes this to display on screen:

Server Error
[E_RECOVERABLE_ERROR] Argument 1 passed to DBTech\Donate\Entity\Threshold::getPmTitle() must be of the type array, none given, called in /home/arlrebor/public_html/community/src/addons/DBTech/Donate/Application/Entity.php on line 526 and defined

  1. XF::handlePhpError() in /home/arlrebor/public_html/community/src/addons/DBTech/Donate/Entity/Threshold.php at line 27
  2. DBTech\Donate\Entity\Threshold->getPmTitle() in /home/arlrebor/public_html/community/src/addons/DBTech/Donate/Application/Entity.phpat line 526
  3. DBTech\Donate\Application\Entity->get() in /home/arlrebor/public_html/community/src/addons/DBTech/Donate/Application/Entity.php at line1872
  4. DBTech\Donate\Application\Entity->offsetGet() in/home/arlrebor/public_html/community/src/addons/DBTech/Donate/ActionAdmin/Threshold.php at line 145
  5. DBTech\Donate\ActionAdmin\Threshold->actionModify() in/home/arlrebor/public_html/community/src/addons/DBTech/Donate/Application/Core.php at line 173
  6. DBTech\Donate\Application\Core->runAction() in/home/arlrebor/public_html/community/src/addons/DBTech/Donate/Admin/Controller/Route.php at line 39
  7. DBTech\Donate\Admin\Controller\Route->actionIndex() in /home/arlrebor/public_html/community/src/XF/Mvc/Dispatcher.php at line 249
  8. XF\Mvc\Dispatcher->dispatchClass() in /home/arlrebor/public_html/community/src/XF/Mvc/Dispatcher.php at line 89
  9. XF\Mvc\Dispatcher->dispatchLoop() in /home/arlrebor/public_html/community/src/XF/Mvc/Dispatcher.php at line 41
  10. XF\Mvc\Dispatcher->run() in /home/arlrebor/public_html/community/src/XF/App.php at line 1879
  11. XF\App->run() in /home/arlrebor/public_html/community/src/XF.php at line 328
  12. XF::runApp() in /home/arlrebor/public_html/community/admin.php at line 13

View attachment 164356
I'll look into that and post back when I have a hotfix available, thanks :)


Fillip
 
#30
That's a Widget, you can manage it where you manage all other forum widgets :)



I'll look into that and post back when I have a hotfix available, thanks :)


Fillip
Thank youuuu :)


One more issue:

The dropdown under "donations" disappears when you click one of the links, or the main text....

See here:
https://gyazo.com/382e919e19b5b7f81d7593e88c1ab2d4

Also - is it possible to remove the dropdown entirely and JUST link to the Monthly donation / where comments are displayed? Or can you add this as an option - would be good when only one campaign is running. But say two campaigns are running - this is can be configured or as it is now?
 

DragonByte Tech

Well-known member
#31
The dropdown under "donations" disappears when you click one of the links, or the main text....
Working as intended, your own video has the subnav on-screen right there :)

Also - is it possible to remove the dropdown entirely and JUST link to the Monthly donation / where comments are displayed? Or can you add this as an option - would be good when only one campaign is running. But say two campaigns are running - this is can be configured or as it is now?
Unfortunately it's not possible to remove the drop-down, sorry.


Fillip
 

DragonByte Tech

Well-known member
#32
[E_RECOVERABLE_ERROR] Argument 1 passed to DBTech\Donate\Entity\Threshold::getPmTitle() must be of the type array, none given, called in /home/arlrebor/public_html/community/src/addons/DBTech/Donate/Application/Entity.php on line 526 and defined
This should now hopefully be resolved. If you re-download the product, delete /upload/internal_data in the downloaded folder then re-upload the files in the upload folder it should be fixed for you.

Let me know if it still occurs.


Fillip
 

[xFv]

Previously Cylent1
#33
Option request....
Default credit amount in charge bbcode.
Example: Have a number scroller in options to adjust the charge bbcode credit amount.
This way there would always be a default amount when using charge bbcode.
 

Nirjonadda

Well-known member
#36
@DragonByte Tech I am getting Server error logs.

Code:
XF\Db\Exception: MySQL query error [1364]: Field 'transaction_id' doesn't have a default value src/XF/Db/AbstractStatement.php:212

Generated by: surferbd Dec 17, 2017 at 1:00 AM

Stack trace

INSERT INTO xf_dbtech_donate_donation
    (`userid`, `amount`, `currencyid`, `dateline`, `driveid`, `ipaddress`, `message`, `is_public`, `is_test`, `is_confirmed`)
VALUES
    ('2095', '5', 'USD', '1513450841', '1', '103.77.63.142', '', '0', '0', '0')
------------

#0 src/XF/Db/Mysqli/Statement.php(174): XF\Db\AbstractStatement->getException('MySQL query err...', 1364, 'HY000')
#1 src/XF/Db/Mysqli/Statement.php(69): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1364, 'HY000')
#2 src/XF/Db/AbstractAdapter.php(69): XF\Db\Mysqli\Statement->execute()
#3 src/addons/DBTech/Donate/Application/Db.php(785): XF\Db\AbstractAdapter->query('INSERT INTO xf_...')
#4 src/addons/DBTech/Donate/Application/Db.php(403): DBTech\Donate\Application\Db->query('INSERT INTO xf_...', Array, 'query_write')
#5 src/addons/DBTech/Donate/Application/Entity.php(1009): DBTech\Donate\Application\Db->insert('dbtech_donate_d...', Array, Array)
#6 src/addons/DBTech/Donate/Application/Entity.php(939): DBTech\Donate\Application\Entity->_save()
#7 src/addons/DBTech/Donate/XF/Purchasable/Donation.php(67): DBTech\Donate\Application\Entity->save()
#8 src/XF/Pub/Controller/Purchase.php(21): DBTech\Donate\XF\Purchasable\Donation->getPurchaseFromRequest(Object(XF\Http\Request), Object(Snog\StyleStats\XF\Entity\User), NULL)
#9 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Purchase->actionIndex(Object(XF\Mvc\ParameterBag))
#10 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Purchase', 'Index', 'json', Object(XF\Mvc\ParameterBag), '', Object(XF\Pub\Controller\Purchase), NULL)
#11 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#12 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#13 src/XF.php(328): XF\App->run()
#14 index.php(13): XF::runApp('XF\\Pub\\App')
#15 {main}

Request state

array(4) {
  ["url"] => string(43) "/purchase/dbtech_donate_donation/?driveid=1"
  ["referrer"] => string(60) "/dbtech-donate/na-donation.1/drive"
  ["_GET"] => array(1) {
    ["driveid"] => string(1) "1"
  }
  ["_POST"] => array(9) {
    ["amount"] => string(1) "5"
    ["currencyid"] => string(3) "USD"
    ["message"] => string(0) ""
    ["anonymous"] => string(1) "1"
    ["payment_profile_id"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(34) "/dbtech-donate/na-donation.1/drive"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
#37
This should now hopefully be resolved. If you re-download the product, delete /upload/internal_data in the downloaded folder then re-upload the files in the upload folder it should be fixed for you.

Let me know if it still occurs.


Fillip
BTW - this worked.

Also - just want to add..... I've used you guys when I had the dreaded vB5 setup >.< - glad to see you on XenForo (spotted you a while back, but first time I've used your addons) - keep up the good work!
 
Top