Seems like there is a small bug with campaign progress reset.
Currently I set a campaign to start on the 1st of December and end on the 31st, but it's saying it's going to end in 6 hours.
View attachment 124897
Display:
View attachment 124896
Any donations I receive don't get automatically logged, I have to manually add them. Any idea what is wrong?
This is not currently possible, nor is it plannedHi, can you make it possible to comment on donation notes?
Also how do I make cronjob to update users rank and award medals for example when they reach X amount or donate X amount at once (different depending on criteria etc)
Also the payment page is not in English if the pp account is not in English.
I know that the addon does not set language, I want you to make it possible to do it because paypal is giving wrong language.This is not currently possible, nor is it planned
See XenForo's User Group Promotions documentation
This add-on does not set a language for the PayPal page, if one is being set it's being done either by [bd] Paygates, or Paypal is detecting your language incorrectly.
Jake
I know that the addon does not set language, I want you to make it possible to do it because paypal is giving wrong language.
Thanks for the information.This is completely out of the control of the donation manager add-on, the form as well as the link to PayPal is generated completely by PayGates, so you would need to contact @xfrocks to request this feature
And I am wondering if it's possible to create a campaign that doesn't have a goal?
Ah that's a bit sad, I thought it could be used as a fundraiser without a goal :/This is not currently possible
This is because the 'end date' is when the campaign will stop showing up. The date it will recur on is based off of the start date (and various other things)
So it will stop showing up as featured before the campaign end date and there is no settings for it?
Sorry I'm just trying to understand how the time remaining is calculated and how does it affect my campaign. To me it seems like that's the time remaining left to reach the campaign goal.
if ($campaign['recurring'] && $campaign['progress_reset_date'] < XenForo_Application::$time) {
$newTime = $campaign['progress_reset_date'];
while($newTime < XenForo_Application::$time) {
$newTime = $newTime + $campaign['length'];
}
$campaign['progress_reset_date'] = $newTime;
$campaign['current_progress'] = 0.00;
$campaignWriter = XenForo_DataWriter::create('Audentio_DonationManager_DataWriter_Campaign');
$campaignWriter->setExistingData($campaign['campaign_id']);
$campaignWriter->set('current_progress', 0.00);
$campaignWriter->set('progress_reset_date', $newTime);
$campaignWriter->set('milestone_id', 0);
$campaignWriter->save();
}
Server Error Log
Error Info
XenForo_Exception: Cannot load class using XFCP. Load the class using the correct loader first. - library/XenForo/Autoloader.php:108
Generated By: Salad, Today at 6:27 AM
Stack Trace
#0 [internal function]: XenForo_Autoloader->autoload('XFCP_Audentio_D...')
#1 /home/ptsdforu/public_html/c/library/Audentio/DonationManager/Extend/bdPaygate/Processor/PayPal.php(3): spl_autoload_call('XFCP_Audentio_D...')
#2 /home/ptsdforu/public_html/c/library/XenForo/Autoloader.php(119): include('/home/ptsdforu/...')
#3 [internal function]: XenForo_Autoloader->autoload('Audentio_Donati...')
#4 [internal function]: spl_autoload_call('Audentio_Donati...')
#5 /home/ptsdforu/public_html/c/library/bdPaygate/XenForo/Model/UserUpgrade.php(29): is_callable(Array)
#6 /home/ptsdforu/public_html/c/library/XenForo/Model/UserUpgrade.php(172): bdPaygate_XenForo_Model_UserUpgrade->prepareUserUpgrade(Array)
#7 /home/ptsdforu/public_html/c/library/XenForo/ControllerPublic/Account.php(1769): XenForo_Model_UserUpgrade->prepareUserUpgrades(Array)
#8 /home/ptsdforu/public_html/c/library/bdPaygate/XenForo/ControllerPublic/Account.php(7): XenForo_ControllerPublic_Account->actionUpgrades()
#9 /home/ptsdforu/public_html/c/library/NixFifty/GiftUpgrades/ControllerPublic/Account.php(7): bdPaygate_XenForo_ControllerPublic_Account->actionUpgrades()
#10 /home/ptsdforu/public_html/c/library/XenForo/FrontController.php(351): NixFifty_GiftUpgrades_ControllerPublic_Account->actionUpgrades()
#11 /home/ptsdforu/public_html/c/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#12 /home/ptsdforu/public_html/c/index.php(13): XenForo_FrontController->run()
#13 {main}
Request State
array(3) {
["url"] => string(41) "https://www.myptsd.com/c/account/upgrades"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.